gogcli-mcp-drive 2.19.0 → 2.19.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 Drive for Claude via gogcli — auth + full Drive support (upload, download, permissions, comments, shared drives)",
10
- "version": "2.19.0"
10
+ "version": "2.19.2"
11
11
  },
12
12
  "plugins": [
13
13
  {
@@ -15,7 +15,7 @@
15
15
  "displayName": "gogcli (Drive)",
16
16
  "source": "./",
17
17
  "description": "Extended Google Drive for Claude via gogcli — auth + full Drive support (upload, download, permissions, comments, shared drives)",
18
- "version": "2.19.0",
18
+ "version": "2.19.2",
19
19
  "author": {
20
20
  "name": "Chris Hall"
21
21
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gogcli-mcp-drive",
3
3
  "displayName": "gogcli (Drive)",
4
- "version": "2.19.0",
4
+ "version": "2.19.2",
5
5
  "description": "Extended Google Drive for Claude via gogcli — auth + full Drive support (upload, download, permissions, comments, shared drives)",
6
6
  "author": {
7
7
  "name": "Chris Hall",
package/dist/index.js CHANGED
@@ -31119,6 +31119,13 @@ function isGogFileArg(arg) {
31119
31119
  return typeof arg !== "string";
31120
31120
  }
31121
31121
  var runExecutor = new AsyncLocalStorage();
31122
+ var defaultExecutor;
31123
+ function setDefaultGogExecutor(executor) {
31124
+ defaultExecutor = executor ? { executor } : void 0;
31125
+ }
31126
+ function activeExecutor() {
31127
+ return runExecutor.getStore() ?? defaultExecutor;
31128
+ }
31122
31129
  var TIMEOUT_MS = 3e4;
31123
31130
  function readonlyEnvEnabled() {
31124
31131
  return readEnvVar("GOG_READONLY") !== void 0 && parseBoolEnv("GOG_READONLY", { default: true });
@@ -31279,7 +31286,7 @@ async function run(args, options = {}) {
31279
31286
  const { account, spawner, interactive = false, timeout, readonly: readonly2 = false, redactMode = "full" } = options;
31280
31287
  const redact = redactMode === "tokens" ? redactGoogleTokens : redactSecrets2;
31281
31288
  const fullArgs = assembleArgs(args, { account, interactive, readonly: readonly2 });
31282
- const store = runExecutor.getStore();
31289
+ const store = activeExecutor();
31283
31290
  try {
31284
31291
  let output;
31285
31292
  if (spawner) {
@@ -31296,7 +31303,7 @@ async function run(args, options = {}) {
31296
31303
  }
31297
31304
  async function runBinary(args, options = {}) {
31298
31305
  const { account, spawner, timeout, readonly: readonly2 = false } = options;
31299
- if (!spawner && runExecutor.getStore()) {
31306
+ if (!spawner && activeExecutor()) {
31300
31307
  throw new Error(
31301
31308
  "Raw byte retrieval is not available over the hosted connector (its transport is text-only). Use the text-extraction path instead, or run the local stdio server to fetch bytes."
31302
31309
  );
@@ -31990,7 +31997,7 @@ var failIfNotEmptyParam = external_exports.boolean().optional().describe(
31990
31997
  );
31991
31998
 
31992
31999
  // ../gogcli-mcp/src/server.ts
31993
- var VERSION = true ? "2.19.0" : "0.0.0";
32000
+ var VERSION = true ? "2.19.2" : "0.0.0";
31994
32001
 
31995
32002
  // ../gogcli-mcp/src/connector-runtime.ts
31996
32003
  var DEFAULT_TIMEOUT_MS = 3e4;
@@ -32049,7 +32056,7 @@ function useRemoteGogRunner(env = process.env) {
32049
32056
  const endpoint = readEnvVar("GOG_RUNNER_URL", { env });
32050
32057
  const key = readEnvVar("GOG_RUNNER_KEY", { env });
32051
32058
  if (!endpoint || !key) return false;
32052
- runExecutor.enterWith({ executor: makeFlyExecutor(endpoint.replace(/\/+$/, ""), key) });
32059
+ setDefaultGogExecutor(makeFlyExecutor(endpoint.replace(/\/+$/, ""), key));
32053
32060
  return true;
32054
32061
  }
32055
32062
 
package/manifest.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "manifest_version": "0.3",
4
4
  "name": "gogcli-mcp-drive",
5
5
  "display_name": "gogcli (Drive)",
6
- "version": "2.19.0",
6
+ "version": "2.19.2",
7
7
  "description": "Extended Google Drive for Claude via gogcli — auth + full Drive support (upload, download, permissions, comments, shared drives)",
8
8
  "author": {
9
9
  "name": "Chris Hall",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gogcli-mcp-drive",
3
- "version": "2.19.0",
3
+ "version": "2.19.2",
4
4
  "mcpName": "io.github.chrischall/gogcli-mcp-drive",
5
5
  "description": "Extended Google Drive MCP server via gogcli — auth + full Drive support (upload/download/permissions/comments/shared drives)",
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-drive"
9
9
  },
10
- "version": "2.19.0",
10
+ "version": "2.19.2",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "gogcli-mcp-drive",
15
- "version": "2.19.0",
15
+ "version": "2.19.2",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },