gogcli-mcp-drive 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 Drive for Claude via gogcli — auth + full Drive support (upload, download, permissions, comments, shared drives)",
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 (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.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-drive",
3
3
  "displayName": "gogcli (Drive)",
4
- "version": "2.19.2",
4
+ "version": "2.20.0",
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
@@ -31997,16 +31997,17 @@ var failIfNotEmptyParam = external_exports.boolean().optional().describe(
31997
31997
  );
31998
31998
 
31999
31999
  // ../gogcli-mcp/src/server.ts
32000
- var VERSION = true ? "2.19.2" : "0.0.0";
32000
+ var VERSION = true ? "2.20.0" : "0.0.0";
32001
32001
 
32002
32002
  // ../gogcli-mcp/src/connector-runtime.ts
32003
32003
  var DEFAULT_TIMEOUT_MS = 3e4;
32004
32004
  var DEADLINE_GRACE_MS = 5e3;
32005
32005
  var RUNNER_GOG_FAILED = 422;
32006
32006
  var RUNNER_DRAINING = 503;
32007
- function makeFlyExecutor(endpoint, key) {
32007
+ function makeFlyExecutor(endpoint, key, readAccessToken) {
32008
32008
  return async (args, opts) => {
32009
32009
  const deadlineMs = (opts?.timeout ?? DEFAULT_TIMEOUT_MS) + DEADLINE_GRACE_MS;
32010
+ const accessToken = readAccessToken?.();
32010
32011
  let res;
32011
32012
  try {
32012
32013
  res = await fetch(endpoint + "/run", {
@@ -32015,7 +32016,7 @@ function makeFlyExecutor(endpoint, key) {
32015
32016
  Authorization: "Bearer " + key,
32016
32017
  "Content-Type": "application/json"
32017
32018
  },
32018
- body: JSON.stringify({ args }),
32019
+ body: JSON.stringify(accessToken ? { args, accessToken } : { args }),
32019
32020
  signal: AbortSignal.timeout(deadlineMs)
32020
32021
  });
32021
32022
  } catch (err) {
@@ -32056,7 +32057,9 @@ function useRemoteGogRunner(env = process.env) {
32056
32057
  const endpoint = readEnvVar("GOG_RUNNER_URL", { env });
32057
32058
  const key = readEnvVar("GOG_RUNNER_KEY", { env });
32058
32059
  if (!endpoint || !key) return false;
32059
- setDefaultGogExecutor(makeFlyExecutor(endpoint.replace(/\/+$/, ""), key));
32060
+ setDefaultGogExecutor(
32061
+ makeFlyExecutor(endpoint.replace(/\/+$/, ""), key, () => readEnvVar("GOG_ACCESS_TOKEN", { env }))
32062
+ );
32060
32063
  return true;
32061
32064
  }
32062
32065
 
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.2",
6
+ "version": "2.20.0",
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.2",
3
+ "version": "2.20.0",
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.2",
10
+ "version": "2.20.0",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "gogcli-mcp-drive",
15
- "version": "2.19.2",
15
+ "version": "2.20.0",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },