gogcli-mcp-slides 2.23.0 → 2.23.2

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 Slides for Claude via gogcli — auth + full Slides support (create, edit, export, templates, markdown)",
10
- "version": "2.23.0"
10
+ "version": "2.23.2"
11
11
  },
12
12
  "plugins": [
13
13
  {
@@ -15,7 +15,7 @@
15
15
  "displayName": "gogcli (Slides)",
16
16
  "source": "./",
17
17
  "description": "Extended Google Slides for Claude via gogcli — auth + full Slides support (create, edit, export, templates, markdown)",
18
- "version": "2.23.0",
18
+ "version": "2.23.2",
19
19
  "author": {
20
20
  "name": "Chris Hall"
21
21
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gogcli-mcp-slides",
3
3
  "displayName": "gogcli (Slides)",
4
- "version": "2.23.0",
4
+ "version": "2.23.2",
5
5
  "description": "Extended Google Slides for Claude via gogcli — auth + full Slides support (create, edit, export, templates, markdown)",
6
6
  "author": {
7
7
  "name": "Chris Hall",
package/dist/index.js CHANGED
@@ -31542,6 +31542,26 @@ function normalizeTimestamps(text, tz = displayTimeZone(), naiveTz = naiveSource
31542
31542
  return JSON.stringify(parsed, null, detectIndent(text));
31543
31543
  }
31544
31544
 
31545
+ // ../gogcli-mcp/src/pagination.ts
31546
+ function detectIndent2(text) {
31547
+ const match = /\n(\s+)\S/.exec(text);
31548
+ return match ? match[1].replace(/\t/g, " ").length : 0;
31549
+ }
31550
+ function stripConsumedPageToken(text) {
31551
+ const trimmed = text.trim();
31552
+ if (trimmed === "" || !trimmed.startsWith("{")) return text;
31553
+ let parsed;
31554
+ try {
31555
+ parsed = JSON.parse(trimmed);
31556
+ } catch {
31557
+ return text;
31558
+ }
31559
+ const obj = parsed;
31560
+ if (obj.nextPageToken !== "") return text;
31561
+ delete obj.nextPageToken;
31562
+ return JSON.stringify(obj, null, detectIndent2(text));
31563
+ }
31564
+
31545
31565
  // ../gogcli-mcp/src/tools/utils.ts
31546
31566
  var PAYLOAD_INLINE_MAX = 4096;
31547
31567
  function payloadArg(inlineFlag, fileFlag, value, ext) {
@@ -31577,9 +31597,16 @@ var ids = {
31577
31597
  // People API uses fully-qualified resource names ("people/c123") not bare IDs.
31578
31598
  person: external_exports.string().describe("Person resource name (people/...) or email")
31579
31599
  };
31600
+ var pageTokenParam = external_exports.string().optional().describe(
31601
+ "Cursor for the NEXT page. Pass back the nextPageToken from a previous response verbatim, keeping the query and max identical: call once, then call again with pageToken=<that value>. A response with NO nextPageToken is the last page."
31602
+ );
31603
+ var pageAliasParam = external_exports.string().optional().describe(
31604
+ "Deprecated alias for pageToken, accepted so existing callers keep working. Use pageToken \u2014 it matches the nextPageToken field in the response."
31605
+ );
31580
31606
  var paginationParams = {
31581
31607
  max: external_exports.number().int().optional().describe("Max results"),
31582
- page: external_exports.string().optional().describe("Page token"),
31608
+ pageToken: pageTokenParam,
31609
+ page: pageAliasParam,
31583
31610
  all: external_exports.boolean().optional().describe("Fetch all pages")
31584
31611
  };
31585
31612
  function registerRunTool(server, options) {
@@ -31654,7 +31681,7 @@ ${accounts || "(none)"}${hint}`);
31654
31681
  async function runOrDiagnose(args, options) {
31655
31682
  try {
31656
31683
  const raw = await run(args, options);
31657
- return rawTextResult(options.lossless ? raw : normalizeTimestamps(raw));
31684
+ return rawTextResult(options.lossless ? raw : stripConsumedPageToken(normalizeTimestamps(raw)));
31658
31685
  } catch (err) {
31659
31686
  return diagnose(err);
31660
31687
  }
@@ -31918,7 +31945,7 @@ function registerSlidesTools(server) {
31918
31945
  }
31919
31946
 
31920
31947
  // ../gogcli-mcp/src/server.ts
31921
- var VERSION = true ? "2.23.0" : "0.0.0";
31948
+ var VERSION = true ? "2.23.2" : "0.0.0";
31922
31949
 
31923
31950
  // ../gogcli-mcp/src/auth-log.ts
31924
31951
  var FAILURES = /* @__PURE__ */ new Set([
package/manifest.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "manifest_version": "0.3",
4
4
  "name": "gogcli-mcp-slides",
5
5
  "display_name": "gogcli (Slides)",
6
- "version": "2.23.0",
6
+ "version": "2.23.2",
7
7
  "description": "Extended Google Slides for Claude via gogcli — auth + full Slides support (create, edit, export, templates, markdown)",
8
8
  "author": {
9
9
  "name": "Chris Hall",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gogcli-mcp-slides",
3
- "version": "2.23.0",
3
+ "version": "2.23.2",
4
4
  "mcpName": "io.github.chrischall/gogcli-mcp-slides",
5
5
  "description": "Extended Google Slides MCP server via gogcli — auth + full Slides 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-slides"
9
9
  },
10
- "version": "2.23.0",
10
+ "version": "2.23.2",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "gogcli-mcp-slides",
15
- "version": "2.23.0",
15
+ "version": "2.23.2",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },