@wirecat/drive-cli 0.54.0 → 0.54.1

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.
Files changed (131) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bundle/{all-profiles-LFIPUPZI.js → all-profiles-I5KJKZPF.js} +9 -9
  3. package/dist/bundle/{anthropic-G5ZRRWG4.js → anthropic-DPM7BRKX.js} +5 -5
  4. package/dist/bundle/{app-server-UVWATOQC.js → app-server-FTGLOZ2K.js} +46 -46
  5. package/dist/bundle/{bun-DNEFTPTR.js → bun-XRO6XJHQ.js} +2 -2
  6. package/dist/bundle/{bun-sqlite-FWBYHIXB.js → bun-sqlite-7JJX6OUT.js} +4 -4
  7. package/dist/bundle/{chunk-2HWOGSTA.js → chunk-2DZMGPUC.js} +25 -25
  8. package/dist/bundle/{chunk-VCGQMTHW.js → chunk-2KARCTUU.js} +255 -255
  9. package/dist/bundle/{chunk-AAHIBA36.js → chunk-2LLNPNMB.js} +1 -1
  10. package/dist/bundle/{chunk-5WQN2TUM.js → chunk-2OGANEKA.js} +1 -1
  11. package/dist/bundle/{chunk-KIQIF5M7.js → chunk-3K4H2DTA.js} +2 -2
  12. package/dist/bundle/{chunk-Q46JLJ5O.js → chunk-4I7EBJJV.js} +6 -6
  13. package/dist/bundle/{chunk-W5SYBHRX.js → chunk-4LZFESHQ.js} +4 -2
  14. package/dist/bundle/{chunk-WYDYSQ7T.js → chunk-4XRLPQ3N.js} +2 -2
  15. package/dist/bundle/{chunk-FHW4ENRF.js → chunk-5DEEBWDI.js} +32 -32
  16. package/dist/bundle/{chunk-6SOQJRGI.js → chunk-67A2YFAT.js} +4 -4
  17. package/dist/bundle/{chunk-P7E7K467.js → chunk-7GJBKGRZ.js} +3 -3
  18. package/dist/bundle/{chunk-7WCZ2OZ5.js → chunk-7MVKSPEG.js} +6 -6
  19. package/dist/bundle/{chunk-ZMMOVTUB.js → chunk-ALMQEGYO.js} +2 -2
  20. package/dist/bundle/{chunk-OYGEBFFO.js → chunk-AQNY57J2.js} +7 -7
  21. package/dist/bundle/{chunk-WSX5UQNT.js → chunk-AR2HRFQO.js} +2 -2
  22. package/dist/bundle/{chunk-4RDXCE45.js → chunk-BO7ZKZCH.js} +38 -38
  23. package/dist/bundle/{chunk-UBJX5D2O.js → chunk-C4QKY33N.js} +2 -2
  24. package/dist/bundle/{chunk-5LNOVPOR.js → chunk-DNJ43DT5.js} +2 -2
  25. package/dist/bundle/{chunk-VKYCMXEQ.js → chunk-E7RDXCV2.js} +5 -5
  26. package/dist/bundle/{chunk-6MGSFYGL.js → chunk-EOEDICIE.js} +1 -1
  27. package/dist/bundle/{chunk-NDWWGBSM.js → chunk-FDCGTODC.js} +1 -1
  28. package/dist/bundle/{chunk-CVALO727.js → chunk-FDM3JMQZ.js} +24 -24
  29. package/dist/bundle/{chunk-IOMSC4ZG.js → chunk-FKHWVVMV.js} +3 -3
  30. package/dist/bundle/{chunk-MATUQFYL.js → chunk-FNDQFFLP.js} +11 -11
  31. package/dist/bundle/{chunk-75DSLCPC.js → chunk-FUKJQZED.js} +1 -1
  32. package/dist/bundle/{chunk-2CQT2WWN.js → chunk-GB5YM5HK.js} +5 -5
  33. package/dist/bundle/{chunk-O6YYFVDD.js → chunk-GC4JNVYF.js} +36 -25
  34. package/dist/bundle/{chunk-L3RV42O3.js → chunk-GIRVMZD3.js} +16 -16
  35. package/dist/bundle/{chunk-IKODUUQG.js → chunk-HNR2BJJU.js} +16 -16
  36. package/dist/bundle/{chunk-WJRE45Z6.js → chunk-IDK5QUBJ.js} +4 -4
  37. package/dist/bundle/{chunk-6RAEXK7Y.js → chunk-IXXVCKWL.js} +26 -26
  38. package/dist/bundle/{chunk-LQXLWHKM.js → chunk-J6XLM4QW.js} +9 -9
  39. package/dist/bundle/{chunk-AACQA2CO.js → chunk-JBBZCTTF.js} +1 -1
  40. package/dist/bundle/{chunk-2MSJVFAS.js → chunk-JPFF6MNK.js} +8 -8
  41. package/dist/bundle/{chunk-IBRXVPBI.js → chunk-K2DMCTTF.js} +95 -95
  42. package/dist/bundle/{chunk-2NWFZ43Q.js → chunk-KM7Q67Z3.js} +1 -1
  43. package/dist/bundle/{chunk-QUJCD5U7.js → chunk-KWKRTYRL.js} +4 -4
  44. package/dist/bundle/{chunk-WQPTZHHR.js → chunk-KXWJT72E.js} +11 -11
  45. package/dist/bundle/{chunk-2Q3S47BC.js → chunk-LAVWTS4P.js} +195 -195
  46. package/dist/bundle/{chunk-2D6AAGBP.js → chunk-N4VNUOOD.js} +18 -18
  47. package/dist/bundle/{chunk-KT5G3KVS.js → chunk-NCCL4QWR.js} +3 -3
  48. package/dist/bundle/{chunk-U3BOQ63L.js → chunk-NDG6LHX7.js} +8 -8
  49. package/dist/bundle/{chunk-BWBVBW5T.js → chunk-NDUYK676.js} +8 -8
  50. package/dist/bundle/{chunk-PU4GANCD.js → chunk-NFOUG7ES.js} +2 -2
  51. package/dist/bundle/{chunk-RWEFKLXJ.js → chunk-NPKFXGYG.js} +18 -18
  52. package/dist/bundle/{chunk-RIYXQFKU.js → chunk-NPMVPKBD.js} +46 -46
  53. package/dist/bundle/{chunk-2HQPJ366.js → chunk-ORRQDSDH.js} +3 -3
  54. package/dist/bundle/{chunk-76JIVDKC.js → chunk-P4ABC6C4.js} +2 -2
  55. package/dist/bundle/{chunk-YOHOQ6ZR.js → chunk-PFTIYWOK.js} +4 -4
  56. package/dist/bundle/{chunk-WGSTTWM5.js → chunk-RMQGFLT2.js} +6 -6
  57. package/dist/bundle/{chunk-JKEAZBEZ.js → chunk-TBD362SJ.js} +7 -7
  58. package/dist/bundle/{chunk-YZ5VMR2S.js → chunk-TD4RAOMZ.js} +3 -3
  59. package/dist/bundle/{chunk-QKHFQHE7.js → chunk-TIEEVT2Z.js} +1 -1
  60. package/dist/bundle/{chunk-7XU3TR7K.js → chunk-TIVC4DB5.js} +2 -2
  61. package/dist/bundle/{chunk-VX4RAT3A.js → chunk-TQFCPUIM.js} +1 -1
  62. package/dist/bundle/{chunk-47MEPBWG.js → chunk-UDWMRZL6.js} +21 -21
  63. package/dist/bundle/{chunk-NHDSJMAR.js → chunk-UIPT6IAU.js} +1 -1
  64. package/dist/bundle/{chunk-XCUUYQN7.js → chunk-ULPS2OAL.js} +4 -4
  65. package/dist/bundle/{chunk-A4FTLORC.js → chunk-VGTDXEYD.js} +12 -12
  66. package/dist/bundle/{chunk-SBOTSSYV.js → chunk-VVMCGF5X.js} +250 -250
  67. package/dist/bundle/{chunk-MULPNGM2.js → chunk-VXZULAWV.js} +10 -10
  68. package/dist/bundle/{chunk-5BPOAHVD.js → chunk-VY2AUZMJ.js} +2 -2
  69. package/dist/bundle/{chunk-PKNTBZXN.js → chunk-VY3TYRCK.js} +51 -51
  70. package/dist/bundle/{chunk-HAHARAJD.js → chunk-W6DMCGMK.js} +22 -22
  71. package/dist/bundle/{chunk-N4OO3SPQ.js → chunk-XTNEYXAQ.js} +5 -5
  72. package/dist/bundle/{chunk-2FFXRWI2.js → chunk-YP5FDMTG.js} +2 -2
  73. package/dist/bundle/command-contract-VXLGE6NV.js +35 -0
  74. package/dist/bundle/{decode-DN2DDFET.js → decode-3LX3BLZM.js} +4 -4
  75. package/dist/bundle/drive.js +6 -6
  76. package/dist/bundle/{echarts-VMHZ2UYP.js → echarts-YNGCOYHW.js} +2 -2
  77. package/dist/bundle/{embed-MDN7R7BA.js → embed-FICTRZJL.js} +5 -5
  78. package/dist/bundle/{embedder-KEVEDNDJ.js → embedder-DSMRCRSH.js} +8 -8
  79. package/dist/bundle/{entry-HTNK5TJQ.js → entry-4ZX3BNXK.js} +6 -6
  80. package/dist/bundle/{first-run-QNMCMP67.js → first-run-GRBQ3SQ5.js} +9 -9
  81. package/dist/bundle/first-screen-JK3MZVCU.js +33 -0
  82. package/dist/bundle/{google-QAKMV57Q.js → google-QV2B2KZA.js} +9 -9
  83. package/dist/bundle/{google-api-UJJS7ECO.js → google-api-EVO7F3WB.js} +51 -51
  84. package/dist/bundle/grants-VJDGD3BG.js +98 -0
  85. package/dist/bundle/identity-25CTQZS3.js +14 -0
  86. package/dist/bundle/{instructions-IWLHCDC7.js → instructions-GJHHFV64.js} +1 -1
  87. package/dist/bundle/{login-GIZXEN7I.js → login-54G4F4EP.js} +57 -57
  88. package/dist/bundle/{mcp-RUYPQVYS.js → mcp-EMNFFY4N.js} +2 -2
  89. package/dist/bundle/{node-25IJLDBZ.js → node-GFOH6FKP.js} +2 -2
  90. package/dist/bundle/{node-sqlite-DYR4FEI4.js → node-sqlite-NZIBED3C.js} +4 -4
  91. package/dist/bundle/{oauth-FLHXEDDY.js → oauth-WUHT2JII.js} +6 -6
  92. package/dist/bundle/{open-FWDZB7KX.js → open-INBNHORD.js} +3 -3
  93. package/dist/bundle/{openai-HB7UGKPW.js → openai-BMREUGJP.js} +13 -13
  94. package/dist/bundle/{process-P6TW37HQ.js → process-XVDX4SPD.js} +1 -1
  95. package/dist/bundle/{program-DVUNLXXS.js → program-5OBA53CL.js} +75 -75
  96. package/dist/bundle/{prompt-MKWMYO3B.js → prompt-S7GHCPGR.js} +4 -4
  97. package/dist/bundle/{reasons-25BEO2NE.js → reasons-T24V3AYS.js} +3 -3
  98. package/dist/bundle/{recognize-VXGNPROM.js → recognize-T3DABMW5.js} +3 -3
  99. package/dist/bundle/{remote-H5ZWLJHR.js → remote-ASYGFT6E.js} +6 -6
  100. package/dist/bundle/{rerank-5A3JDK7O.js → rerank-BQ5U252K.js} +6 -6
  101. package/dist/bundle/{serve-QNPNEZVR.js → serve-JMLNKCUZ.js} +8 -8
  102. package/dist/bundle/{server-GWBVIRLY.js → server-5E6RC7GZ.js} +38 -38
  103. package/dist/bundle/server-QI4C3CQT.js +63 -0
  104. package/dist/bundle/{services-PFXEWHJG.js → services-NFB3XSON.js} +25 -25
  105. package/dist/bundle/{sqlite-runtime-RGFISYXM.js → sqlite-runtime-TAMYMQFR.js} +4 -4
  106. package/dist/bundle/{state-BUSX5BXF.js → state-DS4G3ZXV.js} +5 -5
  107. package/dist/bundle/{store-FIEE5HHG.js → store-HAS2LRFE.js} +14 -14
  108. package/dist/bundle/{store-HFF5KQ44.js → store-MLMKYJLC.js} +12 -12
  109. package/dist/bundle/store-maintenance-command-LI3JR22B.js +52 -0
  110. package/dist/bundle/tokens-AJF2D5TA.js +96 -0
  111. package/dist/commands/upgrade.d.ts.map +1 -1
  112. package/dist/commands/upgrade.js +1 -1
  113. package/dist/commands/upgrade.js.map +1 -1
  114. package/dist/identity.d.ts +1 -0
  115. package/dist/identity.d.ts.map +1 -1
  116. package/dist/identity.js +1 -0
  117. package/dist/identity.js.map +1 -1
  118. package/dist/program.d.ts.map +1 -1
  119. package/dist/program.js +2 -1
  120. package/dist/program.js.map +1 -1
  121. package/dist/version.d.ts +1 -1
  122. package/dist/version.js +1 -1
  123. package/package.json +2 -2
  124. package/dist/bundle/command-contract-VZ3ZJLEF.js +0 -35
  125. package/dist/bundle/first-screen-RQBEHUQC.js +0 -33
  126. package/dist/bundle/grants-VMPKFEC2.js +0 -98
  127. package/dist/bundle/identity-UODE3QAL.js +0 -12
  128. package/dist/bundle/server-QJU3HEGM.js +0 -63
  129. package/dist/bundle/store-maintenance-command-Z4SPEQUM.js +0 -52
  130. package/dist/bundle/tokens-B6MUZRFM.js +0 -96
  131. /package/dist/bundle/{chunk-HEA3XVAJ.js → chunk-NPGVOZVK.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-KT5G3KVS.js";
8
+ } from "./chunk-NCCL4QWR.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
@@ -3,24 +3,24 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  activeProfile,
5
5
  paths
