@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
@@ -2,26 +2,30 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  validateFormattedText
5
- } from "./chunk-GAYW2JRW.js";
5
+ } from "./chunk-SIYT2BBI.js";
6
6
  import {
7
7
  inputPolicy
8
- } from "./chunk-ANFIIXBL.js";
8
+ } from "./chunk-WA3DQSAZ.js";
9
9
  import {
10
10
  indent
11
- } from "./chunk-QCNK3YUZ.js";
11
+ } from "./chunk-BMV56JCL.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/domain/checks.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/domain/checks.js
20
20
  var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
21
21
  var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
22
22
  var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
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/domain/markdown.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/domain/crm.js
25
+ var CRM_KINDS = ["organization", "person", "deal", "lead"];
26
+ var isItemKind = /* @__PURE__ */ __name((kind) => kind === "deal" || kind === "lead", "isItemKind");
27
+
28
+ // 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/domain/markdown.js
25
29
  var MARKERS = [
26
30
  ["**", "bold"],
27
31
  ["~~", "strike"],
@@ -67,7 +71,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
67
71
  return end;
68
72
  }, "closing");
69
73
 
70
- // 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/domain/markdown-spans.js
74
+ // 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/domain/markdown-spans.js
71
75
  var STYLES = [
72
76
  ["**", "bold"],
73
77
  ["__", "underline"],
@@ -227,7 +231,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
227
231
  return validateFormattedText(result);
228
232
  }, "parseMarkdownSpans");
229
233
 
230
- // 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/domain/polls.js
234
+ // 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/domain/polls.js
231
235
  var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
232
236
  const cast = votes.filter((vote) => vote.answers.length > 0);
233
237
  const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
@@ -1876,7 +1880,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
1876
1880
  var qrcode_default = qrcode;
1877
1881
  var stringToBytes = qrcode.stringToBytes;
1878
1882
 
1879
- // 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/terminal/qr.js
1883
+ // 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/terminal/qr.js
1880
1884
  var QUIET_ZONE = 4;
1881
1885
  var BLACK_ON_WHITE = "\x1B[30;107m";
1882
1886
  var RESET = "\x1B[0m";
@@ -1923,7 +1927,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
1923
1927
  return lines.join("\n");
1924
1928
  }, "plainQr");
1925
1929
 
1926
- // 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/terminal/login-qr.js
1930
+ // 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/terminal/login-qr.js
1927
1931
  var MARGIN = 2;
1928
1932
  var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
1929
1933
  var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
@@ -1961,6 +1965,8 @@ ${indent(drawn.text, pad + MARGIN)}`);
1961
1965
  export {
1962
1966
  bareCheck,
1963
1967
  checkWords,
1968
+ CRM_KINDS,
1969
+ isItemKind,
1964
1970
  parseMarkdown,
1965
1971
  parseMarkdownSpans,
1966
1972
  countedPoll,
@@ -6,13 +6,13 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  commandAvailability
9
- } from "./chunk-KJV3BI7S.js";
9
+ } from "./chunk-ERBEBORA.js";
10
10
  import {
11
11
  failureContext
12
- } from "./chunk-XEIGKPYU.js";
12
+ } from "./chunk-6RO5RDNR.js";
13
13
  import {
14
14
  callerOf
15
- } from "./chunk-Q4T2HBZP.js";
15
+ } from "./chunk-TVZ77ZOV.js";
16
16
  import {
17
17
  QUERY_ARGUMENT,
18
18
  lentConnection,
@@ -20,10 +20,10 @@ import {
20
20
  refuseLacking,
21
21
  servicesFor,
22
22
  storeModeDeps
23
- } from "./chunk-MLWN27HF.js";
23
+ } from "./chunk-23HWKHPZ.js";
24
24
  import {
25
25
  MAX_BUFFERED_INPUT
26
- } from "./chunk-ANFIIXBL.js";
26
+ } from "./chunk-WA3DQSAZ.js";
27
27
  import {
28
28
  DEFAULT_OUTPUT_BYTES,
29
29
  ENTITIES,
@@ -42,27 +42,27 @@ import {
42
42
  sealed,
43
43
  startRecording,
44
44
  traceOf
45
- } from "./chunk-IJYYD2JU.js";
45
+ } from "./chunk-NDJZQCF3.js";
46
46
  import {
47
47
  authorityAllowed,
48
48
  botApiAllowed,
49
49
  keyForCommand,
50
50
  levelFor,
51
51
  readKeysForCommand
52
- } from "./chunk-DDQXDX4U.js";
52
+ } from "./chunk-L3YX7A5M.js";
53
53
  import {
54
54
  currentCaller,
55
55
  keepsSuccess,
56
56
  runContextOf,
57
57
  withCaller
58
- } from "./chunk-DKIAHQRN.js";
58
+ } from "./chunk-U43HUE35.js";
59
59
  import {
60
60
  queryDescription
61
- } from "./chunk-4IEDXIUN.js";
61
+ } from "./chunk-2NWOYXPJ.js";
62
62
  import {
63
63
  captureStreams,
64
64
  traceIdOf
65
- } from "./chunk-QCNK3YUZ.js";
65
+ } from "./chunk-BMV56JCL.js";
66
66
  import {
67
67
  COMPACT_FLAG,
68
68
  SNAKE_CASE,
@@ -101,19 +101,19 @@ import {
101
101
  unknown,
102
102
  word,
103
103
  writes
104
- } from "./chunk-G6RG2AZV.js";
104
+ } from "./chunk-BHNBWFT5.js";
105
105
  import {
106
106
  CliError,
107
107
  errorCodes
108
- } from "./chunk-EB2IULWB.js";
108
+ } from "./chunk-DALBYUPC.js";
109
109
  import {
110
110
  __name
111
111
  } from "./chunk-ZVVMGPBJ.js";
112
112
 
113
- // 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.js
113
+ // 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.js
114
114
  import { Readable } from "node:stream";
115
115
 
116
- // 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/lint.js
116
+ // 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/lint.js
117
117
  var LINT_SEVERITIES = ["high", "medium", "low"];
118
118
  var lintRuleSchema = strictObject({
119
119
  id: word,
@@ -241,7 +241,7 @@ var overrideSchema = strictObject({
241
241
  });
242
242
  var overridesSchema = array(overrideSchema);
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/standards/audit.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/standards/audit.js
245
245
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
246
246
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
247
247
  var AUDIT_RULES = defineAuditRules([
@@ -337,6 +337,14 @@ var PARITY_GROUPS = defineParityGroups([
337
337
  members: ["tg", "max", "memo", "drive", "zm", "wa", "gcal"],
338
338
  covers: ["commands", "upgrade", "notes", "meetings"],
339
339
  differences: []
340
+ },
341
+ // bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call recordings, not
342
+ // zoom-cli's: both are compared on the root commands every CLI shares, the way gcal and mail are on theirs.
343
+ {
344
+ name: "shared-roots",
345
+ members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline"],
346
+ covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
347
+ differences: MEMO_HAS_NO_PROFILES
340
348
  }
341
349
  ]);
342
350
  var requiredRootSchema = strictObject({ path: pipe(array(segment), minLength(1)), meaning: text });
@@ -350,7 +358,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
350
358
  { path: ["upgrade"], meaning: "updates the CLI" }
351
359
  ]);
352
360
 
353
- // 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/fields.js
361
+ // 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/fields.js
354
362
  var fieldRuleSchema = strictObject({ id: word, rule: text });
355
363
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
356
364
  var FIELD_RULES = defineFieldRules([
@@ -366,7 +374,7 @@ var FIELD_RULES = defineFieldRules([
366
374
  }
367
375
  ]);
368
376
 
369
- // 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/identifiers.js
377
+ // 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/identifiers.js
370
378
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
371
379
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
372
380
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -388,7 +396,7 @@ var IDENTIFIERS = defineIdentifiers([
388
396
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
389
397
  ]);
390
398
 
391
- // 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/flags-calendar.js
399
+ // 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/flags-calendar.js
392
400
  var CALENDAR_FLAGS = [
393
401
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
394
402
  {
@@ -462,7 +470,47 @@ var CALENDAR_FLAGS = [
462
470
  }
463
471
  ];
464
472
 
465
- // 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/flags-how.js
473
+ // 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/flags-crm.js
474
+ var CRM_FLAGS = [
475
+ {
476
+ name: "--pipeline",
477
+ value: "<pipeline>",
478
+ role: "value",
479
+ type: "string",
480
+ meaning: "a CRM pipeline: pipeline:<id>, or a name only one pipeline has"
481
+ },
482
+ {
483
+ name: "--stage",
484
+ value: "<stage>",
485
+ role: "value",
486
+ type: "string",
487
+ meaning: "a stage of the record's pipeline, by the CRM's id or its name"
488
+ },
489
+ {
490
+ name: "--amount",
491
+ value: "<decimal>",
492
+ role: "value",
493
+ type: "string",
494
+ meaning: "a sum of money as a decimal, such as 1500.50, in --currency"
495
+ },
496
+ { name: "--currency", value: "<code>", role: "value", type: "string", meaning: "an ISO 4217 code, such as EUR" },
497
+ {
498
+ name: "--close-date",
499
+ value: "<date>",
500
+ role: "value",
501
+ type: "time",
502
+ meaning: "the day a deal or lead is expected to close, YYYY-MM-DD"
503
+ },
504
+ {
505
+ name: "--owner",
506
+ value: "<user>",
507
+ role: "value",
508
+ type: "id",
509
+ meaning: "the CRM user a record is assigned to, by the CRM's id"
510
+ }
511
+ ];
512
+
513
+ // 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/flags-how.js
466
514
  var HOW_FLAGS = [
467
515
  {
468
516
  name: "--limit",
@@ -787,6 +835,7 @@ var HOW_FLAGS = [
787
835
  meaning: "tell the people it concerns about it: the chat's members, or an event's attendees"
788
836
  },
789
837
  { name: "--no-notify", role: "mode", type: "switch", meaning: "tell nobody about it" },
838
+ { name: "--open-new", role: "mode", type: "switch", meaning: "a read again for tasks also opens new tasks" },
790
839
  { name: "--offline", role: "mode", type: "switch", meaning: "answer from what was recorded and never connect" },
791
840
  {
792
841
  name: "--operation-id",
@@ -1456,7 +1505,7 @@ var HOW_FLAGS = [
1456
1505
  }
1457
1506
  ];
1458
1507
 
1459
- // 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/flags-mail.js
1508
+ // 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/flags-mail.js
1460
1509
  var MAIL_FLAGS = [
1461
1510
  {
1462
1511
  name: "--cc",
@@ -1486,7 +1535,94 @@ var MAIL_FLAGS = [
1486
1535
  }
1487
1536
  ];
1488
1537
 
1489
- // 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/flags-what.js
1538
+ // 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/flags-privacy.js
1539
+ var PRIVACY_FLAGS = [
1540
+ {
1541
+ name: "--about-text",
1542
+ value: "<who>",
1543
+ role: "value",
1544
+ type: "choice",
1545
+ meaning: "who sees the about text: everyone, contacts or nobody"
1546
+ },
1547
+ {
1548
+ name: "--calls",
1549
+ value: "<who>",
1550
+ role: "value",
1551
+ type: "choice",
1552
+ meaning: "whose calls ring: everyone, contacts or nobody"
1553
+ },
1554
+ {
1555
+ name: "--chat-invites",
1556
+ value: "<who>",
1557
+ role: "value",
1558
+ type: "choice",
1559
+ meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
1560
+ },
1561
+ {
1562
+ name: "--find-by-phone",
1563
+ value: "<who>",
1564
+ role: "value",
1565
+ type: "choice",
1566
+ meaning: "who finds the account by its number: everyone, contacts or nobody"
1567
+ },
1568
+ {
1569
+ name: "--hide-online",
1570
+ value: "<on|off>",
1571
+ role: "value",
1572
+ type: "choice",
1573
+ meaning: "hide online status and last seen"
1574
+ },
1575
+ {
1576
+ name: "--last-seen",
1577
+ value: "<who>",
1578
+ role: "value",
1579
+ type: "choice",
1580
+ meaning: "who sees when the account was last online: everyone, contacts or nobody"
1581
+ },
1582
+ {
1583
+ name: "--phone-number",
1584
+ value: "<who>",
1585
+ role: "value",
1586
+ type: "choice",
1587
+ meaning: "who sees the number: everyone, contacts or nobody"
1588
+ },
1589
+ {
1590
+ name: "--profile-photo",
1591
+ value: "<who>",
1592
+ role: "value",
1593
+ type: "choice",
1594
+ meaning: "who sees the profile photo: everyone, contacts or nobody"
1595
+ },
1596
+ { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1597
+ ];
1598
+
1599
+ // 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/flags-schedule.js
1600
+ var SCHEDULE_FLAGS = [
1601
+ {
1602
+ name: "--notify-on",
1603
+ value: "<when>",
1604
+ role: "value",
1605
+ type: "choice",
1606
+ meaning: "when a scheduled run tells the owner: always, failures or never"
1607
+ },
1608
+ {
1609
+ name: "--deliver-to",
1610
+ value: "<route>",
1611
+ role: "value",
1612
+ type: "string",
1613
+ meaning: "where a scheduled run's result also goes, by the owner's own CLI: telegram-bot:<profile>/<chat> or email:<profile>/<address>; repeat it for more. Not --to, which names who a message is for"
1614
+ },
1615
+ {
1616
+ name: "--max-cost-per-day",
1617
+ value: "<usd>",
1618
+ role: "budget",
1619
+ type: "number",
1620
+ meaning: "start no run for the rest of the day once the day's runs cost this much; 0 for no cap",
1621
+ unit: "US dollars"
1622
+ }
1623
+ ];
1624
+
1625
+ // 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/flags-what.js
1490
1626
  var WHAT_FLAGS = [
1491
1627
  {
1492
1628
  name: "--analysis-provider",
@@ -1909,6 +2045,20 @@ var WHAT_FLAGS = [
1909
2045
  meaning: "look again from this day, for what arrived late"
1910
2046
  },
1911
2047
  { name: "--run", value: "<id>", role: "target", type: "id", meaning: "the run it is about" },
2048
+ {
2049
+ name: "--who",
2050
+ value: "<side>",
2051
+ role: "target",
2052
+ type: "choice",
2053
+ meaning: "whose replies are measured: me (the owner's) or others (the other side's)"
2054
+ },
2055
+ {
2056
+ name: "--write",
2057
+ value: "<id>",
2058
+ role: "target",
2059
+ type: "id",
2060
+ meaning: "one write of a run, by the operation_id its answer listed: undo or act on that write alone"
2061
+ },
1912
2062
  {
1913
2063
  name: "--target",
1914
2064
  value: "<ref>",
@@ -2111,63 +2261,6 @@ var WHAT_FLAGS = [
2111
2261
  type: "path",
2112
2262
  meaning: "an Ogg Opus file sent as a voice message"
2113
2263
  },
2114
- {
2115
- name: "--about-text",
2116
- value: "<who>",
2117
- role: "value",
2118
- type: "choice",
2119
- meaning: "who sees the about text: everyone, contacts or nobody"
2120
- },
2121
- {
2122
- name: "--calls",
2123
- value: "<who>",
2124
- role: "value",
2125
- type: "choice",
2126
- meaning: "whose calls ring: everyone, contacts or nobody"
2127
- },
2128
- {
2129
- name: "--chat-invites",
2130
- value: "<who>",
2131
- role: "value",
2132
- type: "choice",
2133
- meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
2134
- },
2135
- {
2136
- name: "--find-by-phone",
2137
- value: "<who>",
2138
- role: "value",
2139
- type: "choice",
2140
- meaning: "who finds the account by its number: everyone, contacts or nobody"
2141
- },
2142
- {
2143
- name: "--hide-online",
2144
- value: "<on|off>",
2145
- role: "value",
2146
- type: "choice",
2147
- meaning: "hide online status and last seen"
2148
- },
2149
- {
2150
- name: "--last-seen",
2151
- value: "<who>",
2152
- role: "value",
2153
- type: "choice",
2154
- meaning: "who sees when the account was last online: everyone, contacts or nobody"
2155
- },
2156
- {
2157
- name: "--phone-number",
2158
- value: "<who>",
2159
- role: "value",
2160
- type: "choice",
2161
- meaning: "who sees the number: everyone, contacts or nobody"
2162
- },
2163
- {
2164
- name: "--profile-photo",
2165
- value: "<who>",
2166
- role: "value",
2167
- type: "choice",
2168
- meaning: "who sees the profile photo: everyone, contacts or nobody"
2169
- },
2170
- { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" },
2171
2264
  {
2172
2265
  name: "--until",
2173
2266
  value: "<time>",
@@ -2270,6 +2363,13 @@ var WHAT_FLAGS = [
2270
2363
  type: "id",
2271
2364
  meaning: "never show this chat in it; repeat it for more"
2272
2365
  },
2366
+ {
2367
+ name: "--field",
2368
+ value: "<key=value>",
2369
+ role: "value",
2370
+ type: "string",
2371
+ meaning: "set one named field on a write, as key=value; repeat it for more"
2372
+ },
2273
2373
  {
2274
2374
  name: "--file",
2275
2375
  value: "<file>",
@@ -2484,7 +2584,7 @@ var WHAT_FLAGS = [
2484
2584
  }
2485
2585
  ];
2486
2586
 
2487
- // 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/vocabulary.js
2587
+ // 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/vocabulary.js
2488
2588
  var FLAG_TYPES = [
2489
2589
  "switch",
2490
2590
  "count",
@@ -2625,6 +2725,7 @@ var verbs = [
2625
2725
  // Only when someone asks, never from a matching name: WC-ACCT-11 in docs/standards/accounts.md.
2626
2726
  ["link", "record that two identities are one person"],
2627
2727
  ["unlink", "undo a link"],
2728
+ ["allocate", "match a payment to the invoice or order it settles, in whole or in part"],
2628
2729
  ["lookup", "ask the messenger who is behind a phone number"],
2629
2730
  [
2630
2731
  "inspect",
@@ -2725,6 +2826,20 @@ var collections = [
2725
2826
  "derived records attached to a selected entity, with explicit coverage of included and omitted facets"
2726
2827
  ],
2727
2828
  ["organizations", "companies, teams, families or communities"],
2829
+ [
2830
+ "records",
2831
+ "documents of the owner's business, such as an invoice or a receipt, kept with the things they are about"
2832
+ ],
2833
+ ["invoices", "bills the owner sends or receives, with their amounts and due dates"],
2834
+ ["orders", "what a customer asked for and the owner owes or delivers"],
2835
+ ["payments", "money that moved in or out, each one matched to the invoices it settles"],
2836
+ ["deals", "sales the owner works on, each at a stage of a pipeline, with an amount and an outcome"],
2837
+ ["leads", "possible customers not yet qualified into a deal"],
2838
+ ["pipelines", "ordered sets of stages a deal moves through"],
2839
+ ["stages", "steps of a pipeline, each open, won or lost"],
2840
+ ["products", "goods and services the owner sells, with their prices"],
2841
+ ["users", "people who work in the owner's account at a service, such as a CRM's employees"],
2842
+ ["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
2728
2843
  [
2729
2844
  "identities",
2730
2845
  "ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone"
@@ -2819,6 +2934,7 @@ var views = [
2819
2934
  ["newcomers", "members observed joining during the selected time window"],
2820
2935
  ["retention", "whether members of a selected cohort remain or return over time"],
2821
2936
  ["responses", "observed replies between participants and the time taken to answer"],
2937
+ ["waiting", "chats whose newest message waits on the owner's reply"],
2822
2938
  ["discussion", "source posts compared by known views and observed discussion replies"],
2823
2939
  ["unanswered", "questions without an observed qualifying answer"],
2824
2940
  ["me", "the account a profile's token belongs to"],
@@ -2833,6 +2949,7 @@ var roots = [
2833
2949
  ["serve", "the long-running process"],
2834
2950
  ["setup", "the guided first run: log in or link the account, then install the agent skill"],
2835
2951
  ["doctor", "check this machine's setup"],
2952
+ ["recover", "repair a damaged store: what it would do, then its run subcommand does it"],
2836
2953
  ["upgrade", "install a newer version of this tool"],
2837
2954
  ["commands", "the command tree as data"],
2838
2955
  ["guide", "scenarios: the commands for a common task, in order, and why each"],
@@ -2854,10 +2971,18 @@ var VOCABULARY = defineVocabulary({
2854
2971
  ],
2855
2972
  views: views.map(([entry, meaning]) => ({ word: entry, meaning })),
2856
2973
  roots: roots.map(([entry, meaning]) => ({ word: entry, meaning })),
2857
- flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
2974
+ flags: [
2975
+ ...HOW_FLAGS,
2976
+ ...WHAT_FLAGS,
2977
+ ...PRIVACY_FLAGS,
2978
+ ...CALENDAR_FLAGS,
2979
+ ...MAIL_FLAGS,
2980
+ ...CRM_FLAGS,
2981
+ ...SCHEDULE_FLAGS
2982
+ ]
2858
2983
  });
2859
2984
 
2860
- // 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.js
2985
+ // 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.js
2861
2986
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2862
2987
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2863
2988
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3080,7 +3205,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3080
3205
  }
3081
3206
  }, "runCommandForAgent");
3082
3207
 
3083
- // 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/tool.js
3208
+ // 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/tool.js
3084
3209
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3085
3210
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3086
3211
  var message = pipe(
@@ -3339,7 +3464,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3339
3464
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3340
3465
  }, "failed");
3341
3466
 
3342
- // 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/surface.js
3467
+ // 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/surface.js
3343
3468
  import { randomUUID } from "node:crypto";
3344
3469
  var MATCHES = 8;
3345
3470
  var ANSWER = answerSchema();
@@ -5,12 +5,12 @@ 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/store/vector-extension.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/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -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/errors.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/errors.js
8
8
  var errorCodes = [
9
9
  "validation_error",
10
10
  "configuration_error",
@@ -39,7 +39,7 @@ var CliError = class extends Error {
39
39
  };
40
40
  var isCliError = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && value[BRAND] === true, "isCliError");
41
41
 
42
- // 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/sanitize.js
42
+ // 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/sanitize.js
43
43
  var CONTROL = (
44
44
  // biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
45
45
  /[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
@@ -6,21 +6,21 @@ import {
6
6
  answerSchema,
7
7
  describeOptions,
8
8
  metaOf
9
- } from "./chunk-IJYYD2JU.js";
9
+ } from "./chunk-NDJZQCF3.js";
10
10
  import {
11
11
  keyForCommand
12
- } from "./chunk-DDQXDX4U.js";
12
+ } from "./chunk-L3YX7A5M.js";
13
13
  import {
14
14
  jsonSchemaOf
15
- } from "./chunk-G6RG2AZV.js";
15
+ } from "./chunk-BHNBWFT5.js";
16
16
  import {
17
17
  CliError
18
- } from "./chunk-EB2IULWB.js";
18
+ } from "./chunk-DALBYUPC.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // 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/command-contract.js
23
+ // 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/command-contract.js
24
24
  var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
25
25
  var outputOf = /* @__PURE__ */ __name((command) => {
26
26
  const entity = answerEntitySchema(command);
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-ANFIIXBL.js";
7
+ } from "./chunk-WA3DQSAZ.js";
8
8
  import {
9
9
  CliError
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/terminal/prompt.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/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {