gogcli-mcp-sheets 2.19.2 → 2.20.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 Sheets for Claude via gogcli — auth + full Sheets support",
10
- "version": "2.19.2"
10
+ "version": "2.20.0"
11
11
  },
12
12
  "plugins": [
13
13
  {
@@ -15,7 +15,7 @@
15
15
  "displayName": "gogcli (Sheets)",
16
16
  "source": "./",
17
17
  "description": "Extended Google Sheets for Claude via gogcli — auth + full Sheets support",
18
- "version": "2.19.2",
18
+ "version": "2.20.0",
19
19
  "author": {
20
20
  "name": "Chris Hall"
21
21
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gogcli-mcp-sheets",
3
3
  "displayName": "gogcli (Sheets)",
4
- "version": "2.19.2",
4
+ "version": "2.20.0",
5
5
  "description": "Extended Google Sheets for Claude via gogcli — auth + full Sheets support",
6
6
  "author": {
7
7
  "name": "Chris Hall",
package/dist/index.js CHANGED
@@ -31934,16 +31934,17 @@ function registerSheetsTools(server) {
31934
31934
  }
31935
31935
 
31936
31936
  // ../gogcli-mcp/src/server.ts
31937
- var VERSION = true ? "2.19.2" : "0.0.0";
31937
+ var VERSION = true ? "2.20.0" : "0.0.0";
31938
31938
 
31939
31939
  // ../gogcli-mcp/src/connector-runtime.ts
31940
31940
  var DEFAULT_TIMEOUT_MS = 3e4;
31941
31941
  var DEADLINE_GRACE_MS = 5e3;
31942
31942
  var RUNNER_GOG_FAILED = 422;
31943
31943
  var RUNNER_DRAINING = 503;
31944
- function makeFlyExecutor(endpoint, key) {
31944
+ function makeFlyExecutor(endpoint, key, readAccessToken) {
31945
31945
  return async (args, opts) => {
31946
31946
  const deadlineMs = (opts?.timeout ?? DEFAULT_TIMEOUT_MS) + DEADLINE_GRACE_MS;
31947
+ const accessToken = readAccessToken?.();
31947
31948
  let res;
31948
31949
  try {
31949
31950
  res = await fetch(endpoint + "/run", {
@@ -31952,7 +31953,7 @@ function makeFlyExecutor(endpoint, key) {
31952
31953
  Authorization: "Bearer " + key,
31953
31954
  "Content-Type": "application/json"
31954
31955
  },
31955
- body: JSON.stringify({ args }),
31956
+ body: JSON.stringify(accessToken ? { args, accessToken } : { args }),
31956
31957
  signal: AbortSignal.timeout(deadlineMs)
31957
31958
  });
31958
31959
  } catch (err) {
@@ -31993,7 +31994,9 @@ function useRemoteGogRunner(env = process.env) {
31993
31994
  const endpoint = readEnvVar("GOG_RUNNER_URL", { env });
31994
31995
  const key = readEnvVar("GOG_RUNNER_KEY", { env });
31995
31996
  if (!endpoint || !key) return false;
31996
- setDefaultGogExecutor(makeFlyExecutor(endpoint.replace(/\/+$/, ""), key));
31997
+ setDefaultGogExecutor(
31998
+ makeFlyExecutor(endpoint.replace(/\/+$/, ""), key, () => readEnvVar("GOG_ACCESS_TOKEN", { env }))
31999
+ );
31997
32000
  return true;
31998
32001
  }
31999
32002
 
package/manifest.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "manifest_version": "0.3",
4
4
  "name": "gogcli-mcp-sheets",
5
5
  "display_name": "gogcli (Sheets)",
6
- "version": "2.19.2",
6
+ "version": "2.20.0",
7
7
  "description": "Extended Google Sheets for Claude via gogcli — auth + full Sheets support",
8
8
  "author": {
9
9
  "name": "Chris Hall",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gogcli-mcp-sheets",
3
- "version": "2.19.2",
3
+ "version": "2.20.0",
4
4
  "mcpName": "io.github.chrischall/gogcli-mcp-sheets",
5
5
  "description": "Extended Google Sheets MCP server via gogcli — all base tools plus full Sheets 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-sheets"
9
9
  },
10
- "version": "2.19.2",
10
+ "version": "2.20.0",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "gogcli-mcp-sheets",
15
- "version": "2.19.2",
15
+ "version": "2.20.0",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },