gogcli-mcp-gmail 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -31241,11 +31241,13 @@ function registerGmailTools(server2) {
31241
31241
  inputSchema: {
31242
31242
  query: external_exports.string().describe("Gmail search query"),
31243
31243
  max: external_exports.number().int().optional().describe("Max results to return (default: 10)"),
31244
+ fromContact: external_exports.string().optional().describe("Resolve a Google Contact (name or email) to its addresses and AND a from:(addr OR addr) clause onto the query \u2014 saves looking the contact up first when you only know who, not which address."),
31244
31245
  account: accountParam
31245
31246
  }
31246
- }, async ({ query, max, account }) => {
31247
+ }, async ({ query, max, fromContact, account }) => {
31247
31248
  const args = ["gmail", "search", query];
31248
31249
  if (max !== void 0) args.push(`--max=${max}`);
31250
+ if (fromContact) args.push(`--from-contact=${fromContact}`);
31249
31251
  return runOrDiagnose(args, { account });
31250
31252
  });
31251
31253
  server2.registerTool("gog_gmail_get", {
@@ -31295,7 +31297,7 @@ var failIfNotEmptyParam = external_exports.boolean().optional().describe(
31295
31297
  );
31296
31298
 
31297
31299
  // ../gogcli-mcp/src/server.ts
31298
- var VERSION = true ? "2.3.0" : "0.0.0";
31300
+ var VERSION = true ? "2.4.0" : "0.0.0";
31299
31301
  function createServer(options) {
31300
31302
  return new McpServer({
31301
31303
  name: options?.name ?? "gogcli",
package/manifest.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "manifest_version": "0.3",
4
4
  "name": "gogcli-mcp-gmail",
5
5
  "display_name": "gogcli (Gmail)",
6
- "version": "2.3.0",
6
+ "version": "2.4.0",
7
7
  "description": "Extended Gmail for Claude via gogcli — auth + full Gmail support (threads, labels, drafts, attachments, forward, autoreply, bulk operations)",
8
8
  "author": {
9
9
  "name": "Chris Hall",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gogcli-mcp-gmail",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "mcpName": "io.github.chrischall/gogcli-mcp-gmail",
5
5
  "description": "Extended Gmail MCP server via gogcli — auth + full Gmail support (threads, labels, drafts, attachments, forward, autoreply, bulk operations)",
6
6
  "author": "Claude Code (AI) <https://www.anthropic.com/claude>",