gogcli-mcp-docs 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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/dist/index.js +7 -4
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -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": "2.
|
|
10
|
+
"version": "2.20.0"
|
|
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": "2.
|
|
18
|
+
"version": "2.20.0",
|
|
19
19
|
"author": {
|
|
20
20
|
"name": "Chris Hall"
|
|
21
21
|
},
|
package/dist/index.js
CHANGED
|
@@ -31880,16 +31880,17 @@ var failIfNotEmptyParam = external_exports.boolean().optional().describe(
|
|
|
31880
31880
|
);
|
|
31881
31881
|
|
|
31882
31882
|
// ../gogcli-mcp/src/server.ts
|
|
31883
|
-
var VERSION = true ? "2.
|
|
31883
|
+
var VERSION = true ? "2.20.0" : "0.0.0";
|
|
31884
31884
|
|
|
31885
31885
|
// ../gogcli-mcp/src/connector-runtime.ts
|
|
31886
31886
|
var DEFAULT_TIMEOUT_MS = 3e4;
|
|
31887
31887
|
var DEADLINE_GRACE_MS = 5e3;
|
|
31888
31888
|
var RUNNER_GOG_FAILED = 422;
|
|
31889
31889
|
var RUNNER_DRAINING = 503;
|
|
31890
|
-
function makeFlyExecutor(endpoint, key) {
|
|
31890
|
+
function makeFlyExecutor(endpoint, key, readAccessToken) {
|
|
31891
31891
|
return async (args, opts) => {
|
|
31892
31892
|
const deadlineMs = (opts?.timeout ?? DEFAULT_TIMEOUT_MS) + DEADLINE_GRACE_MS;
|
|
31893
|
+
const accessToken = readAccessToken?.();
|
|
31893
31894
|
let res;
|
|
31894
31895
|
try {
|
|
31895
31896
|
res = await fetch(endpoint + "/run", {
|
|
@@ -31898,7 +31899,7 @@ function makeFlyExecutor(endpoint, key) {
|
|
|
31898
31899
|
Authorization: "Bearer " + key,
|
|
31899
31900
|
"Content-Type": "application/json"
|
|
31900
31901
|
},
|
|
31901
|
-
body: JSON.stringify({ args }),
|
|
31902
|
+
body: JSON.stringify(accessToken ? { args, accessToken } : { args }),
|
|
31902
31903
|
signal: AbortSignal.timeout(deadlineMs)
|
|
31903
31904
|
});
|
|
31904
31905
|
} catch (err) {
|
|
@@ -31939,7 +31940,9 @@ function useRemoteGogRunner(env = process.env) {
|
|
|
31939
31940
|
const endpoint = readEnvVar("GOG_RUNNER_URL", { env });
|
|
31940
31941
|
const key = readEnvVar("GOG_RUNNER_KEY", { env });
|
|
31941
31942
|
if (!endpoint || !key) return false;
|
|
31942
|
-
setDefaultGogExecutor(
|
|
31943
|
+
setDefaultGogExecutor(
|
|
31944
|
+
makeFlyExecutor(endpoint.replace(/\/+$/, ""), key, () => readEnvVar("GOG_ACCESS_TOKEN", { env }))
|
|
31945
|
+
);
|
|
31943
31946
|
return true;
|
|
31944
31947
|
}
|
|
31945
31948
|
|
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": "2.
|
|
6
|
+
"version": "2.20.0",
|
|
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": "2.
|
|
3
|
+
"version": "2.20.0",
|
|
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": "2.
|
|
10
|
+
"version": "2.20.0",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "gogcli-mcp-docs",
|
|
15
|
-
"version": "2.
|
|
15
|
+
"version": "2.20.0",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
},
|