@wirecat/drive-cli 0.52.1 → 0.53.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 (179) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bin/drive.js.map +1 -1
  3. package/dist/bundle/{chunk-ZWSG7OCA.js → all-profiles-WRN35CUF.js} +11 -6
  4. package/dist/bundle/{anthropic-KW6KU36Y.js → anthropic-DZASXWG3.js} +1 -1
  5. package/dist/bundle/{app-server-TCJZ333E.js → app-server-4VHT7QZN.js} +33 -41
  6. package/dist/bundle/{bun-sqlite-RI7DR6RZ.js → bun-sqlite-2GOM5PM3.js} +1 -1
  7. package/dist/bundle/{chunk-LONV6HIK.js → chunk-2HHOMN2G.js} +440 -25
  8. package/dist/bundle/{chunk-NYOPEHEU.js → chunk-2PVDFLJJ.js} +8 -3
  9. package/dist/bundle/{chunk-725OHXKR.js → chunk-3RYX7IB6.js} +2218 -30
  10. package/dist/bundle/{chunk-CB7SBYLO.js → chunk-54BYJQ77.js} +41 -21
  11. package/dist/bundle/{chunk-5FONRUG6.js → chunk-5D4AEUVA.js} +1 -23
  12. package/dist/bundle/{chunk-RNSP57TC.js → chunk-6BNALDGA.js} +1 -1
  13. package/dist/bundle/{chunk-H47W2J6S.js → chunk-6XYGTRMQ.js} +812 -381
  14. package/dist/bundle/{chunk-UR32UWTQ.js → chunk-7IUMHMTP.js} +11 -0
  15. package/dist/bundle/{chunk-W7IK7E4B.js → chunk-BEL4XZ3M.js} +5 -7
  16. package/dist/bundle/{chunk-43QVYW3K.js → chunk-CL4GVCXS.js} +230 -56
  17. package/dist/bundle/{chunk-PQYVPCJ2.js → chunk-CNKILAWA.js} +18 -24
  18. package/dist/bundle/chunk-DOZOLBXE.js +110 -0
  19. package/dist/bundle/{chunk-2AUXBJRX.js → chunk-DT2YCB2V.js} +84 -11
  20. package/dist/bundle/{chunk-HQVJK5E7.js → chunk-DZMK255Y.js} +210 -357
  21. package/dist/bundle/{chunk-G6QF5KWF.js → chunk-E6XDFMRZ.js} +22 -28
  22. package/dist/bundle/{chunk-54O62JWP.js → chunk-F3KHUJEE.js} +24 -5
  23. package/dist/bundle/{chunk-I7UH5CTA.js → chunk-FXWBUTR7.js} +7 -9
  24. package/dist/bundle/{chunk-ZNZUZGSV.js → chunk-GE4DP24O.js} +131 -4
  25. package/dist/bundle/{chunk-PEOCBV2Z.js → chunk-GPJEYW2J.js} +1 -1
  26. package/dist/bundle/{chunk-A4UNTWAX.js → chunk-HM352LJR.js} +84 -15
  27. package/dist/bundle/{chunk-KYVXMEBC.js → chunk-IAQ4L6SM.js} +1 -1
  28. package/dist/bundle/{chunk-PQJYM5ES.js → chunk-IJFZKQC4.js} +1 -1
  29. package/dist/bundle/{chunk-O6IOL6RX.js → chunk-KPBCGUJC.js} +1 -1
  30. package/dist/bundle/{chunk-XOLQSCMF.js → chunk-KXMJE3XC.js} +2 -2
  31. package/dist/bundle/{chunk-33NVQGUY.js → chunk-LSGAJYVN.js} +2 -2
  32. package/dist/bundle/{chunk-2UIMEMWU.js → chunk-MK3N7WX7.js} +1 -1
  33. package/dist/bundle/{chunk-IDUNJCFO.js → chunk-OQMK6WXQ.js} +1 -1
  34. package/dist/bundle/{chunk-CM7GAXGD.js → chunk-PC4UA6UN.js} +1 -1
  35. package/dist/bundle/{chunk-YNFELLNQ.js → chunk-PIMMF67N.js} +2 -2
  36. package/dist/bundle/{chunk-WBTVGFXI.js → chunk-PR3DA7KA.js} +9 -9
  37. package/dist/bundle/{chunk-VJZST5RD.js → chunk-QXYGK6G5.js} +1 -1
  38. package/dist/bundle/{chunk-WQJBAWQP.js → chunk-R4TE4ZSD.js} +549 -224
  39. package/dist/bundle/{chunk-BSSCTWWK.js → chunk-RNIHKIQP.js} +1 -1
  40. package/dist/bundle/{chunk-PAXKALHV.js → chunk-SIWBUGBU.js} +116 -5
  41. package/dist/bundle/{chunk-2623YE5I.js → chunk-SQHPJBNO.js} +6 -8
  42. package/dist/bundle/chunk-SVTYS36O.js +5305 -0
  43. package/dist/bundle/{chunk-WLFUBNFX.js → chunk-T334CFU4.js} +2 -2
  44. package/dist/bundle/{chunk-IEXPOEEO.js → chunk-TZLO3ZZF.js} +3 -3
  45. package/dist/bundle/{chunk-5PLJKSG4.js → chunk-UFWK3L5Z.js} +4 -6
  46. package/dist/bundle/{chunk-FCJAHD4R.js → chunk-VTWADVEQ.js} +2 -2
  47. package/dist/bundle/{chunk-HX7Y2ASG.js → chunk-WJRJBQIM.js} +26040 -15126
  48. package/dist/bundle/{chunk-VSOLLTYT.js → chunk-YLKQSVLI.js} +5 -0
  49. package/dist/bundle/{chunk-IWFBAWZK.js → chunk-YQOVVCIA.js} +282 -10
  50. package/dist/bundle/{chunk-7YMDL4JQ.js → chunk-ZG6X24ON.js} +4 -1
  51. package/dist/bundle/{command-contract-I2YB5IXI.js → command-contract-D4UG3D33.js} +12 -15
  52. package/dist/bundle/{decode-EDN2ARXZ.js → decode-WAPM2VBH.js} +1 -1
  53. package/dist/bundle/drive.js +9 -20
  54. package/dist/bundle/{embed-3GSQIQXE.js → embed-HW3N3KNP.js} +4 -4
  55. package/dist/bundle/{embedder-6ULWRG3R.js → embedder-7WNFXYYP.js} +4 -4
  56. package/dist/bundle/{entry-IPRJLFHO.js → entry-J7YIRDPD.js} +4 -4
  57. package/dist/bundle/{first-run-FGHGWHC2.js → first-run-53CL2IYH.js} +6 -6
  58. package/dist/bundle/{first-screen-M62KTPZG.js → first-screen-2KT7HM2K.js} +13 -16
  59. package/dist/bundle/{google-BD3ZNFVJ.js → google-5NNVARNR.js} +2 -2
  60. package/dist/bundle/{chunk-GR5GGZKH.js → google-api-EQQH53QD.js} +60 -4
  61. package/dist/bundle/grants-4NETZ4MR.js +98 -0
  62. package/dist/bundle/{identity-U7IHZEMR.js → identity-LBTXDMTA.js} +4 -2
  63. package/dist/bundle/{login-7HRYPZMM.js → login-Y6ENYKC3.js} +44 -50
  64. package/dist/bundle/{node-sqlite-J3OODPYK.js → node-sqlite-FSQIKGED.js} +1 -1
  65. package/dist/bundle/{oauth-L4VTCBLF.js → oauth-HF5USWXY.js} +5 -5
  66. package/dist/bundle/{open-SGUN7ZVF.js → open-NHGJENCX.js} +2 -2
  67. package/dist/bundle/{openai-RLVISEDH.js → openai-3JCJYKNX.js} +6 -6
  68. package/dist/bundle/{program-YVLXSKZV.js → program-QAJ66K3Z.js} +713 -902
  69. package/dist/bundle/{prompt-AUWTBLO7.js → prompt-LQJBCCUF.js} +3 -3
  70. package/dist/bundle/{recognize-ORX2UBQW.js → recognize-QM3LN4ZF.js} +1 -1
  71. package/dist/bundle/{remote-AGIJY73X.js → remote-WREGEZJQ.js} +5 -5
  72. package/dist/bundle/{rerank-R6PE44M5.js → rerank-YFUB6J6M.js} +4 -4
  73. package/dist/bundle/{chunk-G7DCVJ4F.js → serve-7NFEZ564.js} +7 -4
  74. package/dist/bundle/{chunk-F7UUZATI.js → server-KBCFZ2AU.js} +38 -11
  75. package/dist/bundle/server-UYVL2CFI.js +63 -0
  76. package/dist/bundle/{services-HZFTTZSF.js → services-C3XWRA2W.js} +16 -21
  77. package/dist/bundle/{sqlite-runtime-DTGPR2T2.js → sqlite-runtime-H3TSAMIN.js} +3 -3
  78. package/dist/bundle/{state-WG3JKJM3.js → state-S2Q53L6L.js} +3 -3
  79. package/dist/bundle/{store-33VHIMEO.js → store-H345VQHP.js} +6 -8
  80. package/dist/bundle/{store-EV72MT5U.js → store-I27LAJPU.js} +7 -9
  81. package/dist/bundle/store-maintenance-command-3XA73XMC.js +52 -0
  82. package/dist/bundle/{chunk-GNI7INK6.js → terminal-DHJ4D3BC.js} +2 -3
  83. package/dist/bundle/tokens-7MUGKFEM.js +96 -0
  84. package/dist/commands/context.d.ts +14 -13
  85. package/dist/commands/context.d.ts.map +1 -1
  86. package/dist/commands/context.js.map +1 -1
  87. package/dist/commands/documents.d.ts.map +1 -1
  88. package/dist/commands/documents.js +1 -4
  89. package/dist/commands/documents.js.map +1 -1
  90. package/dist/commands/mirrors.d.ts.map +1 -1
  91. package/dist/commands/mirrors.js +1 -2
  92. package/dist/commands/mirrors.js.map +1 -1
  93. package/dist/commands/upgrade.d.ts +1 -1
  94. package/dist/commands/upgrade.d.ts.map +1 -1
  95. package/dist/commands/upgrade.js +4 -9
  96. package/dist/commands/upgrade.js.map +1 -1
  97. package/dist/config.d.ts +182 -0
  98. package/dist/config.d.ts.map +1 -1
  99. package/dist/config.js +38 -3
  100. package/dist/config.js.map +1 -1
  101. package/dist/contract-overrides.d.ts +0 -3
  102. package/dist/contract-overrides.d.ts.map +1 -1
  103. package/dist/contract-overrides.js +0 -234
  104. package/dist/contract-overrides.js.map +1 -1
  105. package/dist/first-screen.d.ts +3 -2
  106. package/dist/first-screen.d.ts.map +1 -1
  107. package/dist/first-screen.js +17 -22
  108. package/dist/first-screen.js.map +1 -1
  109. package/dist/grants.d.ts +9 -0
  110. package/dist/grants.d.ts.map +1 -0
  111. package/dist/grants.js +30 -0
  112. package/dist/grants.js.map +1 -0
  113. package/dist/identity.d.ts.map +1 -1
  114. package/dist/identity.js +2 -0
  115. package/dist/identity.js.map +1 -1
  116. package/dist/policy-keys.d.ts +12 -0
  117. package/dist/policy-keys.d.ts.map +1 -0
  118. package/dist/policy-keys.js +107 -0
  119. package/dist/policy-keys.js.map +1 -0
  120. package/dist/policy.d.ts +1 -8
  121. package/dist/policy.d.ts.map +1 -1
  122. package/dist/policy.js +2 -105
  123. package/dist/policy.js.map +1 -1
  124. package/dist/program.d.ts +8 -4
  125. package/dist/program.d.ts.map +1 -1
  126. package/dist/program.js +251 -222
  127. package/dist/program.js.map +1 -1
  128. package/dist/testing/mcp.d.ts +28 -0
  129. package/dist/testing/mcp.d.ts.map +1 -0
  130. package/dist/testing/mcp.js +56 -0
  131. package/dist/testing/mcp.js.map +1 -0
  132. package/dist/version.d.ts +1 -1
  133. package/dist/version.js +1 -1
  134. package/package.json +4 -3
  135. package/scenarios/agent-access.md +4 -2
  136. package/dist/bundle/all-profiles-CYW6XBBS.js +0 -26
  137. package/dist/bundle/chunk-234MHU76.js +0 -384
  138. package/dist/bundle/chunk-BBYD2FA3.js +0 -9
  139. package/dist/bundle/chunk-DO4PDQY5.js +0 -48
  140. package/dist/bundle/chunk-FDWYPONW.js +0 -1988
  141. package/dist/bundle/chunk-FQRJWVEB.js +0 -2
  142. package/dist/bundle/chunk-GJN5B5JK.js +0 -522
  143. package/dist/bundle/chunk-NPSZPUK6.js +0 -193
  144. package/dist/bundle/chunk-PDGECM5D.js +0 -138
  145. package/dist/bundle/chunk-Q765VPZY.js +0 -421
  146. package/dist/bundle/chunk-QYUHS6DE.js +0 -1714
  147. package/dist/bundle/chunk-WQRGA75U.js +0 -256
  148. package/dist/bundle/chunk-YVPHJHIL.js +0 -15572
  149. package/dist/bundle/chunk-Z47LOJUS.js +0 -484
  150. package/dist/bundle/failure-IXS2ZHA5.js +0 -37
  151. package/dist/bundle/google-api-BDUWZMRV.js +0 -83
  152. package/dist/bundle/mcp-F67RATLF.js +0 -502
  153. package/dist/bundle/mcp-JZSYPQA4.js +0 -96
  154. package/dist/bundle/serve-VOBAQHAQ.js +0 -20
  155. package/dist/bundle/server-24PS4M7U.js +0 -70
  156. package/dist/bundle/server-G6HFZ2CK.js +0 -57
  157. package/dist/bundle/store-maintenance-command-ZTUEI4EC.js +0 -58
  158. package/dist/bundle/terminal-TFCTWLOS.js +0 -11
  159. package/dist/bundle/tokens-XMOGQFI6.js +0 -102
  160. package/dist/commands/doctor.d.ts +0 -56
  161. package/dist/commands/doctor.d.ts.map +0 -1
  162. package/dist/commands/doctor.js +0 -75
  163. package/dist/commands/doctor.js.map +0 -1
  164. package/dist/commands/mcp.d.ts +0 -6
  165. package/dist/commands/mcp.d.ts.map +0 -1
  166. package/dist/commands/mcp.js +0 -156
  167. package/dist/commands/mcp.js.map +0 -1
  168. package/dist/commands/skill.d.ts +0 -6
  169. package/dist/commands/skill.d.ts.map +0 -1
  170. package/dist/commands/skill.js +0 -34
  171. package/dist/commands/skill.js.map +0 -1
  172. package/dist/failure.d.ts +0 -88
  173. package/dist/failure.d.ts.map +0 -1
  174. package/dist/failure.js +0 -60
  175. package/dist/failure.js.map +0 -1
  176. package/dist/mcp.d.ts +0 -175
  177. package/dist/mcp.d.ts.map +0 -1
  178. package/dist/mcp.js +0 -412
  179. package/dist/mcp.js.map +0 -1
