gogcli-mcp-contacts 4.9.1 → 4.11.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 +57 -7
- package/manifest.json +1 -1
- package/mint.yaml +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -37463,6 +37463,57 @@ var attachInlineParam = external_exports.array(inlineAttachmentSchema).optional(
|
|
|
37463
37463
|
`Attachments supplied as BYTES rather than as server-side paths \u2014 use this whenever you hold a file and the gog server does not, which is always the case on a hosted deployment (e.g. mcp-host). Each entry is {filename, contentBase64} (${INLINE_ATTACHMENT_LIMITS_TEXT}). Can be combined with \`attach\`: the two name disjoint files (paths read on the server vs. bytes sent with the call), and both end up as ordinary attachments on the message.`
|
|
37464
37464
|
);
|
|
37465
37465
|
|
|
37466
|
+
// ../../node_modules/@chrischall/mcp-utils/dist/export/blob.js
|
|
37467
|
+
var BLOB_DEFAULT_TTL_MS = 60 * 60 * 1e3;
|
|
37468
|
+
var BLOB_MAX_TTL_MS = 24 * 60 * 60 * 1e3;
|
|
37469
|
+
var BLOB_MAX_OBJECT_BYTES = 100 * 1024 * 1024;
|
|
37470
|
+
|
|
37471
|
+
// ../../node_modules/@chrischall/mcp-utils/dist/export/zip.js
|
|
37472
|
+
var CRC_TABLE = (() => {
|
|
37473
|
+
const table = new Uint32Array(256);
|
|
37474
|
+
for (let n = 0; n < 256; n++) {
|
|
37475
|
+
let c = n;
|
|
37476
|
+
for (let k = 0; k < 8; k++)
|
|
37477
|
+
c = c & 1 ? 3988292384 ^ c >>> 1 : c >>> 1;
|
|
37478
|
+
table[n] = c >>> 0;
|
|
37479
|
+
}
|
|
37480
|
+
return table;
|
|
37481
|
+
})();
|
|
37482
|
+
|
|
37483
|
+
// ../../node_modules/@chrischall/mcp-utils/dist/export/sink.js
|
|
37484
|
+
var EXPORT_BLOB_MAX_BYTES = 256 * 1024 * 1024;
|
|
37485
|
+
|
|
37486
|
+
// ../../node_modules/@chrischall/mcp-utils/dist/export/upload.js
|
|
37487
|
+
var MAX_UPLOAD_FILES = 10;
|
|
37488
|
+
var UPLOAD_SLOT_DEFAULT_TTL_MS = 30 * 60 * 1e3;
|
|
37489
|
+
var MIB = 1024 * 1024;
|
|
37490
|
+
var inlineFileSchema = external_exports.object({
|
|
37491
|
+
filename: external_exports.string().describe("Filename the upstream will show \u2014 a bare name, no path, not starting with a dot. Its extension sets the MIME type when mimeType is omitted."),
|
|
37492
|
+
contentBase64: external_exports.string().describe(`The file's bytes, standard base64 (line breaks and a "data:<type>;base64," prefix are tolerated).`),
|
|
37493
|
+
mimeType: external_exports.string().describe('MIME type, e.g. "image/jpeg". Default: inferred from the filename extension.').optional()
|
|
37494
|
+
});
|
|
37495
|
+
var uploadSlotRequestSchema = external_exports.object({
|
|
37496
|
+
filename: external_exports.string().describe("Filename the upstream will show \u2014 a bare name, no path, not starting with a dot."),
|
|
37497
|
+
mimeType: external_exports.string().describe("MIME type. Default: inferred from the filename extension. The PUT must send exactly this Content-Type.").optional()
|
|
37498
|
+
});
|
|
37499
|
+
|
|
37500
|
+
// ../gogcli-mcp/src/blob-urls.ts
|
|
37501
|
+
var BLOB_URL_MAX_TTL_MS = 24 * 60 * 60 * 1e3;
|
|
37502
|
+
var BLOB_URL_CEILING_MARGIN_MS = 60 * 1e3;
|
|
37503
|
+
var BLOB_URL_DEFAULT_TTL_MS = 60 * 60 * 1e3;
|
|
37504
|
+
|
|
37505
|
+
// ../gogcli-mcp/src/upload-slots.ts
|
|
37506
|
+
var UPLOAD_SLOTS_TOOL = "gog_upload_slots";
|
|
37507
|
+
var MAX_BLOB_FILE_BYTES = 25 * 1024 * 1024;
|
|
37508
|
+
var ATTACH_INLINE_ALTERNATIVE = `or, for a small file, pass its bytes base64-encoded in \`attachInline\` (${INLINE_ATTACHMENT_LIMITS_TEXT})`;
|
|
37509
|
+
var blobKeysText = `Hosted deployments: blobKeys from ${UPLOAD_SLOTS_TOOL} for files you have ALREADY PUT to their uploadUrl. This is how to send a file you hold (a photo, a PDF) when this server is remote: no base64 in the call, up to ${MAX_BLOB_FILE_BYTES / (1024 * 1024)} MiB a file. Each file keeps the filename its slot was minted for. An uploaded file is deleted once this call succeeds and kept if it fails, so a retry can reuse the same keys.`;
|
|
37510
|
+
var blobKeysParam = external_exports.array(external_exports.string()).max(MAX_UPLOAD_FILES).optional().describe(
|
|
37511
|
+
`${blobKeysText} Up to ${MAX_UPLOAD_FILES}; combine freely with attach / attachInline.`
|
|
37512
|
+
);
|
|
37513
|
+
var singleBlobKeyParam = external_exports.array(external_exports.string()).max(1).optional().describe(
|
|
37514
|
+
`${blobKeysText} Exactly one key; use it INSTEAD of the path parameter.`
|
|
37515
|
+
);
|
|
37516
|
+
|
|
37466
37517
|
// ../gogcli-mcp/src/tools/contacts.ts
|
|
37467
37518
|
var BATCH_DELETE = /* @__PURE__ */ new Set(["delete"]);
|
|
37468
37519
|
function vetContactsRun(subcommand, args) {
|
|
@@ -37540,8 +37591,9 @@ var replySchema = {
|
|
|
37540
37591
|
remove: external_exports.array(external_exports.string()).optional().describe("Remove these recipients from all fields (repeatable) \u2014 e.g. to drop someone from a reply-all."),
|
|
37541
37592
|
subject: external_exports.string().optional().describe('Override reply subject (default: "Re: <original>"). A changed subject starts a NEW Gmail thread.'),
|
|
37542
37593
|
noQuote: external_exports.boolean().optional().describe("Do not include the original message quoted below the reply (default: the original is quoted)"),
|
|
37543
|
-
attach: external_exports.array(external_exports.string()).optional().describe(`File paths to attach (repeatable), resolved ON THE GOG SERVER's filesystem \u2014 NOT this client's. Only usable when gog runs on the same machine you do (local stdio); on a hosted deployment (e.g. mcp-host) these paths do not exist and the call fails with "no such file or directory" \u2014 use attachInline there. Read on the server, base64-encoded with a MIME type inferred from the extension. Must be inside the server's GOG_FILE_ROOTS directories (default ~/gogcli-mcp-files).`),
|
|
37594
|
+
attach: external_exports.array(external_exports.string()).optional().describe(`File paths to attach (repeatable), resolved ON THE GOG SERVER's filesystem \u2014 NOT this client's. Only usable when gog runs on the same machine you do (local stdio); on a hosted deployment (e.g. mcp-host) these paths do not exist and the call fails with "no such file or directory" \u2014 use blobKeys (gog_upload_slots) or, for a small file, attachInline there. Read on the server, base64-encoded with a MIME type inferred from the extension. Must be inside the server's GOG_FILE_ROOTS directories (default ~/gogcli-mcp-files).`),
|
|
37544
37595
|
attachInline: attachInlineParam,
|
|
37596
|
+
blobKeys: blobKeysParam,
|
|
37545
37597
|
from: external_exports.string().optional().describe("Send from this email address (must be a verified send-as alias)"),
|
|
37546
37598
|
autoFromAddressedAlias: external_exports.boolean().optional().describe("When from is omitted, send from the verified send-as alias the original message was addressed TO, instead of the account's primary address \u2014 so a reply to mail sent to an alias goes back out from that alias. Ignored when from is set."),
|
|
37547
37599
|
...signatureSchema,
|
|
@@ -37558,8 +37610,11 @@ var failIfNotEmptyParam = external_exports.boolean().optional().describe(
|
|
|
37558
37610
|
'Safety guard against silent overwrites: before writing, read the target range and refuse the write if any target cell already holds data. Costs one extra read. Anchor ranges (e.g. "Sheet1!A1") are expanded to the full area your values will cover; explicit and named ranges are checked as-is.'
|
|
37559
37611
|
);
|
|
37560
37612
|
|
|
37613
|
+
// ../gogcli-mcp/src/tools/uploads.ts
|
|
37614
|
+
var MIB2 = MAX_BLOB_FILE_BYTES / (1024 * 1024);
|
|
37615
|
+
|
|
37561
37616
|
// ../gogcli-mcp/src/server.ts
|
|
37562
|
-
var VERSION = true ? "4.
|
|
37617
|
+
var VERSION = true ? "4.11.0" : "0.0.0";
|
|
37563
37618
|
|
|
37564
37619
|
// ../gogcli-mcp/src/bootstrap-auth.ts
|
|
37565
37620
|
import { join as join7 } from "node:path";
|
|
@@ -37625,11 +37680,6 @@ async function bootstrapGogAuth(env = process.env, options = {}) {
|
|
|
37625
37680
|
}
|
|
37626
37681
|
}
|
|
37627
37682
|
|
|
37628
|
-
// ../gogcli-mcp/src/blob-urls.ts
|
|
37629
|
-
var BLOB_URL_MAX_TTL_MS = 24 * 60 * 60 * 1e3;
|
|
37630
|
-
var BLOB_URL_CEILING_MARGIN_MS = 60 * 1e3;
|
|
37631
|
-
var BLOB_URL_DEFAULT_TTL_MS = 60 * 60 * 1e3;
|
|
37632
|
-
|
|
37633
37683
|
// ../gogcli-mcp/src/blob-upload.ts
|
|
37634
37684
|
var MAX_BLOB_UPLOAD_BYTES = 100 * 1024 * 1024;
|
|
37635
37685
|
|
package/manifest.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"manifest_version": "0.3",
|
|
4
4
|
"name": "gogcli-mcp-contacts",
|
|
5
5
|
"display_name": "gogcli (Contacts)",
|
|
6
|
-
"version": "4.
|
|
6
|
+
"version": "4.11.0",
|
|
7
7
|
"description": "Extended Google Contacts for Claude via gogcli — auth + Contacts + Workspace directory (People API)",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "Chris Hall",
|
package/mint.yaml
CHANGED
|
@@ -12,7 +12,7 @@ examples:
|
|
|
12
12
|
note: "Dedupe defaults to a read-only preview."
|
|
13
13
|
command:
|
|
14
14
|
# This package publishes a single bin; naming it keeps the install
|
|
15
|
-
# unambiguous alongside its
|
|
15
|
+
# unambiguous alongside its nine sibling packages.
|
|
16
16
|
bin: gogcli-mcp-contacts
|
|
17
17
|
env:
|
|
18
18
|
- name: GOG_CLIENT_ID
|
|
@@ -95,10 +95,10 @@ dependencies:
|
|
|
95
95
|
# then fails on the first call. This tag must track
|
|
96
96
|
# packages/gogcli-mcp/src/runner.ts's MIN_GOG_VERSION (the floor the tools
|
|
97
97
|
# assume). See CLAUDE.md "Required gog version" — bumping the floor means
|
|
98
|
-
# bumping these
|
|
98
|
+
# bumping these ten pins, and the pin stored on each mcp-host registration.
|
|
99
99
|
- kind: github-release
|
|
100
100
|
repo: openclaw/gogcli
|
|
101
|
-
tag: v0.
|
|
101
|
+
tag: v0.48.0
|
|
102
102
|
asset: "gogcli_*_linux_amd64.tar.gz"
|
|
103
103
|
bin: [gog]
|
|
104
104
|
state:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gogcli-mcp-contacts",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.0",
|
|
4
4
|
"mcpName": "io.github.chrischall/gogcli-mcp-contacts",
|
|
5
5
|
"description": "Extended Google Contacts + People MCP server via gogcli — auth + Contacts + Workspace directory (People API)",
|
|
6
6
|
"author": "Claude Code (AI) <https://www.anthropic.com/claude>",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"test:coverage": "vitest run --coverage"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@chrischall/mcp-utils": "^3.
|
|
27
|
+
"@chrischall/mcp-utils": "^3.6.0",
|
|
28
28
|
"@modelcontextprotocol/server": "^2.3.1",
|
|
29
29
|
"zod": "^4.6.1"
|
|
30
30
|
},
|