@wirecat/zoom-cli 0.79.0 → 0.81.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 (203) hide show
  1. package/README.md +5 -4
  2. package/contracts/wirecat.json +71 -3
  3. package/dist/answer-output.d.ts +1 -1
  4. package/dist/answer-output.js +1 -1
  5. package/dist/answers.d.ts +44 -0
  6. package/dist/answers.d.ts.map +1 -1
  7. package/dist/bin/zm.js +2 -2
  8. package/dist/bundle/agent-VYAJCJLE.js +45 -0
  9. package/dist/bundle/{all-profiles-LDSHUH5W.js → all-profiles-3ASMN35R.js} +64 -22
  10. package/dist/bundle/answer-policy-PTH4F2DW.js +129 -0
  11. package/dist/bundle/{anthropic-UH3QWA3F.js → anthropic-XXI53VNI.js} +6 -6
  12. package/dist/bundle/{app-server-LFANTLAJ.js → app-server-B7WLNZNQ.js} +90 -80
  13. package/dist/bundle/{bun-M3J2QTR3.js → bun-2FLR4IV4.js} +2 -2
  14. package/dist/bundle/{bun-sqlite-NYP5UH23.js → bun-sqlite-3NNHTOGM.js} +7 -7
  15. package/dist/bundle/{chunk-RMQ7EALU.js → chunk-2ELGSNX3.js} +17 -17
  16. package/dist/bundle/{chunk-5RVXXDN7.js → chunk-2GNGR265.js} +1 -1
  17. package/dist/bundle/{chunk-FMT4CIGN.js → chunk-2RFWRJFK.js} +7 -7
  18. package/dist/bundle/{chunk-HZRQLAHO.js → chunk-2Z7UOXFC.js} +1 -1
  19. package/dist/bundle/chunk-337ALCXQ.js +640 -0
  20. package/dist/bundle/{chunk-2PUMYKGV.js → chunk-35FVYRH5.js} +20 -18
  21. package/dist/bundle/{chunk-Y64L7A7E.js → chunk-3M436OO2.js} +6 -6
  22. package/dist/bundle/{chunk-E5WLE7BM.js → chunk-3UX4VJWD.js} +1 -1
  23. package/dist/bundle/{chunk-P4MZOAPC.js → chunk-437DLSB3.js} +1371 -638
  24. package/dist/bundle/{chunk-I75KOOUD.js → chunk-46EF6P2J.js} +3 -3
  25. package/dist/bundle/{chunk-XOYMIEAZ.js → chunk-4B335BCJ.js} +7 -78
  26. package/dist/bundle/chunk-4BU3LRTB.js +561 -0
  27. package/dist/bundle/{chunk-LITZ7KPO.js → chunk-4BXLHSXY.js} +2 -2
  28. package/dist/bundle/{chunk-TUECY6LV.js → chunk-4FSH7K6N.js} +2 -2
  29. package/dist/bundle/{chunk-W656MRJD.js → chunk-4VOCXLMJ.js} +6 -6
  30. package/dist/bundle/{chunk-TLO62ROR.js → chunk-4ZXJ4AZW.js} +26 -26
  31. package/dist/bundle/{chunk-XFMVDQ6J.js → chunk-5EWYDHBH.js} +2 -2
  32. package/dist/bundle/{chunk-UQKVZFIX.js → chunk-5SEBLX6B.js} +12 -12
  33. package/dist/bundle/{chunk-HVQVCGME.js → chunk-77TJ3AJH.js} +3 -3
  34. package/dist/bundle/{chunk-I6VDTYML.js → chunk-7JWVPJIP.js} +10 -10
  35. package/dist/bundle/{chunk-FPUGMDJV.js → chunk-AV2ZJ4WX.js} +1 -1
  36. package/dist/bundle/{chunk-PCPOO5FS.js → chunk-AWJQ6FAX.js} +2 -2
  37. package/dist/bundle/{chunk-NKFEEY5M.js → chunk-B2WBWKYN.js} +12 -12
  38. package/dist/bundle/{chunk-52ZQ72HL.js → chunk-BQBC2WIG.js} +1 -1
  39. package/dist/bundle/{chunk-2GI63IPV.js → chunk-BZXHJKKI.js} +3 -3
  40. package/dist/bundle/{chunk-3QPAD6YI.js → chunk-C4BBCSGK.js} +43 -64
  41. package/dist/bundle/{chunk-CWXOXIWS.js → chunk-CFQQTDSA.js} +1 -1
  42. package/dist/bundle/{chunk-OLMEJNL4.js → chunk-D26K6756.js} +6 -6
  43. package/dist/bundle/{chunk-DI5JX4SD.js → chunk-D7CDHBDX.js} +1 -1
  44. package/dist/bundle/{chunk-Y4UDPQ3L.js → chunk-DMJLJVD3.js} +7 -7
  45. package/dist/bundle/{chunk-LCCVEX4R.js → chunk-EEBSKMEA.js} +12 -12
  46. package/dist/bundle/{chunk-DQVCCO7G.js → chunk-EPASOAEI.js} +184 -165
  47. package/dist/bundle/{chunk-RUE3WP7K.js → chunk-EWEQ7AXL.js} +45 -23
  48. package/dist/bundle/{chunk-4T3J4NCF.js → chunk-F2J2FQUB.js} +9 -9
  49. package/dist/bundle/{chunk-TP7GDWVF.js → chunk-F5ZAN7OC.js} +1 -1
  50. package/dist/bundle/{chunk-DFCHHR5M.js → chunk-FMMYBVCH.js} +1 -1
  51. package/dist/bundle/{chunk-XAOSZGTD.js → chunk-FXCR4DGU.js} +1 -1
  52. package/dist/bundle/{chunk-M5FW654Z.js → chunk-FXZPAGHT.js} +2 -2
  53. package/dist/bundle/{chunk-5KEOCHBZ.js → chunk-G3DWMG7Y.js} +4 -4
  54. package/dist/bundle/{chunk-FKA7DOCK.js → chunk-GCAJW4SR.js} +1 -1
  55. package/dist/bundle/chunk-GDRFVBCB.js +108 -0
  56. package/dist/bundle/{chunk-WE4UFASG.js → chunk-GPRJXJC7.js} +15 -1
  57. package/dist/bundle/chunk-GW2A2FJH.js +209 -0
  58. package/dist/bundle/{chunk-2N57GL4L.js → chunk-HHQROAJQ.js} +1 -1
  59. package/dist/bundle/{chunk-M4RXPZ6K.js → chunk-HIFPHARA.js} +4 -4
  60. package/dist/bundle/{chunk-O3DYRCIT.js → chunk-HVXOA4FO.js} +1 -1
  61. package/dist/bundle/{chunk-ONJPUFLX.js → chunk-IBYGNUO7.js} +1 -1
  62. package/dist/bundle/{chunk-2W6QGFHF.js → chunk-IDUKCXL7.js} +8 -8
  63. package/dist/bundle/{chunk-FO5UNFFN.js → chunk-IFM4G4MT.js} +4 -4
  64. package/dist/bundle/chunk-IVZACJ6X.js +52 -0
  65. package/dist/bundle/{chunk-XIHENZW6.js → chunk-IYNICUCC.js} +4 -4
  66. package/dist/bundle/chunk-J5EHZBO5.js +68 -0
  67. package/dist/bundle/{chunk-FIJREKLA.js → chunk-JK24A3RP.js} +3 -3
  68. package/dist/bundle/{chunk-73L5R7AS.js → chunk-JKEMW6E4.js} +2 -2
  69. package/dist/bundle/{chunk-PP6SZLCY.js → chunk-K7CTCDYX.js} +18 -249
  70. package/dist/bundle/{chunk-63WT3HCY.js → chunk-KZ3B6HW5.js} +3 -3
  71. package/dist/bundle/{chunk-XDBGGOE2.js → chunk-L2ERFXB7.js} +32 -28
  72. package/dist/bundle/{chunk-2IPIBDXI.js → chunk-L54I45OX.js} +19 -16
  73. package/dist/bundle/{chunk-X2M6NIQG.js → chunk-LECMHK2F.js} +1 -1
  74. package/dist/bundle/{chunk-NQMHYLZO.js → chunk-LGESUPKO.js} +20 -20
  75. package/dist/bundle/{chunk-SGFNQFP4.js → chunk-LVCCZI5A.js} +71 -61
  76. package/dist/bundle/chunk-M7OYEMLI.js +340 -0
  77. package/dist/bundle/{chunk-VX6ZSKXM.js → chunk-MA4UJNUI.js} +12 -12
  78. package/dist/bundle/{chunk-4S7RUA3U.js → chunk-MBBR7QHI.js} +9333 -8433
  79. package/dist/bundle/{chunk-BNEJKGG7.js → chunk-N5ROXGY4.js} +78 -76
  80. package/dist/bundle/{chunk-2LJARGNG.js → chunk-N62P5FY4.js} +12 -12
  81. package/dist/bundle/{chunk-65DOVVHQ.js → chunk-NM5XMKWO.js} +1 -1
  82. package/dist/bundle/{chunk-YOBTKYIX.js → chunk-NQGGTO3B.js} +35 -12
  83. package/dist/bundle/{chunk-W5HRTC6X.js → chunk-NS3JWBDR.js} +6 -6
  84. package/dist/bundle/{chunk-QIK2IBJ4.js → chunk-NX3BLISW.js} +23 -7
  85. package/dist/bundle/{chunk-4BQN5IFQ.js → chunk-OEQNP56V.js} +2 -100
  86. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  87. package/dist/bundle/{chunk-AWLZZTPW.js → chunk-PS7HQ5LQ.js} +3 -3
  88. package/dist/bundle/{chunk-J62BQBVG.js → chunk-Q26UFIH4.js} +3 -3
  89. package/dist/bundle/{chunk-QRKSASGP.js → chunk-QFK52FG6.js} +3 -3
  90. package/dist/bundle/chunk-QNG27PGH.js +751 -0
  91. package/dist/bundle/{chunk-T6LA664Z.js → chunk-R4CXFYQN.js} +139 -574
  92. package/dist/bundle/{chunk-OZQSTX4J.js → chunk-R6HP2XKD.js} +5 -5
  93. package/dist/bundle/{chunk-GTUBQQU2.js → chunk-RQFRXUI4.js} +77 -67
  94. package/dist/bundle/{chunk-BTFPDS52.js → chunk-RRYHLP3A.js} +6 -6
  95. package/dist/bundle/{chunk-HOXBHGP2.js → chunk-SRUAUMBL.js} +12 -12
  96. package/dist/bundle/{chunk-RJ5JAYNZ.js → chunk-T2BHIC37.js} +65 -65
  97. package/dist/bundle/{chunk-JJGUHWLB.js → chunk-T7QPZYRZ.js} +7 -7
  98. package/dist/bundle/{chunk-NI7UYGTF.js → chunk-TI4WJOEX.js} +13 -13
  99. package/dist/bundle/{chunk-ST3ZB7LS.js → chunk-UHMJSSQO.js} +1 -1
  100. package/dist/bundle/{chunk-BOVYOUB3.js → chunk-UMPUY77T.js} +10 -10
  101. package/dist/bundle/{chunk-U7QXC75C.js → chunk-UPR2S5IE.js} +9 -9
  102. package/dist/bundle/chunk-UUVWAVKN.js +80 -0
  103. package/dist/bundle/{chunk-2OTETB4A.js → chunk-V3ZTAAJ6.js} +19 -9
  104. package/dist/bundle/{chunk-QX3PO5UE.js → chunk-VAW7QGJA.js} +3 -3
  105. package/dist/bundle/{chunk-N5O3XVX3.js → chunk-VQTYJ6XH.js} +3 -3
  106. package/dist/bundle/{chunk-YCW422X7.js → chunk-VXD65V67.js} +1466 -1544
  107. package/dist/bundle/{chunk-D264RGZ4.js → chunk-WHXYPLUE.js} +4 -4
  108. package/dist/bundle/chunk-WIX6BFRF.js +353 -0
  109. package/dist/bundle/{chunk-P4WHDL2F.js → chunk-WKNYNK7W.js} +4 -4
  110. package/dist/bundle/{chunk-PJFVE7UH.js → chunk-XWKUGAG6.js} +31 -16
  111. package/dist/bundle/{chunk-W7HM2VGO.js → chunk-XYQVVW4R.js} +1 -1
  112. package/dist/bundle/{chunk-RMX2WPWS.js → chunk-Y7XJA4EW.js} +4 -4
  113. package/dist/bundle/{chunk-Z3CPZ4I4.js → chunk-YIIGF643.js} +306 -306
  114. package/dist/bundle/{chunk-525BI32C.js → chunk-YISJJNXT.js} +3 -3
  115. package/dist/bundle/{chunk-AZB6QXZU.js → chunk-YJKXCINQ.js} +51 -4
  116. package/dist/bundle/{chunk-IIFRJV3A.js → chunk-YNWBRDBX.js} +2 -2
  117. package/dist/bundle/{chunk-ZPZT46O6.js → chunk-YRDQ54G5.js} +33 -10
  118. package/dist/bundle/{chunk-W53EJOFQ.js → chunk-YUDVRFXN.js} +1 -1
  119. package/dist/bundle/{chunk-ND7TBQKO.js → chunk-ZFRYFDZN.js} +2 -2
  120. package/dist/bundle/{chunk-XEIL6VNA.js → chunk-ZLYICF6A.js} +4 -4
  121. package/dist/bundle/{chunk-7DTWT7BN.js → chunk-ZMAPXIGC.js} +2 -2
  122. package/dist/bundle/{chunk-ZKVYV25H.js → chunk-ZNAX7GUV.js} +8 -8
  123. package/dist/bundle/{cli-AVQU63FT.js → cli-WTGAGSXV.js} +144 -97
  124. package/dist/bundle/command-contract-3IKVWPDL.js +45 -0
  125. package/dist/bundle/{command-server-entry-JZP7Y73G.js → command-server-entry-47CAYN3E.js} +35 -35
  126. package/dist/bundle/config-ZOGOKGTU.js +116 -0
  127. package/dist/bundle/{decode-JLAYH7GC.js → decode-2G7QS5IQ.js} +6 -6
  128. package/dist/bundle/{dispatch-AWDROXWN.js → dispatch-ZAP3KBVJ.js} +9 -9
  129. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  130. package/dist/bundle/{dist-TBLTUL5M.js → dist-WY6R3WH7.js} +21 -21
  131. package/dist/bundle/{echarts-FVTUDXDU.js → echarts-YRRVLEX3.js} +2 -2
  132. package/dist/bundle/{embed-CJRENDF7.js → embed-B5H3OW2O.js} +7 -7
  133. package/dist/bundle/{embedder-RPE67QJD.js → embedder-3O73SP6Y.js} +10 -10
  134. package/dist/bundle/{failure-JZW73RP7.js → failure-EYGW7JMC.js} +3 -3
  135. package/dist/bundle/first-run-MPKMDEMA.js +29 -0
  136. package/dist/bundle/first-screen-AIAAC3KF.js +45 -0
  137. package/dist/bundle/{folders-TGFOE7DY.js → folders-4CGFWM6H.js} +5 -5
  138. package/dist/bundle/{instructions-HET7BCYK.js → instructions-AG7SRWTR.js} +1 -1
  139. package/dist/bundle/{main-QRJ6NRCD.js → main-DOGY6FJP.js} +24 -24
  140. package/dist/bundle/{mcp-RGNRW77S.js → mcp-YGOAUNC3.js} +2 -2
  141. package/dist/bundle/meeting-combined-YKPKTKGA.js +26 -0
  142. package/dist/bundle/meeting-model-HTXSGHNM.js +26 -0
  143. package/dist/bundle/{meeting-semantic-4MURLQCA.js → meeting-semantic-FOEBWV3P.js} +8 -8
  144. package/dist/bundle/{meetings-QFZWKHI4.js → meetings-PVE4C2NF.js} +7 -7
  145. package/dist/bundle/{node-CXZIFHZC.js → node-GJQYN4FT.js} +2 -2
  146. package/dist/bundle/{node-sqlite-CZPYFROO.js → node-sqlite-MLRYKVCQ.js} +8 -8
  147. package/dist/bundle/oauth-AC55C6SG.js +20 -0
  148. package/dist/bundle/{open-3AONZFET.js → open-3LGTYP6M.js} +6 -6
  149. package/dist/bundle/openai-E2MSLVIX.js +28 -0
  150. package/dist/bundle/{output-file-J4SU6X4I.js → output-file-FXMTTLOI.js} +6 -6
  151. package/dist/bundle/{process-5RUXWGYS.js → process-MEKCZMX3.js} +1 -1
  152. package/dist/bundle/{program-2O4YSRWY.js → program-E5BSSIGY.js} +166 -156
  153. package/dist/bundle/{prompt-NDLUFCJV.js → prompt-AIA6QSZK.js} +6 -6
  154. package/dist/bundle/{recognize-CZOIAJQX.js → recognize-M57VNTEV.js} +5 -5
  155. package/dist/bundle/{remote-O3CE4Q3B.js → remote-3OTENZ7Z.js} +11 -11
  156. package/dist/bundle/{rerank-MZOL746K.js → rerank-P5WHDFDU.js} +8 -8
  157. package/dist/bundle/run-log-EOQ4EQDS.js +143 -0
  158. package/dist/bundle/{serve-43IBHMFM.js → serve-BRLC2QVV.js} +11 -11
  159. package/dist/bundle/{server-6LTMPPTO.js → server-25NF7DMS.js} +80 -69
  160. package/dist/bundle/server-EW2RL2EL.js +93 -0
  161. package/dist/bundle/{services-UIRD5PHE.js → services-MJE43OGD.js} +54 -52
  162. package/dist/bundle/{speech-6QVKIJVR.js → speech-4AVCWTQH.js} +28 -28
  163. package/dist/bundle/{sqlite-runtime-PKCIBVHZ.js → sqlite-runtime-U4TQXWMC.js} +7 -7
  164. package/dist/bundle/{state-AC55V3IE.js → state-GNUGVMY7.js} +7 -7
  165. package/dist/bundle/{store-OAGA2ZK3.js → store-KBFZVQWF.js} +33 -24
  166. package/dist/bundle/{store-QOCYJNKX.js → store-MHVBFUBB.js} +27 -26
  167. package/dist/bundle/store-connection-SKRUAI4L.js +109 -0
  168. package/dist/bundle/store-maintenance-command-G6EXJSHJ.js +81 -0
  169. package/dist/bundle/{streaming-VDJOYGMO.js → streaming-6F7AFEHD.js} +7 -7
  170. package/dist/bundle/surface-DWEWB5RG.js +79 -0
  171. package/dist/bundle/{tokens-LN442AO6.js → tokens-BB4MQBLH.js} +11 -10
  172. package/dist/bundle/zm.js +9 -9
  173. package/dist/bundle/{zoom-app-TOCQ7LB5.js → zoom-app-YTGOZ2FS.js} +8 -8
  174. package/dist/commands.d.ts +1 -0
  175. package/dist/commands.d.ts.map +1 -1
  176. package/dist/commands.js +8 -2
  177. package/dist/commands.js.map +1 -1
  178. package/dist/program-bindings.d.ts.map +1 -1
  179. package/dist/program-bindings.js +2 -2
  180. package/dist/program-bindings.js.map +1 -1
  181. package/dist/setup-commands.d.ts +1 -1
  182. package/dist/setup-commands.d.ts.map +1 -1
  183. package/dist/setup-commands.js +31 -5
  184. package/dist/setup-commands.js.map +1 -1
  185. package/dist/version.d.ts +1 -1
  186. package/dist/version.js +1 -1
  187. package/dist/zoom-api/types.d.ts +5 -0
  188. package/dist/zoom-api/types.d.ts.map +1 -1
  189. package/package.json +3 -3
  190. package/dist/bundle/answer-policy-VJK4ID2F.js +0 -122
  191. package/dist/bundle/chunk-3AFZ6Q5N.js +0 -729
  192. package/dist/bundle/command-contract-MCWBL5VS.js +0 -45
  193. package/dist/bundle/config-G3C54VH6.js +0 -109
  194. package/dist/bundle/first-run-QEASX5J5.js +0 -29
  195. package/dist/bundle/first-screen-NGCQD3CU.js +0 -45
  196. package/dist/bundle/meeting-combined-AZXCDXCV.js +0 -26
  197. package/dist/bundle/meeting-model-7HNQ4I3J.js +0 -26
  198. package/dist/bundle/oauth-T45MPIZF.js +0 -20
  199. package/dist/bundle/openai-LHWUXEBO.js +0 -28
  200. package/dist/bundle/run-log-GX6LNMWY.js +0 -136
  201. package/dist/bundle/server-3E2PJGYK.js +0 -85
  202. package/dist/bundle/store-connection-PBZMFY56.js +0 -102
  203. package/dist/bundle/store-maintenance-command-VBCHEOGI.js +0 -77
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference,
5
5
  parseMeetingReference
6
- } from "./chunk-RJ5JAYNZ.js";
6
+ } from "./chunk-T2BHIC37.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-ST3ZB7LS.js";
9
+ } from "./chunk-UHMJSSQO.js";
10
10
  import {
11
11
  singleLine
12
- } from "./chunk-5RVXXDN7.js";
12
+ } from "./chunk-2GNGR265.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/money.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/money.js
18
18
  var CURRENCY_SCALES = {
19
19
  AED: 2,
20
20
  AMD: 2,
@@ -108,7 +108,7 @@ var quantityOf = /* @__PURE__ */ __name((text) => {
108
108
  }, "quantityOf");
109
109
  var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
110
110
 
111
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/deals.js
111
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/deals.js
112
112
  var DEAL_KINDS = ["deal", "lead"];
113
113
  var DEAL_STATUSES = ["open", "won", "lost"];
114
114
  var STAGE_OUTCOMES = DEAL_STATUSES;
@@ -118,7 +118,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
118
118
  return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
119
119
  }, "dealLine");
120
120
 
121
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/finance.js
121
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/finance.js
122
122
  var INVOICE_DIRECTIONS = ["receivable", "payable"];
123
123
  var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
124
124
  var MONEY_DIRECTIONS = ["in", "out"];
@@ -147,7 +147,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
147
147
  var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
148
148
  var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
149
149
 
150
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/orders.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/orders.js
151
151
  var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
152
152
  var ORDER_PURPOSES = ["personal", "business", "client", "other"];
153
153
  var orderLine = /* @__PURE__ */ __name((order) => {
@@ -158,7 +158,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
158
158
  }, "orderLine");
159
159
  var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
160
160
 
161
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/relations.js
161
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/relations.js
162
162
  var ORGANIZATION_ROLES = [
163
163
  "employee",
164
164
  "contractor",
@@ -265,7 +265,7 @@ var KEYED = "kind IN ('member-of', 'related-to', 'reports-to', 'customer-of', 'p
265
265
  var notOverriddenSql = /* @__PURE__ */ __name((alias) => `NOT EXISTS (SELECT 1 FROM links override WHERE ${KEYED} AND override.kind = ${alias}.kind AND override.from_type = ${alias}.from_type AND override.from_id = ${alias}.from_id AND override.to_type = ${alias}.to_type AND override.to_id = ${alias}.to_id AND json_extract(override.metadata, '$.overrides') = ${alias}.id)`, "notOverriddenSql");
266
266
  var usableLinkSql = /* @__PURE__ */ __name((alias, now) => `(${alias}.confirmed = 1 OR (${alias}.account_id IS NOT NULL AND ${alias}.deleted_at IS NULL))` + (now === void 0 ? "" : ` AND (${alias}.ends_at IS NULL OR ${alias}.ends_at > ${Math.trunc(now)})`), "usableLinkSql");
267
267
 
268
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/crm.js
268
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/crm.js
269
269
  var CRM_KINDS = ["organization", "person", "deal", "lead"];
270
270
  var CRM_ACTIVITY_KINDS = ["call", "email", "meeting", "todo", "task", "comment", "other"];
271
271
  var isCrmUserId = /* @__PURE__ */ __name((id) => /^\d{1,20}$/.test(id), "isCrmUserId");
@@ -275,7 +275,7 @@ var normalCrmUserId = /* @__PURE__ */ __name((id) => {
275
275
  }, "normalCrmUserId");
276
276
  var isItemKind = /* @__PURE__ */ __name((kind2) => kind2 === "deal" || kind2 === "lead", "isItemKind");
277
277
 
278
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/business.js
278
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/business.js
279
279
  var CATALOG_KINDS = ["product", "service"];
280
280
  var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
281
281
  var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
@@ -304,7 +304,7 @@ var subscriptionLine = /* @__PURE__ */ __name((subscription) => `${subscription.
304
304
  var walletLine = /* @__PURE__ */ __name((wallet) => `${wallet.name} \xB7 ${wallet.kind}, ${wallet.currency}${wallet.numberHint === null ? "" : `, \u2026${wallet.numberHint}`}` + notes(wallet.closed ? "closed" : null), "walletLine");
305
305
  var transactionLine = /* @__PURE__ */ __name((transaction) => `${moneyLabel(transaction.amount, transaction.currency)} ${transaction.direction}${transaction.label === null ? "" : ` \xB7 ${transaction.label}`}, ${dayMonth(transaction.date)}` + notes(transaction.status === "pending" ? "pending" : null, pending(transaction.review)), "transactionLine");
306
306
 
307
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/locator.js
307
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/locator.js
308
308
  var SCHEME = "msg:";
309
309
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
310
310
  var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
@@ -325,7 +325,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
325
325
  return { provider, account, chat, message };
326
326
  }, "parseLocator");
327
327
 
328
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/references.js
328
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/references.js
329
329
  var SIMPLE_REFERENCES = [
330
330
  "note",
331
331
  "document",
@@ -488,7 +488,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text) => {
488
488
  return match !== null && byPrefix.has(match[1]);
489
489
  }, "looksLikeReference");
490
490
 
491
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/providers.js
491
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/providers.js
492
492
  var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
493
493
  var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
494
494
  var CRM_OPENS = { deal: "deals show", lead: "leads show", pipeline: "pipelines show" };
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.109.0_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.124.0_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",
@@ -2,41 +2,41 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  encodeWav
5
- } from "./chunk-525BI32C.js";
5
+ } from "./chunk-YISJJNXT.js";
6
6
  import {
7
7
  SAMPLE_RATE,
8
8
  toModelRate
9
- } from "./chunk-P4WHDL2F.js";
9
+ } from "./chunk-WKNYNK7W.js";
10
10
  import {
11
11
  OPENAI_URL,
12
12
  refuseModelAddress
13
- } from "./chunk-4T3J4NCF.js";
13
+ } from "./chunk-F2J2FQUB.js";
14
14
  import {
15
15
  endpointFetch,
16
16
  onThisComputer
17
- } from "./chunk-HVQVCGME.js";
17
+ } from "./chunk-77TJ3AJH.js";
18
18
  import {
19
19
  providerWaitMs
20
- } from "./chunk-QIK2IBJ4.js";
20
+ } from "./chunk-NX3BLISW.js";
21
21
  import {
22
22
  OPENAI_TRANSCRIBE_MODEL,
23
23
  VAD,
24
24
  filesPresent,
25
25
  modelsDirectory,
26
26
  vadPath
27
- } from "./chunk-5KEOCHBZ.js";
27
+ } from "./chunk-G3DWMG7Y.js";
28
28
  import {
29
29
  DEFAULT_RETRY,
30
30
  backoffMs
31
- } from "./chunk-BNEJKGG7.js";
31
+ } from "./chunk-N5ROXGY4.js";
32
32
  import {
33
33
  CliError
34
- } from "./chunk-ST3ZB7LS.js";
34
+ } from "./chunk-UHMJSSQO.js";
35
35
  import {
36
36
  __name
37
37
  } from "./chunk-ZVVMGPBJ.js";
38
38
 
39
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/speech/openai.js
39
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/speech/openai.js
40
40
  import { setTimeout as wait } from "node:timers/promises";
41
41
  var LONGEST_REQUEST_SECONDS = 600;
42
42
  var JOINED_SECONDS = 0.2;
@@ -161,7 +161,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
161
161
  return pieces;
162
162
  }, "piecesOf");
163
163
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
164
- const { openSpeechCutter } = await import("./recognize-CZOIAJQX.js");
164
+ const { openSpeechCutter } = await import("./recognize-M57VNTEV.js");
165
165
  return openSpeechCutter(vadModel);
166
166
  }, "openCutter");
167
167
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
@@ -6,28 +6,28 @@ import {
6
6
  QUERY_LIMITS,
7
7
  SEARCH_QUERY,
8
8
  searchError
9
- } from "./chunk-I75KOOUD.js";
9
+ } from "./chunk-46EF6P2J.js";
10
10
  import {
11
11
  tagOf
12
- } from "./chunk-63WT3HCY.js";
12
+ } from "./chunk-KZ3B6HW5.js";
13
13
  import {
14
14
  parseLucene,
15
15
  queryAstSchema,
16
16
  validateQuery,
17
17
  walkQuery
18
- } from "./chunk-Z3CPZ4I4.js";
18
+ } from "./chunk-YIIGF643.js";
19
19
  import {
20
20
  safeParse
21
- } from "./chunk-ZPZT46O6.js";
21
+ } from "./chunk-YRDQ54G5.js";
22
22
  import {
23
23
  CliError,
24
24
  isCliError
25
- } from "./chunk-ST3ZB7LS.js";
25
+ } from "./chunk-UHMJSSQO.js";
26
26
  import {
27
27
  __name
28
28
  } from "./chunk-ZVVMGPBJ.js";
29
29
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/lucene/registry.js
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/search/lucene/registry.js
31
31
  var FIELD_VERSION = 2;
32
32
  var UNITS = {
33
33
  "": 1,
@@ -607,7 +607,7 @@ var QUERY_OPERATORS = [
607
607
  { name: "boost / minimum / intervals", example: "invoice^2", semantics: "query.unsupported-operator" }
608
608
  ];
609
609
 
610
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/lucene/plain.js
610
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/search/lucene/plain.js
611
611
  var REPAIRED = /* @__PURE__ */ new Set([
612
612
  "query.invalid-syntax",
613
613
  "query.unclosed-literal",
@@ -651,7 +651,7 @@ var literal = /* @__PURE__ */ __name((word, keepParens, fields) => {
651
651
  const prefix = FIELD_PREFIX.exec(word);
652
652
  const field = prefix && fields.has(prefix[1] ?? "") ? prefix[0] : "";
653
653
  const rest = word.slice(field.length);
654
- const opening = keepParens ? /^[(+-]*/u.exec(rest)?.[0] ?? "" : "";
654
+ const opening = keepParens ? (field ? /^\(*/u : /^[(+-]*/u).exec(rest)?.[0] ?? "" : "";
655
655
  const closing = keepParens ? /\)*$/u.exec(rest.slice(opening.length))?.[0] ?? "" : "";
656
656
  const body = rest.slice(opening.length, rest.length - closing.length);
657
657
  if (!body)
@@ -750,7 +750,7 @@ var plainQuery = /* @__PURE__ */ __name((text, fields = SEARCH_FIELDS) => {
750
750
  return text;
751
751
  }, "plainQuery");
752
752
 
753
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/fusion.js
753
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/search/fusion.js
754
754
  var RRF_K = 60;
755
755
  var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
756
756
  const rows = lists.flatMap((list) => list.map((item, rank) => ({ item, vote: 1 / (RRF_K + rank + 1), ...facts(item) })));
@@ -0,0 +1,80 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ timezoneOf,
5
+ zonedMoment
6
+ } from "./chunk-YIIGF643.js";
7
+ import {
8
+ CliError
9
+ } from "./chunk-UHMJSSQO.js";
10
+ import {
11
+ __name
12
+ } from "./chunk-ZVVMGPBJ.js";
13
+
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/moment.js
15
+ var calendarMoment = /* @__PURE__ */ __name((wanted, flag, { zone, end = false } = {}) => {
16
+ try {
17
+ return zonedMoment(wanted, timezoneOf(zone), { start: 0, end: wanted.length }, { end });
18
+ } catch (error) {
19
+ if (!(error instanceof CliError))
20
+ throw error;
21
+ const alternative = error.details?.alternative;
22
+ throw new CliError("validation_error", `${flag}: "${wanted}" is not a time${alternative ? ` \u2014 ${alternative}` : ""}`);
23
+ }
24
+ }, "calendarMoment");
25
+ var dayIn = /* @__PURE__ */ __name((at, zone) => new Intl.DateTimeFormat("en-CA", { timeZone: zone, year: "numeric", month: "2-digit", day: "2-digit" }).format(at), "dayIn");
26
+ var MINUTE = 6e4;
27
+ var YEAR = 365 * 24 * 60 * MINUTE;
28
+ var RELATIVE = /^(\d+)(m|h|d)$/;
29
+ var RELATIVE_MS = { m: MINUTE, h: 60 * MINUTE, d: 24 * 60 * MINUTE };
30
+ var DATE_ALONE = /^\d{4}-\d{2}-\d{2}$/;
31
+ var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
32
+ var dayWord = /* @__PURE__ */ __name((word, zone, now) => {
33
+ const today = new Intl.DateTimeFormat("en-CA", { timeZone: zone }).format(now);
34
+ if (word === "today")
35
+ return today;
36
+ const date = /* @__PURE__ */ new Date(`${today}T00:00:00Z`);
37
+ date.setUTCDate(date.getUTCDate() - 1);
38
+ return date.toISOString().slice(0, 10);
39
+ }, "dayWord");
40
+ var readMoment = /* @__PURE__ */ __name((typed, flag, { zone, end = false, now = Date.now(), direction = -1 } = {}) => {
41
+ const wanted = typed.trim();
42
+ const [, amount, unit] = RELATIVE.exec(wanted) ?? [];
43
+ if (amount && unit)
44
+ return { time: now + direction * Number(amount) * (RELATIVE_MS[unit] ?? 0), local: false, dateAlone: false };
45
+ const word = wanted.toLowerCase();
46
+ const date = word === "today" || word === "yesterday" ? dayWord(word, timezoneOf(zone), now) : wanted;
47
+ if (!/^\d{4}-\d{2}-\d{2}/.test(date))
48
+ return void 0;
49
+ const iso = date.replace(/^(\d{4}-\d{2}-\d{2}) +(?=\d)/, "$1T");
50
+ return {
51
+ time: calendarMoment(iso, flag, { ...zone === void 0 ? {} : { zone }, end }),
52
+ local: !ZONED.test(iso),
53
+ dateAlone: DATE_ALONE.test(iso)
54
+ };
55
+ }, "readMoment");
56
+ var lead = /* @__PURE__ */ __name((ms) => ms === MINUTE ? "a minute" : ms === YEAR ? "a year" : `${Math.ceil(ms / MINUTE)} minutes`, "lead");
57
+ var aheadOf = /* @__PURE__ */ __name((reference, flag, now = Date.now(), options = {}) => {
58
+ const { refuseDate = false, soonest, latest, ...at } = options;
59
+ const read = readMoment(reference, flag, { ...at, now, direction: 1 });
60
+ if (read === void 0)
61
+ throw new CliError("validation_error", `${flag} takes an ISO 8601 time, today, or 30m, 2h, 3d from now \u2014 not "${reference.trim()}"`);
62
+ if (refuseDate && read.dateAlone)
63
+ throw new CliError("validation_error", DATE_ALONE.test(reference.trim()) ? `${flag} needs a time of day as well: ${reference.trim()}T09:00` : `${flag} needs a time of day as well, like 2026-11-20T09:00`);
64
+ if (soonest === 0 && read.time <= now)
65
+ throw new CliError("validation_error", `${flag} is in the past`);
66
+ if (soonest !== void 0 && soonest > 0 && read.time < now + soonest)
67
+ throw new CliError("validation_error", `${flag} has to be at least ${lead(soonest)} from now`);
68
+ if (latest !== void 0 && read.time > now + latest)
69
+ throw new CliError("validation_error", `${flag} can be at most ${lead(latest)} from now`);
70
+ return read.time;
71
+ }, "aheadOf");
72
+
73
+ export {
74
+ calendarMoment,
75
+ dayIn,
76
+ MINUTE,
77
+ YEAR,
78
+ readMoment,
79
+ aheadOf
80
+ };
@@ -5,23 +5,30 @@ import {
5
5
  fieldsOf,
6
6
  processStreams,
7
7
  projectFields
8
- } from "./chunk-BNEJKGG7.js";
8
+ } from "./chunk-N5ROXGY4.js";
9
9
  import {
10
10
  COMPACT_FLAG
11
- } from "./chunk-ZPZT46O6.js";
11
+ } from "./chunk-YRDQ54G5.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-ST3ZB7LS.js";
14
+ } from "./chunk-UHMJSSQO.js";
15
15
  import {
16
16
  singleLine
17
- } from "./chunk-5RVXXDN7.js";
17
+ } from "./chunk-2GNGR265.js";
18
18
  import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/sends/permissions.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/sends/permissions.js
23
23
  var LEVELS = ["deny", "readonly", "ask", "allow"];
24
- var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
24
+ var DANGEROUS = /* @__PURE__ */ new Set([
25
+ "messages.delete",
26
+ "messages.scheduled.cancel",
27
+ "bot.messages.delete",
28
+ "topics.delete",
29
+ "chats.delete",
30
+ "chats.clear"
31
+ ]);
25
32
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
26
33
  var DEFAULT_PERMISSIONS = {
27
34
  // Owner, 2026-11-14: deleting a message does not ask; a profile that wants the question sets `ask`.
@@ -242,6 +249,9 @@ var NAMED_WRITE_KEYS = [
242
249
  "messages.sync-first",
243
250
  "messages.server-search",
244
251
  "messages.press",
252
+ "messages.scheduled.cancel",
253
+ "messages.scheduled.edit",
254
+ "messages.scheduled.send",
245
255
  "chats.start",
246
256
  "chats.app",
247
257
  "stats.messages.counters.sync",
@@ -445,7 +455,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
445
455
  }
446
456
  }, "assertRetentionEvidenceRead");
447
457
 
448
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
458
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
449
459
  var named = /* @__PURE__ */ __name((work) => {
450
460
  try {
451
461
  return work();
@@ -472,7 +482,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
472
482
  return projectFields(value, fields);
473
483
  }), "projectFields");
474
484
 
475
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/output-detail.js
485
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/output-detail.js
476
486
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
477
487
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
478
488
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -508,7 +518,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
508
518
  return value;
509
519
  }, "atDetail");
510
520
 
511
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/output.js
521
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/output.js
512
522
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
513
523
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
514
524
  if (other)
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-XFMVDQ6J.js";
7
+ } from "./chunk-5EWYDHBH.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-ST3ZB7LS.js";
10
+ } from "./chunk-UHMJSSQO.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/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 EMPTY_TRIES = 3;
@@ -5,7 +5,7 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-RUE3WP7K.js";
8
+ } from "./chunk-EWEQ7AXL.js";
9
9
  import {
10
10
  array,
11
11
  nullable,
@@ -16,9 +16,9 @@ import {
16
16
  strictObject,
17
17
  string,
18
18
  unknown
19
- } from "./chunk-ZPZT46O6.js";
19
+ } from "./chunk-YRDQ54G5.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/note.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/note.js
22
22
  var link = {
23
23
  target_text: nullable(text),
24
24
  kind: text,