@@ -3,23 +3,23 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  installerOf,
5
5
  updateCommand
6
- } from "./chunk-7YMDL4JQ.js";
6
+ } from "./chunk-ZG6X24ON.js";
7
7
  import {
8
8
  QUESTIONS,
9
9
  readSetupAnswers,
10
10
  unanswered,
11
11
  writeSetupAnswers
12
- } from "./chunk-WLFUBNFX.js";
12
+ } from "./chunk-T334CFU4.js";
13
13
  import {
14
14
  DEFAULT_STEMMERS,
15
15
  LANGUAGES
16
16
  } from "./chunk-7XKAVMCF.js";
17
17
  import {
18
18
  sharedConfigPath
19
- } from "./chunk-XOLQSCMF.js";
19
+ } from "./chunk-KXMJE3XC.js";
20
20
  import {
21
21
  storePath
22
- } from "./chunk-VJZST5RD.js";
22
+ } from "./chunk-QXYGK6G5.js";
23
23
  import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
@@ -82,7 +82,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
82
82
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
83
83
  }, "suggested");
84
84
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
85
- const { openStore } = await import("./store-33VHIMEO.js");
85
+ const { openStore } = await import("./store-H345VQHP.js");
86
86
  const store = await openStore({ env });
87
87
  let rebuild = false;
88
88
  try {
@@ -111,8 +111,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
111
111
  if (!rebuild)
112
112
  return;
113
113
  const [{ openCache }, { buildStems }] = await Promise.all([
114
- import("./open-SGUN7ZVF.js"),
115
- import("./store-maintenance-command-ZTUEI4EC.js")
114
+ import("./open-NHGJENCX.js"),
115
+ import("./store-maintenance-command-3XA73XMC.js")
116
116
  ]);
117
117
  const database = await openCache(storePath(env));
118
118
  try {
@@ -124,7 +124,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
124
124
  var askTools = /* @__PURE__ */ __name(async (run) => {
125
125
  const { command, env, io } = run;
126
126
  const installed = run.installed ?? ((name) => onPath(name, env));
127
- const { WIRECAT_TOOLS } = await import("./first-screen-M62KTPZG.js");
127
+ const { WIRECAT_TOOLS } = await import("./first-screen-2KT7HM2K.js");
128
128
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
129
129
  const missing = others.filter((tool) => !installed(tool.command));
130
130
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -197,7 +197,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
197
197
  contentLanguages: start.contentLanguages,
198
198
  all: start.path[0] === "setup",
199
199
  io: {
200
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-AUWTBLO7.js")).readSecret(prompt, { input, echo: true }), "ask"),
200
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-LQJBCCUF.js")).readSecret(prompt, { input, echo: true }), "ask"),
201
201
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
202
202
  `), "say")
203
203
  }
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  resolvePaths
5
- } from "./chunk-HQVJK5E7.js";
5
+ } from "./chunk-DZMK255Y.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";