gogcli-mcp-drive 2.18.2 → 2.18.3

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.18.2"
10
+ "version": "2.18.3"
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.18.2",
18
+ "version": "2.18.3",
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.18.2",
4
+ "version": "2.18.3",
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
@@ -31745,14 +31745,16 @@ function registerDriveTools(server) {
31745
31745
  const { name, mimeType } = fileMeta(await run(["drive", "get", fileId], { account }));
31746
31746
  const params = JSON.stringify({ fileId, alt: "media" });
31747
31747
  const blob = await runBinary(["api", "call", "drive", "v3", "files.get", `--params=${params}`], { account });
31748
+ const type = mimeType ?? "application/octet-stream";
31749
+ const unrenderableHint = type.startsWith("image/") ? "" : ` If your client does not render a ${type} resource, gog_drive_extract_text returns the same file as text (PDFs included, via OCR).`;
31748
31750
  return {
31749
31751
  content: [
31750
- { type: "text", text: `${name ?? fileId} (${mimeType ?? "application/octet-stream"}) \u2014 ${Buffer.from(blob, "base64").length} bytes, base64 resource below.` },
31752
+ { type: "text", text: `${name ?? fileId} (${type}) \u2014 ${Buffer.from(blob, "base64").length} bytes, base64 resource below.${unrenderableHint}` },
31751
31753
  {
31752
31754
  type: "resource",
31753
31755
  resource: {
31754
31756
  uri: `gogdrive://${fileId}/${encodeURIComponent(name ?? "file")}`,
31755
- mimeType: mimeType ?? "application/octet-stream",
31757
+ mimeType: type,
31756
31758
  blob
31757
31759
  }
31758
31760
  }
@@ -31775,7 +31777,7 @@ var failIfNotEmptyParam = external_exports.boolean().optional().describe(
31775
31777
  );
31776
31778
 
31777
31779
  // ../gogcli-mcp/src/server.ts
31778
- var VERSION = true ? "2.18.2" : "0.0.0";
31780
+ var VERSION = true ? "2.18.3" : "0.0.0";
31779
31781
 
31780
31782
  // src/tools/drive-extra.ts
31781
31783
  function registerExtraDriveTools(server) {
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.18.2",
6
+ "version": "2.18.3",
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.18.2",
3
+ "version": "2.18.3",
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.18.2",
10
+ "version": "2.18.3",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "gogcli-mcp-drive",
15
- "version": "2.18.2",
15
+ "version": "2.18.3",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },