@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
@@ -29,7 +29,7 @@ import {
29
29
  agentOf,
30
30
  clientHash,
31
31
  currentCaller
32
- } from "./chunk-DKIAHQRN.js";
32
+ } from "./chunk-U43HUE35.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
@@ -541,7 +541,7 @@ function toError(value) {
541
541
  }
542
542
  __name(toError, "toError");
543
543
 
544
- // 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/caller.js
544
+ // 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/caller.js
545
545
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
546
546
  const client = caller?.agent?.client?.name;
547
547
  if (client && client !== "unknown")
@@ -3,25 +3,25 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  secretNamed,
5
5
  withoutSecrets
6
- } from "./chunk-CRYWPLJP.js";
6
+ } from "./chunk-ZLH465EU.js";
7
7
  import {
8
8
  isContentKey
9
- } from "./chunk-QCNK3YUZ.js";
9
+ } from "./chunk-BMV56JCL.js";
10
10
  import {
11
11
  errorCodes
12
- } from "./chunk-EB2IULWB.js";
12
+ } from "./chunk-DALBYUPC.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // 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/runs/run-context.js
17
+ // 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/runs/run-context.js
18
18
  import { AsyncLocalStorage } from "node:async_hooks";
19
19
  import { createHash } from "node:crypto";
20
20
 
21
- // 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/runs/error-detail.js
21
+ // 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/runs/error-detail.js
22
22
  import { homedir } from "node:os";
23
23
 
24
- // 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/errors/failures.js
24
+ // 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/errors/failures.js
25
25
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
26
26
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
27
27
  const { code, exitCode } = value ?? {};
@@ -29,7 +29,7 @@ var isCommanderFailure = /* @__PURE__ */ __name((value) => {
29
29
  }, "isCommanderFailure");
30
30
  var failureKey = /* @__PURE__ */ __name((error) => isCliFailure(error) ? error.code : error instanceof Error ? error.name : "error", "failureKey");
31
31
 
32
- // 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/runs/events.js
32
+ // 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/runs/events.js
33
33
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
34
34
  var renderEvent = /* @__PURE__ */ __name((event) => {
35
35
  if (event.event === "warning") {
@@ -77,7 +77,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
77
77
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
78
78
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
79
79
 
80
- // 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/runs/error-detail.js
80
+ // 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/runs/error-detail.js
81
81
  var MESSAGE_AT_MOST = 500;
82
82
  var CAUSES_AT_MOST = 5;
83
83
  var FRAMES_AT_MOST = 15;
@@ -186,7 +186,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
186
186
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
187
187
  }, "redactText");
188
188
 
189
- // 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/runs/run-context.js
189
+ // 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/runs/run-context.js
190
190
  var REDACTED = "[redacted]";
191
191
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
192
192
  if (!record)
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-3CVDHJER.js";
5
+ } from "./chunk-ITUC5WAV.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-QCNK3YUZ.js";
9
+ } from "./chunk-BMV56JCL.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/background/lock.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/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/installer.js
7
+ // 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/installer.js
8
8
  var installerOf = /* @__PURE__ */ __name((scriptPath) => {
9
9
  const path = scriptPath.replaceAll("\\", "/");
10
10
  if (path.includes("/_npx/"))
@@ -3,26 +3,26 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
5
  executableOnPath
6
- } from "./chunk-YPF6OS37.js";
6
+ } from "./chunk-3DQYO7FB.js";
7
7
  import {
8
8
  require_cross_spawn
9
9
  } from "./chunk-D72URWJE.js";
10
10
  import {
11
11
  loadConfigFile,
12
12
  saveConfigFile
13
- } from "./chunk-QCNK3YUZ.js";
13
+ } from "./chunk-BMV56JCL.js";
14
14
  import {
15
15
  number,
16
16
  object,
17
17
  optional,
18
18
  string
19
- } from "./chunk-G6RG2AZV.js";
19
+ } from "./chunk-BHNBWFT5.js";
20
20
  import {
21
21
  __name,
22
22
  __toESM
23
23
  } from "./chunk-ZVVMGPBJ.js";
24
24
 
25
- // 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/update/index.js
25
+ // 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/update/index.js
26
26
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
27
27
  import { existsSync } from "node:fs";
28
28
  var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/bot/instructions.js
7
+ // 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/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,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-EB2IULWB.js";
5
+ } from "./chunk-DALBYUPC.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // 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/input-policy.js
10
+ // 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/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -8,12 +8,12 @@ import {
8
8
  ACCESS_SECONDS,
9
9
  REFRESH_SECONDS,
10
10
  readStored
11
- } from "./chunk-PWTEWT4M.js";
11
+ } from "./chunk-BMGVKULS.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
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/oauth.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/oauth.js
17
17
  import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
18
18
  import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -7,12 +7,12 @@ import {
7
7
  import {
8
8
  singleLine,
9
9
  visibleControls
10
- } from "./chunk-EB2IULWB.js";
10
+ } from "./chunk-DALBYUPC.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // 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/render/messages.js
15
+ // 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/render/messages.js
16
16
  import { styleText } from "node:util";
17
17
  var TIME_WIDTH = 8;
18
18
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/runs/secrets.js
7
+ // 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/runs/secrets.js
8
8
  var SECRET_WORDS = /* @__PURE__ */ new Set([
9
9
  "authorization",
10
10
  "cookie",
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  unit
5
- } from "./chunk-R6SBRHVG.js";
5
+ } from "./chunk-GLLLYACZ.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/embeddings/remote.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/embeddings/remote.js
14
14
  import { setTimeout } from "node:timers/promises";
15
15
  var OPENAI_URL = "https://api.openai.com/v1";
16
16
  var OPENAI_MODELS = {
@@ -0,0 +1,34 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SCHEMA_DIALECT,
5
+ commandContract,
6
+ commandPathOf,
7
+ findCommand,
8
+ outputOf
9
+ } from "./chunk-DPSH46NO.js";
10
+ import "./chunk-NDJZQCF3.js";
11
+ import "./chunk-L3YX7A5M.js";
12
+ import "./chunk-U43HUE35.js";
13
+ import "./chunk-ACLILULA.js";
14
+ import "./chunk-ITUC5WAV.js";
15
+ import "./chunk-MCR43SWG.js";
16
+ import "./chunk-SMS5YNPB.js";
17
+ import "./chunk-N5VEJ3E7.js";
18
+ import "./chunk-2NWOYXPJ.js";
19
+ import "./chunk-ZLH465EU.js";
20
+ import "./chunk-QPF4LTK5.js";
21
+ import "./chunk-HTFBXGJF.js";
22
+ import "./chunk-QZLK2ISN.js";
23
+ import "./chunk-BMV56JCL.js";
24
+ import "./chunk-BHNBWFT5.js";
25
+ import "./chunk-Y5E2WNWB.js";
26
+ import "./chunk-DALBYUPC.js";
27
+ import "./chunk-ZVVMGPBJ.js";
28
+ export {
29
+ SCHEMA_DIALECT,
30
+ commandContract,
31
+ commandPathOf,
32
+ findCommand,
33
+ outputOf
34
+ };
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-FHY664YS.js";
7
- import "./chunk-QCNK3YUZ.js";
8
- import "./chunk-G6RG2AZV.js";
6
+ } from "./chunk-BMFPCW6Q.js";
7
+ import "./chunk-BMV56JCL.js";
8
+ import "./chunk-BHNBWFT5.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-EB2IULWB.js";
14
+ } from "./chunk-DALBYUPC.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // 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/decode.js
19
+ // 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/decode.js
20
20
  import { spawn } from "node:child_process";
21
21
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
22
22
  import { createRequire } from "node:module";
@@ -13,22 +13,22 @@ import {
13
13
  parseDescribe,
14
14
  shimFiles,
15
15
  writeShim
16
- } from "./chunk-XBIPSSKI.js";
16
+ } from "./chunk-7SWWVDEZ.js";
17
17
  import "./chunk-Y5E2WNWB.js";
18
18
  import {
19
19
  CliError
20
- } from "./chunk-EB2IULWB.js";
20
+ } from "./chunk-DALBYUPC.js";
21
21
  import {
22
22
  __name,
23
23
  __toESM
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // 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/wcat/dispatch.js
26
+ // 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/wcat/dispatch.js
27
27
  var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
28
28
  import { randomUUID } from "node:crypto";
29
29
  import { constants } from "node:os";
30
30
 
31
- // 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/wcat/path.js
31
+ // 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/wcat/path.js
32
32
  import { readdirSync, statSync } from "node:fs";
33
33
  import { join } from "node:path";
34
34
  var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
@@ -100,7 +100,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
100
100
  }, "findTools");
101
101
  var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
102
102
 
103
- // 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/wcat/probe.js
103
+ // 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/wcat/probe.js
104
104
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
105
105
  import { readFileSync } from "node:fs";
106
106
  var MAX_ANSWER_BYTES = 64 * 1024;
@@ -149,7 +149,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
149
149
  }
150
150
  }, "baseVersion");
151
151
 
152
- // 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/wcat/shortcuts.js
152
+ // 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/wcat/shortcuts.js
153
153
  import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
154
154
  import { basename, dirname } from "node:path";
155
155
  var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
@@ -241,7 +241,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
241
241
  return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
242
242
  }), "removeShortcuts");
243
243
 
244
- // 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/wcat/dispatch.js
244
+ // 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/wcat/dispatch.js
245
245
  var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
246
246
  var listTools = /* @__PURE__ */ __name(async (context) => {
247
247
  const installed = installedPrograms(context);
@@ -338,7 +338,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
338
338
  });
339
339
  }), "runTool");
340
340
  var fail = /* @__PURE__ */ __name(async (error, json, context) => {
341
- const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-UDL5QZRZ.js");
341
+ const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-WYKVF6RH.js");
342
342
  const object = errorObjectOf(error);
343
343
  context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
344
344
  `);
@@ -1,27 +1,29 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
+ CRM_KINDS,
4
5
  PASTE_QR,
5
6
  atTerminal,
6
7
  bareCheck,
7
8
  checkWords,
8
9
  countedPoll,
10
+ isItemKind,
9
11
  loginQr,
10
12
  parseMarkdown,
11
13
  parseMarkdownSpans,
12
14
  plainQr,
13
15
  terminalQr
14
- } from "./chunk-B2NDDA2W.js";
16
+ } from "./chunk-C4RUKMDT.js";
15
17
  import {
16
18
  DETAILS,
17
19
  REASONS,
18
20
  failureContext
19
- } from "./chunk-XEIGKPYU.js";
21
+ } from "./chunk-6RO5RDNR.js";
20
22
  import {
21
23
  pollLines,
22
24
  renderMessage,
23
25
  renderMessages
24
- } from "./chunk-VD6GZ3W2.js";
26
+ } from "./chunk-YA2JPMYX.js";
25
27
  import {
26
28
  ModerationRules,
27
29
  act,
@@ -32,34 +34,33 @@ import {
32
34
  pickChat,
33
35
  pickPerson,
34
36
  validateFormattedText
35
- } from "./chunk-GAYW2JRW.js";
37
+ } from "./chunk-SIYT2BBI.js";
36
38
  import {
37
39
  readSecret
38
- } from "./chunk-VTJ5TMGN.js";
39
- import "./chunk-ANFIIXBL.js";
40
+ } from "./chunk-EFP5NN7I.js";
41
+ import "./chunk-WA3DQSAZ.js";
40
42
  import "./chunk-HTQTIKWP.js";
41
43
  import {
42
44
  resolveOutput
43
- } from "./chunk-DDQXDX4U.js";
45
+ } from "./chunk-L3YX7A5M.js";
44
46
  import {
45
47
  COUNTER_FIELDS,
46
- CURRENCY_SCALES,
47
- FINANCE_REVIEWS,
48
+ CRM_OPENS,
49
+ DEAL_KINDS,
50
+ DEAL_ROLES,
51
+ DEAL_STATUSES,
48
52
  FOLDER_PROVIDERS,
49
- INVOICE_DIRECTIONS,
50
- INVOICE_STATUSES,
51
53
  KINDS,
52
- MONEY_DIRECTIONS,
53
54
  PROVIDERS,
54
55
  RECORDS_ENVELOPE_SCHEMA,
55
56
  RECORDS_SCHEMA_VERSION,
56
57
  RECORD_ENTITY_TYPES,
57
58
  RECORD_OPERATIONS,
58
59
  REF_KINDS,
60
+ STAGE_OUTCOMES,
59
61
  UNKNOWN_PROVIDER,
60
62
  canonicalReference,
61
63
  counterValue,
62
- currencyOf,
63
64
  envelopeOfJsonl,
64
65
  formatLocator,
65
66
  formatReference,
@@ -69,9 +70,6 @@ import {
69
70
  kindIn,
70
71
  kindOf,
71
72
  looksLikeReference,
72
- minorUnits,
73
- moneyLabel,
74
- moneyOf,
75
73
  observedCounters,
76
74
  parseLocator,
77
75
  parseReference,
@@ -79,26 +77,42 @@ import {
79
77
  providers,
80
78
  rankingOptions,
81
79
  useProviders
82
- } from "./chunk-EBEYU7RW.js";
80
+ } from "./chunk-KVSC657S.js";
83
81
  import {
82
+ CURRENCY_SCALES,
83
+ FINANCE_REVIEWS,
84
+ INVOICE_DIRECTIONS,
85
+ INVOICE_STATUSES,
86
+ MONEY_DIRECTIONS,
87
+ ORDER_PURPOSES,
88
+ ORDER_STATUSES,
84
89
  TAG_TYPES,
85
90
  canonicalMeetingReference,
91
+ currencyOf,
86
92
  formatMeetingReference,
93
+ minorUnits,
94
+ moneyLabel,
95
+ moneyOf,
87
96
  normalizeTag,
88
97
  parseMeetingReference
89
- } from "./chunk-4IEDXIUN.js";
90
- import "./chunk-CRYWPLJP.js";
91
- import "./chunk-LU3WKZBA.js";
92
- import "./chunk-QCNK3YUZ.js";
93
- import "./chunk-G6RG2AZV.js";
98
+ } from "./chunk-2NWOYXPJ.js";
99
+ import "./chunk-ZLH465EU.js";
100
+ import "./chunk-QZLK2ISN.js";
101
+ import "./chunk-BMV56JCL.js";
102
+ import "./chunk-BHNBWFT5.js";
94
103
  import "./chunk-Y5E2WNWB.js";
95
- import "./chunk-EB2IULWB.js";
104
+ import "./chunk-DALBYUPC.js";
96
105
  import "./chunk-ZVVMGPBJ.js";
97
106
  export {
98
107
  DETAILS as CORE_DETAILS,
99
108
  REASONS as CORE_REASONS,
100
109
  COUNTER_FIELDS,
110
+ CRM_KINDS,
111
+ CRM_OPENS,
101
112
  CURRENCY_SCALES,
113
+ DEAL_KINDS,
114
+ DEAL_ROLES,
115
+ DEAL_STATUSES,
102
116
  FINANCE_REVIEWS,
103
117
  FOLDER_PROVIDERS,
104
118
  INVOICE_DIRECTIONS,
@@ -106,6 +120,8 @@ export {
106
120
  KINDS,
107
121
  MONEY_DIRECTIONS,
108
122
  ModerationRules,
123
+ ORDER_PURPOSES,
124
+ ORDER_STATUSES,
109
125
  PASTE_QR,
110
126
  PROVIDERS,
111
127
  RECORDS_ENVELOPE_SCHEMA,
@@ -113,6 +129,7 @@ export {
113
129
  RECORD_ENTITY_TYPES,
114
130
  RECORD_OPERATIONS,
115
131
  REF_KINDS,
132
+ STAGE_OUTCOMES,
116
133
  TAG_TYPES,
117
134
  UNKNOWN_PROVIDER,
118
135
  act,
@@ -132,6 +149,7 @@ export {
132
149
  formatReference,
133
150
  isFolderProvider,
134
151
  isId,
152
+ isItemKind,
135
153
  isKind,
136
154
  isLocator,
137
155
  judge,
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // 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/charts/echarts-option.js
42402
+ // 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/charts/echarts-option.js
42403
42403
  var echartsOption = /* @__PURE__ */ __name((chart) => ({
42404
42404
  animation: false,
42405
42405
  backgroundColor: "#111827",
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
42447
42447
  } : {}
42448
42448
  }), "echartsOption");
42449
42449
 
42450
- // 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/charts/echarts.js
42450
+ // 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/charts/echarts.js
42451
42451
  use([install2, install, install6, install5, install10, install7, install11]);
42452
42452
  var echartsRenderer = {
42453
42453
  render: /* @__PURE__ */ __name(async (chart, size) => {
@@ -13,13 +13,13 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-R6SBRHVG.js";
17
- import "./chunk-ZS6YKNYS.js";
18
- import "./chunk-TTOKDZQX.js";
19
- import "./chunk-QCNK3YUZ.js";
20
- import "./chunk-G6RG2AZV.js";
16
+ } from "./chunk-GLLLYACZ.js";
17
+ import "./chunk-MCR43SWG.js";
18
+ import "./chunk-HTFBXGJF.js";
19
+ import "./chunk-BMV56JCL.js";
20
+ import "./chunk-BHNBWFT5.js";
21
21
  import "./chunk-Y5E2WNWB.js";
22
- import "./chunk-EB2IULWB.js";
22
+ import "./chunk-DALBYUPC.js";
23
23
  import "./chunk-ZVVMGPBJ.js";
24
24
  export {
25
25
  WARM_IDLE_MS,
@@ -4,26 +4,26 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-R6SBRHVG.js";
8
- import "./chunk-ZS6YKNYS.js";
9
- import "./chunk-TTOKDZQX.js";
10
- import "./chunk-QCNK3YUZ.js";
11
- import "./chunk-G6RG2AZV.js";
7
+ } from "./chunk-GLLLYACZ.js";
8
+ import "./chunk-MCR43SWG.js";
9
+ import "./chunk-HTFBXGJF.js";
10
+ import "./chunk-BMV56JCL.js";
11
+ import "./chunk-BHNBWFT5.js";
12
12
  import {
13
13
  importFrom
14
14
  } from "./chunk-Y5E2WNWB.js";
15
15
  import {
16
16
  CliError
17
- } from "./chunk-EB2IULWB.js";
17
+ } from "./chunk-DALBYUPC.js";
18
18
  import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // 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/images/picture/embedder.js
22
+ // 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/images/picture/embedder.js
23
23
  import { readFileSync } from "node:fs";
24
24
  import { join } from "node:path";
25
25
 
26
- // 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/images/picture/preprocess.js
26
+ // 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/images/picture/preprocess.js
27
27
  var SIZE = 224;
28
28
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
29
29
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -62,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
62
62
  return pixels;
63
63
  }, "preprocess");
64
64
 
65
- // 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/images/picture/embedder.js
65
+ // 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/images/picture/embedder.js
66
66
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
67
67
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
68
68
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -9,8 +9,8 @@ import {
9
9
  mcpErrorResult,
10
10
  renderError,
11
11
  retryOf
12
- } from "./chunk-G6RG2AZV.js";
13
- import "./chunk-EB2IULWB.js";
12
+ } from "./chunk-BHNBWFT5.js";
13
+ import "./chunk-DALBYUPC.js";
14
14
  import "./chunk-ZVVMGPBJ.js";
15
15
  export {
16
16
  catchCrashes,