@wirecat/drive-cli 0.54.0 → 0.54.2

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 (133) 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-WYDYSQ7T.js → chunk-4XRLPQ3N.js} +2 -2
  14. package/dist/bundle/{chunk-FHW4ENRF.js → chunk-5DEEBWDI.js} +32 -32
  15. package/dist/bundle/{chunk-6SOQJRGI.js → chunk-67A2YFAT.js} +4 -4
  16. package/dist/bundle/{chunk-7WCZ2OZ5.js → chunk-7MVKSPEG.js} +6 -6
  17. package/dist/bundle/{chunk-W5SYBHRX.js → chunk-ADICCJR7.js} +4 -2
  18. package/dist/bundle/{chunk-ZMMOVTUB.js → chunk-ALMQEGYO.js} +2 -2
  19. package/dist/bundle/{chunk-OYGEBFFO.js → chunk-AQNY57J2.js} +7 -7
  20. package/dist/bundle/{chunk-WSX5UQNT.js → chunk-AR2HRFQO.js} +2 -2
  21. package/dist/bundle/{chunk-4RDXCE45.js → chunk-BO7ZKZCH.js} +38 -38
  22. package/dist/bundle/{chunk-UBJX5D2O.js → chunk-C4QKY33N.js} +2 -2
  23. package/dist/bundle/{chunk-5LNOVPOR.js → chunk-DNJ43DT5.js} +2 -2
  24. package/dist/bundle/{chunk-VKYCMXEQ.js → chunk-E7RDXCV2.js} +5 -5
  25. package/dist/bundle/{chunk-6MGSFYGL.js → chunk-EOEDICIE.js} +1 -1
  26. package/dist/bundle/{chunk-NDWWGBSM.js → chunk-FDCGTODC.js} +1 -1
  27. package/dist/bundle/{chunk-CVALO727.js → chunk-FDM3JMQZ.js} +24 -24
  28. package/dist/bundle/{chunk-IOMSC4ZG.js → chunk-FKHWVVMV.js} +3 -3
  29. package/dist/bundle/{chunk-MATUQFYL.js → chunk-FNDQFFLP.js} +11 -11
  30. package/dist/bundle/{chunk-75DSLCPC.js → chunk-FUKJQZED.js} +1 -1
  31. package/dist/bundle/{chunk-U3BOQ63L.js → chunk-FW2AR236.js} +8 -8
  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-2Q3S47BC.js → chunk-LAVWTS4P.js} +195 -195
  45. package/dist/bundle/{chunk-2D6AAGBP.js → chunk-N4VNUOOD.js} +18 -18
  46. package/dist/bundle/{chunk-KT5G3KVS.js → chunk-NCCL4QWR.js} +3 -3
  47. package/dist/bundle/{chunk-BWBVBW5T.js → chunk-NDUYK676.js} +8 -8
  48. package/dist/bundle/{chunk-PU4GANCD.js → chunk-NFOUG7ES.js} +2 -2
  49. package/dist/bundle/{chunk-RWEFKLXJ.js → chunk-NPKFXGYG.js} +18 -18
  50. package/dist/bundle/{chunk-RIYXQFKU.js → chunk-NPMVPKBD.js} +46 -46
  51. package/dist/bundle/{chunk-2HQPJ366.js → chunk-ORRQDSDH.js} +3 -3
  52. package/dist/bundle/{chunk-76JIVDKC.js → chunk-P4ABC6C4.js} +2 -2
  53. package/dist/bundle/{chunk-YOHOQ6ZR.js → chunk-PFTIYWOK.js} +4 -4
  54. package/dist/bundle/{chunk-P7E7K467.js → chunk-PJUCCFK5.js} +3 -3
  55. package/dist/bundle/{chunk-WGSTTWM5.js → chunk-RMQGFLT2.js} +6 -6
  56. package/dist/bundle/{chunk-WQPTZHHR.js → chunk-ROP2T4Y5.js} +11 -11
  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-OPB3UNW6.js +98 -0
  85. package/dist/bundle/identity-DGPY2EV2.js +14 -0
  86. package/dist/bundle/{instructions-IWLHCDC7.js → instructions-GJHHFV64.js} +1 -1
  87. package/dist/bundle/{login-GIZXEN7I.js → login-B243FIHQ.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-JBAT6K6R.js} +78 -78
  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-HE6F34CS.js +96 -0
  111. package/dist/commands/documents.js +3 -3
  112. package/dist/commands/documents.js.map +1 -1
  113. package/dist/commands/upgrade.d.ts.map +1 -1
  114. package/dist/commands/upgrade.js +1 -1
  115. package/dist/commands/upgrade.js.map +1 -1
  116. package/dist/identity.d.ts +1 -0
  117. package/dist/identity.d.ts.map +1 -1
  118. package/dist/identity.js +1 -0
  119. package/dist/identity.js.map +1 -1
  120. package/dist/program.d.ts.map +1 -1
  121. package/dist/program.js +2 -1
  122. package/dist/program.js.map +1 -1
  123. package/dist/version.d.ts +1 -1
  124. package/dist/version.js +1 -1
  125. package/package.json +2 -2
  126. package/dist/bundle/command-contract-VZ3ZJLEF.js +0 -35
  127. package/dist/bundle/first-screen-RQBEHUQC.js +0 -33
  128. package/dist/bundle/grants-VMPKFEC2.js +0 -98
  129. package/dist/bundle/identity-UODE3QAL.js +0 -12
  130. package/dist/bundle/server-QJU3HEGM.js +0 -63
  131. package/dist/bundle/store-maintenance-command-Z4SPEQUM.js +0 -52
  132. package/dist/bundle/tokens-B6MUZRFM.js +0 -96
  133. /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/mcp/bot/instructions.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/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  defineReasons
