@wirecat/mail-cli 0.16.3 → 0.18.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 (259) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/README.md +7 -4
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-TUDREUUW.js → all-profiles-4CVOXA5Y.js} +10 -10
  5. package/dist/bundle/{anthropic-KQOVSP6C.js → anthropic-5VIKYINO.js} +6 -6
  6. package/dist/bundle/{app-server-QK7PKVT7.js → app-server-LTSQBDPF.js} +53 -50
  7. package/dist/bundle/{bun-2NMWL5YB.js → bun-C7DBRUW2.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-Y4FP6SDX.js → bun-sqlite-Y5JKT62B.js} +5 -5
  9. package/dist/bundle/{chunk-MLWN27HF.js → chunk-23HWKHPZ.js} +326 -288
  10. package/dist/bundle/{chunk-4IEDXIUN.js → chunk-2NWOYXPJ.js} +240 -64
  11. package/dist/bundle/{chunk-YPF6OS37.js → chunk-3DQYO7FB.js} +1 -1
  12. package/dist/bundle/{chunk-I3K6JG4I.js → chunk-3W5H4TM7.js} +182 -60
  13. package/dist/bundle/{chunk-CGH6UH3T.js → chunk-3YRE6DNM.js} +8 -8
  14. package/dist/bundle/{chunk-LMN7SYX4.js → chunk-43I5XD7S.js} +1 -1
  15. package/dist/bundle/{chunk-KMZRXGTF.js → chunk-5S6Q3SWU.js} +4 -2
  16. package/dist/bundle/{chunk-XEIGKPYU.js → chunk-6RO5RDNR.js} +50 -3
  17. package/dist/bundle/{chunk-OYB3FUYQ.js → chunk-7P4ICYJT.js} +1 -1
  18. package/dist/bundle/{chunk-XBIPSSKI.js → chunk-7SWWVDEZ.js} +4 -4
  19. package/dist/bundle/{chunk-4IIH5PXR.js → chunk-A5OMARL4.js} +28 -28
  20. package/dist/bundle/{chunk-ZNW4E3SG.js → chunk-ACLILULA.js} +3 -3
  21. package/dist/bundle/{chunk-EZIJPXDZ.js → chunk-AOMSP4EI.js} +6 -6
  22. package/dist/bundle/{chunk-G6RG2AZV.js → chunk-BHNBWFT5.js} +55 -8
  23. package/dist/bundle/{chunk-FHY664YS.js → chunk-BMFPCW6Q.js} +4 -4
  24. package/dist/bundle/{chunk-PWTEWT4M.js → chunk-BMGVKULS.js} +4 -4
  25. package/dist/bundle/{chunk-QCNK3YUZ.js → chunk-BMV56JCL.js} +19 -19
  26. package/dist/bundle/{chunk-B2NDDA2W.js → chunk-C4RUKMDT.js} +16 -10
  27. package/dist/bundle/{chunk-XAANQN4R.js → chunk-C5T5K7HW.js} +208 -83
  28. package/dist/bundle/{chunk-7LMTWOTP.js → chunk-CPEN6BZZ.js} +2 -2
  29. package/dist/bundle/{chunk-EB2IULWB.js → chunk-DALBYUPC.js} +2 -2
  30. package/dist/bundle/{chunk-6DVPPLAN.js → chunk-DPSH46NO.js} +5 -5
  31. package/dist/bundle/{chunk-VTJ5TMGN.js → chunk-EFP5NN7I.js} +3 -3
  32. package/dist/bundle/{chunk-KJV3BI7S.js → chunk-ERBEBORA.js} +23 -21
  33. package/dist/bundle/{chunk-RPEW7E3S.js → chunk-FLOOPXOT.js} +12 -12
  34. package/dist/bundle/{chunk-R6SBRHVG.js → chunk-GLLLYACZ.js} +6 -6
  35. package/dist/bundle/{chunk-WKHHCCJE.js → chunk-GRP67IQ4.js} +56 -47
  36. package/dist/bundle/{chunk-5KPPP3QN.js → chunk-HFUS33UT.js} +14 -2
  37. package/dist/bundle/{chunk-TTOKDZQX.js → chunk-HTFBXGJF.js} +2 -2
  38. package/dist/bundle/{chunk-N7DLDEFU.js → chunk-IANOK5SE.js} +2 -2
  39. package/dist/bundle/{chunk-3CVDHJER.js → chunk-ITUC5WAV.js} +1 -1
  40. package/dist/bundle/{chunk-POS35G6D.js → chunk-JO3BIMYK.js} +3 -3
  41. package/dist/bundle/{chunk-EBEYU7RW.js → chunk-KVSC657S.js} +44 -143
  42. package/dist/bundle/{chunk-DDQXDX4U.js → chunk-L3YX7A5M.js} +7 -7
  43. package/dist/bundle/{chunk-VP5FL5JQ.js → chunk-M7C4IGJ6.js} +8 -8
  44. package/dist/bundle/{chunk-ZS6YKNYS.js → chunk-MCR43SWG.js} +4 -4
  45. package/dist/bundle/{chunk-UBLFUQ7O.js → chunk-N5VEJ3E7.js} +97 -12
  46. package/dist/bundle/{chunk-IJYYD2JU.js → chunk-NDJZQCF3.js} +467 -231
  47. package/dist/bundle/{chunk-HN3EDDVX.js → chunk-OLJDZTHB.js} +13 -13
  48. package/dist/bundle/{chunk-3ZJE5TIG.js → chunk-OMKPALMX.js} +2 -2
  49. package/dist/bundle/{chunk-X7EBOXBY.js → chunk-OUGGAAXI.js} +13235 -1228
  50. package/dist/bundle/{chunk-YGJO5VNR.js → chunk-P6WCG6X2.js} +36 -30
  51. package/dist/bundle/{chunk-K2OQCQ2N.js → chunk-QPF4LTK5.js} +6 -6
  52. package/dist/bundle/{chunk-ARDUJR5Z.js → chunk-RIO3TD3I.js} +1 -1
  53. package/dist/bundle/{chunk-5FPQGUJA.js → chunk-RQSF7X22.js} +1 -1
  54. package/dist/bundle/{chunk-GAYW2JRW.js → chunk-SIYT2BBI.js} +10 -10
  55. package/dist/bundle/chunk-SMS5YNPB.js +64 -0
  56. package/dist/bundle/{chunk-PYX6K527.js → chunk-SW2KERUB.js} +648 -130
  57. package/dist/bundle/{chunk-Q4T2HBZP.js → chunk-TVZ77ZOV.js} +2 -2
  58. package/dist/bundle/{chunk-DKIAHQRN.js → chunk-U43HUE35.js} +9 -9
  59. package/dist/bundle/{chunk-CT2MIWXY.js → chunk-UEGABYXI.js} +3 -3
  60. package/dist/bundle/{chunk-KV4267S4.js → chunk-UHC5I3JV.js} +1 -1
  61. package/dist/bundle/{chunk-EDJQDR5X.js → chunk-UWL2IOII.js} +4 -4
  62. package/dist/bundle/{chunk-M6O4DH5F.js → chunk-UXD5JMS5.js} +1 -1
  63. package/dist/bundle/{chunk-ANFIIXBL.js → chunk-WA3DQSAZ.js} +2 -2
  64. package/dist/bundle/{chunk-FROWEHK7.js → chunk-XGTW3GRX.js} +2 -2
  65. package/dist/bundle/{chunk-VD6GZ3W2.js → chunk-YA2JPMYX.js} +2 -2
  66. package/dist/bundle/{chunk-CRYWPLJP.js → chunk-ZLH465EU.js} +1 -1
  67. package/dist/bundle/{chunk-HVAXTTOT.js → chunk-ZT2Y267T.js} +3 -3
  68. package/dist/bundle/command-contract-Y3GIKCPB.js +34 -0
  69. package/dist/bundle/{decode-WCS4KOHV.js → decode-WVIDLK4E.js} +5 -5
  70. package/dist/bundle/{dispatch-3ILCYZ4Q.js → dispatch-R5OF2FVZ.js} +8 -8
  71. package/dist/bundle/{dist-FL422DTA.js → dist-KGQWS3XL.js} +41 -23
  72. package/dist/bundle/{echarts-45D6USAX.js → echarts-VMKACZBF.js} +2 -2
  73. package/dist/bundle/{embed-4B4ATLCN.js → embed-EQINOOST.js} +6 -6
  74. package/dist/bundle/{embedder-ASWGJXNV.js → embedder-LM52TDRN.js} +9 -9
  75. package/dist/bundle/{failure-UDL5QZRZ.js → failure-WYKVF6RH.js} +2 -2
  76. package/dist/bundle/{first-run-5K3UD4BU.js → first-run-H4VXZAAF.js} +11 -11
  77. package/dist/bundle/first-screen-ZP74TJLK.js +32 -0
  78. package/dist/bundle/{instructions-6EFSPC7C.js → instructions-NLSME663.js} +1 -1
  79. package/dist/bundle/mail.js +12 -12
  80. package/dist/bundle/{mcp-PPVOM4SE.js → mcp-CFVG2OUS.js} +2 -2
  81. package/dist/bundle/{node-OXC26QXO.js → node-FGMSXLTA.js} +2 -2
  82. package/dist/bundle/{node-sqlite-PXHZAG7Y.js → node-sqlite-K3T3ZRBY.js} +6 -6
  83. package/dist/bundle/{oauth-YK2QLC7U.js → oauth-OJKJ6JLH.js} +7 -7
  84. package/dist/bundle/{open-SABDXZ4B.js → open-DCYIXHXS.js} +5 -5
  85. package/dist/bundle/{openai-DPURPXEU.js → openai-C4H4W57J.js} +14 -14
  86. package/dist/bundle/{process-YWPAOI6G.js → process-MN4NSYGA.js} +1 -1
  87. package/dist/bundle/{program-4ILOQHLO.js → program-ZZZOKWCX.js} +4026 -12667
  88. package/dist/bundle/{prompt-GKVNFGFE.js → prompt-ELEJUDAU.js} +5 -5
  89. package/dist/bundle/{recognize-344YDSLX.js → recognize-G2FVMI5M.js} +4 -4
  90. package/dist/bundle/{remote-53UZUJJU.js → remote-F4YVSEYM.js} +7 -7
  91. package/dist/bundle/{rerank-PAIRND6R.js → rerank-7VM5R5N6.js} +7 -7
  92. package/dist/bundle/{serve-DZSO7LJK.js → serve-A7NRFPRN.js} +9 -9
  93. package/dist/bundle/{server-EGG3V67I.js → server-7R2BEIRY.js} +39 -39
  94. package/dist/bundle/server-DFJA2HBO.js +64 -0
  95. package/dist/bundle/{sqlite-runtime-ZQ6F3VYZ.js → sqlite-runtime-4SKUB4EN.js} +6 -6
  96. package/dist/bundle/{state-LXPOWLZ5.js → state-S2FKK2XB.js} +6 -6
  97. package/dist/bundle/{store-PHT75I6S.js → store-4HAARQVR.js} +34 -26
  98. package/dist/bundle/{store-4ZMSK5R5.js → store-FLHO3UMA.js} +17 -15
  99. package/dist/bundle/store-maintenance-command-BINJIQ6F.js +54 -0
  100. package/dist/commands/account.d.ts.map +1 -1
  101. package/dist/commands/account.js +56 -64
  102. package/dist/commands/account.js.map +1 -1
  103. package/dist/commands/attachments.d.ts.map +1 -1
  104. package/dist/commands/attachments.js +15 -12
  105. package/dist/commands/attachments.js.map +1 -1
  106. package/dist/commands/context.d.ts +4 -0
  107. package/dist/commands/context.d.ts.map +1 -1
  108. package/dist/commands/context.js +12 -1
  109. package/dist/commands/context.js.map +1 -1
  110. package/dist/commands/doctor.d.ts.map +1 -0
  111. package/dist/{mail → commands}/doctor.js +1 -1
  112. package/dist/commands/doctor.js.map +1 -0
  113. package/dist/commands/drafts-send.d.ts.map +1 -1
  114. package/dist/commands/drafts-send.js +12 -10
  115. package/dist/commands/drafts-send.js.map +1 -1
  116. package/dist/commands/drafts.d.ts.map +1 -1
  117. package/dist/commands/drafts.js +28 -14
  118. package/dist/commands/drafts.js.map +1 -1
  119. package/dist/commands/export.d.ts.map +1 -1
  120. package/dist/commands/export.js +194 -195
  121. package/dist/commands/export.js.map +1 -1
  122. package/dist/commands/folders.d.ts.map +1 -1
  123. package/dist/commands/folders.js +19 -32
  124. package/dist/commands/folders.js.map +1 -1
  125. package/dist/commands/import.d.ts.map +1 -1
  126. package/dist/commands/import.js +10 -5
  127. package/dist/commands/import.js.map +1 -1
  128. package/dist/commands/messages.d.ts +0 -21
  129. package/dist/commands/messages.d.ts.map +1 -1
  130. package/dist/commands/messages.js +10 -278
  131. package/dist/commands/messages.js.map +1 -1
  132. package/dist/commands/organising.d.ts +98 -0
  133. package/dist/commands/organising.d.ts.map +1 -0
  134. package/dist/commands/organising.js +231 -0
  135. package/dist/commands/organising.js.map +1 -0
  136. package/dist/commands/restore.d.ts +3 -0
  137. package/dist/commands/restore.d.ts.map +1 -0
  138. package/dist/commands/restore.js +93 -0
  139. package/dist/commands/restore.js.map +1 -0
  140. package/dist/commands/rules.d.ts.map +1 -1
  141. package/dist/commands/rules.js +3 -2
  142. package/dist/commands/rules.js.map +1 -1
  143. package/dist/commands/send.d.ts +14 -3
  144. package/dist/commands/send.d.ts.map +1 -1
  145. package/dist/commands/send.js +18 -11
  146. package/dist/commands/send.js.map +1 -1
  147. package/dist/commands/session-start.d.ts.map +1 -1
  148. package/dist/commands/session-start.js +14 -4
  149. package/dist/commands/session-start.js.map +1 -1
  150. package/dist/commands/status.js +2 -2
  151. package/dist/commands/status.js.map +1 -1
  152. package/dist/commands/sync.d.ts.map +1 -1
  153. package/dist/commands/sync.js +136 -141
  154. package/dist/commands/sync.js.map +1 -1
  155. package/dist/commands/tags.d.ts.map +1 -1
  156. package/dist/commands/tags.js +11 -7
  157. package/dist/commands/tags.js.map +1 -1
  158. package/dist/commands/words.d.ts +8 -0
  159. package/dist/commands/words.d.ts.map +1 -0
  160. package/dist/commands/words.js +52 -0
  161. package/dist/commands/words.js.map +1 -0
  162. package/dist/discovery.d.ts.map +1 -1
  163. package/dist/discovery.js +2 -1
  164. package/dist/discovery.js.map +1 -1
  165. package/dist/export/journal.d.ts +8 -6
  166. package/dist/export/journal.d.ts.map +1 -1
  167. package/dist/export/journal.js +39 -14
  168. package/dist/export/journal.js.map +1 -1
  169. package/dist/mail/changes.d.ts +9 -2
  170. package/dist/mail/changes.d.ts.map +1 -1
  171. package/dist/mail/changes.js +45 -17
  172. package/dist/mail/changes.js.map +1 -1
  173. package/dist/mail/cleanup.d.ts.map +1 -1
  174. package/dist/mail/cleanup.js +5 -1
  175. package/dist/mail/cleanup.js.map +1 -1
  176. package/dist/mail/domain-age.d.ts.map +1 -1
  177. package/dist/mail/domain-age.js +24 -6
  178. package/dist/mail/domain-age.js.map +1 -1
  179. package/dist/mail/drafts.d.ts.map +1 -1
  180. package/dist/mail/drafts.js +9 -7
  181. package/dist/mail/drafts.js.map +1 -1
  182. package/dist/mail/imap/connection.d.ts.map +1 -1
  183. package/dist/mail/imap/connection.js +8 -9
  184. package/dist/mail/imap/connection.js.map +1 -1
  185. package/dist/mail/imap/errors.d.ts.map +1 -1
  186. package/dist/mail/imap/errors.js +2 -2
  187. package/dist/mail/imap/errors.js.map +1 -1
  188. package/dist/mail/imap/read.d.ts.map +1 -1
  189. package/dist/mail/imap/read.js +8 -5
  190. package/dist/mail/imap/read.js.map +1 -1
  191. package/dist/mail/imap/write.d.ts.map +1 -1
  192. package/dist/mail/imap/write.js +2 -1
  193. package/dist/mail/imap/write.js.map +1 -1
  194. package/dist/mail/locate.d.ts +32 -0
  195. package/dist/mail/locate.d.ts.map +1 -0
  196. package/dist/mail/locate.js +99 -0
  197. package/dist/mail/locate.js.map +1 -0
  198. package/dist/mail/mbox.d.ts.map +1 -1
  199. package/dist/mail/mbox.js +7 -5
  200. package/dist/mail/mbox.js.map +1 -1
  201. package/dist/mail/organise.d.ts +35 -50
  202. package/dist/mail/organise.d.ts.map +1 -1
  203. package/dist/mail/organise.js +44 -279
  204. package/dist/mail/organise.js.map +1 -1
  205. package/dist/mail/restore.d.ts +22 -0
  206. package/dist/mail/restore.d.ts.map +1 -0
  207. package/dist/mail/restore.js +193 -0
  208. package/dist/mail/restore.js.map +1 -0
  209. package/dist/mail/rules/apply.d.ts.map +1 -1
  210. package/dist/mail/rules/apply.js +5 -4
  211. package/dist/mail/rules/apply.js.map +1 -1
  212. package/dist/mail/rules/file.d.ts.map +1 -1
  213. package/dist/mail/rules/file.js +37 -8
  214. package/dist/mail/rules/file.js.map +1 -1
  215. package/dist/mail/rules/filters.d.ts.map +1 -1
  216. package/dist/mail/rules/filters.js +13 -7
  217. package/dist/mail/rules/filters.js.map +1 -1
  218. package/dist/mail/rules/query.d.ts.map +1 -1
  219. package/dist/mail/rules/query.js +7 -7
  220. package/dist/mail/rules/query.js.map +1 -1
  221. package/dist/mail/save.js +1 -1
  222. package/dist/mail/save.js.map +1 -1
  223. package/dist/mail/send.d.ts +4 -3
  224. package/dist/mail/send.d.ts.map +1 -1
  225. package/dist/mail/send.js +8 -8
  226. package/dist/mail/send.js.map +1 -1
  227. package/dist/mail/smtp.js +1 -1
  228. package/dist/mail/smtp.js.map +1 -1
  229. package/dist/oauth.d.ts +3 -2
  230. package/dist/oauth.d.ts.map +1 -1
  231. package/dist/oauth.js +16 -7
  232. package/dist/oauth.js.map +1 -1
  233. package/dist/profile.d.ts.map +1 -1
  234. package/dist/profile.js +3 -2
  235. package/dist/profile.js.map +1 -1
  236. package/dist/program.js +1 -1
  237. package/dist/program.js.map +1 -1
  238. package/dist/providers.js +3 -3
  239. package/dist/providers.js.map +1 -1
  240. package/dist/reasons.d.ts.map +1 -1
  241. package/dist/reasons.js +12 -0
  242. package/dist/reasons.js.map +1 -1
  243. package/dist/version.d.ts +1 -1
  244. package/dist/version.js +1 -1
  245. package/package.json +5 -4
  246. package/skills/mail-cli/SKILL.md +3 -3
  247. package/dist/bundle/chunk-GIKNAOER.js +0 -132
  248. package/dist/bundle/command-contract-GVNLRXWS.js +0 -34
  249. package/dist/bundle/first-screen-NNX54MYC.js +0 -32
  250. package/dist/bundle/server-SGGMRV2K.js +0 -64
  251. package/dist/bundle/store-maintenance-command-C6ONZNRX.js +0 -54
  252. package/dist/index.d.ts +0 -3
  253. package/dist/index.d.ts.map +0 -1
  254. package/dist/index.js +0 -3
  255. package/dist/index.js.map +0 -1
  256. package/dist/mail/doctor.d.ts.map +0 -1
  257. package/dist/mail/doctor.js.map +0 -1
  258. /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-QZLK2ISN.js} +0 -0
  259. /package/dist/{mail → commands}/doctor.d.ts +0 -0
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-XAANQN4R.js";
23
+ } from "./chunk-C5T5K7HW.js";
24
24
  import {
25
25
  CHART_KINDS,
26
26
  CHART_SIZE,
@@ -34,23 +34,23 @@ import {
34
34
  registerPrompts,
35
35
  stdinFieldOf,
36
36
  syncsFirst
37
- } from "./chunk-YGJO5VNR.js";
37
+ } from "./chunk-P6WCG6X2.js";
38
38
  import {
39
39
  agentJson,
40
40
  skillResource
41
- } from "./chunk-KJV3BI7S.js";
41
+ } from "./chunk-ERBEBORA.js";
42
42
  import {
43
43
  instructions
44
- } from "./chunk-5FPQGUJA.js";
44
+ } from "./chunk-RQSF7X22.js";
45
45
  import {
46
46
  answeredWire
47
- } from "./chunk-ARDUJR5Z.js";
47
+ } from "./chunk-RIO3TD3I.js";
48
48
  import {
49
49
  StdioServerTransport,
50
50
  callerOf,
51
51
  callingAgent,
52
52
  serveStdio
53
- } from "./chunk-Q4T2HBZP.js";
53
+ } from "./chunk-TVZ77ZOV.js";
54
54
  import {
55
55
  McpServer,
56
56
  ResourceTemplate
@@ -58,7 +58,7 @@ import {
58
58
  import {
59
59
  connectedFor,
60
60
  guardFor
61
- } from "./chunk-WKHHCCJE.js";
61
+ } from "./chunk-GRP67IQ4.js";
62
62
  import {
63
63
  capability,
64
64
  dateWindow,
@@ -67,10 +67,10 @@ import {
67
67
  servicesFor,
68
68
  storedDeps,
69
69
  wholeList
70
- } from "./chunk-MLWN27HF.js";
70
+ } from "./chunk-23HWKHPZ.js";
71
71
  import {
72
72
  findCommand
73
- } from "./chunk-6DVPPLAN.js";
73
+ } from "./chunk-DPSH46NO.js";
74
74
  import {
75
75
  DEFAULT_OUTPUT_BYTES,
76
76
  changesAuthorityAt,
@@ -85,28 +85,28 @@ import {
85
85
  sealed,
86
86
  snakeKeys,
87
87
  typedCommand
88
- } from "./chunk-IJYYD2JU.js";
88
+ } from "./chunk-NDJZQCF3.js";
89
89
  import {
90
90
  levelFor,
91
91
  readKeysForCommand
92
- } from "./chunk-DDQXDX4U.js";
92
+ } from "./chunk-L3YX7A5M.js";
93
93
  import {
94
94
  isCliFailure,
95
95
  withCaller
96
- } from "./chunk-DKIAHQRN.js";
96
+ } from "./chunk-U43HUE35.js";
97
97
  import {
98
98
  mcpHttpMarker
99
- } from "./chunk-PWTEWT4M.js";
99
+ } from "./chunk-BMGVKULS.js";
100
100
  import {
101
101
  warmEmbedders
102
- } from "./chunk-R6SBRHVG.js";
102
+ } from "./chunk-GLLLYACZ.js";
103
103
  import {
104
104
  openStore,
105
105
  pdfPreviewLimits
106
- } from "./chunk-X7EBOXBY.js";
106
+ } from "./chunk-OUGGAAXI.js";
107
107
  import {
108
108
  timezoneOf
109
- } from "./chunk-4IEDXIUN.js";
109
+ } from "./chunk-2NWOYXPJ.js";
110
110
  import {
111
111
  description,
112
112
  integer,
@@ -122,19 +122,19 @@ import {
122
122
  regex,
123
123
  strictObject,
124
124
  string
125
- } from "./chunk-G6RG2AZV.js";
125
+ } from "./chunk-BHNBWFT5.js";
126
126
  import {
127
127
  CliError,
128
128
  visibleControls
129
- } from "./chunk-EB2IULWB.js";
129
+ } from "./chunk-DALBYUPC.js";
130
130
  import {
131
131
  __name
132
132
  } from "./chunk-ZVVMGPBJ.js";
