@wirecat/drive-cli 0.44.0 → 0.45.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 (166) hide show
  1. package/dist/bin/drive.js +35 -40
  2. package/dist/bundle/all-profiles-LTHNCWQW.js +26 -0
  3. package/dist/bundle/anthropic-NOJEF3V2.js +71 -0
  4. package/dist/bundle/bun-ADJVI4HY.js +169 -0
  5. package/dist/bundle/bun-sqlite-GNXLBF2A.js +70 -0
  6. package/dist/bundle/chunk-2FTZBZOB.js +2315 -0
  7. package/dist/bundle/chunk-2YU3CXFD.js +3391 -0
  8. package/dist/bundle/chunk-35GRI4DI.js +375 -0
  9. package/dist/bundle/chunk-37MAA6F2.js +5624 -0
  10. package/dist/bundle/chunk-3V6NPZY7.js +2352 -0
  11. package/dist/bundle/chunk-4TIC23D2.js +9 -0
  12. package/dist/bundle/chunk-4TQSNQVV.js +1071 -0
  13. package/dist/bundle/chunk-4UE7AVHZ.js +150 -0
  14. package/dist/bundle/chunk-5DPV7X27.js +663 -0
  15. package/dist/bundle/chunk-5FONRUG6.js +24805 -0
  16. package/dist/bundle/chunk-5ZVLM6YR.js +19 -0
  17. package/dist/bundle/chunk-64WJYT2F.js +3954 -0
  18. package/dist/bundle/chunk-65GGKAQ7.js +82 -0
  19. package/dist/bundle/chunk-66N2DGGC.js +515 -0
  20. package/dist/bundle/chunk-6KFA6HOM.js +2941 -0
  21. package/dist/bundle/chunk-6Y2BYFXQ.js +65 -0
  22. package/dist/bundle/chunk-7NCG2SHR.js +74 -0
  23. package/dist/bundle/chunk-7PVNJAQ2.js +73 -0
  24. package/dist/bundle/chunk-7XWUOCGW.js +190 -0
  25. package/dist/bundle/chunk-A6ZKTNTZ.js +168 -0
  26. package/dist/bundle/chunk-ADLS6FVG.js +24600 -0
  27. package/dist/bundle/chunk-AH3SNVCV.js +498 -0
  28. package/dist/bundle/chunk-AN3GVZTU.js +76 -0
  29. package/dist/bundle/chunk-BPBIBVFH.js +166 -0
  30. package/dist/bundle/chunk-C4XP5T73.js +264 -0
  31. package/dist/bundle/chunk-C6SMAEED.js +18102 -0
  32. package/dist/bundle/chunk-CDI67JSB.js +1092 -0
  33. package/dist/bundle/chunk-CEO5HPRL.js +25 -0
  34. package/dist/bundle/chunk-CFT7UHF6.js +15572 -0
  35. package/dist/bundle/chunk-DC4T3FNP.js +1913 -0
  36. package/dist/bundle/chunk-DCTXOMOR.js +35 -0
  37. package/dist/bundle/chunk-DFDN6AUB.js +21 -0
  38. package/dist/bundle/chunk-EVWXODYV.js +754 -0
  39. package/dist/bundle/chunk-GKHM6I64.js +2356 -0
  40. package/dist/bundle/chunk-GNI7INK6.js +18 -0
  41. package/dist/bundle/chunk-GTYY6BIE.js +58 -0
  42. package/dist/bundle/chunk-GX4WEMAG.js +164 -0
  43. package/dist/bundle/chunk-HA3WCVGY.js +8179 -0
  44. package/dist/bundle/chunk-HLONHTSG.js +281 -0
  45. package/dist/bundle/chunk-HOIUIKWS.js +236 -0
  46. package/dist/bundle/chunk-HTQTIKWP.js +928 -0
  47. package/dist/bundle/chunk-I5EJHKNC.js +111 -0
  48. package/dist/bundle/chunk-ICKNJIGE.js +31 -0
  49. package/dist/bundle/chunk-IGB5CJCA.js +62 -0
  50. package/dist/bundle/chunk-IP4OK7RQ.js +24 -0
  51. package/dist/bundle/chunk-IVQ6342B.js +2 -0
  52. package/dist/bundle/chunk-K4N2DKE5.js +17 -0
  53. package/dist/bundle/chunk-LNB7BIZL.js +844 -0
  54. package/dist/bundle/chunk-LVDHWNJF.js +193 -0
  55. package/dist/bundle/chunk-LW2G4U6W.js +570 -0
  56. package/dist/bundle/chunk-LWT55XC5.js +60 -0
  57. package/dist/bundle/chunk-LY26NW3I.js +6848 -0
  58. package/dist/bundle/chunk-MJR2OTO4.js +1714 -0
  59. package/dist/bundle/chunk-MWUITL6N.js +42 -0
  60. package/dist/bundle/chunk-N47CYWEM.js +454 -0
  61. package/dist/bundle/chunk-NKZ6V4JW.js +263 -0
  62. package/dist/bundle/chunk-NQ6LLDDC.js +161 -0
  63. package/dist/bundle/chunk-NZIHPYY5.js +215 -0
  64. package/dist/bundle/chunk-OECPFZLP.js +3541 -0
  65. package/dist/bundle/chunk-P5KGFT7U.js +18 -0
  66. package/dist/bundle/chunk-PDH2QQQV.js +484 -0
  67. package/dist/bundle/chunk-PIN5RZ3D.js +63 -0
  68. package/dist/bundle/chunk-PJDO7AFZ.js +421 -0
  69. package/dist/bundle/chunk-PWKXHDBQ.js +18078 -0
  70. package/dist/bundle/chunk-QLZGLPJL.js +100 -0
  71. package/dist/bundle/chunk-SBZB7HMU.js +1055 -0
  72. package/dist/bundle/chunk-SGOPYPVW.js +835 -0
  73. package/dist/bundle/chunk-TDC6JGDA.js +630 -0
  74. package/dist/bundle/chunk-TOYPN2XX.js +288 -0
  75. package/dist/bundle/chunk-UC44ZMQV.js +78 -0
  76. package/dist/bundle/chunk-V7GN5BI7.js +99 -0
  77. package/dist/bundle/chunk-VO4KOLQZ.js +119 -0
  78. package/dist/bundle/chunk-WPGCDWPU.js +1855 -0
  79. package/dist/bundle/chunk-WQMVSQPP.js +886 -0
  80. package/dist/bundle/chunk-WZUJKUBK.js +384 -0
  81. package/dist/bundle/chunk-X5DFDGWS.js +2 -0
  82. package/dist/bundle/chunk-XFLCVHSQ.js +50 -0
  83. package/dist/bundle/chunk-XPEWOPJR.js +431 -0
  84. package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
  85. package/dist/bundle/chunk-Y5EJSZXV.js +220 -0
  86. package/dist/bundle/chunk-YE3J6DLY.js +106 -0
  87. package/dist/bundle/chunk-YFLKH3NZ.js +48 -0
  88. package/dist/bundle/chunk-YJX4X564.js +138 -0
  89. package/dist/bundle/chunk-YJZBJ2TM.js +71 -0
  90. package/dist/bundle/chunk-Z4O6C7WR.js +1973 -0
  91. package/dist/bundle/chunk-ZIHLE7LG.js +15992 -0
  92. package/dist/bundle/chunk-ZPMLLONT.js +1054 -0
  93. package/dist/bundle/chunk-ZQNXKWUY.js +35584 -0
  94. package/dist/bundle/chunk-ZS635F4O.js +45 -0
  95. package/dist/bundle/chunk-ZU732VCC.js +122 -0
  96. package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
  97. package/dist/bundle/command-contract-HX35D7KV.js +38 -0
  98. package/dist/bundle/dist-MWTMOYWT.js +7577 -0
  99. package/dist/bundle/dist-PY3MVR3G.js +21 -0
  100. package/dist/bundle/drive.js +50 -0
  101. package/dist/bundle/echarts-RFTK737T.js +42501 -0
  102. package/dist/bundle/embed-5NAGJUMD.js +37 -0
  103. package/dist/bundle/embedder-EWXLIGBY.js +110 -0
  104. package/dist/bundle/entry-YCPJ6H6U.js +15 -0
  105. package/dist/bundle/failure-XBWHHBEW.js +37 -0
  106. package/dist/bundle/first-run-LNAZDBB4.js +24 -0
  107. package/dist/bundle/first-screen-P5NNFJD7.js +36 -0
  108. package/dist/bundle/google-5FFKRHHC.js +32 -0
  109. package/dist/bundle/google-api-TJCFOOAP.js +82 -0
  110. package/dist/bundle/identity-53ZMPL2O.js +10 -0
  111. package/dist/bundle/instructions-FHNL7CMW.js +9 -0
  112. package/dist/bundle/login-VXXZZR6G.js +158 -0
  113. package/dist/bundle/mcp-2CJCJXSW.js +95 -0
  114. package/dist/bundle/mcp-F4XZO76F.js +507 -0
  115. package/dist/bundle/mcp-IXFC2VVR.js +165 -0
  116. package/dist/bundle/mdast-util-from-markdown-FXEPSNER.js +1958 -0
  117. package/dist/bundle/mdast-util-gfm-SZM5GBDF.js +2103 -0
  118. package/dist/bundle/micromark-extension-gfm-GRL24TU6.js +1838 -0
  119. package/dist/bundle/node-P4E63KXA.js +2340 -0
  120. package/dist/bundle/node-TLZSIHIJ.js +21 -0
  121. package/dist/bundle/node-ZMCACJVS.js +176 -0
  122. package/dist/bundle/node-sqlite-QJQ5S7KS.js +46 -0
  123. package/dist/bundle/oauth-TZFDPAFE.js +18 -0
  124. package/dist/bundle/open-IYM25QTL.js +20 -0
  125. package/dist/bundle/process-ZPTLNVQS.js +91 -0
  126. package/dist/bundle/program-YX7DZMPR.js +24100 -0
  127. package/dist/bundle/prompt-TGWTVIEK.js +13 -0
  128. package/dist/bundle/reasons-Q5LOQESQ.js +11 -0
  129. package/dist/bundle/recognize-AGPMWKIY.js +191 -0
  130. package/dist/bundle/remote-QV7QSLAK.js +28 -0
  131. package/dist/bundle/rerank-HZKJJCS4.js +51 -0
  132. package/dist/bundle/serve-NRJQOVT4.js +20 -0
  133. package/dist/bundle/server-2UQDEWTS.js +818 -0
  134. package/dist/bundle/server-R4JUHFSW.js +56 -0
  135. package/dist/bundle/services-NZQWVMOE.js +333 -0
  136. package/dist/bundle/sqlite-runtime-6MXHTYYU.js +17 -0
  137. package/dist/bundle/state-IF2FLTSY.js +34 -0
  138. package/dist/bundle/store-HBD54IRL.js +142 -0
  139. package/dist/bundle/store-HVIBXOXS.js +125 -0
  140. package/dist/bundle/store-maintenance-command-U3F4RGJB.js +57 -0
  141. package/dist/bundle/terminal-TFCTWLOS.js +11 -0
  142. package/dist/bundle/tokens-5D5YUA2Q.js +103 -0
  143. package/dist/commands/mcp.d.ts.map +1 -1
  144. package/dist/commands/mcp.js +87 -37
  145. package/dist/commands/mcp.js.map +1 -1
  146. package/dist/contract-overrides.d.ts.map +1 -1
  147. package/dist/contract-overrides.js +78 -53
  148. package/dist/contract-overrides.js.map +1 -1
  149. package/dist/mcp.d.ts +13 -5
  150. package/dist/mcp.d.ts.map +1 -1
  151. package/dist/mcp.js +20 -10
  152. package/dist/mcp.js.map +1 -1
  153. package/dist/program.js +4 -4
  154. package/dist/program.js.map +1 -1
  155. package/dist/registry.d.ts +2 -2
  156. package/dist/registry.d.ts.map +1 -1
  157. package/dist/registry.js +3 -3
  158. package/dist/registry.js.map +1 -1
  159. package/dist/state.d.ts +5 -2
  160. package/dist/state.d.ts.map +1 -1
  161. package/dist/state.js +5 -2
  162. package/dist/state.js.map +1 -1
  163. package/dist/version.d.ts +1 -1
  164. package/dist/version.js +1 -1
  165. package/package.json +7 -5
  166. package/skills/drive-cli/SKILL.md +1 -0
@@ -0,0 +1,21 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ a,
5
+ c,
6
+ d,
7
+ l,
8
+ o,
9
+ s,
10
+ u
11
+ } from "./chunk-SBZB7HMU.js";
12
+ import "./chunk-ZVVMGPBJ.js";
13
+ export {
14
+ o as Argument,
15
+ c as Command,
16
+ s as Option,
17
+ l as RootCommand,
18
+ a as ShellCompDirective,
19
+ u as default,
20
+ d as script
21
+ };
@@ -0,0 +1,50 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __bundleRequire } from "node:module";
3
+ const require = __bundleRequire(import.meta.url);
4
+ import {
5
+ errorObjectOf,
6
+ exitCodeOfError,
7
+ processStreams,
8
+ renderError
9
+ } from "./chunk-6KFA6HOM.js";
10
+ import "./chunk-GKHM6I64.js";
11
+ import "./chunk-Y5E2WNWB.js";
12
+ import {
13
+ __name
14
+ } from "./chunk-ZVVMGPBJ.js";
15
+
16
+ // dist/bin/drive.js
17
+ import { enableCompileCache } from "node:module";
18
+ enableCompileCache();
19
+ var [{ startCli }, { DRIVE_APP }, { REASONS }, { interactiveOf }] = await Promise.all([
20
+ import("./entry-YCPJ6H6U.js"),
21
+ import("./identity-53ZMPL2O.js"),
22
+ import("./reasons-Q5LOQESQ.js"),
23
+ import("./terminal-TFCTWLOS.js")
24
+ ]);
25
+ var program;
26
+ var failure;
27
+ await startCli({
28
+ app: DRIVE_APP,
29
+ interactive: interactiveOf,
30
+ reasons: REASONS,
31
+ run: /* @__PURE__ */ __name(async (entry) => {
32
+ failure = await import("./failure-XBWHHBEW.js");
33
+ const { createProgram } = await import("./program-YX7DZMPR.js");
34
+ program = createProgram({
35
+ signal: entry.signal,
36
+ atStart: entry.atStart,
37
+ ask: /* @__PURE__ */ __name((key) => entry.ask(`Allow ${key}?`, program), "ask"),
38
+ openBrowser: /* @__PURE__ */ __name((url) => entry.openBrowser(url), "openBrowser")
39
+ });
40
+ await program.parseAsync(process.argv);
41
+ return void 0;
42
+ }, "run"),
43
+ fail: /* @__PURE__ */ __name((error, entry) => {
44
+ if (failure)
45
+ return failure.reportFailure(error, { args: entry.args, program, streams: processStreams, tty: entry.tty });
46
+ const object = errorObjectOf(error);
47
+ processStreams.diagnostic(renderError(object, { cli: DRIVE_APP.command, interactive: interactiveOf(entry.args, entry.tty) }));
48
+ return exitCodeOfError(object);
49
+ }, "fail")
50
+ });