6
- } from "./chunk-U3BOQ63L.js";
6
+ } from "./chunk-NDG6LHX7.js";
7
7
  import {
8
8
  READ_SCOPE,
9
9
  WRITE_SCOPE,
10
10
  providerRequest
11
- } from "./chunk-VCGQMTHW.js";
11
+ } from "./chunk-2KARCTUU.js";
12
12
  import {
13
13
  googleError
14
- } from "./chunk-QKHFQHE7.js";
14
+ } from "./chunk-TIEEVT2Z.js";
15
15
  import {
16
16
  acquireLock
17
- } from "./chunk-A4FTLORC.js";
17
+ } from "./chunk-VGTDXEYD.js";
18
18
  import {
19
19
  Credentials,
20
20
  isMovedRun,
21
21
  keyringService,
22
22
  systemKeyring
23
- } from "./chunk-2D6AAGBP.js";
23
+ } from "./chunk-N4VNUOOD.js";
24
24
  import {
25
25
  CliError,
26
26
  isCliError,
@@ -32,12 +32,12 @@ import {
32
32
  pipe,
33
33
  safeParse,
34
34
  string
35
- } from "./chunk-JKEAZBEZ.js";
35
+ } from "./chunk-TBD362SJ.js";
36
36
  import {
37
37
  __name
38
38
  } from "./chunk-ZVVMGPBJ.js";
