@wirecat/drive-cli 0.45.1 → 0.46.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/dist/bin/drive.js CHANGED
@@ -9,7 +9,7 @@ if (
9
9
  (words[0] === "--version" || words[0] === "-V") &&
10
10
  !Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
11
11
  ) {
12
- process.stdout.write("0.45.1\n")
12
+ process.stdout.write("0.46.0\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -29,7 +29,7 @@ if (
29
29
  })
30
30
  }
31
31
  const running = import("../bundle/drive.js")
32
- const chunks = ["../bundle/all-profiles-O7CNQ7FO.js","../bundle/anthropic-6T67J2CE.js","../bundle/app-server-BVBZT3UY.js","../bundle/bun-O6RL6LRQ.js","../bundle/bun-sqlite-54W7JUY3.js","../bundle/command-contract-MXCBV3GJ.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-LD3AI55P.js","../bundle/embed-FJKIIM43.js","../bundle/embedder-NNQ5ZC25.js","../bundle/entry-ZYSNPDSD.js","../bundle/failure-MJJXFR63.js","../bundle/first-run-KA2UPZAU.js","../bundle/first-screen-VQ3RXDMF.js","../bundle/google-ZYDFTHLN.js","../bundle/google-api-2GT5PAW2.js","../bundle/identity-JQFQXQIR.js","../bundle/instructions-RZMSW3OC.js","../bundle/login-JU6NKW5P.js","../bundle/mcp-2PZDI7WE.js","../bundle/mcp-JOQMFGBC.js","../bundle/mcp-OQBZXELQ.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-ZRLYQL7J.js","../bundle/node-sqlite-TXPSRROT.js","../bundle/oauth-NAIBKERJ.js","../bundle/open-3P5EPXPV.js","../bundle/process-LL77573L.js","../bundle/program-CZ55L6EW.js","../bundle/prompt-3TX2SWOY.js","../bundle/reasons-GF2TYGX6.js","../bundle/recognize-IFXOJHEA.js","../bundle/remote-663M42Y5.js","../bundle/rerank-OT2F2DBV.js","../bundle/serve-PDNNI6O6.js","../bundle/server-BFOEPMR7.js","../bundle/server-K566PJ7H.js","../bundle/services-5MCTECBU.js","../bundle/sqlite-runtime-BF3KDM7W.js","../bundle/state-SZX65E74.js","../bundle/store-TCWNLA3V.js","../bundle/store-UKPGGAPW.js","../bundle/store-maintenance-command-QHLUVBTJ.js","../bundle/terminal-TFCTWLOS.js","../bundle/tokens-DFCFRF7I.js"]
32
+ const chunks = ["../bundle/all-profiles-O7CNQ7FO.js","../bundle/anthropic-6T67J2CE.js","../bundle/app-server-BVBZT3UY.js","../bundle/bun-O6RL6LRQ.js","../bundle/bun-sqlite-54W7JUY3.js","../bundle/command-contract-MXCBV3GJ.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-LD3AI55P.js","../bundle/embed-FJKIIM43.js","../bundle/embedder-NNQ5ZC25.js","../bundle/entry-ZYSNPDSD.js","../bundle/failure-M5HSCCJJ.js","../bundle/first-run-KA2UPZAU.js","../bundle/first-screen-VQ3RXDMF.js","../bundle/google-ZYDFTHLN.js","../bundle/google-api-2GT5PAW2.js","../bundle/identity-R5OKB5O5.js","../bundle/instructions-RZMSW3OC.js","../bundle/login-JU6NKW5P.js","../bundle/mcp-JOQMFGBC.js","../bundle/mcp-OQBZXELQ.js","../bundle/mcp-Z362OMZG.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-ZRLYQL7J.js","../bundle/node-sqlite-TXPSRROT.js","../bundle/oauth-NAIBKERJ.js","../bundle/open-3P5EPXPV.js","../bundle/process-LL77573L.js","../bundle/program-PA2J6OFM.js","../bundle/prompt-3TX2SWOY.js","../bundle/reasons-GF2TYGX6.js","../bundle/recognize-IFXOJHEA.js","../bundle/remote-663M42Y5.js","../bundle/rerank-OT2F2DBV.js","../bundle/serve-PDNNI6O6.js","../bundle/server-BFOEPMR7.js","../bundle/server-K566PJ7H.js","../bundle/services-5MCTECBU.js","../bundle/sqlite-runtime-BF3KDM7W.js","../bundle/state-SZX65E74.js","../bundle/store-TCWNLA3V.js","../bundle/store-UKPGGAPW.js","../bundle/store-maintenance-command-QHLUVBTJ.js","../bundle/terminal-TFCTWLOS.js","../bundle/tokens-DFCFRF7I.js"]
33
33
  // After the server answers its first request, so it starts no later.
34
34
  if (serves) setTimeout(() => void Promise.allSettled(chunks.map((chunk) => import(chunk))), 2000).unref()
35
35
  await running
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-GWPKIRNQ.js";
13
13
  import {
14
14
  DRIVE_APP
15
- } from "./chunk-B2J6FJNL.js";
15
+ } from "./chunk-ZKXDI45R.js";
16
16
  import {
17
17
  VERSION
18
- } from "./chunk-GYCUY4CL.js";
18
+ } from "./chunk-NM26XAS2.js";
19
19
  import {
20
20
  RecipientList,
21
21
  SendJournal,
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-GHOWRW7E.js";
6
6
  import {
7
7
  VERSION
8
- } from "./chunk-GYCUY4CL.js";
8
+ } from "./chunk-NM26XAS2.js";
9
9
  import {
10
10
  REASONS
11
11
  } from "./chunk-MAXN7COO.js";
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
 
4
4
  // dist/version.js
5
- var VERSION = "0.45.1";
5
+ var VERSION = "0.46.0";
6
6
 
7
7
  export {
8
8
  VERSION
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  VERSION
5
- } from "./chunk-GYCUY4CL.js";
5
+ } from "./chunk-NM26XAS2.js";
6
6
 
7
7
  // dist/identity.js
8
8
  var DRIVE_APP = {
@@ -18,7 +18,7 @@ import { enableCompileCache } from "node:module";
18
18
  enableCompileCache();
19
19
  var [{ startCli }, { DRIVE_APP }, { REASONS }, { interactiveOf }] = await Promise.all([
20
20
  import("./entry-ZYSNPDSD.js"),
21
- import("./identity-JQFQXQIR.js"),
21
+ import("./identity-R5OKB5O5.js"),
22
22
  import("./reasons-GF2TYGX6.js"),
23
23
  import("./terminal-TFCTWLOS.js")
24
24
  ]);
@@ -29,8 +29,8 @@ await startCli({
29
29
  interactive: interactiveOf,
30
30
  reasons: REASONS,
31
31
  run: /* @__PURE__ */ __name(async (entry) => {
32
- failure = await import("./failure-MJJXFR63.js");
33
- const { createProgram } = await import("./program-CZ55L6EW.js");
32
+ failure = await import("./failure-M5HSCCJJ.js");
33
+ const { createProgram } = await import("./program-PA2J6OFM.js");
34
34
  program = createProgram({
35
35
  signal: entry.signal,
36
36
  atStart: entry.atStart,
@@ -4,9 +4,9 @@ import {
4
4
  errorObject,
5
5
  mcpFailure,
6
6
  reportFailure
7
- } from "./chunk-MFSIOSUM.js";
7
+ } from "./chunk-LZ5OTVWH.js";
8
8
  import "./chunk-GHOWRW7E.js";
9
- import "./chunk-GYCUY4CL.js";
9
+ import "./chunk-NM26XAS2.js";
10
10
  import {
11
11
  REASONS
12
12
  } from "./chunk-MAXN7COO.js";
@@ -2,8 +2,8 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  DRIVE_APP
5
- } from "./chunk-B2J6FJNL.js";
6
- import "./chunk-GYCUY4CL.js";
5
+ } from "./chunk-ZKXDI45R.js";
6
+ import "./chunk-NM26XAS2.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  DRIVE_APP
@@ -9,7 +9,7 @@ import {
9
9
  policySettings,
10
10
  profileSetLabel,
11
11
  profileSetTokenFile
12
- } from "./chunk-DXQEJWI3.js";
12
+ } from "./chunk-5MYFPQDA.js";
13
13
  import "./chunk-Q2Z3VCM4.js";
14
14
  import "./chunk-XEBFFKXO.js";
15
15
  import {
@@ -50,14 +50,14 @@ import {
50
50
  import "./chunk-SBZB7HMU.js";
51
51
  import {
52
52
  DRIVE_APP
53
- } from "./chunk-B2J6FJNL.js";
53
+ } from "./chunk-ZKXDI45R.js";
54
54
  import {
55
55
  mcpFailure
56
- } from "./chunk-MFSIOSUM.js";
56
+ } from "./chunk-LZ5OTVWH.js";
57
57
  import "./chunk-GHOWRW7E.js";
58
58
  import {
59
59
  VERSION
60
- } from "./chunk-GYCUY4CL.js";
60
+ } from "./chunk-NM26XAS2.js";
61
61
  import "./chunk-MAXN7COO.js";
62
62
  import "./chunk-GNI7INK6.js";
63
63
  import "./chunk-NLEB26GA.js";
@@ -40,7 +40,7 @@ import {
40
40
  saveSnapshot,
41
41
  saveState,
42
42
  saveWalk
43
- } from "./chunk-DXQEJWI3.js";
43
+ } from "./chunk-5MYFPQDA.js";
44
44
  import {
45
45
  apiMethod,
46
46
  apiMethods,
@@ -132,12 +132,12 @@ import {
132
132
  import "./chunk-SBZB7HMU.js";
133
133
  import {
134
134
  DRIVE_APP
135
- } from "./chunk-B2J6FJNL.js";
136
- import "./chunk-MFSIOSUM.js";
135
+ } from "./chunk-ZKXDI45R.js";
136
+ import "./chunk-LZ5OTVWH.js";
137
137
  import "./chunk-GHOWRW7E.js";
138
138
  import {
139
139
  VERSION
140
- } from "./chunk-GYCUY4CL.js";
140
+ } from "./chunk-NM26XAS2.js";
141
141
  import {
142
142
  REASONS
143
143
  } from "./chunk-MAXN7COO.js";
@@ -3953,7 +3953,7 @@ var installMcpCommandDefinition = /* @__PURE__ */ __name((program, { env, stream
3953
3953
  "drive personal mcp serve --http --public-url https://laptop.example.ts.net"
3954
3954
  ]).option("--tools", "list the commands the server offers instead of starting it").option("--http", "serve over HTTP on 127.0.0.1 for ChatGPT and Claude in the browser, behind your tunnel; the profile's permissions decide").option("--port <port>", `the local port for --http (default ${DEFAULT_PORT})`).option("--public-url <url>", "the tunnel's https address the browser apps use, e.g. https://<name>.ts.net or https://<name>.ts.net/drive");
3955
3955
  withProfiles(serve).action(async (args) => {
3956
- const { mcpTools, serveMcp, serveMcpOverHttp, serveProfiles } = await import("./mcp-2PZDI7WE.js");
3956
+ const { mcpTools, serveMcp, serveMcpOverHttp, serveProfiles } = await import("./mcp-Z362OMZG.js");
3957
3957
  const { portOf, publicUrlOf } = await import("./mcp-JOQMFGBC.js");
3958
3958
  const tunnel = /* @__PURE__ */ __name(() => publicUrlOf(args.publicUrl, { missing: "--http", reaches: "the browser apps reach drive", path: true }), "tunnel");
3959
3959
  const one = served(args.profiles, "mcp serve");
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.45.1";
1
+ export declare const VERSION = "0.46.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.45.1";
1
+ export const VERSION = "0.46.0";
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/drive-cli",
3
- "version": "0.45.1",
3
+ "version": "0.46.0",
4
4
  "description": "Google Drive and Docs sync, Markdown snapshots and local search",
5
5
  "mcpName": "dev.wirecat/drive-cli",
6
6
  "license": "Apache-2.0",