gogcli-mcp-sheets 1.0.6 → 1.0.7
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/README.md +75 -0
- package/dist/index.js +31212 -0
- package/package.json +1 -2
- package/src/index.ts +1 -1
- package/src/tools/sheets-extra.ts +1 -1
- package/tests/tools/sheets-extra.test.ts +2 -2
- package/tsconfig.json +3 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gogcli-mcp-sheets",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Extended Google Sheets MCP server via gogcli — all base tools plus full Sheets support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"test:coverage": "vitest run --coverage"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"gogcli-mcp": "*",
|
|
22
21
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
23
22
|
"zod": "^4.3.6"
|
|
24
23
|
},
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
3
|
-
import { createBaseServer } from 'gogcli-mcp/lib';
|
|
3
|
+
import { createBaseServer } from '../../gogcli-mcp/src/lib.js';
|
|
4
4
|
import { registerExtraSheetsTools } from './tools/sheets-extra.js';
|
|
5
5
|
|
|
6
6
|
const server = createBaseServer({ name: 'gogcli-sheets' });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { accountParam, runOrDiagnose } from 'gogcli-mcp/lib';
|
|
3
|
+
import { accountParam, runOrDiagnose } from '../../../gogcli-mcp/src/lib.js';
|
|
4
4
|
|
|
5
5
|
export function registerExtraSheetsTools(server: McpServer): void {
|
|
6
6
|
// 1. Add tab
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { describe, it, expect, vi, beforeEach } from 'vitest';
|
|
2
2
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
3
3
|
import { registerExtraSheetsTools } from '../../src/tools/sheets-extra.js';
|
|
4
|
-
import * as lib from 'gogcli-mcp/lib';
|
|
4
|
+
import * as lib from '../../../gogcli-mcp/src/lib.js';
|
|
5
5
|
|
|
6
|
-
vi.mock('gogcli-mcp/lib', async (importOriginal) => {
|
|
6
|
+
vi.mock('../../../gogcli-mcp/src/lib.js', async (importOriginal) => {
|
|
7
7
|
const actual = await importOriginal<typeof lib>();
|
|
8
8
|
return {
|
|
9
9
|
...actual,
|
package/tsconfig.json
CHANGED
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
"extends": "../../tsconfig.base.json",
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"outDir": "./dist",
|
|
5
|
-
"rootDir": "
|
|
6
|
-
"composite": true
|
|
5
|
+
"rootDir": "../"
|
|
7
6
|
},
|
|
8
|
-
"include": ["src/**/*"],
|
|
9
|
-
"exclude": ["node_modules", "dist"]
|
|
10
|
-
"references": [{ "path": "../gogcli-mcp" }]
|
|
7
|
+
"include": ["src/**/*", "../gogcli-mcp/src/**/*"],
|
|
8
|
+
"exclude": ["node_modules", "dist"]
|
|
11
9
|
}
|