5
- } from "./chunk-JKEAZBEZ.js";
5
+ } from "./chunk-TBD362SJ.js";
6
6
 
7
7
  // dist/reasons.js
8
8
  var ENTRIES = [
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  agentOf,
30
30
  clientHash
31
- } from "./chunk-BWBVBW5T.js";
31
+ } from "./chunk-NDUYK676.js";
32
32
  import {
33
33
  __name
34
34
  } from "./chunk-ZVVMGPBJ.js";
@@ -540,7 +540,7 @@ function toError(value) {
540
540
  }
541
541
  __name(toError, "toError");
542
542
 
543
- // 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/caller.js
543
+ // 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/caller.js
544
544
  var CALLER_META_KEY = "wirecat.dev/caller";
545
545
  var PROXY_CLIENT_NAME = "all-profiles";
546
546
  var NAME = /^[\w .@()/+-]{1,64}$/;
@@ -2,25 +2,25 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ENTITIES
5
- } from "./chunk-IBRXVPBI.js";
5
+ } from "./chunk-K2DMCTTF.js";
6
6
  import {
7
7
  annotate,
8
8
  answerSchema,
9
9
  describeOptions,
10
10
  metaOf
11
- } from "./chunk-4RDXCE45.js";
11
+ } from "./chunk-BO7ZKZCH.js";
12
12
  import {
13
13
  keyForCommand
14
- } from "./chunk-HAHARAJD.js";
14
+ } from "./chunk-W6DMCGMK.js";
15
15
  import {
16
16
  CliError,
17
17
  jsonSchemaOf
18
- } from "./chunk-JKEAZBEZ.js";
18
+ } from "./chunk-TBD362SJ.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // 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/cli/answer-entity.js
23
+ // 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/cli/answer-entity.js
24
24
  var schemas = /* @__PURE__ */ new WeakMap();
25
25
  var answerEntity = /* @__PURE__ */ __name((command, name, schema, options = {}) => {
26
26
  if (Object.hasOwn(ENTITIES, name))
@@ -50,7 +50,7 @@ var answerProjectionSchema = /* @__PURE__ */ __name((command) => {
50
50
  return own && metaOf(command).output?.entity === own.name ? own.project : void 0;
51
51
  }, "answerProjectionSchema");
52
52
 
53
- // 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/cli/command-contract.js
53
+ // 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/cli/command-contract.js
54
54
  var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
55
55
  var outputOf = /* @__PURE__ */ __name((command) => {
56
56
  const entity = answerEntitySchema(command);
@@ -10,12 +10,12 @@ import {
10
10
  optional,
11
11
  pipe,
12
12
  safeParse
13
- } from "./chunk-JKEAZBEZ.js";
13
+ } from "./chunk-TBD362SJ.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // 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/models/options.js
18
+ // 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/models/options.js
19
19
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
20
20
  const parsed = safeParse(schema, options);
21
21
  if (!parsed.success) {
@@ -13,10 +13,10 @@ import {
13
13
  registerPrompts,
14
14
  stdinFieldOf,
15
15
  syncsFirst
16
- } from "./chunk-CVALO727.js";
16
+ } from "./chunk-FDM3JMQZ.js";
17
17
  import {
18
18
  answeredWire
19
- } from "./chunk-AACQA2CO.js";
19
+ } from "./chunk-JBBZCTTF.js";
20
20
  import {
21
21
  BinaryResource,
22
22
  Picture,
@@ -37,44 +37,44 @@ import {
37
37
  tool,
38
38
  toolKey,
39
39
  toolsFromCommands
40
- } from "./chunk-O6YYFVDD.js";
40
+ } from "./chunk-GC4JNVYF.js";
41
41
  import {
42
42
  agentJson,
43
43
  skillResource
44
- } from "./chunk-IKODUUQG.js";
44
+ } from "./chunk-HNR2BJJU.js";
45
45
  import {
46
46
  StdioServerTransport,
47
47
  callerOf,
48
48
  serveStdio
49
- } from "./chunk-KIQIF5M7.js";
49
+ } from "./chunk-3K4H2DTA.js";
50
50
  import {
51
51
  instructions
52
- } from "./chunk-VX4RAT3A.js";
52
+ } from "./chunk-TQFCPUIM.js";
53
53
  import {
54
54
  McpServer,
55
55
  ResourceTemplate
56
56
  } from "./chunk-5D4AEUVA.js";
57
57
  import {
58
58
  mcpHttpMarker
59
- } from "./chunk-QUJCD5U7.js";
59
+ } from "./chunk-KWKRTYRL.js";
60
60
  import {
61
61
  connectedFor,
62
62
  guardFor
63
- } from "./chunk-2HWOGSTA.js";
63
+ } from "./chunk-2DZMGPUC.js";
64
64
  import {
65
65
  lackedNeed,
66
66
  wholeList
67
- } from "./chunk-RWEFKLXJ.js";
67
+ } from "./chunk-NPKFXGYG.js";
68
68
  import {
69
69
  capability,
70
70
  dateWindow,
71
71
  imageSize,
72
72
  servicesFor,
73
73
  storedDeps
74
- } from "./chunk-2Q3S47BC.js";
74
+ } from "./chunk-LAVWTS4P.js";
75
75
  import {
76
76
  findCommand
77
- } from "./chunk-Q46JLJ5O.js";
77
+ } from "./chunk-4I7EBJJV.js";
78
78
  import {
79
79
  DEFAULT_OUTPUT_BYTES,
80
80
  changesAuthorityAt,
@@ -87,37 +87,37 @@ import {
87
87
  rootOf2 as rootOf,
88
88
  sealed,
89
89
  snakeKeys
90
- } from "./chunk-4RDXCE45.js";
90
+ } from "./chunk-BO7ZKZCH.js";
91
91
  import {
92
92
  withCaller
93
- } from "./chunk-BWBVBW5T.js";
93
+ } from "./chunk-NDUYK676.js";
94
94
  import {
95
95
  levelFor,
96
96
  readKeysForCommand,
97
97
  typedCommand
98
- } from "./chunk-HAHARAJD.js";
98
+ } from "./chunk-W6DMCGMK.js";
99
99
  import {
100
100
  isCliFailure
101
- } from "./chunk-76JIVDKC.js";
101
+ } from "./chunk-P4ABC6C4.js";
102
102
  import {
103
103
  readOnlyLockOf
104
- } from "./chunk-ZMMOVTUB.js";
104
+ } from "./chunk-ALMQEGYO.js";
105
105
  import {
106
106
  warmEmbedders
107
- } from "./chunk-2CQT2WWN.js";
107
+ } from "./chunk-GB5YM5HK.js";
108
108
  import {
109
109
  openStore
110
- } from "./chunk-SBOTSSYV.js";
110
+ } from "./chunk-VVMCGF5X.js";
111
111
  import {
112
112
  pdfPreviewLimits
113
- } from "./chunk-WSX5UQNT.js";
113
+ } from "./chunk-AR2HRFQO.js";
114
114
  import {
115
115
  timezoneOf
116
- } from "./chunk-LQXLWHKM.js";
116
+ } from "./chunk-J6XLM4QW.js";
117
117
  import {
118
118
  mcpErrorResult,
119
119
  visibleControls
120
- } from "./chunk-2D6AAGBP.js";
120
+ } from "./chunk-N4VNUOOD.js";
121
121
  import {
122
122
  CliError,
123
123
  description,
@@ -133,15 +133,15 @@ import {
133
133
  regex,
134
134
  strictObject,
135
135
  string
136
- } from "./chunk-JKEAZBEZ.js";
136
+ } from "./chunk-TBD362SJ.js";
137
137
  import {
138
138
  __name
139
139
  } from "./chunk-ZVVMGPBJ.js";
