gogcli-mcp-docs 4.2.1 → 4.2.3

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": "4.2.1"
10
+ "version": "4.2.3"
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.2.1",
18
+ "version": "4.2.3",
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": "4.2.1",
4
+ "version": "4.2.3",
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
@@ -35334,6 +35334,7 @@ function registerAuthToolsWith(server, defaultServices) {
35334
35334
  });
35335
35335
  server.registerTool("gog_auth_add_url", {
35336
35336
  description: "Begin REMOTE/headless Google authorization (step 1 of 2). Returns a sign-in URL to open in any browser \u2014 no local server or terminal on the gogcli host is needed, so this works on a hosted deployment where the interactive gog_auth_add cannot. Hand the URL to the user; after they sign in, the browser is redirected to a localhost URL that fails to load \u2014 that is expected. They copy that full redirected URL (from the address bar) and you pass it to gog_auth_add_complete. The link is valid for 10 minutes. If you pass a custom `services` here, pass the SAME value to gog_auth_add_complete or the second step will not match this one.",
35337
+ annotations: { readOnlyHint: true },
35337
35338
  inputSchema: external_exports.object({
35338
35339
  email: external_exports.string().describe("Google account email to authorize"),
35339
35340
  services: external_exports.string().optional().default(defaultServices).describe(servicesDescribe),
@@ -35452,6 +35453,7 @@ function registerDocsTools(server) {
35452
35453
  });
35453
35454
  server.registerTool("gog_docs_create", {
35454
35455
  description: "Create a new Google Doc. Returns JSON with the new docId and URL.",
35456
+ annotations: { destructiveHint: true },
35455
35457
  inputSchema: external_exports.object({
35456
35458
  title: external_exports.string().describe("Title for the new document"),
35457
35459
  account: accountParam
@@ -35557,7 +35559,7 @@ var failIfNotEmptyParam = external_exports.boolean().optional().describe(
35557
35559
  );
35558
35560
 
35559
35561
  // ../gogcli-mcp/src/server.ts
35560
- var VERSION = true ? "4.2.1" : "0.0.0";
35562
+ var VERSION = true ? "4.2.3" : "0.0.0";
35561
35563
 
35562
35564
  // ../gogcli-mcp/src/bootstrap-auth.ts
35563
35565
  import { join as join2 } from "node:path";
@@ -35635,6 +35637,7 @@ var MAX_BLOB_UPLOAD_BYTES = 100 * 1024 * 1024;
35635
35637
  function registerExtraDocsTools(server) {
35636
35638
  server.registerTool("gog_docs_copy", {
35637
35639
  description: "Copy a Google Doc to a new document with the given title.",
35640
+ annotations: { destructiveHint: true },
35638
35641
  inputSchema: external_exports.object({
35639
35642
  docId: external_exports.string().describe("Doc ID (from the URL)"),
35640
35643
  title: external_exports.string().describe("Title for the new copy"),
@@ -35991,6 +35994,7 @@ function registerExtraDocsTools(server) {
35991
35994
  });
35992
35995
  server.registerTool("gog_docs_comments_add", {
35993
35996
  description: "Add a comment to a Google Doc. Optionally attach quoted text that appears as the highlighted passage in the Google Docs UI.",
35997
+ annotations: { destructiveHint: false },
35994
35998
  inputSchema: external_exports.object({
35995
35999
  docId: external_exports.string().describe("Doc ID (from the URL)"),
35996
36000
  content: external_exports.string().describe("Comment text"),
@@ -36004,6 +36008,7 @@ function registerExtraDocsTools(server) {
36004
36008
  });
36005
36009
  server.registerTool("gog_docs_comments_reply", {
36006
36010
  description: "Reply to an existing comment on a Google Doc.",
36011
+ annotations: { destructiveHint: false },
36007
36012
  inputSchema: external_exports.object({
36008
36013
  docId: external_exports.string().describe("Doc ID (from the URL)"),
36009
36014
  commentId: external_exports.string().describe("Comment ID to reply to"),
@@ -36187,6 +36192,7 @@ function registerExtraDocsTools(server) {
36187
36192
  const tableSelectorParam = external_exports.string().optional().describe("Table selector: 1-based index (negative from the end), exact first-cell text, * for the only table, or text:VALUE for numeric/syntax-looking first-cell text (default: 1)");
36188
36193
  server.registerTool("gog_docs_table_row_insert", {
36189
36194
  description: 'Insert a row into a native Google Docs table, optionally populated from a JSON string array. Inserts before the 1-based position given by `at` (negative counts from the end; "end" appends \u2014 the default).',
36195
+ annotations: { destructiveHint: true },
36190
36196
  inputSchema: external_exports.object({
36191
36197
  docId: external_exports.string().describe("Doc ID (from the URL)"),
36192
36198
  table: tableSelectorParam,
@@ -36221,6 +36227,7 @@ function registerExtraDocsTools(server) {
36221
36227
  });
36222
36228
  server.registerTool("gog_docs_table_column_insert", {
36223
36229
  description: 'Insert a column into a native Google Docs table. Inserts before the 1-based position given by `at` (negative counts from the end; "end" appends \u2014 the default).',
36230
+ annotations: { destructiveHint: true },
36224
36231
  inputSchema: external_exports.object({
36225
36232
  docId: external_exports.string().describe("Doc ID (from the URL)"),
36226
36233
  table: tableSelectorParam,
@@ -36269,6 +36276,7 @@ function registerExtraDocsTools(server) {
36269
36276
  });
36270
36277
  server.registerTool("gog_docs_table_unmerge", {
36271
36278
  description: "Unmerge (split) the merged region containing a given cell in a native Google Docs table.",
36279
+ annotations: { destructiveHint: true },
36272
36280
  inputSchema: external_exports.object({
36273
36281
  docId: external_exports.string().describe("Doc ID (from the URL)"),
36274
36282
  cell: external_exports.string().describe('1-based cell r,c inside the merged region (e.g. "1,1")'),
@@ -36284,6 +36292,7 @@ function registerExtraDocsTools(server) {
36284
36292
  });
36285
36293
  server.registerTool("gog_docs_named_range_create", {
36286
36294
  description: "Create a named range \u2014 a durable, tab-aware anchor over a span of document text that survives subsequent edits (unlike raw indices). Anchor by literal text (`at`) or explicit UTF-16 start/end indices. Pair with gog_docs_named_range_replace for repeatable templated updates.",
36295
+ annotations: { destructiveHint: true },
36287
36296
  inputSchema: external_exports.object({
36288
36297
  docId: external_exports.string().describe("Doc ID (from the URL)"),
36289
36298
  name: external_exports.string().describe("Unique named range name"),
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.2.1",
6
+ "version": "4.2.3",
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": "4.2.1",
3
+ "version": "4.2.3",
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": "4.2.1",
10
+ "version": "4.2.3",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "gogcli-mcp-docs",
15
- "version": "4.2.1",
15
+ "version": "4.2.3",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },
@@ -6,6 +6,7 @@ import type { GogArg } from '../../../gogcli-mcp/src/lib.js';
6
6
  export function registerExtraDocsTools(server: McpServer): void {
7
7
  server.registerTool('gog_docs_copy', {
8
8
  description: 'Copy a Google Doc to a new document with the given title.',
9
+ annotations: { destructiveHint: true },
9
10
  inputSchema: z.object({
10
11
  docId: z.string().describe('Doc ID (from the URL)'),
11
12
  title: z.string().describe('Title for the new copy'),
@@ -413,6 +414,7 @@ export function registerExtraDocsTools(server: McpServer): void {
413
414
  server.registerTool('gog_docs_comments_add', {
414
415
  description:
415
416
  'Add a comment to a Google Doc. Optionally attach quoted text that appears as the highlighted passage in the Google Docs UI.',
417
+ annotations: { destructiveHint: false },
416
418
  inputSchema: z.object({
417
419
  docId: z.string().describe('Doc ID (from the URL)'),
418
420
  content: z.string().describe('Comment text'),
@@ -427,6 +429,7 @@ export function registerExtraDocsTools(server: McpServer): void {
427
429
 
428
430
  server.registerTool('gog_docs_comments_reply', {
429
431
  description: 'Reply to an existing comment on a Google Doc.',
432
+ annotations: { destructiveHint: false },
430
433
  inputSchema: z.object({
431
434
  docId: z.string().describe('Doc ID (from the URL)'),
432
435
  commentId: z.string().describe('Comment ID to reply to'),
@@ -630,6 +633,7 @@ export function registerExtraDocsTools(server: McpServer): void {
630
633
 
631
634
  server.registerTool('gog_docs_table_row_insert', {
632
635
  description: 'Insert a row into a native Google Docs table, optionally populated from a JSON string array. Inserts before the 1-based position given by `at` (negative counts from the end; "end" appends — the default).',
636
+ annotations: { destructiveHint: true },
633
637
  inputSchema: z.object({
634
638
  docId: z.string().describe('Doc ID (from the URL)'),
635
639
  table: tableSelectorParam,
@@ -666,6 +670,7 @@ export function registerExtraDocsTools(server: McpServer): void {
666
670
 
667
671
  server.registerTool('gog_docs_table_column_insert', {
668
672
  description: 'Insert a column into a native Google Docs table. Inserts before the 1-based position given by `at` (negative counts from the end; "end" appends — the default).',
673
+ annotations: { destructiveHint: true },
669
674
  inputSchema: z.object({
670
675
  docId: z.string().describe('Doc ID (from the URL)'),
671
676
  table: tableSelectorParam,
@@ -717,6 +722,7 @@ export function registerExtraDocsTools(server: McpServer): void {
717
722
 
718
723
  server.registerTool('gog_docs_table_unmerge', {
719
724
  description: 'Unmerge (split) the merged region containing a given cell in a native Google Docs table.',
725
+ annotations: { destructiveHint: true },
720
726
  inputSchema: z.object({
721
727
  docId: z.string().describe('Doc ID (from the URL)'),
722
728
  cell: z.string().describe('1-based cell r,c inside the merged region (e.g. "1,1")'),
@@ -733,6 +739,7 @@ export function registerExtraDocsTools(server: McpServer): void {
733
739
 
734
740
  server.registerTool('gog_docs_named_range_create', {
735
741
  description: 'Create a named range — a durable, tab-aware anchor over a span of document text that survives subsequent edits (unlike raw indices). Anchor by literal text (`at`) or explicit UTF-16 start/end indices. Pair with gog_docs_named_range_replace for repeatable templated updates.',
742
+ annotations: { destructiveHint: true },
736
743
  inputSchema: z.object({
737
744
  docId: z.string().describe('Doc ID (from the URL)'),
738
745
  name: z.string().describe('Unique named range name'),