@wirecat/drive-cli 0.62.0 → 0.63.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.
Files changed (111) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bundle/{all-profiles-CKD2DWUK.js → all-profiles-GZJS3UKC.js} +6 -7
  3. package/dist/bundle/{anthropic-E3T4USLA.js → anthropic-RGV3WXX5.js} +3 -3
  4. package/dist/bundle/{app-server-JB2AEWWL.js → app-server-AA2PJ7PV.js} +40 -41
  5. package/dist/bundle/{bun-CC44AAND.js → bun-OXZYIA3R.js} +2 -2
  6. package/dist/bundle/{bun-sqlite-AUMFKYVR.js → bun-sqlite-D45NSDM3.js} +2 -2
  7. package/dist/bundle/{chunk-WZKEU7WR.js → chunk-2NIC72HH.js} +1 -1
  8. package/dist/bundle/{chunk-HCNQT3QE.js → chunk-2TDUGC5D.js} +331 -280
  9. package/dist/bundle/{chunk-DWJHL6DV.js → chunk-2TFXK3R4.js} +4 -4
  10. package/dist/bundle/{chunk-PEQA6LA5.js → chunk-33MGFUED.js} +169 -140
  11. package/dist/bundle/{chunk-YPFUYQDP.js → chunk-3BZRKLJ6.js} +12 -12
  12. package/dist/bundle/{chunk-YALI4C7C.js → chunk-3HK5WMI5.js} +5 -5
  13. package/dist/bundle/{chunk-R347FPYU.js → chunk-3QINVLZI.js} +1 -1
  14. package/dist/bundle/{chunk-LQKD257P.js → chunk-44SBK6KB.js} +938 -532
  15. package/dist/bundle/{chunk-XZUS7XRO.js → chunk-4CIZWCXV.js} +1 -1
  16. package/dist/bundle/{chunk-XS5POQST.js → chunk-4S4JMW6I.js} +1 -1
  17. package/dist/bundle/{chunk-YMWENGKH.js → chunk-534OBX5Y.js} +1 -1
  18. package/dist/bundle/{chunk-4SIZEJ3M.js → chunk-5PPL7JDM.js} +1 -1
  19. package/dist/bundle/{chunk-L7K2MOIC.js → chunk-6KQJSFYF.js} +18 -18
  20. package/dist/bundle/{chunk-VAYB52HF.js → chunk-6MQSQ4LX.js} +20 -20
  21. package/dist/bundle/{chunk-DJOAMGF4.js → chunk-7EMQ26BA.js} +9 -9
  22. package/dist/bundle/{chunk-TDX4GZFO.js → chunk-ABYGSJZ4.js} +4 -4
  23. package/dist/bundle/{chunk-FNWIJ6EJ.js → chunk-AEX37ETW.js} +1 -1
  24. package/dist/bundle/{chunk-SVPCHFKI.js → chunk-BKYMKVHT.js} +2 -2
  25. package/dist/bundle/{chunk-OBH5BA62.js → chunk-CE2TJBLP.js} +2 -2
  26. package/dist/bundle/{chunk-QTI6IVHZ.js → chunk-DJ3SDJZY.js} +6 -6
  27. package/dist/bundle/{chunk-XFRRKZHQ.js → chunk-DJHLVUL6.js} +16 -13
  28. package/dist/bundle/{chunk-JK3U25QZ.js → chunk-E4SDKMBJ.js} +59 -1
  29. package/dist/bundle/{chunk-HG6CAYJH.js → chunk-FRIJUILO.js} +2 -2
  30. package/dist/bundle/{chunk-RPMKG63Z.js → chunk-HZZCEQTH.js} +3 -3
  31. package/dist/bundle/{chunk-YXYTY4GF.js → chunk-J24ZFCWM.js} +16 -16
  32. package/dist/bundle/{chunk-E43ENLJJ.js → chunk-J4DIHPZ6.js} +1 -1
  33. package/dist/bundle/{chunk-SW4I5BR7.js → chunk-L37LMMRJ.js} +1 -1
  34. package/dist/bundle/{chunk-Q2LRPOKL.js → chunk-LMAVCYLQ.js} +3 -3
  35. package/dist/bundle/{chunk-T7X53FCJ.js → chunk-LZEOQW7S.js} +31 -31
  36. package/dist/bundle/{chunk-T5NWWXS2.js → chunk-MOTRI3SY.js} +1 -1
  37. package/dist/bundle/{chunk-ONP2IBHY.js → chunk-ND6LLYGF.js} +97 -80
  38. package/dist/bundle/{chunk-2KN35F32.js → chunk-NEFSGCVA.js} +8 -8
  39. package/dist/bundle/{chunk-JN5TVEEL.js → chunk-OXY6SSZG.js} +101 -14
  40. package/dist/bundle/{chunk-W4RTIL7S.js → chunk-PDCCYHCH.js} +2 -2
  41. package/dist/bundle/{chunk-AH5C3D3D.js → chunk-PO5RQQIG.js} +4 -4
  42. package/dist/bundle/{chunk-CZ2GJHLL.js → chunk-Q5DJTRKV.js} +2 -2
  43. package/dist/bundle/{chunk-O7ALBI2I.js → chunk-RKELRWH7.js} +3 -3
  44. package/dist/bundle/{chunk-67ZQCWBV.js → chunk-S4RXABDR.js} +2 -2
  45. package/dist/bundle/{chunk-QCX6XZLA.js → chunk-SXM6MHRR.js} +9 -9
  46. package/dist/bundle/{chunk-RIDQNVZM.js → chunk-TF23BZW5.js} +2 -2
  47. package/dist/bundle/{chunk-N7OZPKU7.js → chunk-TWUH22Z5.js} +1 -1
  48. package/dist/bundle/chunk-UPOSDTPT.js +87 -0
  49. package/dist/bundle/{chunk-CJHY5YIF.js → chunk-V3NVXIQR.js} +353 -114
  50. package/dist/bundle/{chunk-QH7DOVO3.js → chunk-VAUMOZU5.js} +44 -28
  51. package/dist/bundle/{chunk-VQDD64A4.js → chunk-VJEOGKAN.js} +7 -9
  52. package/dist/bundle/{chunk-MN4VXU3M.js → chunk-VKPCONDQ.js} +3 -3
  53. package/dist/bundle/{chunk-LWE4JGRN.js → chunk-WYGWWHZP.js} +2 -2
  54. package/dist/bundle/{chunk-EW7PKB4M.js → chunk-XDC3TWTL.js} +25 -25
  55. package/dist/bundle/{chunk-KLFSRKHB.js → chunk-XIUDS3OK.js} +1 -1
  56. package/dist/bundle/{chunk-U2BFYSQV.js → chunk-XNVFKMVR.js} +8559 -3343
  57. package/dist/bundle/{chunk-IR4SQLBR.js → chunk-XR6ESRU6.js} +1 -1
  58. package/dist/bundle/{chunk-RWSXVCSG.js → chunk-Y6GNA7HE.js} +2 -2
  59. package/dist/bundle/{chunk-7ZXIWZQ6.js → chunk-YGU6ULU5.js} +10 -10
  60. package/dist/bundle/{chunk-UGXN5D7U.js → chunk-YIP7ELON.js} +108 -62
  61. package/dist/bundle/{chunk-XEW2EN6F.js → chunk-Z42YYLTS.js} +31 -23
  62. package/dist/bundle/{chunk-DRZZBN3V.js → chunk-Z5KC7XBR.js} +1 -1
  63. package/dist/bundle/{chunk-7W5HYGVW.js → chunk-ZM5J6ZMB.js} +1 -1
  64. package/dist/bundle/{chunk-YOJDGAPT.js → chunk-ZOJU7ZFI.js} +7 -7
  65. package/dist/bundle/{command-contract-OB5BRABN.js → command-contract-BRW3AP44.js} +13 -14
  66. package/dist/bundle/{decode-WIIX3Y2X.js → decode-G5YEIPNC.js} +2 -2
  67. package/dist/bundle/drive.js +3 -3
  68. package/dist/bundle/{echarts-OYINM4C4.js → echarts-W2CWHNXR.js} +2 -2
  69. package/dist/bundle/{embed-DWZIYMBX.js → embed-OBFFPVF4.js} +3 -3
  70. package/dist/bundle/{embedder-ILWH7ZRM.js → embedder-NGCBQHIG.js} +6 -6
  71. package/dist/bundle/{entry-V5V3TOTY.js → entry-ET6HGM7A.js} +5 -5
  72. package/dist/bundle/{first-run-V3VVLQF4.js → first-run-JG52UZVO.js} +5 -5
  73. package/dist/bundle/{first-screen-Y3RIN7FU.js → first-screen-CIL3GFAA.js} +14 -15
  74. package/dist/bundle/{google-KLZSUAVY.js → google-CIWUVJ5C.js} +4 -4
  75. package/dist/bundle/{google-api-HZQ5R4ZO.js → google-api-Z3NSTBBR.js} +44 -45
  76. package/dist/bundle/{grants-L7XLHLUT.js → grants-3S4RL3WB.js} +49 -50
  77. package/dist/bundle/{identity-J2DON4IO.js → identity-OM6GFZ7T.js} +1 -1
  78. package/dist/bundle/{instructions-HGOJ23AJ.js → instructions-YQBQSYSS.js} +1 -1
  79. package/dist/bundle/{login-BD2TS4GY.js → login-7RYSDVN3.js} +48 -49
  80. package/dist/bundle/{node-CPKTDPH7.js → node-IVU33RL7.js} +2 -2
  81. package/dist/bundle/{node-sqlite-IXDCRLSX.js → node-sqlite-SIH5BEW2.js} +3 -3
  82. package/dist/bundle/{oauth-HOGY4YBB.js → oauth-PT4JEHLL.js} +4 -4
  83. package/dist/bundle/{open-O7P3ZV3Y.js → open-IAO2SNII.js} +2 -2
  84. package/dist/bundle/{openai-RCFQKCXC.js → openai-SGOUBHXP.js} +10 -10
  85. package/dist/bundle/{process-KXDRJO22.js → process-BPBMV3AT.js} +1 -1
  86. package/dist/bundle/{program-UCHFC7JQ.js → program-MYKKJ4F6.js} +68 -67
  87. package/dist/bundle/{prompt-EVPPBN5W.js → prompt-3ZM64DCB.js} +2 -2
  88. package/dist/bundle/{recognize-MRCYGP2J.js → recognize-A5C5RPB3.js} +1 -1
  89. package/dist/bundle/{remote-L3L4PHKF.js → remote-VWYFLRGO.js} +4 -4
  90. package/dist/bundle/{rerank-PSOE6XFT.js → rerank-4NGQWREA.js} +4 -4
  91. package/dist/bundle/{serve-72OGS3BF.js → serve-Y6LQTFH5.js} +6 -6
  92. package/dist/bundle/{server-SCXKYHBO.js → server-6AUHIIUA.js} +32 -33
  93. package/dist/bundle/server-PFHI35HA.js +69 -0
  94. package/dist/bundle/{services-YAFTELBI.js → services-2W4J7EMW.js} +26 -21
  95. package/dist/bundle/{sqlite-runtime-DLK4SU33.js → sqlite-runtime-P6BBDX2H.js} +3 -3
  96. package/dist/bundle/{state-T5VNAJSZ.js → state-PXKKXR3R.js} +3 -3
  97. package/dist/bundle/{store-R6MSY2IM.js → store-CN6JEUC4.js} +18 -10
  98. package/dist/bundle/{store-4OFK7PKQ.js → store-IVV2BAGZ.js} +42 -12
  99. package/dist/bundle/store-maintenance-command-MSY2QNEH.js +59 -0
  100. package/dist/bundle/tokens-P4LPNUFW.js +102 -0
  101. package/dist/commands/config.d.ts.map +1 -1
  102. package/dist/commands/config.js +5 -1
  103. package/dist/commands/config.js.map +1 -1
  104. package/dist/version.d.ts +1 -1
  105. package/dist/version.js +1 -1
  106. package/package.json +2 -2
  107. package/dist/bundle/chunk-AQVUEZEP.js +0 -22
  108. package/dist/bundle/chunk-UOXOLGNG.js +0 -42
  109. package/dist/bundle/server-C5TGNFXW.js +0 -70
  110. package/dist/bundle/store-maintenance-command-QDMCXGV6.js +0 -60
  111. package/dist/bundle/tokens-HIG36RNS.js +0 -103
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-IR4SQLBR.js";
7
+ } from "./chunk-XR6ESRU6.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-4OSSOWDM.js";
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
@@ -5,20 +5,20 @@ import {
5
5
  readSetupAnswers,
6
6
  unanswered,
7
7
  writeSetupAnswers
8
- } from "./chunk-MN4VXU3M.js";
8
+ } from "./chunk-VKPCONDQ.js";
9
9
  import {
10
10
  updateCommand
11
11
  } from "./chunk-QCKZ3GAA.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-YOJDGAPT.js";
15
+ } from "./chunk-ZOJU7ZFI.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-TDX4GZFO.js";
18
+ } from "./chunk-ABYGSJZ4.js";
19
19
  import {
20
20
  storePath
21
- } from "./chunk-FNWIJ6EJ.js";
21
+ } from "./chunk-AEX37ETW.js";
22
22
  import {
23
23
  installerOf
24
24
  } from "./chunk-27YUUGXQ.js";
@@ -26,7 +26,7 @@ import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/cli/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-R6MSY2IM.js");
87
+ const { openStore } = await import("./store-CN6JEUC4.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-O7P3ZV3Y.js"),
117
- import("./store-maintenance-command-QDMCXGV6.js")
116
+ import("./open-IAO2SNII.js"),
117
+ import("./store-maintenance-command-MSY2QNEH.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-Y3RIN7FU.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-CIL3GFAA.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
199
199
  contentLanguages: start.contentLanguages,
200
200
  all: start.path[0] === "setup",
201
201
  io: {
202
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-EVPPBN5W.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-3ZM64DCB.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }