gogcli-mcp-docs 2.0.4 → 2.0.6

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.
@@ -6,16 +6,16 @@
6
6
  "email": "chris.c.hall@gmail.com"
7
7
  },
8
8
  "metadata": {
9
- "description": "Extended Google Docs for Claude via gogcli auth + full Docs and comments support",
10
- "version": "2.0.4"
9
+ "description": "Extended Google Docs for Claude via gogcli \u2014 auth + full Docs and comments support",
10
+ "version": "2.0.3"
11
11
  },
12
12
  "plugins": [
13
13
  {
14
14
  "name": "gogcli-mcp-docs",
15
15
  "displayName": "gogcli (Docs)",
16
16
  "source": "./",
17
- "description": "Extended Google Docs for Claude via gogcli auth + full Docs and comments support",
18
- "version": "2.0.4",
17
+ "description": "Extended Google Docs for Claude via gogcli \u2014 auth + full Docs and comments support",
18
+ "version": "2.0.3",
19
19
  "author": {
20
20
  "name": "Chris Hall"
21
21
  },
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "gogcli-mcp-docs",
3
3
  "displayName": "gogcli (Docs)",
4
- "version": "2.0.4",
5
- "description": "Extended Google Docs for Claude via gogcli auth + full Docs and comments support",
4
+ "version": "2.0.3",
5
+ "description": "Extended Google Docs for Claude via gogcli \u2014 auth + full Docs and comments support",
6
6
  "author": {
7
7
  "name": "Chris Hall",
8
8
  "email": "chris.c.hall@gmail.com"
package/dist/index.js CHANGED
@@ -31108,7 +31108,7 @@ function registerDocsTools(server2) {
31108
31108
  }
31109
31109
 
31110
31110
  // ../gogcli-mcp/src/server.ts
31111
- var VERSION = true ? "2.0.4" : "0.0.0";
31111
+ var VERSION = true ? "2.0.5" : "0.0.0";
31112
31112
  function createServer(options) {
31113
31113
  return new McpServer({
31114
31114
  name: options?.name ?? "gogcli",
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.0.4",
6
+ "version": "2.0.6",
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gogcli-mcp-docs",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
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
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.chrischall/gogcli-mcp-docs",
4
- "description": "Extended Google Docs for Claude via gogcli auth + full Docs and comments support",
4
+ "description": "Extended Google Docs for Claude via gogcli \u2014 auth + full Docs and comments support",
5
5
  "repository": {
6
6
  "url": "https://github.com/chrischall/gogcli-mcp",
7
7
  "source": "github",
8
8
  "subfolder": "packages/gogcli-mcp-docs"
9
9
  },
10
- "version": "2.0.4",
10
+ "version": "2.0.3",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "gogcli-mcp-docs",
15
- "version": "2.0.4",
15
+ "version": "2.0.3",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },
@@ -1,7 +1,7 @@
1
1
  import { describe, it, expect, vi, beforeEach } from 'vitest';
2
- import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
3
2
  import { registerExtraDocsTools } from '../../src/tools/docs-extra.js';
4
3
  import * as lib from '../../../gogcli-mcp/src/lib.js';
4
+ import { setupExtrasHandlers, toText } from '../../../gogcli-mcp/tests/helpers/extras-harness.js';
5
5
 
6
6
  vi.mock('../../../gogcli-mcp/src/lib.js', async (importOriginal) => {
7
7
  const actual = await importOriginal<typeof lib>();
@@ -11,22 +11,7 @@ vi.mock('../../../gogcli-mcp/src/lib.js', async (importOriginal) => {
11
11
  };
12
12
  });
13
13
 
14
- type ToolHandler = (args: Record<string, unknown>) => Promise<{ content: Array<{ type: string; text: string }> }>;
15
-
16
- function toText(text: string) {
17
- return { content: [{ type: 'text', text }] };
18
- }
19
-
20
- function setupHandlers(): Map<string, ToolHandler> {
21
- const server = new McpServer({ name: 'test', version: '0.0.0' });
22
- const handlers = new Map<string, ToolHandler>();
23
- vi.spyOn(server, 'registerTool').mockImplementation((name, _config, cb) => {
24
- handlers.set(name, cb as ToolHandler);
25
- return undefined as never;
26
- });
27
- registerExtraDocsTools(server);
28
- return handlers;
29
- }
14
+ const setupHandlers = () => setupExtrasHandlers(registerExtraDocsTools);
30
15
 
31
16
  beforeEach(() => vi.clearAllMocks());
32
17