gogcli-mcp-docs 4.7.1 → 4.8.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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/dist/index.js +11 -8
- package/manifest.json +1 -1
- package/mint.yaml +1 -1
- package/package.json +2 -2
- package/server.json +2 -2
- package/src/tools/docs-extra.ts +3 -3
- package/tests/tools/docs-extra.test.ts +7 -7
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "Extended Google Docs for Claude via gogcli — auth + full Docs and comments support",
|
|
10
|
-
"version": "4.
|
|
10
|
+
"version": "4.8.0"
|
|
11
11
|
},
|
|
12
12
|
"plugins": [
|
|
13
13
|
{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"displayName": "gogcli (Docs)",
|
|
16
16
|
"source": "./",
|
|
17
17
|
"description": "Extended Google Docs for Claude via gogcli — auth + full Docs and comments support",
|
|
18
|
-
"version": "4.
|
|
18
|
+
"version": "4.8.0",
|
|
19
19
|
"author": {
|
|
20
20
|
"name": "Chris Hall"
|
|
21
21
|
},
|
package/dist/index.js
CHANGED
|
@@ -19790,7 +19790,7 @@ function date4(params) {
|
|
|
19790
19790
|
return _coercedDate(ZodDate, params);
|
|
19791
19791
|
}
|
|
19792
19792
|
|
|
19793
|
-
// ../../node_modules/@modelcontextprotocol/core/dist/auth-BNDyLTqp.mjs
|
|
19793
|
+
// ../../node_modules/@modelcontextprotocol/server/node_modules/@modelcontextprotocol/core/dist/auth-BNDyLTqp.mjs
|
|
19794
19794
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
19795
19795
|
var SUPPORTED_PROTOCOL_VERSIONS = [
|
|
19796
19796
|
LATEST_PROTOCOL_VERSION,
|
|
@@ -36759,6 +36759,11 @@ function commentMentions(text) {
|
|
|
36759
36759
|
}
|
|
36760
36760
|
|
|
36761
36761
|
// ../gogcli-mcp/src/tools/gmail.ts
|
|
36762
|
+
var signatureSchema = {
|
|
36763
|
+
signature: external_exports.boolean().optional().describe("Append the Gmail signature from the active send-as address"),
|
|
36764
|
+
signatureFrom: external_exports.string().optional().describe("Append the Gmail signature from this send-as email address"),
|
|
36765
|
+
signatureFile: external_exports.string().optional().describe("Append a local signature file (plain text or HTML), read on the gog server. Must be inside GOG_FILE_ROOTS. Cannot be combined with signature/signatureFrom.")
|
|
36766
|
+
};
|
|
36762
36767
|
var replySchema = {
|
|
36763
36768
|
messageId: external_exports.string().describe("Gmail message ID to reply to \u2014 the short hex `id` from gog_gmail_get / _search (or gog_gmail_messages_search, gogcli-mcp-gmail only). NOT the threadId, NOT the RFC822 `<\u2026@host>` Message-Id header."),
|
|
36764
36769
|
body: external_exports.string().optional().describe("Reply body (plain text; required unless bodyHtml or bodyHtmlFile is set). Any size \u2014 a large body is written to a temp file on the gog server rather than inlined into the command line. Note gog strips trailing newlines from a file-delivered body."),
|
|
@@ -36774,9 +36779,7 @@ var replySchema = {
|
|
|
36774
36779
|
attachInline: attachInlineParam,
|
|
36775
36780
|
from: external_exports.string().optional().describe("Send from this email address (must be a verified send-as alias)"),
|
|
36776
36781
|
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."),
|
|
36777
|
-
|
|
36778
|
-
signatureFrom: external_exports.string().optional().describe("Append the Gmail signature from this send-as email address"),
|
|
36779
|
-
signatureFile: external_exports.string().optional().describe("Append a local signature file (plain text or HTML), read on the gog server"),
|
|
36782
|
+
...signatureSchema,
|
|
36780
36783
|
account: accountParam
|
|
36781
36784
|
};
|
|
36782
36785
|
var sendReplySchema = external_exports.object({ ...replySchema, confirmToken: confirmTokenParam });
|
|
@@ -36791,7 +36794,7 @@ var failIfNotEmptyParam = external_exports.boolean().optional().describe(
|
|
|
36791
36794
|
);
|
|
36792
36795
|
|
|
36793
36796
|
// ../gogcli-mcp/src/server.ts
|
|
36794
|
-
var VERSION = true ? "4.
|
|
36797
|
+
var VERSION = true ? "4.8.0" : "0.0.0";
|
|
36795
36798
|
|
|
36796
36799
|
// ../gogcli-mcp/src/bootstrap-auth.ts
|
|
36797
36800
|
import { join as join7 } from "node:path";
|
|
@@ -36913,7 +36916,7 @@ function registerExtraDocsTools(server) {
|
|
|
36913
36916
|
if (at) args.push(`--at=${at}`);
|
|
36914
36917
|
if (occurrence !== void 0) args.push(`--occurrence=${occurrence}`);
|
|
36915
36918
|
if (matchCase) args.push("--match-case");
|
|
36916
|
-
if (tabId) args.push(`--tab
|
|
36919
|
+
if (tabId) args.push(`--tab=${tabId}`);
|
|
36917
36920
|
if (segment) args.push(`--segment=${segment}`);
|
|
36918
36921
|
if (batch) args.push(`--batch=${batch}`);
|
|
36919
36922
|
return runOrDiagnose(args, { account });
|
|
@@ -37112,7 +37115,7 @@ function registerExtraDocsTools(server) {
|
|
|
37112
37115
|
if (at) args.push(`--at=${at}`);
|
|
37113
37116
|
if (occurrence !== void 0) args.push(`--occurrence=${occurrence}`);
|
|
37114
37117
|
if (matchCase) args.push("--match-case");
|
|
37115
|
-
if (tabId) args.push(`--tab
|
|
37118
|
+
if (tabId) args.push(`--tab=${tabId}`);
|
|
37116
37119
|
if (segment) args.push(`--segment=${segment}`);
|
|
37117
37120
|
if (batch) args.push(`--batch=${batch}`);
|
|
37118
37121
|
return runOrDiagnose(args, { account });
|
|
@@ -37201,7 +37204,7 @@ function registerExtraDocsTools(server) {
|
|
|
37201
37204
|
if (at) args.push(`--at=${at}`);
|
|
37202
37205
|
if (occurrence !== void 0) args.push(`--occurrence=${occurrence}`);
|
|
37203
37206
|
if (matchCase) args.push("--match-case");
|
|
37204
|
-
if (tabId) args.push(`--tab
|
|
37207
|
+
if (tabId) args.push(`--tab=${tabId}`);
|
|
37205
37208
|
if (segment) args.push(`--segment=${segment}`);
|
|
37206
37209
|
if (pageless) args.push("--pageless");
|
|
37207
37210
|
if (batch) args.push(`--batch=${batch}`);
|
package/manifest.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"manifest_version": "0.3",
|
|
4
4
|
"name": "gogcli-mcp-docs",
|
|
5
5
|
"display_name": "gogcli (Docs)",
|
|
6
|
-
"version": "4.
|
|
6
|
+
"version": "4.8.0",
|
|
7
7
|
"description": "Extended Google Docs for Claude via gogcli — auth + full Docs and comments support",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "Chris Hall",
|
package/mint.yaml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gogcli-mcp-docs",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"mcpName": "io.github.chrischall/gogcli-mcp-docs",
|
|
5
5
|
"description": "Extended Google Docs MCP server via gogcli — all base tools plus full Docs support",
|
|
6
6
|
"author": "Claude Code (AI) <https://www.anthropic.com/claude>",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@chrischall/mcp-utils": "^3.0.0",
|
|
28
|
-
"@modelcontextprotocol/server": "^2.3.
|
|
28
|
+
"@modelcontextprotocol/server": "^2.3.1",
|
|
29
29
|
"zod": "^4.6.1"
|
|
30
30
|
},
|
|
31
31
|
"license": "MIT",
|
package/server.json
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
"source": "github",
|
|
8
8
|
"subfolder": "packages/gogcli-mcp-docs"
|
|
9
9
|
},
|
|
10
|
-
"version": "4.
|
|
10
|
+
"version": "4.8.0",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "gogcli-mcp-docs",
|
|
15
|
-
"version": "4.
|
|
15
|
+
"version": "4.8.0",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
},
|
package/src/tools/docs-extra.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function registerExtraDocsTools(server: McpServer): void {
|
|
|
68
68
|
if (at) args.push(`--at=${at}`);
|
|
69
69
|
if (occurrence !== undefined) args.push(`--occurrence=${occurrence}`);
|
|
70
70
|
if (matchCase) args.push('--match-case');
|
|
71
|
-
if (tabId) args.push(`--tab
|
|
71
|
+
if (tabId) args.push(`--tab=${tabId}`);
|
|
72
72
|
if (segment) args.push(`--segment=${segment}`);
|
|
73
73
|
if (batch) args.push(`--batch=${batch}`);
|
|
74
74
|
return runOrDiagnose(args, { account });
|
|
@@ -302,7 +302,7 @@ export function registerExtraDocsTools(server: McpServer): void {
|
|
|
302
302
|
if (at) args.push(`--at=${at}`);
|
|
303
303
|
if (occurrence !== undefined) args.push(`--occurrence=${occurrence}`);
|
|
304
304
|
if (matchCase) args.push('--match-case');
|
|
305
|
-
if (tabId) args.push(`--tab
|
|
305
|
+
if (tabId) args.push(`--tab=${tabId}`);
|
|
306
306
|
if (segment) args.push(`--segment=${segment}`);
|
|
307
307
|
if (batch) args.push(`--batch=${batch}`);
|
|
308
308
|
return runOrDiagnose(args, { account });
|
|
@@ -395,7 +395,7 @@ export function registerExtraDocsTools(server: McpServer): void {
|
|
|
395
395
|
if (at) args.push(`--at=${at}`);
|
|
396
396
|
if (occurrence !== undefined) args.push(`--occurrence=${occurrence}`);
|
|
397
397
|
if (matchCase) args.push('--match-case');
|
|
398
|
-
if (tabId) args.push(`--tab
|
|
398
|
+
if (tabId) args.push(`--tab=${tabId}`);
|
|
399
399
|
if (segment) args.push(`--segment=${segment}`);
|
|
400
400
|
if (pageless) args.push('--pageless');
|
|
401
401
|
if (batch) args.push(`--batch=${batch}`);
|
|
@@ -79,17 +79,17 @@ describe('gog_docs_delete', () => {
|
|
|
79
79
|
);
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
it('includes --tab
|
|
82
|
+
it('includes --tab when provided', async () => {
|
|
83
83
|
vi.mocked(lib.runOrDiagnose).mockResolvedValue(rawTextResult('{}'));
|
|
84
84
|
const harness = await setupHandlers();
|
|
85
85
|
await harness.callTool('gog_docs_delete', { docId: 'abc', start: 1, end: 5, tabId: 'tab1' });
|
|
86
86
|
expect(lib.runOrDiagnose).toHaveBeenCalledWith(
|
|
87
|
-
['docs', 'delete', '--start=1', '--end=5', pos('abc'), '--tab
|
|
87
|
+
['docs', 'delete', '--start=1', '--end=5', pos('abc'), '--tab=tab1'],
|
|
88
88
|
{ account: undefined },
|
|
89
89
|
);
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
it('omits --tab
|
|
92
|
+
it('omits --tab when not provided', async () => {
|
|
93
93
|
vi.mocked(lib.runOrDiagnose).mockResolvedValue(rawTextResult('{}'));
|
|
94
94
|
const harness = await setupHandlers();
|
|
95
95
|
await harness.callTool('gog_docs_delete', { docId: 'abc', start: 1, end: 5 });
|
|
@@ -246,12 +246,12 @@ describe('gog_docs_insert', () => {
|
|
|
246
246
|
);
|
|
247
247
|
});
|
|
248
248
|
|
|
249
|
-
it('includes --tab
|
|
249
|
+
it('includes --tab when provided', async () => {
|
|
250
250
|
vi.mocked(lib.runOrDiagnose).mockResolvedValue(rawTextResult('{}'));
|
|
251
251
|
const harness = await setupHandlers();
|
|
252
252
|
await harness.callTool('gog_docs_insert', { docId: 'abc', content: 'hi', tabId: 'tab1' });
|
|
253
253
|
expect(lib.runOrDiagnose).toHaveBeenCalledWith(
|
|
254
|
-
['docs', 'insert', pos('abc'), pos('hi'), '--tab
|
|
254
|
+
['docs', 'insert', pos('abc'), pos('hi'), '--tab=tab1'],
|
|
255
255
|
{ account: undefined },
|
|
256
256
|
);
|
|
257
257
|
});
|
|
@@ -390,12 +390,12 @@ describe('gog_docs_update', () => {
|
|
|
390
390
|
);
|
|
391
391
|
});
|
|
392
392
|
|
|
393
|
-
it('includes --tab
|
|
393
|
+
it('includes --tab when provided', async () => {
|
|
394
394
|
vi.mocked(lib.runOrDiagnose).mockResolvedValue(rawTextResult('{}'));
|
|
395
395
|
const harness = await setupHandlers();
|
|
396
396
|
await harness.callTool('gog_docs_update', { docId: 'abc', text: 'hi', tabId: 'tab1' });
|
|
397
397
|
expect(lib.runOrDiagnose).toHaveBeenCalledWith(
|
|
398
|
-
['docs', 'update', pos('abc'), '--text=hi', '--tab
|
|
398
|
+
['docs', 'update', pos('abc'), '--text=hi', '--tab=tab1'],
|
|
399
399
|
{ account: undefined },
|
|
400
400
|
);
|
|
401
401
|
});
|