gogcli-mcp-docs 2.27.1 → 2.28.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.
@@ -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": "2.27.1"
10
+ "version": "2.28.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": "2.27.1",
18
+ "version": "2.28.0",
19
19
  "author": {
20
20
  "name": "Chris Hall"
21
21
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gogcli-mcp-docs",
3
3
  "displayName": "gogcli (Docs)",
4
- "version": "2.27.1",
4
+ "version": "2.28.0",
5
5
  "description": "Extended Google Docs for Claude via gogcli — auth + full Docs and comments support",
6
6
  "author": {
7
7
  "name": "Chris Hall",
package/dist/index.js CHANGED
@@ -32372,7 +32372,7 @@ var failIfNotEmptyParam = external_exports.boolean().optional().describe(
32372
32372
  );
32373
32373
 
32374
32374
  // ../gogcli-mcp/src/server.ts
32375
- var VERSION = true ? "2.27.1" : "0.0.0";
32375
+ var VERSION = true ? "2.28.0" : "0.0.0";
32376
32376
 
32377
32377
  // ../gogcli-mcp/src/auth-log.ts
32378
32378
  var FAILURES = /* @__PURE__ */ new Set([
@@ -33666,7 +33666,7 @@ function registerExtraDocsTools(server) {
33666
33666
  inputSchema: {
33667
33667
  docId: external_exports.string().describe("Doc ID (from the URL)"),
33668
33668
  layout: external_exports.enum(["pageless", "pages"]).optional().describe("Page layout (default: pageless)"),
33669
- pageSize: external_exports.enum(["A4", "A5", "Letter", "Legal", "Tabloid"]).optional().describe("Named page size preset (only applies in paged layout)"),
33669
+ pageSize: external_exports.enum(["A3", "A4", "A5", "Letter", "Legal", "Tabloid"]).optional().describe("Named page size preset (only applies in paged layout)"),
33670
33670
  pageWidth: external_exports.string().optional().describe('Page width (points by default; supports pt, in, cm, mm \u2014 e.g. "8.5in")'),
33671
33671
  pageHeight: external_exports.string().optional().describe("Page height (points by default; supports pt, in, cm, mm)"),
33672
33672
  marginTop: external_exports.string().optional().describe("Top page margin (points by default; supports pt, in, cm, mm)"),
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": "2.27.1",
6
+ "version": "2.28.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
@@ -87,7 +87,7 @@ dependencies:
87
87
  # nine pins too.
88
88
  - kind: github-release
89
89
  repo: openclaw/gogcli
90
- tag: v0.38.3
90
+ tag: v0.39.0
91
91
  asset: "gogcli_*_linux_amd64.tar.gz"
92
92
  bin: [gog]
93
93
  state:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gogcli-mcp-docs",
3
- "version": "2.27.1",
3
+ "version": "2.28.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>",
package/server.json CHANGED
@@ -7,12 +7,12 @@
7
7
  "source": "github",
8
8
  "subfolder": "packages/gogcli-mcp-docs"
9
9
  },
10
- "version": "2.27.1",
10
+ "version": "2.28.0",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "gogcli-mcp-docs",
15
- "version": "2.27.1",
15
+ "version": "2.28.0",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },
@@ -897,7 +897,7 @@ export function registerExtraDocsTools(server: McpServer): void {
897
897
  inputSchema: {
898
898
  docId: z.string().describe('Doc ID (from the URL)'),
899
899
  layout: z.enum(['pageless', 'pages']).optional().describe('Page layout (default: pageless)'),
900
- pageSize: z.enum(['A4', 'A5', 'Letter', 'Legal', 'Tabloid']).optional().describe('Named page size preset (only applies in paged layout)'),
900
+ pageSize: z.enum(['A3', 'A4', 'A5', 'Letter', 'Legal', 'Tabloid']).optional().describe('Named page size preset (only applies in paged layout)'),
901
901
  pageWidth: z.string().optional().describe('Page width (points by default; supports pt, in, cm, mm — e.g. "8.5in")'),
902
902
  pageHeight: z.string().optional().describe('Page height (points by default; supports pt, in, cm, mm)'),
903
903
  marginTop: z.string().optional().describe('Top page margin (points by default; supports pt, in, cm, mm)'),
@@ -1050,6 +1050,19 @@ describe('gog_docs_page_layout', () => {
1050
1050
  { account: undefined },
1051
1051
  );
1052
1052
  });
1053
+
1054
+ // A3 joined the preset list in gog 0.39.0. The enum is the only gate — a
1055
+ // value it rejects never reaches gog, so a missing preset is a tool that
1056
+ // cannot do something the binary underneath it can.
1057
+ it('accepts the A3 preset (gog >= 0.39.0)', async () => {
1058
+ vi.mocked(lib.runOrDiagnose).mockResolvedValue(rawTextResult('{}'));
1059
+ const harness = await setupHandlers();
1060
+ await harness.callTool('gog_docs_page_layout', { docId: 'd1', pageSize: 'A3' });
1061
+ expect(lib.runOrDiagnose).toHaveBeenCalledWith(
1062
+ ['docs', 'page-layout', 'd1', '--page-size=A3'],
1063
+ { account: undefined },
1064
+ );
1065
+ });
1053
1066
  });
1054
1067
 
1055
1068
  describe('gog_docs_cell_update', () => {