133
133
 
134
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/server.js
134
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/server.js
135
135
  import { randomUUID } from "node:crypto";
136
136
 
137
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
137
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
138
138
  var agentLog = /* @__PURE__ */ __name((open) => {
139
139
  let held;
140
140
  return {
@@ -153,7 +153,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
153
153
  };
154
154
  }, "agentLog");
155
155
 
156
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/resources.js
156
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/resources.js
157
157
  var LISTED = 100;
158
158
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
159
159
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -191,7 +191,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
191
191
  });
192
192
  }, "registerResources");
193
193
 
194
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/session.js
194
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/session.js
195
195
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
196
196
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
197
197
  var MessengerSession = class {
@@ -266,7 +266,7 @@ var MessengerSession = class {
266
266
  }
267
267
  };
268
268
 
269
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
269
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
270
270
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
271
271
  const _command = messenger.app.command;
272
272
  return {
@@ -320,7 +320,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
320
320
  };
321
321
  }, "attachmentsTools");
322
322
 
323
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
323
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
324
324
  var PHOTO_LIMIT = 512 * 1024;
325
325
  var IMAGE_TYPES = [
326
326
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -374,7 +374,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
374
374
  return new Uint8Array(Buffer.concat(chunks));
375
375
  }, "readUpTo");
376
376
 
377
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
377
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
378
378
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
379
379
  stats_charts: tool({
380
380
  title: "A chart from a chat's statistics",
@@ -411,14 +411,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
411
411
  })
412
412
  }), "statsTools");
413
413
 
414
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tools.js
414
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/tools.js
415
415
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
416
416
  ...messagesPhotoTools(messenger),
417
417
  ...attachmentsTools(messenger),
418
418
  ...statsTools(messenger)
419
419
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
420
420
 
421
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/server.js
421
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/mcp/server.js
422
422
  var PER_RUN = /* @__PURE__ */ new Set([
423
423
  "streams",
424
424
  "stdin",
@@ -742,7 +742,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
742
742
  }, "serveOverStdio");
743
743
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
744
744
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
745
- const { serveOverHttp } = await import("./serve-DZSO7LJK.js");
745
+ const { serveOverHttp } = await import("./serve-A7NRFPRN.js");
746
746
  const appName = messenger.app.command;
747
747
  const appEnvPrefix = messenger.app.envPrefix;
748
748
  const listening = await serveOverHttp(build, {
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-K2OQCQ2N.js";
6
+ } from "./chunk-QPF4LTK5.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-EB2IULWB.js";
9
+ } from "./chunk-DALBYUPC.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
15
15
  var PERMISSION_ANSWERS = ["readonly", "allow"];
16
16
  var QUESTIONS = ["languages", "tools", "permissions"];
17
17
  var SECTION = "setup";
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-KMZRXGTF.js";
5
+ } from "./chunk-5S6Q3SWU.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-EB2IULWB.js";
8
+ } from "./chunk-DALBYUPC.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-Y4FP6SDX.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-Y5JKT62B.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-PXHZAG7Y.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-K3T3ZRBY.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -4,12 +4,12 @@ import {
4
4
  errorCodes,
5
5
  isCliError,
6
6
  visibleControls
7
- } from "./chunk-EB2IULWB.js";
7
+ } from "./chunk-DALBYUPC.js";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-ZVVMGPBJ.js";
11
11
 
12
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
12
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
13
13
  var EXIT_CODES = {
14
14
  validation_error: 2,
15
15
  configuration_error: 3,
@@ -1035,6 +1035,52 @@ function string(message$1) {
1035
1035
  }
1036
1036
  __name(string, "string");
1037
1037
  // @__NO_SIDE_EFFECTS__
1038
+ function tuple(items, message$1) {
1039
+ return _standardSchema({
1040
+ kind: "schema",
1041
+ type: "tuple",
1042
+ reference: tuple,
1043
+ expects: "Array",
1044
+ async: false,
1045
+ items,
1046
+ message: message$1,
1047
+ "~run"(dataset, config$1) {
1048
+ const input = dataset.value;
1049
+ if (Array.isArray(input)) {
1050
+ dataset.typed = true;
1051
+ dataset.value = [];
1052
+ for (let key = 0; key < this.items.length; key++) {
1053
+ const value$1 = input[key];
1054
+ const itemDataset = this.items[key]["~run"]({ value: value$1 }, config$1);
1055
+ if (itemDataset.issues) {
1056
+ const pathItem = {
1057
+ type: "array",
1058
+ origin: "value",
1059
+ input,
1060
+ key,
1061
+ value: value$1
1062
+ };
1063
+ for (const issue of itemDataset.issues) {
1064
+ if (issue.path) issue.path.unshift(pathItem);
1065
+ else issue.path = [pathItem];
1066
+ dataset.issues?.push(issue);
1067
+ }
1068
+ if (!dataset.issues) dataset.issues = itemDataset.issues;
1069
+ if (config$1.abortEarly) {
1070
+ dataset.typed = false;
1071
+ break;
1072
+ }
1073
+ }
1074
+ if (!itemDataset.typed) dataset.typed = false;
1075
+ dataset.value.push(itemDataset.value);
1076
+ }
1077
+ } else _addIssue(this, "type", dataset, config$1);
1078
+ return dataset;
1079
+ }
1080
+ });
1081
+ }
1082
+ __name(tuple, "tuple");
1083
+ // @__NO_SIDE_EFFECTS__
1038
1084
  function _subIssues(datasets) {
1039
1085
  let issues;
1040
1086
  if (datasets) for (const dataset of datasets) if (issues) for (const issue of dataset.issues) issues.push(issue);
@@ -1246,7 +1292,7 @@ function unwrap(schema) {
1246
1292
  }
1247
1293
  __name(unwrap, "unwrap");
1248
1294
 
1249
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1295
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1250
1296
  var EFFECT_LEVELS = ["none", "read", "write"];
1251
1297
  var effectsSchema = strictObject({
1252
1298
  remote: picklist(EFFECT_LEVELS),
@@ -1883,7 +1929,7 @@ function toStandardJsonSchema(schema) {
1883
1929
  }
1884
1930
  __name(toStandardJsonSchema, "toStandardJsonSchema");
1885
1931
 
1886
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1932
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1887
1933
  var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
1888
1934
  var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
1889
1935
  var text = pipe(string(), regex(/\S/, "must not be empty"));
@@ -1925,7 +1971,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
1925
1971
  return String(value);
1926
1972
  }), "fill");
1927
1973
 
1928
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
1974
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
1929
1975
  var MAX_NEXT_STEPS = 2;
1930
1976
  var COMPACT_FLAG = "--compact";
1931
1977
  var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
@@ -2037,7 +2083,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
2037
2083
  JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
2038
2084
  ].join("\n"), "jsonlOf");