39
39
 
40
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/oauth/authorize.js
40
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/oauth/authorize.js
41
41
  import { createHash, randomBytes } from "node:crypto";
42
42
  import { createServer } from "node:http";
43
43
  var DEFAULT_TIMEOUT_MS = 3e5;
@@ -159,12 +159,12 @@ var authorize = /* @__PURE__ */ __name(async (options) => {
159
159
  }
160
160
  }, "authorize");
161
161
 
162
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
162
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
163
163
  import { createHash as createHash2 } from "node:crypto";
164
164
  import { join } from "node:path";
165
165
  import { setTimeout as delay } from "node:timers/promises";
166
166
 
167
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/oauth/requests.js
167
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/oauth/requests.js
168
168
  var REQUEST_LIMIT_MS = 3e4;
169
169
  var TOKEN_LOG_EVENT = "oauth.token";
170
170
  var object2 = /* @__PURE__ */ __name((value) => {
@@ -281,7 +281,7 @@ var revokeToken = /* @__PURE__ */ __name(async (provider, tokens, context) => {
281
281
  });
282
282
  }, "revokeToken");
283
283
 
284
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
284
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
285
285
  var inFlight = /* @__PURE__ */ new Map();
286
286
  var refreshedInMemory = /* @__PURE__ */ new Map();
287
287
  var tokenKeeper = /* @__PURE__ */ __name((options) => {
@@ -430,7 +430,7 @@ var tokenKeeper = /* @__PURE__ */ __name((options) => {
430
430
  };
431
431
  }, "tokenKeeper");
432
432
 
433
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/oauth/storage.js
433
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/oauth/storage.js
434
434
  var invalid = /* @__PURE__ */ __name(() => new CliError("authentication_error", "the saved sign-in cannot be read; sign in again", { reason: "oauth.invalid" }), "invalid");
435
435
  var parse = /* @__PURE__ */ __name((raw) => {
436
436
  let value;