140
140
 
141
- // 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/server.js
141
+ // 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/server.js
142
142
  import { randomUUID } from "node:crypto";
143
143
 
144
- // 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/agent-log.js
144
+ // 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/agent-log.js
145
145
  var agentLog = /* @__PURE__ */ __name((open) => {
146
146
  let held;
147
147
  return {
@@ -160,7 +160,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
160
160
  };
161
161
  }, "agentLog");
162
162
 
163
- // 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/resources.js
163
+ // 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/resources.js
164
164
  var LISTED = 100;
165
165
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
166
166
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -198,7 +198,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
198
198
  });
199
199
  }, "registerResources");
200
200
 
201
- // 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/session.js
201
+ // 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/session.js
202
202
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
203
203
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
204
204
  var MessengerSession = class {
@@ -273,7 +273,7 @@ var MessengerSession = class {
273
273
  }
274
274
  };
275
275
 
276
- // 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/tools/attachments.js
276
+ // 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/tools/attachments.js
277
277
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
278
278
  const _command = messenger.app.command;
279
279
  return {
@@ -327,7 +327,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
327
327
  };
328
328
  }, "attachmentsTools");
329
329
 
330
- // 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/tools/messages-photo.js
330
+ // 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/tools/messages-photo.js
331
331
  var PHOTO_LIMIT = 512 * 1024;
332
332
  var IMAGE_TYPES = [
333
333
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -381,7 +381,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
381
381
  return new Uint8Array(Buffer.concat(chunks));
382
382
  }, "readUpTo");
383
383
 
384
- // 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/tools/stats.js
384
+ // 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/tools/stats.js
385
385
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
386
386
  stats_charts: tool({
387
387
  title: "A chart from a chat's statistics",
@@ -418,14 +418,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
418
418
  })
419
419
  }), "statsTools");
420
420
 
421
- // 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/tools.js
421
+ // 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/tools.js
422
422
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
423
423
  ...messagesPhotoTools(messenger),
424
424
  ...attachmentsTools(messenger),
425
425
  ...statsTools(messenger)
426
426
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
427
427
 
428
- // 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/server.js
428
+ // 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/server.js
429
429
  var PER_RUN = /* @__PURE__ */ new Set([
430
430
  "streams",
431
431
  "stdin",
@@ -749,7 +749,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
749
749
  }, "serveOverStdio");
750
750
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
751
751
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
752
- const { serveOverHttp } = await import("./serve-QNPNEZVR.js");
752
+ const { serveOverHttp } = await import("./serve-JMLNKCUZ.js");
753
753
  const appName = messenger.app.command;
754
754
  const appEnvPrefix = messenger.app.envPrefix;
755
755
  const listening = await serveOverHttp(build, {
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-UBJX5D2O.js";
5
+ } from "./chunk-C4QKY33N.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-JKEAZBEZ.js";
8
+ } from "./chunk-TBD362SJ.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/speech/models.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/speech/models.js
14
14
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
15
15
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
16
16
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -135,7 +135,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
135
135
  return model;
136
136
  }, "speechModel");
137
137
 
138
- // 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/speech/install.js
138
+ // 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/speech/install.js
139
139
  import { createHash, randomUUID } from "node:crypto";
140
140
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
141
141
  import { rename, rm } from "node:fs/promises";
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-JKEAZBEZ.js";
5
+ } from "./chunk-TBD362SJ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // 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/store/driver.js
10
+ // 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/store/driver.js
11
11
  var PRAGMAS = `
12
12
  PRAGMA busy_timeout = 5000;
13
13
  PRAGMA journal_mode = WAL;
14
14
  PRAGMA foreign_keys = ON;
15
15
  `;
16
16
 
17
- // 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/store/sqlite-warning.js
17
+ // 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/store/sqlite-warning.js
18
18
  var SQLITE_WARNING = "SQLite is an experimental feature";
19
19
  var quieted = /* @__PURE__ */ new WeakSet();
20
20
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -35,7 +35,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
35
35
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
36
36
  }, "isSqliteWarning");
37
37
 
38
- // 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/store/open.js
38
+ // 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/store/open.js
39
39
  var openCache = /* @__PURE__ */ __name(async (path) => {
40
40
  const database = await openFile(path);
41
41
  try {
@@ -48,12 +48,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
48
48
  }, "openCache");
49
49
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
50
50
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
51
- const { openWithBunSqlite } = await import("./bun-sqlite-FWBYHIXB.js");
51
+ const { openWithBunSqlite } = await import("./bun-sqlite-7JJX6OUT.js");
52
52
  return await openWithBunSqlite(path);
53
53
  }, "openUnderBun");
54
54
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
55
55
  quietSqliteWarning();
56
- const { openWithNodeSqlite } = await import("./node-sqlite-DYR4FEI4.js");
56
+ const { openWithNodeSqlite } = await import("./node-sqlite-NZIBED3C.js");
57
57
  return openWithNodeSqlite(path);
58
58
  }, "openUnderNode");
59
59
  var runtime = /* @__PURE__ */ __name(() => {
@@ -2,12 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  REASONS
5
- } from "./chunk-5WQN2TUM.js";
5
+ } from "./chunk-2OGANEKA.js";
6
6
 
7
7
  // dist/version.js
8
- var VERSION = "0.54.0";
8
+ var VERSION = "0.54.2";
9
9
 
10
10
  // dist/identity.js
11
+ var PACKAGE = "@wirecat/drive-cli";
11
12
  var DRIVE_APP = {
12
13
  command: "drive",
13
14
  appName: "drive-cli",
@@ -20,5 +21,6 @@ var DRIVE_APP = {
20
21
 
21
22
  export {
22
23
  VERSION,
24
+ PACKAGE,
23
25
  DRIVE_APP
24
26
  };
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-JKEAZBEZ.js";
5
+ } from "./chunk-TBD362SJ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // 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/ports/app.js
10
+ // 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/ports/app.js
11
11
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
12
12
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
13
13
  const name = envName(app, "READ_ONLY");
@@ -7,7 +7,7 @@ import {
7
7
  commandPathOf,
8
8
  findCommand,
9
9
  outputOf
10
- } from "./chunk-Q46JLJ5O.js";
10
+ } from "./chunk-4I7EBJJV.js";
11
11
  import {
12
12
  Command,
13
13
  Help,
@@ -18,16 +18,16 @@ import {
18
18
  environmentOf,
19
19
  metaOf,
20
20
  takesProfile
21
- } from "./chunk-4RDXCE45.js";
21
+ } from "./chunk-BO7ZKZCH.js";
22
22
  import {
23
23
  CliError,
24
24
  writes
25
- } from "./chunk-JKEAZBEZ.js";
25
+ } from "./chunk-TBD362SJ.js";
26
26
  import {
27
27
  __name
28
28
  } from "./chunk-ZVVMGPBJ.js";
29
29
 
30
- // 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/cli/help/sections.js
30
+ // 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/cli/help/sections.js
31
31
  var SECTIONS = {
32
32
  read: "Read",
33
33
  write: "Write",
@@ -92,7 +92,7 @@ var CORE_SECTIONS = {
92
92
  upgrade: "setup"
93
93
  };
94
94
 
95
- // 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/cli/help/commands-text.js
95
+ // 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/cli/help/commands-text.js
96
96
  var DESCRIPTION = 90;
97
97
  var COLUMN = 52;
98
98
  var short = /* @__PURE__ */ __name((text) => {
@@ -131,7 +131,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
131
131
  `;
132
132
  }, "commandsText");
133
133
 
134
- // 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/cli/help/command-help.js
134
+ // 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/cli/help/command-help.js
135
135
  var ARGUMENT_KINDS = {
136
136
  chat: "chat",
137
137
  chats: "chat",
@@ -323,7 +323,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
323
323
  command.addHelpText("after", () => commandHelpText(command));
324
324
  }, "installCommandHelp");
325
325
 
326
- // 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/cli/help/first-screen.js
326
+ // 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/cli/help/first-screen.js
327
327
  var WIRECAT_TOOLS = [
328
328
  {
329
329
  command: "tg",
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-JKEAZBEZ.js";
5
+ } from "./chunk-TBD362SJ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // 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/attachments/limits.js
10
+ // 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/attachments/limits.js
11
11
  var MAX_FILE_BYTES = 50 * 1024 * 1024;
12
12
  var MAX_TEXT_CHARS = 2e6;
13
13
  var ATTACHMENT_LIMIT_ENV = [