2039
2085
 
2040
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2086
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2041
2087
  var CRASH_CODE = "internal_error";
2042
2088
  var CRASH_REASON = "command.crashed";
2043
2089
  var errorObjectSchema = strictObject({
@@ -2130,7 +2176,7 @@ var BASE_REASONS = defineReasons([
2130
2176
  { reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
2131
2177
  ]);
2132
2178
 
2133
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2179
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2134
2180
  var SAME_COMMAND = "*";
2135
2181
  var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
2136
2182
  var stepSchema = union([
@@ -2209,7 +2255,7 @@ var STEPS = defineSteps([
2209
2255
  }
2210
2256
  ]);
2211
2257
 
2212
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
2258
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
2213
2259
  var recognise = /* @__PURE__ */ __name((failure) => {
2214
2260
  if (isCliError(failure))
2215
2261
  return failure;
@@ -2392,6 +2438,7 @@ export {
2392
2438
  record,
2393
2439
  strictObject,
2394
2440
  string,
2441
+ tuple,
2395
2442
  union,
2396
2443
  unknown,
2397
2444
  variant,
@@ -5,15 +5,15 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-EB2IULWB.js";
8
+ } from "./chunk-DALBYUPC.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/speech/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/speech/recognize.js
14
14
  import { createRequire } from "node:module";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
17
17
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
18
18
  var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
19
19
  const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
70
70
  throw invalid();
71
71
  }, "checkOggDuration");
72
72
 
73
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/speech/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/speech/recognize.js
74
74
  var SAMPLE_RATE = 16e3;
75
75
  var LEAD = SAMPLE_RATE / 2;
76
76
  var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-CT2MIWXY.js";
8
+ } from "./chunk-UEGABYXI.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/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");
@@ -19,11 +19,11 @@ import {
19
19
  string,
20
20
  text,
21
21
  unknown
22
- } from "./chunk-G6RG2AZV.js";
22
+ } from "./chunk-BHNBWFT5.js";
23
23
  import {
24
24
  CliError,
25
25
  visibleControls
26
- } from "./chunk-EB2IULWB.js";
26
+ } from "./chunk-DALBYUPC.js";
27
27
  import {
28
28
  __commonJS,
29
29
  __name,
@@ -1896,7 +1896,7 @@ var require_cli_table3 = __commonJS({
1896
1896
  }
1897
1897
  });
1898
1898
 
1899
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
1899
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
1900
1900
  import { homedir, userInfo } from "node:os";
1901
1901
  import { join, posix, win32 } from "node:path";
1902
1902
  var PATH_KINDS = ["config", "state", "cache"];
@@ -1948,7 +1948,7 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
1948
1948
  var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
1949
1949
  var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
1950
1950
 
1951
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
1951
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
1952
1952
  var DEFAULT_RETRY = {
1953
1953
  retries: 1,
1954
1954
  baseDelayMs: 250,
@@ -1960,7 +1960,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
1960
1960
  return Math.round(random() * ceiling);
1961
1961
  }, "backoffMs");
1962
1962
 
1963
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
1963
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
1964
1964
  var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
1965
1965
  var validate = /* @__PURE__ */ __name((paths) => {
1966
1966
  if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
@@ -2025,7 +2025,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
2025
2025
  return project(value, fields);
2026
2026
  }, "projectFields");
2027
2027
 
2028
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
2028
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
2029
2029
  var BATCH_LIMITS = Object.freeze({
2030
2030
  requests: 32,
2031
2031
  input_bytes: 262144,
@@ -2152,7 +2152,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
2152
2152
  };
2153
2153
  }, "runBatch");
2154
2154
 
2155
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
2155
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
2156
2156
  import { randomBytes } from "node:crypto";
2157
2157
  import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
2158
2158
  import { dirname, join as join2 } from "node:path";
@@ -2196,7 +2196,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
2196
2196
  `, 384);
2197
2197
  }, "saveConfigFile");
2198
2198
 
2199
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
2199
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
2200
2200
  import { fileURLToPath } from "node:url";
2201
2201
  var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
2202
2202
  var baseConstantsSchema = object({});
@@ -2251,11 +2251,11 @@ var loadConstants = /* @__PURE__ */ __name((layers, schema) => {
2251
2251
  return deepFreeze(result.output);
2252
2252
  }, "loadConstants");
2253
2253
 
2254
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2254
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2255
2255
  import { readFileSync as readFileSync2 } from "node:fs";
2256
2256
  import { join as join3, resolve } from "node:path";
2257
2257
 
2258
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
2258
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
2259
2259
  import { createRequire } from "node:module";
2260
2260
  var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
2261
2261
  var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
@@ -2275,7 +2275,7 @@ var systemKeyring = {
2275
2275
  delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
2276
2276
  };
2277
2277
 
2278
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2278
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2279
2279
  var keyringService = /* @__PURE__ */ __name((service, _configDir, _isolated) => service, "keyringService");
2280
2280
  var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
2281
2281
  var warnedRuns = /* @__PURE__ */ new WeakSet();
@@ -2411,7 +2411,7 @@ var Credentials = class {
2411
2411
  }
2412
2412
  };
2413
2413
 
2414
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2414
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2415
2415
  var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
2416
2416
  var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
2417
2417
  if (signal?.aborted) {
@@ -2425,10 +2425,10 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
2425
2425
  }, { once: true });
2426
2426
  }), "realSleep");
2427
2427
 
2428
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2428
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2429
2429
  import { appendFileSync } from "node:fs";
2430
2430
 
2431
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
2431
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
2432
2432
  var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
2433
2433
  var logRecordSchema = strictObject({
2434
2434
  time: isoTime,
@@ -2506,7 +2506,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
2506
2506
  return traceId;
2507
2507
  }, "traceIdOf");
2508
2508
 
2509
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2509
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2510
2510
  var REDACTED_FIELDS = [
2511
2511
  "authorization",
2512
2512
  "Authorization",
@@ -2600,7 +2600,7 @@ var silent = {
2600
2600
  }, "error")
2601
2601
  };
2602
2602
 
2603
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2603
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2604
2604
  var import_cli_table3 = __toESM(require_cli_table3(), 1);
2605
2605
  import { styleText } from "node:util";
2606
2606
  var renderPretty = /* @__PURE__ */ __name((value, options) => {
@@ -2675,7 +2675,7 @@ var BORDERLESS = {
2675
2675
  middle: ""
2676
2676
  };
2677
2677
 
2678
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
2678
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
2679
2679
  var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
2680
2680
  if (signal?.aborted)
2681
2681
  return Promise.reject(signal.reason);
@@ -2703,7 +2703,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
2703
2703
  });
2704
2704
  }, "waitForDrain");
2705
2705
 
2706
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
2706
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
2707
2707
  var processStreams = {
2708
2708
  drain: /* @__PURE__ */ __name(async (signal) => {
2709
2709
  await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
@@ -2732,7 +2732,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
2732
2732
  };
2733
2733
  }, "captureStreams");
2734
2734
 
2735
- // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2735
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2736
2736
  var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
2737
2737
  const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
2738
2738
  const say = /* @__PURE__ */ __name((symbol) => (message) => {