@wirecat/zoom-cli 0.76.0 → 0.78.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 (219) hide show
  1. package/README.md +12 -11
  2. package/contracts/wirecat.json +53 -105
  3. package/dist/answer-entities.d.ts +1 -141
  4. package/dist/answer-entities.d.ts.map +1 -1
  5. package/dist/answer-entities.js +0 -31
  6. package/dist/answer-entities.js.map +1 -1
  7. package/dist/api.d.ts +18 -1
  8. package/dist/api.d.ts.map +1 -1
  9. package/dist/api.js +179 -54
  10. package/dist/api.js.map +1 -1
  11. package/dist/archive-commands.d.ts +0 -3
  12. package/dist/archive-commands.d.ts.map +1 -1
  13. package/dist/archive-commands.js +1 -54
  14. package/dist/archive-commands.js.map +1 -1
  15. package/dist/bin/zm.js +2 -2
  16. package/dist/bundle/{all-profiles-AAMFP7IN.js → all-profiles-7JN3N3E6.js} +11 -11
  17. package/dist/bundle/answer-policy-G2BNMPEX.js +122 -0
  18. package/dist/bundle/{anthropic-6KIS53QB.js → anthropic-U6O7UYGZ.js} +6 -6
  19. package/dist/bundle/{app-server-6QYNNYEU.js → app-server-G7BTC6CE.js} +78 -68
  20. package/dist/bundle/{bun-QVVCH4MJ.js → bun-VLROVUFK.js} +2 -2
  21. package/dist/bundle/{bun-sqlite-Y2ZFMNQ3.js → bun-sqlite-C5JLANDE.js} +7 -7
  22. package/dist/bundle/{chunk-25GMFXPF.js → chunk-2AWWMROP.js} +3244 -3674
  23. package/dist/bundle/{chunk-YESHGC3M.js → chunk-2LMD3JUD.js} +2 -2
  24. package/dist/bundle/{chunk-LGBLYFKI.js → chunk-2O66KMOR.js} +6 -2
  25. package/dist/bundle/{chunk-JADBHKBP.js → chunk-2USGT7LE.js} +1 -1
  26. package/dist/bundle/{chunk-M7WYBGQT.js → chunk-3A3B3JX4.js} +8 -8
  27. package/dist/bundle/{chunk-RJK5ADMH.js → chunk-3NZJKY7A.js} +103 -42
  28. package/dist/bundle/chunk-3QWYRZME.js +773 -0
  29. package/dist/bundle/{chunk-D2TGXSHQ.js → chunk-4QCLPSJ7.js} +5 -5
  30. package/dist/bundle/{chunk-XC4V6YCS.js → chunk-4XPVRZXE.js} +1 -1
  31. package/dist/bundle/{chunk-EZJSAYWZ.js → chunk-532FNLON.js} +31 -87
  32. package/dist/bundle/{chunk-QLUU3BV2.js → chunk-53TV72JG.js} +6 -6
  33. package/dist/bundle/{chunk-VJANMYEC.js → chunk-5DLK4OXF.js} +3 -3
  34. package/dist/bundle/chunk-5SM2IOAS.js +389 -0
  35. package/dist/bundle/{chunk-65VRWNDP.js → chunk-6MFEWAK4.js} +4 -4
  36. package/dist/bundle/{chunk-IUSY4ZJK.js → chunk-6NTNAEZF.js} +2379 -2114
  37. package/dist/bundle/{chunk-DQHS336B.js → chunk-7AMKSXMB.js} +7 -6
  38. package/dist/bundle/{chunk-IXPBSDKB.js → chunk-7EVB4UV7.js} +4 -4
  39. package/dist/bundle/chunk-7HEZQCHL.js +555 -0
  40. package/dist/bundle/{chunk-TYAFL66K.js → chunk-7IIQU5RA.js} +15 -31
  41. package/dist/bundle/{chunk-TK77DCE5.js → chunk-7K5O2VWO.js} +1 -1
  42. package/dist/bundle/{chunk-VG63EXRC.js → chunk-AEVSVVTP.js} +2 -2
  43. package/dist/bundle/chunk-B4V4DRVO.js +229 -0
  44. package/dist/bundle/{chunk-2HKUQ7DR.js → chunk-B6TUEQ4O.js} +3 -3
  45. package/dist/bundle/chunk-BAHXR4PA.js +259 -0
  46. package/dist/bundle/{chunk-ZFYNJERV.js → chunk-BGO7IEHY.js} +6 -6
  47. package/dist/bundle/{chunk-PFLJJQWW.js → chunk-BIUHLXL2.js} +54 -55
  48. package/dist/bundle/{chunk-5T7TBK5Y.js → chunk-C26V2XNV.js} +1 -1
  49. package/dist/bundle/chunk-C56OYYFG.js +170 -0
  50. package/dist/bundle/{chunk-MDTEAKA5.js → chunk-DLJPN47R.js} +8 -6
  51. package/dist/bundle/{chunk-FBVJGJDM.js → chunk-EV7QCFQR.js} +27 -574
  52. package/dist/bundle/{chunk-ORM73DZO.js → chunk-F2KZNAFF.js} +2 -2
  53. package/dist/bundle/{chunk-QY6GE7CL.js → chunk-F7IDYQLM.js} +2 -2
  54. package/dist/bundle/{chunk-WNXC42IU.js → chunk-FCGRXUAU.js} +9 -9
  55. package/dist/bundle/{chunk-ELW3LMJZ.js → chunk-FHOQWPQ6.js} +397 -157
  56. package/dist/bundle/{chunk-NQ356ERO.js → chunk-FMMCGQNT.js} +77 -10
  57. package/dist/bundle/{chunk-K3K3WKDB.js → chunk-FNLXFQN6.js} +1 -1
  58. package/dist/bundle/{chunk-YGKM2ZWF.js → chunk-FURKMNC2.js} +3 -3
  59. package/dist/bundle/{chunk-XRH2NKW4.js → chunk-FXHZHQKU.js} +6 -6
  60. package/dist/bundle/{chunk-GZYICXO4.js → chunk-GQ6EJDMV.js} +1 -1
  61. package/dist/bundle/{chunk-VABYJQYE.js → chunk-H34KEXTN.js} +24 -22
  62. package/dist/bundle/{chunk-HWYSJ4SL.js → chunk-H74NENWA.js} +3 -3
  63. package/dist/bundle/{chunk-Y2BGABXP.js → chunk-H7SRM26V.js} +3 -3
  64. package/dist/bundle/{chunk-VRA4RVQU.js → chunk-HGBZBQAE.js} +3 -3
  65. package/dist/bundle/{chunk-EZXW3ZCR.js → chunk-HI4QICF7.js} +12 -12
  66. package/dist/bundle/{chunk-LEVOI6Z3.js → chunk-HOJOVUO6.js} +14 -13
  67. package/dist/bundle/{chunk-XWQKRKMT.js → chunk-HUSIS3XO.js} +71 -252
  68. package/dist/bundle/chunk-IBINGDYF.js +335 -0
  69. package/dist/bundle/{chunk-55SWKR6Y.js → chunk-INJK7FNM.js} +337 -597
  70. package/dist/bundle/{chunk-CXHUOPN5.js → chunk-JOIAE3NO.js} +7 -7
  71. package/dist/bundle/{chunk-OFODCJ2A.js → chunk-KBTINKQF.js} +3 -3
  72. package/dist/bundle/{chunk-VCFSUGPE.js → chunk-KEAKNNXU.js} +4 -4
  73. package/dist/bundle/{chunk-XHVFX74L.js → chunk-LBTANUUH.js} +2 -2
  74. package/dist/bundle/chunk-LBV4673S.js +72 -0
  75. package/dist/bundle/chunk-LERF2FIK.js +295 -0
  76. package/dist/bundle/{chunk-UYZDH5LK.js → chunk-LX532BXO.js} +1 -1
  77. package/dist/bundle/{chunk-IVFNHIU4.js → chunk-M2M3U4UU.js} +81 -5
  78. package/dist/bundle/{chunk-JWMOHEDL.js → chunk-M5R2DURM.js} +10 -10
  79. package/dist/bundle/{chunk-4ERYXY4Y.js → chunk-MJMHUU3J.js} +1 -1
  80. package/dist/bundle/{chunk-GYTAHH5Y.js → chunk-MSMFYW6N.js} +2 -2
  81. package/dist/bundle/{chunk-X73YEFQE.js → chunk-MVLLWSV7.js} +20 -118
  82. package/dist/bundle/{chunk-RXUVXAMM.js → chunk-NO2LIHWA.js} +1 -1
  83. package/dist/bundle/{chunk-Y4WEAWU7.js → chunk-NS5XSCHC.js} +1 -1
  84. package/dist/bundle/{chunk-ZETM63M6.js → chunk-OAE6XR7E.js} +9 -60
  85. package/dist/bundle/{chunk-CS62FET6.js → chunk-OAYAGQ7C.js} +22 -22
  86. package/dist/bundle/{chunk-T2QVWRJF.js → chunk-OI4563JI.js} +39 -67
  87. package/dist/bundle/{chunk-WKT5RPSY.js → chunk-OOLNK3Y5.js} +8 -8
  88. package/dist/bundle/{chunk-EBIK5Q73.js → chunk-ORSTSBWU.js} +1 -1
  89. package/dist/bundle/{chunk-GB5LI5RM.js → chunk-P5QO7Y3H.js} +6 -6
  90. package/dist/bundle/{chunk-3D5PETD2.js → chunk-PJMQE4PW.js} +29 -9
  91. package/dist/bundle/{chunk-KEFDP6NL.js → chunk-Q4AKIAIA.js} +12 -12
  92. package/dist/bundle/{chunk-CPOFLYPU.js → chunk-Q4CNLEAY.js} +29 -29
  93. package/dist/bundle/{chunk-UAV74EY4.js → chunk-RJIJR6KH.js} +1 -1
  94. package/dist/bundle/{chunk-GPIQY4YB.js → chunk-TEFHNXXX.js} +14 -14
  95. package/dist/bundle/{chunk-FMJ4QSSU.js → chunk-TFDD4Q5Z.js} +10 -10
  96. package/dist/bundle/{chunk-HUHH25AG.js → chunk-TXDCIM5D.js} +3017 -1599
  97. package/dist/bundle/{chunk-FGRFIXG2.js → chunk-U2Z35B3W.js} +2 -2
  98. package/dist/bundle/{chunk-WZJ7ZYR4.js → chunk-UHBQM54J.js} +4 -4
  99. package/dist/bundle/{chunk-6VCQ4CTK.js → chunk-UIBKGH5P.js} +1 -1
  100. package/dist/bundle/{chunk-5EII5RIL.js → chunk-UKYO3HNO.js} +1 -1
  101. package/dist/bundle/{chunk-7RORMNKP.js → chunk-V53TIJLY.js} +2 -2
  102. package/dist/bundle/{chunk-OOYIPK4F.js → chunk-VMA7SILL.js} +1 -1
  103. package/dist/bundle/chunk-VW36ZSAE.js +88 -0
  104. package/dist/bundle/chunk-WEAMGNST.js +31 -0
  105. package/dist/bundle/{chunk-EPPE6ZTS.js → chunk-WJTXO2EI.js} +1 -1
  106. package/dist/bundle/{chunk-4JPOELCT.js → chunk-WOYPWXZK.js} +4 -4
  107. package/dist/bundle/{chunk-OINDAHXC.js → chunk-XCOGI4JE.js} +4 -4
  108. package/dist/bundle/{chunk-CE5Y7PQU.js → chunk-XOG7B7K5.js} +4 -4
  109. package/dist/bundle/chunk-XSF5OBVZ.js +224 -0
  110. package/dist/bundle/{chunk-B7ZREOBD.js → chunk-XXD4YPHQ.js} +12 -12
  111. package/dist/bundle/{chunk-35AH33VJ.js → chunk-YAPDU3SV.js} +1 -1
  112. package/dist/bundle/{chunk-R47GYLNN.js → chunk-YHQ3TEGB.js} +29 -27
  113. package/dist/bundle/{chunk-LOEK6IFQ.js → chunk-YLNUKNGD.js} +87 -35
  114. package/dist/bundle/{chunk-6SXCGS3A.js → chunk-YNYQGZUW.js} +7 -7
  115. package/dist/bundle/{chunk-OWZETMRE.js → chunk-YZKVCTZI.js} +8 -8
  116. package/dist/bundle/{chunk-UG2QDGAH.js → chunk-ZCVO6GAT.js} +1 -1
  117. package/dist/bundle/{chunk-YEBWRWE3.js → chunk-ZDZASHSQ.js} +17 -17
  118. package/dist/bundle/chunk-ZZJ5IWNT.js +101 -0
  119. package/dist/bundle/{cli-FHMLYHUZ.js → cli-YALONJ4V.js} +135 -84
  120. package/dist/bundle/command-contract-DMR5EOIN.js +45 -0
  121. package/dist/bundle/{command-server-entry-YEZM52R5.js → command-server-entry-W4XTBUZE.js} +35 -31
  122. package/dist/bundle/config-4TLDRXRL.js +109 -0
  123. package/dist/bundle/{decode-SIYRMJOK.js → decode-IFQHVCFX.js} +16 -8
  124. package/dist/bundle/{dispatch-SMER3WDX.js → dispatch-GOJB4TDK.js} +9 -9
  125. package/dist/bundle/{dist-BSJETSFE.js → dist-H7XFUMRX.js} +25 -22
  126. package/dist/bundle/{echarts-UZJ6AREV.js → echarts-HPUHPJCO.js} +2 -2
  127. package/dist/bundle/{embed-A7DSHVI7.js → embed-ESU3WZYW.js} +7 -7
  128. package/dist/bundle/{embedder-WQBR4UGS.js → embedder-BV6O76B3.js} +10 -10
  129. package/dist/bundle/{failure-73UQXQTW.js → failure-SWVCYFQX.js} +3 -3
  130. package/dist/bundle/first-run-OEJGAQAE.js +29 -0
  131. package/dist/bundle/first-screen-QLM4IABL.js +45 -0
  132. package/dist/bundle/{folders-BH4SV6SI.js → folders-VQGKBM3P.js} +5 -5
  133. package/dist/bundle/{instructions-SDDUBGH4.js → instructions-UUX57I3V.js} +1 -1
  134. package/dist/bundle/{main-KL4FN5F3.js → main-UIKADOFB.js} +24 -24
  135. package/dist/bundle/{mcp-GN4FTJX5.js → mcp-VMS6PBCU.js} +2 -2
  136. package/dist/bundle/meeting-combined-SKJISCC7.js +26 -0
  137. package/dist/bundle/meeting-model-YG3Z5KCB.js +26 -0
  138. package/dist/bundle/meeting-semantic-F6GUICB7.js +23 -0
  139. package/dist/bundle/{meetings-URPXBHV7.js → meetings-KIBUPLPW.js} +37 -7
  140. package/dist/bundle/{node-ELCNUOCE.js → node-AM3JCAWB.js} +2 -2
  141. package/dist/bundle/{node-sqlite-QLSNHZBM.js → node-sqlite-VM6VS3RU.js} +8 -8
  142. package/dist/bundle/{oauth-LZ64S7Y3.js → oauth-AX5Z32H6.js} +8 -8
  143. package/dist/bundle/{open-WB4HUPQT.js → open-SSGOOOZG.js} +6 -6
  144. package/dist/bundle/openai-YIP73X2B.js +28 -0
  145. package/dist/bundle/{output-file-AHPQA5LR.js → output-file-FR226A64.js} +6 -6
  146. package/dist/bundle/{process-67DAKAAQ.js → process-5ZEK2VFY.js} +1 -1
  147. package/dist/bundle/{program-CIMACIBE.js → program-ROJAJHCB.js} +424 -251
  148. package/dist/bundle/{prompt-GG53UBDJ.js → prompt-6Y7A4453.js} +6 -6
  149. package/dist/bundle/{recognize-CFJ3CAEH.js → recognize-R5W25WKH.js} +5 -5
  150. package/dist/bundle/{remote-BLEM7C3Q.js → remote-PA4FQUZK.js} +11 -11
  151. package/dist/bundle/{rerank-ERN6PC66.js → rerank-CYX3UFTM.js} +8 -8
  152. package/dist/bundle/run-log-FHERL3H6.js +136 -0
  153. package/dist/bundle/{serve-FJPPTJXH.js → serve-MM5QEZJW.js} +15 -15
  154. package/dist/bundle/{server-FLUSDUGM.js → server-JQQAH7E5.js} +64 -54
  155. package/dist/bundle/server-W2BBONCQ.js +85 -0
  156. package/dist/bundle/{services-LXC6DVUQ.js → services-Y2DOQONM.js} +85 -54
  157. package/dist/bundle/{speech-WFEZTKXA.js → speech-O6WLX34V.js} +34 -18
  158. package/dist/bundle/{sqlite-runtime-KN33VSP7.js → sqlite-runtime-LQTBZMFH.js} +7 -7
  159. package/dist/bundle/{state-TXS4ZHIT.js → state-AIDPZLVH.js} +7 -7
  160. package/dist/bundle/{store-ZUREZYZB.js → store-BA4FQS5V.js} +26 -20
  161. package/dist/bundle/{store-MUOXLVL4.js → store-UNDS2TBG.js} +30 -22
  162. package/dist/bundle/store-connection-ADBJ36T4.js +102 -0
  163. package/dist/bundle/store-maintenance-command-IB6ML4UI.js +77 -0
  164. package/dist/bundle/{streaming-ZSCHRC5S.js → streaming-UFHT5MR2.js} +7 -7
  165. package/dist/bundle/{tokens-YVDOY4EV.js → tokens-Z32UKGQB.js} +10 -10
  166. package/dist/bundle/zm.js +9 -9
  167. package/dist/bundle/{zoom-app-O6GIMB7Y.js → zoom-app-6U46XBTG.js} +8 -8
  168. package/dist/commands.d.ts.map +1 -1
  169. package/dist/commands.js +3 -0
  170. package/dist/commands.js.map +1 -1
  171. package/dist/first-screen.d.ts.map +1 -1
  172. package/dist/first-screen.js +3 -5
  173. package/dist/first-screen.js.map +1 -1
  174. package/dist/meeting-integration-commands.d.ts.map +1 -1
  175. package/dist/meeting-integration-commands.js +46 -28
  176. package/dist/meeting-integration-commands.js.map +1 -1
  177. package/dist/meeting-source.d.ts.map +1 -1
  178. package/dist/meeting-source.js +15 -1
  179. package/dist/meeting-source.js.map +1 -1
  180. package/dist/permissions.d.ts +8 -4
  181. package/dist/permissions.d.ts.map +1 -1
  182. package/dist/permissions.js +25 -24
  183. package/dist/permissions.js.map +1 -1
  184. package/dist/program-bindings.d.ts.map +1 -1
  185. package/dist/program-bindings.js +8 -5
  186. package/dist/program-bindings.js.map +1 -1
  187. package/dist/program.d.ts +2 -1
  188. package/dist/program.d.ts.map +1 -1
  189. package/dist/program.js.map +1 -1
  190. package/dist/remote-meetings.d.ts +38 -8
  191. package/dist/remote-meetings.d.ts.map +1 -1
  192. package/dist/remote-meetings.js +52 -29
  193. package/dist/remote-meetings.js.map +1 -1
  194. package/dist/run.js +1 -1
  195. package/dist/version.d.ts +1 -1
  196. package/dist/version.js +1 -1
  197. package/dist/zoom-app.d.ts.map +1 -1
  198. package/dist/zoom-app.js +1 -0
  199. package/dist/zoom-app.js.map +1 -1
  200. package/package.json +5 -4
  201. package/skills/zoom-cli/SKILL.md +88 -236
  202. package/skills/zoom-cli/references/archive.md +59 -0
  203. package/skills/zoom-cli/references/people-and-projects.md +51 -0
  204. package/skills/zoom-cli/references/prepare.md +78 -0
  205. package/skills/zoom-cli/references/search.md +71 -0
  206. package/skills/zoom-cli/references/setup.md +31 -0
  207. package/skills/zoom-cli/references/zoom-live.md +27 -0
  208. package/dist/bundle/answer-policy-ETAELI4A.js +0 -110
  209. package/dist/bundle/chunk-64N7MY3I.js +0 -161
  210. package/dist/bundle/command-contract-HUZ4I23S.js +0 -41
  211. package/dist/bundle/config-KVTWN7QZ.js +0 -97
  212. package/dist/bundle/first-run-SY6XSUZ3.js +0 -29
  213. package/dist/bundle/first-screen-ZDMODGWS.js +0 -39
  214. package/dist/bundle/openai-KN6JE4QU.js +0 -28
  215. package/dist/bundle/run-log-S67YPJF6.js +0 -124
  216. package/dist/bundle/server-UNJY3TSJ.js +0 -74
  217. package/dist/bundle/store-connection-NRNEBUPU.js +0 -90
  218. package/dist/bundle/store-maintenance-command-OBOPYFZ5.js +0 -65
  219. /package/dist/bundle/{chunk-BDCC2J2Z.js → chunk-SHTHNBHG.js} +0 -0
@@ -1,11 +1,18 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ modelSettingsShape,
5
+ resolveModelSettings
6
+ } from "./chunk-ZZJ5IWNT.js";
3
7
  import {
4
8
  ancestorValue,
5
9
  envName,
6
10
  readOnlyLockOf,
7
11
  readOnlyRefusal
8
- } from "./chunk-QY6GE7CL.js";
12
+ } from "./chunk-F7IDYQLM.js";
13
+ import {
14
+ carries
15
+ } from "./chunk-ZCVO6GAT.js";
9
16
  import {
10
17
  currentCaller,
11
18
  endpointTemplate,
@@ -15,10 +22,10 @@ import {
15
22
  providerErrorKey,
16
23
  renderEvent,
17
24
  runContextOf
18
- } from "./chunk-CXHUOPN5.js";
25
+ } from "./chunk-JOIAE3NO.js";
19
26
  import {
20
27
  permissionCeiling
21
- } from "./chunk-4JPOELCT.js";
28
+ } from "./chunk-WOYPWXZK.js";
22
29
  import {
23
30
  CEILING_KEY,
24
31
  COMMAND_PATH_KEY,
@@ -32,33 +39,30 @@ import {
32
39
  permissionOverrides,
33
40
  projectFields,
34
41
  resolveOutput
35
- } from "./chunk-OWZETMRE.js";
42
+ } from "./chunk-YZKVCTZI.js";
36
43
  import {
37
- carries
38
- } from "./chunk-UG2QDGAH.js";
44
+ note
45
+ } from "./chunk-H7SRM26V.js";
39
46
  import {
40
- endpoint
41
- } from "./chunk-YGKM2ZWF.js";
47
+ DEFAULT_RERANK_MODEL,
48
+ RERANK_MODELS
49
+ } from "./chunk-IBINGDYF.js";
42
50
  import {
43
- note
44
- } from "./chunk-Y2BGABXP.js";
51
+ endpoint
52
+ } from "./chunk-FURKMNC2.js";
45
53
  import {
46
54
  filesPresent,
47
55
  sharedModelsDirectory
48
- } from "./chunk-OINDAHXC.js";
56
+ } from "./chunk-XCOGI4JE.js";
49
57
  import {
50
58
  CATEGORIES,
51
59
  FACT_STATUSES,
52
- KEEP_STORE_RUNS_FOR_DAYS,
53
- KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
54
60
  LINK_KINDS,
55
61
  LINK_SOURCES,
56
- LOG_ATTRIBUTES,
57
62
  MEMORY_KINDS,
58
63
  MEMORY_SCOPES,
59
64
  MEMORY_STATUSES,
60
65
  PRIORITY_LABELS,
61
- RUNS_SIZE_LIMIT_MB,
62
66
  TASK_KINDS,
63
67
  TASK_ORIGINS,
64
68
  TASK_STATES,
@@ -66,36 +70,42 @@ import {
66
70
  TASK_VERDICTS,
67
71
  WORK_TASK_TYPES,
68
72
  author,
69
- childTrace,
70
73
  count,
71
- currentRun,
72
- enclosingTraceId,
73
74
  evidenceSource,
74
75
  id,
75
- inRun,
76
76
  isGroupName,
77
- logAttributes,
78
77
  markStoreDamaged,
79
- newRunId,
80
78
  organization,
81
79
  project,
82
80
  providerMetadata,
83
81
  reminder,
84
- runsDirFor,
85
- snakeLogger,
86
82
  sourceReview,
87
- startRun,
88
83
  text,
89
84
  time,
85
+ untrusted
86
+ } from "./chunk-EV7QCFQR.js";
87
+ import {
88
+ KEEP_STORE_RUNS_FOR_DAYS,
89
+ KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
90
+ LOG_ATTRIBUTES,
91
+ RUNS_SIZE_LIMIT_MB,
92
+ childTrace,
93
+ currentRun,
94
+ enclosingTraceId,
95
+ inRun,
96
+ logAttributes,
97
+ newRunId,
98
+ runsDirFor,
99
+ snakeLogger,
100
+ startRun,
90
101
  traceOf,
91
102
  typedCommand,
92
- untrusted,
93
103
  useAsProcessRun
94
- } from "./chunk-FBVJGJDM.js";
104
+ } from "./chunk-7HEZQCHL.js";
95
105
  import {
96
106
  isCliFailure,
97
107
  storeDamaged
98
- } from "./chunk-VG63EXRC.js";
108
+ } from "./chunk-AEVSVVTP.js";
99
109
  import {
100
110
  BUSINESS_KINDS,
101
111
  CRM_ACTIVITY_KINDS,
@@ -109,24 +119,25 @@ import {
109
119
  ORDER_PURPOSES,
110
120
  ORDER_STATUSES,
111
121
  RELATION_KINDS,
112
- STANDINGS,
122
+ STANDINGS
123
+ } from "./chunk-7IIQU5RA.js";
124
+ import {
113
125
  TAG_TYPES
114
- } from "./chunk-TYAFL66K.js";
126
+ } from "./chunk-WEAMGNST.js";
115
127
  import {
116
- readSharedSection,
117
128
  repairConfigText,
118
- sharedConfigPath,
119
- writeSharedSection
120
- } from "./chunk-WKT5RPSY.js";
129
+ sharedConfigPath
130
+ } from "./chunk-OOLNK3Y5.js";
121
131
  import {
122
132
  storePath
123
- } from "./chunk-XHVFX74L.js";
133
+ } from "./chunk-LBTANUUH.js";
124
134
  import {
125
135
  FACT_TYPES,
126
136
  MEETING_RESULT_ENTITIES,
127
137
  callStats,
128
138
  event,
129
139
  meeting,
140
+ meetingCall,
130
141
  meetingCounts,
131
142
  meetingDetails,
132
143
  meetingHit,
@@ -138,16 +149,18 @@ import {
138
149
  meetingSpeaker,
139
150
  meetingStats,
140
151
  meetingSummary,
152
+ meetingTagChange,
153
+ meetingTagging,
141
154
  meetingTranscript,
142
155
  readsZone
143
- } from "./chunk-ELW3LMJZ.js";
156
+ } from "./chunk-FHOQWPQ6.js";
144
157
  import {
145
158
  FIELD_TYPES,
146
159
  QUERY_BACKENDS,
147
160
  describeQuery,
148
161
  parseLucene,
149
162
  timezoneOf
150
- } from "./chunk-FMJ4QSSU.js";
163
+ } from "./chunk-TFDD4Q5Z.js";
151
164
  import {
152
165
  configFilePath,
153
166
  createRecordLog,
@@ -156,7 +169,7 @@ import {
156
169
  resolvePaths,
157
170
  saveConfigFile,
158
171
  writeSecurely
159
- } from "./chunk-CS62FET6.js";
172
+ } from "./chunk-OAYAGQ7C.js";
160
173
  import {
161
174
  COMPACT_FLAG,
162
175
  MAX_NEXT_STEPS,
@@ -167,7 +180,6 @@ import {
167
180
  defineSteps,
168
181
  effectsSchema,
169
182
  exitCodeOfAnswer,
170
- getDotPath,
171
183
  integer,
172
184
  isoDate,
173
185
  isoTime,
@@ -199,7 +211,6 @@ import {
199
211
  regex,
200
212
  safeInteger,
201
213
  safeParse,
202
- startsWith,
203
214
  stepOf,
204
215
  strictObject,
205
216
  string,
@@ -207,22 +218,21 @@ import {
207
218
  union,
208
219
  unknown,
209
220
  unwrap,
210
- url,
211
221
  variant,
212
222
  writes
213
- } from "./chunk-3D5PETD2.js";
223
+ } from "./chunk-PJMQE4PW.js";
214
224
  import {
215
225
  CliError,
216
226
  isCliError
217
- } from "./chunk-K3K3WKDB.js";
227
+ } from "./chunk-FNLXFQN6.js";
218
228
  import {
219
229
  visibleControls
220
- } from "./chunk-EPPE6ZTS.js";
230
+ } from "./chunk-WJTXO2EI.js";
221
231
  import {
222
232
  __name
223
233
  } from "./chunk-ZVVMGPBJ.js";
224
234
 
225
- // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
235
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
226
236
  var labels = /* @__PURE__ */ new WeakMap();
227
237
  var annotate = /* @__PURE__ */ __name((command, meta) => {
228
238
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3723,7 +3733,7 @@ __name(useColor, "useColor");
3723
3733
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3724
3734
  var program = new Command();
3725
3735
 
3726
- // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
3736
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
3727
3737
  import { isDeepStrictEqual } from "node:util";
3728
3738
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3729
3739
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3925,7 +3935,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
3925
3935
  return command;
3926
3936
  }, "customizeSharedCommand");
3927
3937
 
3928
- // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
3938
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
3929
3939
  var argumentInfoSchema = object({
3930
3940
  name: string(),
3931
3941
  required: boolean(),
@@ -3999,7 +4009,7 @@ var commandsDocumentSchema = strictObject({
3999
4009
  exit_codes: record(string(), pipe(number(), integer()))
4000
4010
  });
4001
4011
 
4002
- // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
4012
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
4003
4013
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
4004
4014
  let command = root;
4005
4015
  const path2 = [];
@@ -4017,7 +4027,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
4017
4027
  }
4018
4028
  }, "refuseJoinedPath");
4019
4029
 
4020
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
4030
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
4021
4031
  var WEIGHTS = {
4022
4032
  bot: 3,
4023
4033
  scam: 3,
@@ -4042,7 +4052,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
4042
4052
  var DIGITS = /\d{5,}/;
4043
4053
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
4044
4054
 
4045
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
4055
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
4046
4056
  var linkedIdentity = strictObject({
4047
4057
  provider: text,
4048
4058
  id,
@@ -4097,7 +4107,7 @@ var contactCheck = strictObject({
4097
4107
  checked_at: time
4098
4108
  });
4099
4109
 
4100
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/member.js
4110
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/member.js
4101
4111
  var member = strictObject({
4102
4112
  id,
4103
4113
  name: nullable(text),
@@ -4120,7 +4130,7 @@ var member = strictObject({
4120
4130
  check: optional(record(string(), unknown()))
4121
4131
  });
4122
4132
 
4123
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat.js
4133
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat.js
4124
4134
  var setting = optional(nullable(boolean()));
4125
4135
  var chat = strictObject({
4126
4136
  ref: reference,
@@ -4161,7 +4171,7 @@ var chat = strictObject({
4161
4171
  members: optional(array(member))
4162
4172
  });
4163
4173
 
4164
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/attachment.js
4174
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/attachment.js
4165
4175
  var attachment = strictObject({
4166
4176
  /** The message it came with, as a locator; absent inside that message. */
4167
4177
  message: optional(reference),
@@ -4206,7 +4216,7 @@ var hitFile = strictObject({
4206
4216
  local_path: optional(text)
4207
4217
  });
4208
4218
 
4209
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message.js
4219
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message.js
4210
4220
  var quoted = strictObject({
4211
4221
  id,
4212
4222
  sender_id: nullable(id),
@@ -4325,7 +4335,7 @@ var message = strictObject({
4325
4335
  provider_metadata: providerMetadata
4326
4336
  });
4327
4337
 
4328
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
4338
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
4329
4339
  var recordedMeeting = strictObject({
4330
4340
  ref: reference,
4331
4341
  meeting_id: count,
@@ -4334,11 +4344,15 @@ var recordedMeeting = strictObject({
4334
4344
  started_at: nullable(time),
4335
4345
  duration_ms: nullable(count),
4336
4346
  has_transcript: boolean(),
4347
+ /** The start of its transcript, on one line: what the people said, never instructions. */
4348
+ snippet: optional(nullable(text)),
4337
4349
  event: nullable(reference),
4338
- people: array(reference)
4350
+ people: array(reference),
4351
+ /** Present only on a phone call: its direction, manager and the other side's number. */
4352
+ call: optional(meetingCall)
4339
4353
  });
4340
4354
 
4341
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
4355
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
4342
4356
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
4343
4357
  var contextMessage = strictObject({
4344
4358
  locator: reference,
@@ -4544,7 +4558,7 @@ var contactPreparation = strictObject({
4544
4558
  })
4545
4559
  });
4546
4560
 
4547
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/deal.js
4561
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/deal.js
4548
4562
  var nullableText = nullable(text);
4549
4563
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
4550
4564
  var outcome = picklist(["open", "won", "lost"]);
@@ -4562,6 +4576,12 @@ var activity = strictObject({
4562
4576
  created_at: time,
4563
4577
  updated_at: time
4564
4578
  });
4579
+ var stageEntry = strictObject({
4580
+ from: nullableText,
4581
+ to: text,
4582
+ at: time,
4583
+ exact: boolean()
4584
+ });
4565
4585
  var deal = strictObject({
4566
4586
  id,
4567
4587
  ref: reference,
@@ -4592,7 +4612,10 @@ var deal = strictObject({
4592
4612
  external_id: nullableText,
4593
4613
  /** A CRM copy's assignee, the identity `<account>/user/<id>`. */
4594
4614
  assignee: nullableText,
4595
- /** A CRM copy's own fields by code; a list field's value is its option's label, `option_id` its id. */
4615
+ /**
4616
+ * A CRM copy's own fields by code; a list field's value is its option's label, `option_id` its id. `amount_note` is
4617
+ * WireCat's own note, not a CRM field: the CRM's amount the store could not keep, and why.
4618
+ */
4596
4619
  provider_metadata: record(string(), strictObject({
4597
4620
  label: nullable(string()),
4598
4621
  value: unknown(),
@@ -4617,9 +4640,30 @@ var deal = strictObject({
4617
4640
  activities: optional(array(activity)),
4618
4641
  /** `show` of a CRM copy: the newest recorded meetings and calls of its people, in its account's scope. */
4619
4642
  meetings: optional(array(recordedMeeting)),
4643
+ /**
4644
+ * `show` of a CRM copy: every stage it entered, oldest first. Once the CRM's own history names any, it alone is
4645
+ * listed, from as far back as it was read; the copy's changes between syncs are left out.
4646
+ */
4647
+ stage_history: optional(array(stageEntry)),
4620
4648
  untrusted
4621
4649
  });
4622
4650
  var lead = deal;
4651
+ var amount = strictObject({ amount: text, currency: text, items: count });
4652
+ var winRate = nullable(number());
4653
+ var pipelineOwner = strictObject({
4654
+ assignee: nullableText,
4655
+ name: nullableText,
4656
+ open: count,
4657
+ won: count,
4658
+ lost: count,
4659
+ win_rate: winRate
4660
+ });
4661
+ var pipelineClosed = strictObject({
4662
+ won: count,
4663
+ lost: count,
4664
+ win_rate: winRate,
4665
+ won_amounts: array(amount)
4666
+ });
4623
4667
  var pipelineStage = strictObject({
4624
4668
  name: text,
4625
4669
  position: count,
@@ -4632,8 +4676,11 @@ var pipelineStage = strictObject({
4632
4676
  conversion: optional(nullable(number())),
4633
4677
  /** With a funnel: rows standing in it now, and their sum per currency, never converted. */
4634
4678
  items: optional(count),
4635
- amounts: optional(array(strictObject({ amount: text, currency: text, items: count })))
4679
+ amounts: optional(array(amount)),
4680
+ /** With a funnel: the median days a row of the window stayed in it before it moved on. */
4681
+ median_days: optional(nullable(number()))
4636
4682
  });
4683
+ var pipelineStageAnswer = pipelineStage;
4637
4684
  var pipeline = strictObject({
4638
4685
  id,
4639
4686
  ref: reference,
@@ -4641,10 +4688,20 @@ var pipeline = strictObject({
4641
4688
  kind: picklist(["deal", "lead"]),
4642
4689
  account: crmAccount,
4643
4690
  external_id: nullableText,
4644
- stages: array(pipelineStage),
4691
+ stages: array(pipelineStageAnswer),
4645
4692
  created_at: time,
4646
- totals: optional(strictObject({ items: count, open: count, won: count, lost: count, win_rate: nullable(number()) })),
4693
+ /** `show`: the rows made in the window. */
4694
+ totals: optional(strictObject({ items: count, open: count, won: count, lost: count, win_rate: winRate })),
4695
+ window: optional(strictObject({ since: nullable(time), until: nullable(time) })),
4647
4696
  since: optional(day),
4697
+ /** `show`: rows closed on a day in the window, in the owner's zone. */
4698
+ closed: optional(pipelineClosed),
4699
+ /** `show`: days from made to won, of the rows won in the window. */
4700
+ cycle: optional(strictObject({ median_days: nullable(number()), items: count })),
4701
+ owners: optional(array(pipelineOwner)),
4702
+ lost_reasons: optional(array(strictObject({ reason: text, items: count }))),
4703
+ /** `show`: rows whose stages came from the CRM's own history, and from the copy's diffs. */
4704
+ history: optional(strictObject({ exact: count, copy: count })),
4648
4705
  untrusted
4649
4706
  });
4650
4707
  var stage = strictObject({
@@ -4652,10 +4709,12 @@ var stage = strictObject({
4652
4709
  pipeline: reference,
4653
4710
  pipeline_name: text,
4654
4711
  kind: picklist(["deal", "lead"]),
4712
+ /** A CRM's stage: the task its `stage-tasks` rule opens when a row enters it, or `null`. */
4713
+ stage_task: optional(nullable(strictObject({ title: text, due_days: count }))),
4655
4714
  untrusted
4656
4715
  });
4657
4716
 
4658
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/business-context.js
4717
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/business-context.js
4659
4718
  var nullableText2 = nullable(text);
4660
4719
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
4661
4720
  var standing = picklist(STANDINGS);
@@ -4786,7 +4845,7 @@ var organizationContext = strictObject({
4786
4845
  var { untrusted: _, ...dealRow } = deal.entries;
4787
4846
  var dealContext = strictObject({
4788
4847
  deal: strictObject(dealRow),
4789
- stages: section(strictObject({ from: nullableText2, to: text, pipeline: reference, at: time })),
4848
+ stages: section(strictObject({ from: nullableText2, to: text, pipeline: reference, at: time, exact: boolean() })),
4790
4849
  organization: nullable(strictObject({ ref: reference, name: nullableText2, categories })),
4791
4850
  participants: section(related),
4792
4851
  owner: nullable(related),
@@ -4801,6 +4860,9 @@ var dealContext = strictObject({
4801
4860
  title: nullableText2,
4802
4861
  at: nullable(time),
4803
4862
  people: array(reference),
4863
+ text: optional(nullableText2),
4864
+ call: optional(meetingCall),
4865
+ duration_ms: optional(nullable(count)),
4804
4866
  standing: literal("proposed")
4805
4867
  })).entries,
4806
4868
  counts: strictObject(counts)
@@ -4829,7 +4891,7 @@ var dealBrief = strictObject({
4829
4891
  not_read: coverage2.entries.not_read
4830
4892
  });
4831
4893
 
4832
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/list-results.js
4894
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/list-results.js
4833
4895
  var botProfile = strictObject({
4834
4896
  name: text,
4835
4897
  token: text,
@@ -4953,7 +5015,7 @@ var stickerInventory = strictObject({
4953
5015
  url: optional(nullable(text))
4954
5016
  });
4955
5017
 
4956
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
5018
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
4957
5019
  var actionableError = objectWithRest({
4958
5020
  code: text,
4959
5021
  message: text,
@@ -4970,7 +5032,7 @@ var batchResult = strictObject({
4970
5032
  max_error_percent: count
4971
5033
  });
4972
5034
 
4973
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
5035
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
4974
5036
  var conversationBuild = strictObject({
4975
5037
  chat: id,
4976
5038
  messages: count,
@@ -4995,13 +5057,13 @@ var catchUpPreparation = strictObject({
4995
5057
  prepared: optional(conversationPreparation)
4996
5058
  });
4997
5059
 
4998
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
5060
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
4999
5061
  import { spawn } from "node:child_process";
5000
5062
  import { randomBytes } from "node:crypto";
5001
5063
  import { closeSync, existsSync as existsSync2, mkdirSync, openSync, readdirSync, readFileSync as readFileSync2, realpathSync, rmSync as rmSync2 } from "node:fs";
5002
5064
  import { dirname, join as join2 } from "node:path";
5003
5065
 
5004
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
5066
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
5005
5067
  import { existsSync, readFileSync, rmSync } from "node:fs";
5006
5068
  import { join } from "node:path";
5007
5069
  var PART = /^[\w@+-][\w.@+-]{0,99}$/;
@@ -5041,7 +5103,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
5041
5103
  };
5042
5104
  }, "progressOf");
5043
5105
 
5044
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/runs/record-log.js
5106
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/record-log.js
5045
5107
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
5046
5108
  const run = currentRun();
5047
5109
  const trace = traceId ?? run.traceId;
@@ -5055,7 +5117,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
5055
5117
  }));
5056
5118
  }, "recordLogFor");
5057
5119
 
5058
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
5120
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
5059
5121
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
5060
5122
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
5061
5123
  const out = openSync(log, "a", 384);
@@ -5210,7 +5272,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
5210
5272
  return { job: id6, pid, chat: input.chat, log };
5211
5273
  }, "startArchiveJob");
5212
5274
 
5213
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/job.js
5275
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/job.js
5214
5276
  var problem = strictObject({ code: text, message: text });
5215
5277
  var job = strictObject({
5216
5278
  id,
@@ -5233,7 +5295,7 @@ var job = strictObject({
5233
5295
  error: optional(problem)
5234
5296
  });
5235
5297
 
5236
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
5298
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
5237
5299
  var extractionItem = strictObject({
5238
5300
  ref: reference,
5239
5301
  attachment: count,
@@ -5266,7 +5328,7 @@ var extractionReport = strictObject({
5266
5328
  cursor: optional(text)
5267
5329
  });
5268
5330
 
5269
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
5331
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
5270
5332
  var savedMessageFile = strictObject({
5271
5333
  kind: text,
5272
5334
  path: text,
@@ -5353,7 +5415,7 @@ var messageSyncAll = strictObject({
5353
5415
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
5354
5416
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
5355
5417
 
5356
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/store-records.js
5418
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/store-records.js
5357
5419
  var range = strictObject({ from: number(), to: number() });
5358
5420
  var storeChatStatus = strictObject({
5359
5421
  chat_id: id,
@@ -5451,7 +5513,7 @@ var storeJobRetry = union([
5451
5513
  ]);
5452
5514
  var storeJobClear = strictObject({ cleared: array(id) });
5453
5515
 
5454
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/account.js
5516
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/account.js
5455
5517
  var account = strictObject({
5456
5518
  provider: text,
5457
5519
  id,
@@ -5461,7 +5523,7 @@ var account = strictObject({
5461
5523
  scope: optional(picklist(["personal", "work"]))
5462
5524
  });
5463
5525
 
5464
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/account-session.js
5526
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/account-session.js
5465
5527
  var accountSession = strictObject({
5466
5528
  current: boolean(),
5467
5529
  client: nullable(text),
@@ -5471,7 +5533,7 @@ var accountSession = strictObject({
5471
5533
  created_at: optional(nullable(time))
5472
5534
  });
5473
5535
 
5474
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/account-change.js
5536
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/account-change.js
5475
5537
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
5476
5538
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
5477
5539
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -5500,7 +5562,7 @@ var accountRemoval = strictObject({
5500
5562
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
5501
5563
  });
5502
5564
 
5503
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
5565
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
5504
5566
  var accountProfile = strictObject({
5505
5567
  profile: id,
5506
5568
  current: boolean(),
@@ -5512,7 +5574,7 @@ var accountProfile = strictObject({
5512
5574
  bot: optional(literal(true))
5513
5575
  });
5514
5576
 
5515
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
5577
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
5516
5578
  var milliseconds = pipe(number(), minValue(0));
5517
5579
  var counterReading = strictObject({
5518
5580
  counter: picklist(["views", "reactions", "comments"]),
@@ -5524,7 +5586,7 @@ var counterReading = strictObject({
5524
5586
  });
5525
5587
  var selection = record(string(), unknown());
5526
5588
 
5527
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
5589
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
5528
5590
  var adminRow = strictObject({
5529
5591
  ref: reference,
5530
5592
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -5577,7 +5639,7 @@ var adminReport = strictObject({
5577
5639
  rows: array(adminRow)
5578
5640
  });
5579
5641
 
5580
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/task.js
5642
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/task.js
5581
5643
  var closeSuggestion = strictObject({
5582
5644
  as: picklist(["done", "dismissed"]),
5583
5645
  /** The agent's name. */
@@ -5639,7 +5701,7 @@ var task = strictObject({
5639
5701
  updated_at: optional(time)
5640
5702
  });
5641
5703
 
5642
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/agenda.js
5704
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/agenda.js
5643
5705
  var agendaChat = strictObject({
5644
5706
  chat: reference,
5645
5707
  title: nullable(text),
@@ -5709,11 +5771,11 @@ var agenda = strictObject({
5709
5771
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
5710
5772
  });
5711
5773
 
5712
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
5774
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
5713
5775
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
5714
5776
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
5715
5777
 
5716
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
5778
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
5717
5779
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
5718
5780
  var attachmentBytes = strictObject({
5719
5781
  ref: reference,
@@ -5744,7 +5806,7 @@ var attachmentTextChange = strictObject({
5744
5806
  text: optional(text)
5745
5807
  });
5746
5808
 
5747
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chart.js
5809
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chart.js
5748
5810
  var chart = strictObject({
5749
5811
  version: literal(1),
5750
5812
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -5759,7 +5821,7 @@ var chart = strictObject({
5759
5821
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
5760
5822
  });
5761
5823
 
5762
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/folder.js
5824
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/folder.js
5763
5825
  var named = strictObject({
5764
5826
  id,
5765
5827
  title: nullable(text),
@@ -5782,7 +5844,7 @@ var folder = strictObject({
5782
5844
  excluded_chats: optional(array(named))
5783
5845
  });
5784
5846
 
5785
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
5847
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
5786
5848
  var inviteLink = strictObject({
5787
5849
  link: text,
5788
5850
  /** Who joins by it asks first, and an admin lets them in. */
@@ -5798,7 +5860,7 @@ var inviteLink = strictObject({
5798
5860
  joined_count: optional(count)
5799
5861
  });
5800
5862
 
5801
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
5863
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
5802
5864
  var operated = { operation_id: id, chat_id: id };
5803
5865
  var group = strictObject({
5804
5866
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -5878,7 +5940,7 @@ var chatFolderOrder = strictObject({
5878
5940
  folders: array(strictObject({ id, title: text }))
5879
5941
  });
5880
5942
 
5881
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
5943
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
5882
5944
  var operated2 = { operation_id: id, chat_id: id };
5883
5945
  var chatRemoval = strictObject(operated2);
5884
5946
  var chatMuting = strictObject({
@@ -5889,7 +5951,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
5889
5951
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
5890
5952
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
5891
5953
 
5892
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
5954
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
5893
5955
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
5894
5956
  var chatEvent = strictObject({
5895
5957
  chat_id: id,
@@ -5906,7 +5968,7 @@ var chatEvent = strictObject({
5906
5968
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
5907
5969
  });
5908
5970
 
5909
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
5971
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
5910
5972
  var chatMetadata = strictObject({
5911
5973
  chat_id: id,
5912
5974
  title: nullable(text),
@@ -5921,7 +5983,7 @@ var chatMetadataRefresh = strictObject({
5921
5983
  has_more: boolean()
5922
5984
  });
5923
5985
 
5924
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
5986
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
5925
5987
  var action = picklist(["report", "delete", "remove"]);
5926
5988
  var level = picklist(["deny", "readonly", "ask", "allow"]);
5927
5989
  var chatRules = strictObject({
@@ -5958,7 +6020,17 @@ var chatModeration = strictObject({
5958
6020
  }))
5959
6021
  });
5960
6022
 
5961
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
6023
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
6024
+ var chatSending = strictObject({
6025
+ mode: picklist(["allowed", "ask", "denied"]),
6026
+ meaning: text,
6027
+ /** When the owner last set it; `null` while it is the default, ask. */
6028
+ since: nullable(time),
6029
+ /** `set` only: whether this run changed it. */
6030
+ changed: optional(boolean())
6031
+ });
6032
+
6033
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
5962
6034
  var optionalCount = optional(count);
5963
6035
  var minutes = nullable(number());
5964
6036
  var chatStats = strictObject({
@@ -6034,7 +6106,7 @@ var taskStats = strictObject({
6034
6106
  }))
6035
6107
  });
6036
6108
 
6037
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
6109
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
6038
6110
  var memberCount = strictObject({
6039
6111
  day: pipe(text, isoDate()),
6040
6112
  participants: nullable(count),
@@ -6057,7 +6129,7 @@ var chatTracking = strictObject({
6057
6129
  tracked: boolean()
6058
6130
  });
6059
6131
 
6060
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
6132
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
6061
6133
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
6062
6134
  var contactSync = strictObject({ added: count, changed: count, known: count });
6063
6135
  var profileFields = {
@@ -6095,7 +6167,7 @@ var profileFields = {
6095
6167
  }))
6096
6168
  };
6097
6169
 
6098
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/contact.js
6170
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/contact.js
6099
6171
  var contact = strictObject({
6100
6172
  ref: reference,
6101
6173
  id,
@@ -6126,7 +6198,7 @@ var contact = strictObject({
6126
6198
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
6127
6199
  });
6128
6200
 
6129
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
6201
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
6130
6202
  var contactNote = strictObject({
6131
6203
  id,
6132
6204
  /** The contact, as a `contact:` reference. */
@@ -6138,13 +6210,13 @@ var contactNote = strictObject({
6138
6210
  updated_at: time
6139
6211
  });
6140
6212
 
6141
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
6213
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
6142
6214
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
6143
6215
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
6144
6216
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
6145
6217
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
6146
6218
 
6147
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/conversation.js
6219
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/conversation.js
6148
6220
  var conversation = strictObject({
6149
6221
  id,
6150
6222
  chat: reference,
@@ -6159,7 +6231,7 @@ var conversation = strictObject({
6159
6231
  rules_version: count
6160
6232
  });
6161
6233
 
6162
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
6234
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
6163
6235
  var conversationDetails = union([
6164
6236
  strictObject({ ...conversation.entries, messages: array(message) }),
6165
6237
  message
@@ -6249,7 +6321,7 @@ var conversationHit = strictObject({
6249
6321
  stale: boolean()
6250
6322
  });
6251
6323
 
6252
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/counters.js
6324
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/counters.js
6253
6325
  var counters = strictObject({
6254
6326
  cutoff: time,
6255
6327
  max_age_ms: milliseconds,
@@ -6279,7 +6351,7 @@ var counterRefresh = strictObject({
6279
6351
  complete: optional(boolean())
6280
6352
  });
6281
6353
 
6282
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/document.js
6354
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/document.js
6283
6355
  var document = strictObject({
6284
6356
  ref: reference,
6285
6357
  id,
@@ -6294,7 +6366,7 @@ var document = strictObject({
6294
6366
  owners: optional(array(text))
6295
6367
  });
6296
6368
 
6297
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/document-link.js
6369
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/document-link.js
6298
6370
  var documentLink = strictObject({
6299
6371
  ref: reference,
6300
6372
  url: text,
@@ -6305,7 +6377,7 @@ var documentLink = strictObject({
6305
6377
  sender: strictObject({ id: nullable(id), name: nullable(text) })
6306
6378
  });
6307
6379
 
6308
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/evidence.js
6380
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/evidence.js
6309
6381
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
6310
6382
  var contribution = strictObject({
6311
6383
  message: evidenceMessage,
@@ -6335,7 +6407,7 @@ var retentionStay = strictObject({
6335
6407
  });
6336
6408
  var evidence = union([contribution, retentionStay]);
6337
6409
 
6338
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/fact.js
6410
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/fact.js
6339
6411
  var fact = strictObject({
6340
6412
  ref: reference,
6341
6413
  id,
@@ -6366,7 +6438,7 @@ var fact = strictObject({
6366
6438
  updated_at: time
6367
6439
  });
6368
6440
 
6369
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/hit.js
6441
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/hit.js
6370
6442
  var hit = strictObject({
6371
6443
  kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
6372
6444
  ref: reference,
@@ -6414,7 +6486,7 @@ var hit = strictObject({
6414
6486
  untrusted
6415
6487
  });
6416
6488
 
6417
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/identity.js
6489
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/identity.js
6418
6490
  var identity = strictObject({
6419
6491
  ref: reference,
6420
6492
  provider: text,
@@ -6430,7 +6502,7 @@ var identity = strictObject({
6430
6502
  person: optional(nullable(reference))
6431
6503
  });
6432
6504
 
6433
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
6505
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
6434
6506
  var imageEmbedding = strictObject({
6435
6507
  model: text,
6436
6508
  embedded: count,
@@ -6439,7 +6511,7 @@ var imageEmbedding = strictObject({
6439
6511
  more: boolean()
6440
6512
  });
6441
6513
 
6442
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/join-request.js
6514
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/join-request.js
6443
6515
  var joinRequest = strictObject({
6444
6516
  person_id: id,
6445
6517
  name: nullable(text),
@@ -6450,7 +6522,7 @@ var joinRequest = strictObject({
6450
6522
  about: optional(text)
6451
6523
  });
6452
6524
 
6453
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
6525
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
6454
6526
  var pollVote = strictObject({
6455
6527
  person_id: id,
6456
6528
  name: nullable(text),
@@ -6460,7 +6532,7 @@ var pollVote = strictObject({
6460
6532
  voted_at: time
6461
6533
  });
6462
6534
 
6463
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/listener.js
6535
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/listener.js
6464
6536
  var reactions = unwrap(unwrap(message.entries.reactions));
6465
6537
  var observation = strictObject({
6466
6538
  value: pipe(number(), minValue(0)),
@@ -6502,7 +6574,7 @@ var serveSummary = strictObject({
6502
6574
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
6503
6575
  });
6504
6576
 
6505
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
6577
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
6506
6578
  var mailCounts = strictObject({
6507
6579
  by: picklist(["day", "week", "sender"]),
6508
6580
  received: count,
@@ -6517,7 +6589,7 @@ var mailCounts = strictObject({
6517
6589
  }))
6518
6590
  });
6519
6591
 
6520
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
6592
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
6521
6593
  var evidence2 = strictObject({ reference, fingerprint: text });
6522
6594
  var base = { id, evidence: array(evidence2) };
6523
6595
  var finding = variant("kind", [
@@ -6661,7 +6733,7 @@ var mailFindings = strictObject({
6661
6733
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
6662
6734
  });
6663
6735
 
6664
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
6736
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
6665
6737
  var mediaArchive = strictObject({
6666
6738
  directory: text,
6667
6739
  chats: count,
@@ -6693,7 +6765,7 @@ var mediaArchiveTimer = union([
6693
6765
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
6694
6766
  ]);
6695
6767
 
6696
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
6768
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
6697
6769
  var preparationId = pipe(string(), minLength(1));
6698
6770
  var preparationCount = pipe(number(), integer(), minValue(0));
6699
6771
  var preparationTime = nullable(isoTime);
@@ -6785,7 +6857,7 @@ var preparationMeeting = strictObject({
6785
6857
  updated_at: isoTime
6786
6858
  });
6787
6859
 
6788
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
6860
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
6789
6861
  var meetingEvidence = preparationEvidence;
6790
6862
  var meetingPersonContext = strictObject({
6791
6863
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -6807,7 +6879,7 @@ var meetingPersonContext = strictObject({
6807
6879
  })
6808
6880
  });
6809
6881
 
6810
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
6882
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
6811
6883
  var evidence3 = strictObject({ reference, fingerprint: text });
6812
6884
  var base2 = { id, project: reference, evidence: array(evidence3) };
6813
6885
  var finding2 = variant("kind", [
@@ -6845,7 +6917,7 @@ var meetingFindings = strictObject({
6845
6917
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
6846
6918
  });
6847
6919
 
6848
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
6920
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
6849
6921
  var communicationCoverage = strictObject({
6850
6922
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
6851
6923
  query: string(),
@@ -6890,7 +6962,7 @@ var preparationCommunications = strictObject({
6890
6962
  }))
6891
6963
  });
6892
6964
 
6893
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
6965
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
6894
6966
  var meetingPreparation = strictObject({
6895
6967
  communications: optional(preparationCommunications),
6896
6968
  schema_version: literal(1),
@@ -7003,7 +7075,7 @@ var meetingPreparation = strictObject({
7003
7075
  })
7004
7076
  });
7005
7077
 
7006
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
7078
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
7007
7079
  var count3 = pipe(number(), integer(), minValue(0));
7008
7080
  var id3 = pipe(string(), minLength(1));
7009
7081
  var text3 = string();
@@ -7067,7 +7139,7 @@ var meetingProjectCandidates = strictObject({
7067
7139
  })
7068
7140
  });
7069
7141
 
7070
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
7142
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
7071
7143
  var count4 = pipe(number(), integer(), minValue(0));
7072
7144
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
7073
7145
  var meetingSeriesInventory = strictObject({
@@ -7097,7 +7169,7 @@ var meetingSeriesInventory = strictObject({
7097
7169
  })
7098
7170
  });
7099
7171
 
7100
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
7172
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
7101
7173
  var text4 = string();
7102
7174
  var id5 = pipe(number(), integer(), minValue(1));
7103
7175
  var revision = picklist(["current", "superseded"]);
@@ -7114,7 +7186,7 @@ var meetingTaskProposal = strictObject({
7114
7186
  persistence: literal("proposal-only")
7115
7187
  });
7116
7188
 
7117
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/memory.js
7189
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/memory.js
7118
7190
  var memory = strictObject({
7119
7191
  ref: reference,
7120
7192
  id,
@@ -7142,7 +7214,7 @@ var memory = strictObject({
7142
7214
  updated_at: time
7143
7215
  });
7144
7216
 
7145
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/mention.js
7217
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/mention.js
7146
7218
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
7147
7219
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
7148
7220
  var mention = strictObject({
@@ -7186,13 +7258,13 @@ var mentionRebuild = strictObject({
7186
7258
  mentions: count
7187
7259
  });
7188
7260
 
7189
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-change.js
7261
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-change.js
7190
7262
  var operated3 = { operation_id: id, chat_id: id };
7191
7263
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
7192
7264
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
7193
7265
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
7194
7266
 
7195
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-read.js
7267
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-read.js
7196
7268
  var messageTranscript = strictObject({
7197
7269
  message_id: id,
7198
7270
  text,
@@ -7250,7 +7322,7 @@ var evidencePacket = strictObject({
7250
7322
  }))
7251
7323
  });
7252
7324
 
7253
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-context.js
7325
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-context.js
7254
7326
  var messageThread = strictObject({
7255
7327
  ref: reference,
7256
7328
  chat: id,
@@ -7267,7 +7339,7 @@ var messageThread = strictObject({
7267
7339
  });
7268
7340
  var messageContext = union([message, messageThread]);
7269
7341
 
7270
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
7342
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
7271
7343
  var messageCounts = strictObject({
7272
7344
  by: picklist(["chat", "sender", "day", "hour"]),
7273
7345
  total: count,
@@ -7280,7 +7352,7 @@ var messageCounts = strictObject({
7280
7352
  }))
7281
7353
  });
7282
7354
 
7283
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-link.js
7355
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-link.js
7284
7356
  var messageLink = strictObject({
7285
7357
  ref: reference,
7286
7358
  url: nullable(text),
@@ -7297,7 +7369,7 @@ var messageLink = strictObject({
7297
7369
  })))
7298
7370
  });
7299
7371
 
7300
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/message-write.js
7372
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/message-write.js
7301
7373
  var messageWrite = strictObject({
7302
7374
  operation_id: id,
7303
7375
  message,
@@ -7312,7 +7384,7 @@ var draftWrite = strictObject({
7312
7384
  });
7313
7385
  var messageSend = union([messageWrite, draftWrite]);
7314
7386
 
7315
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/model.js
7387
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/model.js
7316
7388
  var model = strictObject({
7317
7389
  id,
7318
7390
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -7347,7 +7419,7 @@ var chosenModel = strictObject({
7347
7419
  estimate_seconds: nullable(count)
7348
7420
  });
7349
7421
 
7350
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/model-key.js
7422
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/model-key.js
7351
7423
  var source = picklist(["environment", "keyring", "file"]);
7352
7424
  var modelKey = strictObject({
7353
7425
  provider: text,
@@ -7357,7 +7429,7 @@ var modelKey = strictObject({
7357
7429
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
7358
7430
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
7359
7431
 
7360
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
7432
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
7361
7433
  var versus = strictObject({ current: number(), previous: number() });
7362
7434
  var person = { person_ref: reference, name: nullable(text) };
7363
7435
  var graph = strictObject({
@@ -7391,14 +7463,14 @@ var officialStats = strictObject({
7391
7463
  graphs: record(string(), union([graph, strictObject({ error: text })]))
7392
7464
  });
7393
7465
 
7394
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/person.js
7466
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/person.js
7395
7467
  var person2 = strictObject({
7396
7468
  ref: reference,
7397
7469
  name: nullable(text),
7398
7470
  identities: optional(array(identity))
7399
7471
  });
7400
7472
 
7401
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/poll.js
7473
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/poll.js
7402
7474
  var poll = strictObject({
7403
7475
  chat_id: id,
7404
7476
  message_id: id,
@@ -7414,11 +7486,11 @@ var poll = strictObject({
7414
7486
  });
7415
7487
  var pollChange = strictObject({ operation_id: id, poll });
7416
7488
 
7417
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
7489
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
7418
7490
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
7419
7491
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
7420
7492
 
7421
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/ranking.js
7493
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/ranking.js
7422
7494
  var figures = record(string(), number());
7423
7495
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
7424
7496
  var rankingRow = strictObject({
@@ -7465,7 +7537,7 @@ var ranking = strictObject({
7465
7537
  rows: array(rankingRow)
7466
7538
  });
7467
7539
 
7468
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/reaction.js
7540
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/reaction.js
7469
7541
  var reaction = strictObject({
7470
7542
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
7471
7543
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -7473,7 +7545,7 @@ var reaction = strictObject({
7473
7545
  reacted_at: time
7474
7546
  });
7475
7547
 
7476
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
7548
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
7477
7549
  var reactionChange = strictObject({
7478
7550
  operation_id: id,
7479
7551
  chat_id: id,
@@ -7481,7 +7553,7 @@ var reactionChange = strictObject({
7481
7553
  reaction: nullable(text)
7482
7554
  });
7483
7555
 
7484
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/recipient.js
7556
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/recipient.js
7485
7557
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
7486
7558
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
7487
7559
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -7492,7 +7564,7 @@ var recipientChange = strictObject({
7492
7564
  ...partial(recipientOff).entries
7493
7565
  });
7494
7566
 
7495
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
7567
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
7496
7568
  var events = array(record(string(), unknown()));
7497
7569
  var recordedRun = strictObject({
7498
7570
  run_id: id,
@@ -7564,7 +7636,7 @@ var runHit = strictObject({
7564
7636
  });
7565
7637
  var runLocation = strictObject({ path: text });
7566
7638
 
7567
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/relationship.js
7639
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/relationship.js
7568
7640
  var relationship = strictObject({
7569
7641
  id,
7570
7642
  from: reference,
@@ -7591,7 +7663,7 @@ var relationship = strictObject({
7591
7663
  created_at: time
7592
7664
  });
7593
7665
 
7594
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
7666
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
7595
7667
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
7596
7668
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
7597
7669
  var responseTimes = strictObject({
@@ -7608,7 +7680,7 @@ var waitingChats = strictObject({
7608
7680
  by_kind: strictObject({ private: count, group: count })
7609
7681
  });
7610
7682
 
7611
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/retention.js
7683
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/retention.js
7612
7684
  var retentionCohort = strictObject({
7613
7685
  /** The first day of the joining day or week. */
7614
7686
  cohort: text,
@@ -7656,7 +7728,7 @@ var retention = strictObject({
7656
7728
  rows: array(retentionCohort)
7657
7729
  });
7658
7730
 
7659
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
7731
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
7660
7732
  var savedSearch = strictObject({
7661
7733
  id,
7662
7734
  /** `null` for a run in the history. */
@@ -7673,7 +7745,7 @@ var savedSearch = strictObject({
7673
7745
  });
7674
7746
  var searchHistoryClear = strictObject({ cleared: count });
7675
7747
 
7676
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
7748
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
7677
7749
  var sendAttempt = strictObject({
7678
7750
  at: time,
7679
7751
  profile: text,
@@ -7701,7 +7773,7 @@ var sendAttempt = strictObject({
7701
7773
  error_code: optional(text)
7702
7774
  });
7703
7775
 
7704
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
7776
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
7705
7777
  var absent = strictObject({ path: text, exists: literal(false) });
7706
7778
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
7707
7779
  var infoSchema = strictObject({
@@ -7931,7 +8003,7 @@ var storeRepair = union([
7931
8003
  ]);
7932
8004
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
7933
8005
 
7934
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/store-table.js
8006
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/store-table.js
7935
8007
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
7936
8008
  var storeTable = strictObject({
7937
8009
  name: text,
@@ -7940,7 +8012,7 @@ var storeTable = strictObject({
7940
8012
  bytes: optional(nullable(count))
7941
8013
  });
7942
8014
 
7943
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
8015
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
7944
8016
  var tagTarget = variant("type", [
7945
8017
  strictObject({ type: literal("chat"), chat_id: id }),
7946
8018
  strictObject({ type: literal("contact"), person_id: id }),
@@ -7971,7 +8043,7 @@ var automaticTags = strictObject({
7971
8043
  dry_run: boolean()
7972
8044
  });
7973
8045
 
7974
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/tagging.js
8046
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/tagging.js
7975
8047
  var tagging = strictObject({
7976
8048
  tag: text,
7977
8049
  type: picklist(TAG_TYPES),
@@ -7984,7 +8056,7 @@ var tagging = strictObject({
7984
8056
  created_at: time
7985
8057
  });
7986
8058
 
7987
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
8059
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
7988
8060
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
7989
8061
  var taskPair = strictObject({
7990
8062
  task: nullable(side),
@@ -8007,7 +8079,7 @@ var taskPair = strictObject({
8007
8079
  created_at: time
8008
8080
  });
8009
8081
 
8010
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/task-results.js
8082
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/task-results.js
8011
8083
  var nullableTime = nullable(time);
8012
8084
  var link = strictObject({
8013
8085
  id,
@@ -8181,7 +8253,7 @@ var taskReview = strictObject({
8181
8253
  untrusted
8182
8254
  });
8183
8255
 
8184
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/template.js
8256
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/template.js
8185
8257
  var template = strictObject({
8186
8258
  key: text,
8187
8259
  channel: picklist(["telegram", "email", "text"]),
@@ -8193,7 +8265,7 @@ var template = strictObject({
8193
8265
  updated_by: nullable(text)
8194
8266
  });
8195
8267
 
8196
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/topic.js
8268
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/topic.js
8197
8269
  var topic = strictObject({
8198
8270
  id,
8199
8271
  title: text,
@@ -8207,7 +8279,7 @@ var topic = strictObject({
8207
8279
  untrusted
8208
8280
  });
8209
8281
 
8210
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/entities/index.js
8282
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/entities/index.js
8211
8283
  var ENTITIES = {
8212
8284
  sync_progress: progress,
8213
8285
  deal,
@@ -8383,6 +8455,8 @@ var ENTITIES = {
8383
8455
  meeting_stats: meetingStats,
8384
8456
  meeting_counts: meetingCounts,
8385
8457
  call_stats: callStats,
8458
+ meeting_tag_change: meetingTagChange,
8459
+ meeting_tagging: meetingTagging,
8386
8460
  meeting_speaker: meetingSpeaker,
8387
8461
  meeting_participants: meetingParticipants,
8388
8462
  meeting_passage: meetingPassage,
@@ -8459,6 +8533,7 @@ var ENTITIES = {
8459
8533
  chat_moderation: chatModeration,
8460
8534
  "model.chosen": chosenModel,
8461
8535
  model_key: modelKey,
8536
+ chat_sending: chatSending,
8462
8537
  "model_key.stored": storedModelKey,
8463
8538
  "model_key.removed": removedModelKey,
8464
8539
  chat_event: chatEvent,
@@ -8503,7 +8578,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
8503
8578
  return [name, definition];
8504
8579
  })), "entityDefinitions");
8505
8580
 
8506
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
8581
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
8507
8582
  var schemas = /* @__PURE__ */ new WeakMap();
8508
8583
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
8509
8584
  if (Object.hasOwn(ENTITIES, name))
@@ -8537,7 +8612,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
8537
8612
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
8538
8613
  }, "answerRow");
8539
8614
 
8540
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
8615
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
8541
8616
  var where = [{ field: "ref" }];
8542
8617
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
8543
8618
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -8629,7 +8704,7 @@ var STATUS_ROWS = {
8629
8704
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
8630
8705
  };
8631
8706
 
8632
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/compact.js
8707
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/compact.js
8633
8708
  var TEXT_CHARS = 400;
8634
8709
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
8635
8710
  var messageRow = {
@@ -8997,7 +9072,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
8997
9072
  return lines.concat(footerOf(body)).join("\n");
8998
9073
  }, "compactText");
8999
9074
 
9000
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/runs/log-events.js
9075
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/log-events.js
9001
9076
  var CORE_LOG_EVENTS = defineLogEvents([
9002
9077
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
9003
9078
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -9035,7 +9110,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
9035
9110
  progress: "sync.progress"
9036
9111
  };
9037
9112
 
9038
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/runs/recording.js
9113
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/runs/recording.js
9039
9114
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
9040
9115
  const recording = startRecording(options);
9041
9116
  try {
@@ -9250,7 +9325,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
9250
9325
  return void 0;
9251
9326
  }, "partialOutcome");
9252
9327
 
9253
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
9328
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
9254
9329
  import { AsyncLocalStorage } from "node:async_hooks";
9255
9330
  var requests = new AsyncLocalStorage();
9256
9331
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -9265,7 +9340,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
9265
9340
  return direct;
9266
9341
  }, "exitCodeSet");
9267
9342
 
9268
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/sends/guarded.js
9343
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/sends/guarded.js
9269
9344
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
9270
9345
  var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
9271
9346
  messageId: message2.id,
@@ -9371,7 +9446,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
9371
9446
  }, "guardedWrite");
9372
9447
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
9373
9448
 
9374
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/deadline.js
9449
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/deadline.js
9375
9450
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
9376
9451
  if (ms2 === void 0)
9377
9452
  return body();
@@ -9397,7 +9472,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
9397
9472
  }
9398
9473
  }, "withDeadline");
9399
9474
 
9400
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/execution.js
9475
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/execution.js
9401
9476
  var DEFAULT_COMMAND_MS = 3e4;
9402
9477
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
9403
9478
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -9580,7 +9655,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
9580
9655
  }
9581
9656
  }, "withAbort");
9582
9657
 
9583
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/profile.js
9658
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/profile.js
9584
9659
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
9585
9660
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
9586
9661
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -9606,12 +9681,12 @@ var takesProfile = /* @__PURE__ */ __name((command) => {
9606
9681
  return top !== void 0 && !PROFILE_FREE.has(top.name());
9607
9682
  }, "takesProfile");
9608
9683
  var commandWords = /* @__PURE__ */ __name((program2) => /* @__PURE__ */ new Set(["help", ...program2.commands.flatMap((command) => [command.name(), ...command.aliases()])]), "commandWords");
9609
- var liftProfile = /* @__PURE__ */ __name((argv, words2, valued = /* @__PURE__ */ new Set()) => {
9684
+ var liftProfile = /* @__PURE__ */ __name((argv, words, valued = /* @__PURE__ */ new Set()) => {
9610
9685
  let at2 = 0;
9611
9686
  while (argv[at2]?.startsWith("-") && argv[at2] !== "--")
9612
9687
  at2 += valued.has(argv[at2]) ? 2 : 1;
9613
9688
  const first2 = argv[at2];
9614
- if (first2 === void 0 || first2.startsWith("-") || words2.has(first2))
9689
+ if (first2 === void 0 || first2.startsWith("-") || words.has(first2))
9615
9690
  return { rest: argv };
9616
9691
  return { profile: first2, rest: [...argv.slice(0, at2), ...argv.slice(at2 + 1)] };
9617
9692
  }, "liftProfile");
@@ -9634,9 +9709,9 @@ var runGroup = /* @__PURE__ */ __name((app, env, word) => {
9634
9709
  return { name: lock, from: LOCK, locked: true };
9635
9710
  }, "runGroup");
9636
9711
  var valuedOptions = /* @__PURE__ */ __name((program2) => new Set(program2.options.filter((option) => option.required).flatMap((option) => [option.long, option.short].filter((flag2) => flag2 !== void 0))), "valuedOptions");
9637
- var refuseCommandName = /* @__PURE__ */ __name((profile, words2, command) => {
9638
- if (words2.has(profile)) {
9639
- throw new CliError("validation_error", `"${profile}" is a command, so \`${command} ${profile} \u2026\` would always mean the command and never this profile. Pick a name that is not one of: ` + [...words2].sort().join(", "));
9712
+ var refuseCommandName = /* @__PURE__ */ __name((profile, words, command) => {
9713
+ if (words.has(profile)) {
9714
+ throw new CliError("validation_error", `"${profile}" is a command, so \`${command} ${profile} \u2026\` would always mean the command and never this profile. Pick a name that is not one of: ` + [...words].sort().join(", "));
9640
9715
  }
9641
9716
  }, "refuseCommandName");
9642
9717
  var rootOf = /* @__PURE__ */ __name((command) => {
@@ -9667,82 +9742,13 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
9667
9742
  return void 0;
9668
9743
  }, "sampleCommand");
9669
9744
 
9670
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/models/settings.js
9671
- var MODEL_FIELDS = ["provider", "model", "base_url"];
9672
- var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
9673
- provider: optional(picklist(["off", "openai", "anthropic"])),
9674
- model: optional(pipe(string(), trim(), minLength(1), maxLength(200))),
9675
- base_url: optional(pipe(string(), check((value) => endpoint(value), "use an HTTP/S endpoint without credentials, query or fragment")))
9676
- }));
9677
- var resolveModelSettings = /* @__PURE__ */ __name((prefix, layers, env) => {
9678
- const configured = layers.map(([from, scope]) => [from, scope?.models ?? {}]);
9679
- const purposes = /* @__PURE__ */ new Set([
9680
- "default",
9681
- "analysis",
9682
- "replies",
9683
- ...configured.flatMap(([, models2]) => Object.keys(models2))
9684
- ]);
9685
- for (const name of Object.keys(env)) {
9686
- const match = new RegExp(`^${prefix}_MODELS_([A-Z][A-Z0-9_]*)_(PROVIDER|MODEL|BASE_URL)$`).exec(name);
9687
- if (match?.[1])
9688
- purposes.add(match[1].toLowerCase().replaceAll("_", "-"));
9689
- }
9690
- const models = {};
9691
- const sources = {};
9692
- for (const purpose of purposes) {
9693
- const resolved = {};
9694
- for (const field of MODEL_FIELDS) {
9695
- const variable = `${prefix}_MODELS_${purpose.replaceAll("-", "_").toUpperCase()}_${field.toUpperCase()}`;
9696
- const candidates = [
9697
- [variable, env[variable]?.trim() || void 0],
9698
- ...configured.map(([from, model3]) => [
9699
- `${from}: models.${purpose}.${field}`,
9700
- model3[purpose]?.[field]
9701
- ]),
9702
- ...purpose === "default" ? [] : [
9703
- [
9704
- `${prefix}_MODELS_DEFAULT_${field.toUpperCase()}`,
9705
- env[`${prefix}_MODELS_DEFAULT_${field.toUpperCase()}`]?.trim() || void 0
9706
- ],
9707
- ...configured.map(([from, model3]) => [
9708
- `${from}: models.default.${field}`,
9709
- model3.default?.[field]
9710
- ])
9711
- ]
9712
- ];
9713
- const selected = candidates.find(([, value]) => value !== void 0);
9714
- if (selected)
9715
- resolved[field] = selected[1];
9716
- sources[`models.${purpose}.${field}`] = selected?.[0] ?? "default";
9717
- }
9718
- if (Object.keys(resolved).length)
9719
- models[purpose] = resolved;
9720
- }
9721
- const checked = safeParse(modelSettingsShape, models);
9722
- if (!checked.success)
9723
- throw new CliError("configuration_error", `models.${getDotPath(checked.issues[0]) ?? "settings"} is invalid`);
9724
- return { models: checked.output, sources };
9725
- }, "resolveModelSettings");
9726
- var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
9727
- const configured = { ...settings.models?.default, ...settings.models?.[purpose] };
9728
- if (configured.provider === void 0 || configured.provider === "off")
9729
- return void 0;
9730
- if (!configured.model)
9731
- throw new CliError("configuration_error", `set models.${purpose}.model before calling its provider`);
9732
- return {
9733
- provider: configured.provider,
9734
- model: configured.model,
9735
- ...configured.base_url === void 0 ? {} : { baseUrl: configured.base_url }
9736
- };
9737
- }, "modelTarget");
9738
-
9739
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/analysis/settings.js
9745
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/analysis/settings.js
9740
9746
  var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
9741
- var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
9747
+ var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
9742
9748
  var AI_FIELDS = {
9743
9749
  embeddingProvider: optional(picklist(["local", "openai"])),
9744
9750
  embeddingModel: optional(model2),
9745
- embeddingBaseUrl: optional(url2),
9751
+ embeddingBaseUrl: optional(url),
9746
9752
  embeddingDims: optional(pipe(number(), integer(), minValue(1), maxValue(65536))),
9747
9753
  models: optional(modelSettingsShape)
9748
9754
  };
@@ -9780,7 +9786,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
9780
9786
  };
9781
9787
  }, "resolveAISettings");
9782
9788
 
9783
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/duration.js
9789
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/domain/duration.js
9784
9790
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
9785
9791
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
9786
9792
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -9794,296 +9800,19 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
9794
9800
  return ms2;
9795
9801
  }, "parseDuration");
9796
9802
 
9797
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/embeddings/models.js
9798
- import { existsSync as existsSync3 } from "node:fs";
9803
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
9804
+ import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
9799
9805
  import { join as join3 } from "node:path";
9800
- var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
9801
- var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
9802
- var e5Large = huggingFace("Xenova/multilingual-e5-large", "00fc3aeb3dbb95842de2ac1961d33c6319acf57b");
9803
- var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
9804
- var TEXT_MODELS = [
9805
- {
9806
- id: "e5-small",
9807
- title: "multilingual-e5-small, 8-bit",
9808
- size: "small",
9809
- languages: "about 100 languages, Russian and English among them",
9810
- licence: "MIT",
9811
- dims: 384,
9812
- maxTokens: 512,
9813
- // 100k-message corpus, one 8-thread session on Ryzen AI 9 HX 470: 31–32 chunks/s.
9814
- chunksPerSecond: 31,
9815
- pooling: "mean",
9816
- prefix: { query: "query: ", passage: "passage: " },
9817
- onnx: "onnx/model_quantized.onnx",
9818
- files: [
9819
- {
9820
- name: "onnx/model_quantized.onnx",
9821
- url: e5("onnx/model_quantized.onnx"),
9822
- sha256: "f80102d3f2a1229f387d3c81909990d8945513e347b0eab049f7de3c6f98c193",
9823
- bytes: 118308185
9824
- },
9825
- {
9826
- name: "tokenizer.json",
9827
- url: e5("tokenizer.json"),
9828
- sha256: "0b44a9d7b51c3c62626640cda0e2c2f70fdacdc25bbbd68038369d14ebdf4c39",
9829
- bytes: 17082730
9830
- },
9831
- {
9832
- name: "tokenizer_config.json",
9833
- url: e5("tokenizer_config.json"),
9834
- sha256: "a1d6bc8734a6f635dc158508bef000f8e2e5a759c7d92f984b2c86e5ff53425b",
9835
- bytes: 443
9836
- }
9837
- ]
9838
- },
9839
- {
9840
- id: "embeddinggemma",
9841
- title: "EmbeddingGemma 300M, 4-bit",
9842
- size: "medium",
9843
- languages: "over 100 languages \u2014 the best of the two on chat, about seven times slower",
9844
- licence: "Gemma Terms of Use",
9845
- terms: "https://ai.google.dev/gemma/terms",
9846
- // Gemma Terms of Use §3.1: every copy carries this notice and the use restrictions of §3.2.
9847
- notice: "Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms. Its use is restricted by the Gemma Prohibited Use Policy: https://ai.google.dev/gemma/prohibited_use_policy",
9848
- dims: 768,
9849
- maxTokens: 2048,
9850
- // 2026-11-08, 1,200-character chunks, 8 threads on the Ryzen AI 9 HX 470: 8.3 chunks/s against e5-small's 52.7, so
9851
- // 5 on the scale e5-small's 31 sets. It was 2, which held a memo sync to 39 chunks.
9852
- chunksPerSecond: 5,
9853
- pooling: "sentence_embedding",
9854
- prefix: { query: "task: search result | query: ", passage: "title: none | text: " },
9855
- onnx: "onnx/model_q4.onnx",
9856
- externalData: "onnx/model_q4.onnx_data",
9857
- files: [
9858
- {
9859
- name: "onnx/model_q4.onnx",
9860
- url: gemma("onnx/model_q4.onnx"),
9861
- sha256: "ad1dfee81a70f7944b9b9d1cc6e48075b832881cf33fab2f2b248be78f3f0043",
9862
- bytes: 519322
9863
- },
9864
- {
9865
- name: "onnx/model_q4.onnx_data",
9866
- url: gemma("onnx/model_q4.onnx_data"),
9867
- sha256: "599962c3143b040de2dd05e5975be3e9091dd067cacc6a8f7186e3203bab9e02",
9868
- bytes: 196725760
9869
- },
9870
- {
9871
- name: "tokenizer.json",
9872
- url: gemma("tokenizer.json"),
9873
- sha256: "4dda02faaf32bc91031dc8c88457ac272b00c1016cc679757d1c441b248b9c47",
9874
- bytes: 20323312
9875
- },
9876
- {
9877
- name: "tokenizer_config.json",
9878
- url: gemma("tokenizer_config.json"),
9879
- sha256: "3ca953eea6c3c9fcda9cf3df22949ff18b216f7c74bd6459230f3f1013953f3a",
9880
- bytes: 1156830
9881
- }
9882
- ]
9883
- },
9884
- {
9885
- id: "e5-large",
9886
- title: "multilingual-e5-large, 8-bit",
9887
- size: "large",
9888
- languages: "about 100 languages, Russian and English among them \u2014 reads better than e5-small, several times slower",
9889
- licence: "MIT",
9890
- dims: 1024,
9891
- maxTokens: 512,
9892
- // 2026-11-07, one 8-thread session on the Ryzen AI 9 HX 470 while other benchmarks ran: 3.4 chunks/s.
9893
- chunksPerSecond: 4,
9894
- pooling: "mean",
9895
- prefix: { query: "query: ", passage: "passage: " },
9896
- onnx: "onnx/model_quantized.onnx",
9897
- files: [
9898
- {
9899
- name: "onnx/model_quantized.onnx",
9900
- url: e5Large("onnx/model_quantized.onnx"),
9901
- sha256: "0a8d65db9a36f810ba5da15249f13145fcdc7890e6656f1fd38cd8b7c4db1fca",
9902
- bytes: 561768762
9903
- },
9904
- {
9905
- name: "tokenizer.json",
9906
- url: e5Large("tokenizer.json"),
9907
- sha256: "62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626",
9908
- bytes: 17082660
9909
- },
9910
- {
9911
- name: "tokenizer_config.json",
9912
- url: e5Large("tokenizer_config.json"),
9913
- sha256: "efb5c0d09722e5fe59a462cd2a9976ee216d55b037597d997cd3fe833216da15",
9914
- bytes: 418
9915
- }
9916
- ]
9917
- }
9918
- ];
9919
- var DEFAULT_TEXT_MODEL = "embeddinggemma";
9920
- var PREVIOUS_DEFAULT_TEXT_MODEL = "e5-small";
9921
- var SECTION = "text_models";
9922
- var slug = pipe(string(), regex(/^[a-z0-9][a-z0-9._-]{0,62}$/, "is not a model id: a-z, 0-9, . _ -"));
9923
- var words = pipe(string(), trim(), minLength(1), maxLength(300));
9924
- var fileName = pipe(string(), check((name) => /^[\w.-]+(\/[\w.-]+)*$/.test(name) && !name.split("/").some((part) => part === ".." || part === "."), "is not a file inside the model's folder"));
9925
- var modelFile = strictObject({
9926
- name: fileName,
9927
- url: pipe(string(), url(), startsWith("https://", "has to be an https address")),
9928
- sha256: pipe(string(), regex(/^[0-9a-f]{64}$/, "has to be a sha256 in hex")),
9929
- bytes: pipe(number(), integer(), minValue(1))
9930
- });
9931
- var CustomTextModelShape = pipe(strictObject({
9932
- id: slug,
9933
- title: words,
9934
- languages: words,
9935
- licence: words,
9936
- terms: optional(pipe(string(), url())),
9937
- dims: pipe(number(), integer(), minValue(1), maxValue(8192)),
9938
- maxTokens: pipe(number(), integer(), minValue(16), maxValue(32768)),
9939
- chunksPerSecond: optional(pipe(number(), minValue(0.01))),
9940
- pooling: picklist(["mean", "sentence_embedding"]),
9941
- prefix: strictObject({
9942
- query: pipe(string(), maxLength(200)),
9943
- passage: pipe(string(), maxLength(200))
9944
- }),
9945
- onnx: fileName,
9946
- externalData: optional(fileName),
9947
- files: pipe(array(modelFile), minLength(1), maxLength(16))
9948
- }), check((model3) => !TEXT_MODELS.some((one) => one.id === model3.id), "takes the id of a model this version ships; choose another"), check((model3) => {
9949
- const names = model3.files.map(({ name }) => name);
9950
- return [model3.onnx, model3.externalData, "tokenizer.json", "tokenizer_config.json"].every((name) => name === void 0 || names.includes(name));
9951
- }, "has to list its onnx file, its external data and tokenizer.json and tokenizer_config.json among files"));
9952
- var TextModelsSection = strictObject({
9953
- use: optional(slug),
9954
- custom: optional(array(CustomTextModelShape))
9955
- });
9956
- var textModelsFile = /* @__PURE__ */ __name((env = process.env) => sharedConfigPath(storePath(env), env), "textModelsFile");
9957
- var readTextModelsSection = /* @__PURE__ */ __name((env = process.env) => {
9958
- const path2 = textModelsFile(env);
9959
- const section2 = readSharedSection(path2, SECTION);
9960
- if (section2 === void 0)
9961
- return {};
9962
- const checked = safeParse(TextModelsSection, section2);
9963
- if (!checked.success) {
9964
- const issue = checked.issues[0];
9965
- const at2 = issue ? getDotPath(issue) : null;
9966
- throw new CliError("configuration_error", `${path2}: ${SECTION}${at2 ? `.${at2}` : ""} ${issue?.message ?? "is not valid"}`);
9967
- }
9968
- const ids = checked.output.custom?.map(({ id: id6 }) => id6) ?? [];
9969
- const twice = ids.find((id6, at2) => ids.indexOf(id6) !== at2);
9970
- if (twice)
9971
- throw new CliError("configuration_error", `${path2}: ${SECTION}.custom names ${twice} twice`);
9972
- return checked.output;
9973
- }, "readTextModelsSection");
9974
- var writeTextModelsSection = /* @__PURE__ */ __name((section2, env = process.env) => writeSharedSection(textModelsFile(env), SECTION, section2.use === void 0 && !section2.custom?.length ? void 0 : section2), "writeTextModelsSection");
9975
- var textModels = /* @__PURE__ */ __name((env = process.env) => [
9976
- ...TEXT_MODELS,
9977
- ...(readTextModelsSection(env).custom ?? []).map((model3) => ({ ...model3, custom: true }))
9978
- ], "textModels");
9979
- var textModel = /* @__PURE__ */ __name((id6, env = process.env) => {
9980
- const known = textModels(env);
9981
- const found = known.find((model3) => model3.id === id6);
9982
- if (!found) {
9983
- throw new CliError("validation_error", `no text model ${id6} \u2014 one of: ${known.map((model3) => model3.id).join(", ")}`);
9984
- }
9985
- return found;
9986
- }, "textModel");
9987
- var downloaded = /* @__PURE__ */ __name((id6, env) => {
9988
- const model3 = TEXT_MODELS.find((one) => one.id === id6);
9989
- const directory = sharedModelsDirectory("text", env);
9990
- return model3 !== void 0 && filesPresent(model3.files.map((file) => [file, join3(directory, model3.id, file.name)]));
9991
- }, "downloaded");
9992
- var chosenTextModel = /* @__PURE__ */ __name((env = process.env) => {
9993
- const use = readTextModelsSection(env).use;
9994
- if (use !== void 0)
9995
- return { id: use, from: "chosen" };
9996
- const kept = !downloaded(DEFAULT_TEXT_MODEL, env) && existsSync3(join3(sharedModelsDirectory("text", env), PREVIOUS_DEFAULT_TEXT_MODEL));
9997
- return { id: kept ? PREVIOUS_DEFAULT_TEXT_MODEL : DEFAULT_TEXT_MODEL, from: "default" };
9998
- }, "chosenTextModel");
9999
- var mmarco = huggingFace("cross-encoder/mmarco-mMiniLMv2-L12-H384-v1", "1427fd652930e4ba29e8149678df786c240d8825");
10000
- var bge = huggingFace("onnx-community/bge-reranker-v2-m3-ONNX", "6f5ff65298512715a1e669753bc754d2bc8f367b");
10001
- var RERANK_MODELS = [
10002
- {
10003
- id: "mmarco",
10004
- title: "mMARCO mMiniLMv2-L12 cross-encoder, 8-bit",
10005
- languages: "about 100 languages, Russian and English among them",
10006
- licence: "Apache-2.0",
10007
- maxTokens: 512,
10008
- // The x86 name is the quantizer's target; WebAssembly and native ONNX Runtime both run it on any processor.
10009
- onnx: "onnx/model_quint8_avx2.onnx",
10010
- files: [
10011
- {
10012
- name: "onnx/model_quint8_avx2.onnx",
10013
- url: mmarco("onnx/model_quint8_avx2.onnx"),
10014
- sha256: "6c2513767fb63d008a4377bef7a7a3555433d9436342bb53e35a3a72ffc52d4b",
10015
- bytes: 118620016
10016
- },
10017
- {
10018
- name: "tokenizer.json",
10019
- url: mmarco("tokenizer.json"),
10020
- sha256: "62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626",
10021
- bytes: 17082660
10022
- },
10023
- {
10024
- name: "tokenizer_config.json",
10025
- url: mmarco("tokenizer_config.json"),
10026
- sha256: "e7fbfbfa6347b4e414c1cee50d142e2c2f9a895dad68b068ae83a8b564c3837e",
10027
- bytes: 435
10028
- }
10029
- ]
10030
- },
10031
- {
10032
- id: "bge-reranker-v2-m3",
10033
- title: "BGE reranker v2 m3, 8-bit",
10034
- languages: "over 100 languages \u2014 better than mmarco in the benchmark, about seven times slower",
10035
- licence: "Apache-2.0 (BAAI's; the ONNX export declares none)",
10036
- maxTokens: 512,
10037
- onnx: "onnx/model_quantized.onnx",
10038
- files: [
10039
- {
10040
- name: "onnx/model_quantized.onnx",
10041
- url: bge("onnx/model_quantized.onnx"),
10042
- sha256: "912fc1215c2dbff6499700534bd8d31253af01573861abbfc43afd1fab6cce5d",
10043
- bytes: 570727094
10044
- },
10045
- {
10046
- name: "tokenizer.json",
10047
- url: bge("tokenizer.json"),
10048
- sha256: "8bf8afbfd11306bd872018c53bfdf2e160a56f8edbcf49933324404791c148d3",
10049
- bytes: 17082900
10050
- },
10051
- {
10052
- name: "tokenizer_config.json",
10053
- url: bge("tokenizer_config.json"),
10054
- sha256: "b87c8703482b0300d3da30e201519aa641f6a450f5eb5bf1e624afbf70c74d80",
10055
- bytes: 1203
10056
- }
10057
- ]
10058
- }
10059
- ];
10060
- var DEFAULT_RERANK_MODEL = "mmarco";
10061
- var rerankModel = /* @__PURE__ */ __name((id6) => {
10062
- const found = RERANK_MODELS.find((model3) => model3.id === id6);
10063
- if (!found) {
10064
- throw new CliError("validation_error", `no reranker ${id6} \u2014 one of: ${RERANK_MODELS.map((model3) => model3.id).join(", ")}`);
10065
- }
10066
- return found;
10067
- }, "rerankModel");
10068
- var vectorModelKey = /* @__PURE__ */ __name((model3) => {
10069
- const weights = model3.custom ? model3.files.find(({ name }) => name === model3.onnx)?.sha256.slice(0, 12) : void 0;
10070
- return `local:${model3.id}${weights ? `@${weights}` : ""}:${model3.dims}`;
10071
- }, "vectorModelKey");
10072
- var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
10073
-
10074
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
10075
- import { existsSync as existsSync4, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
10076
- import { join as join4 } from "node:path";
10077
- var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
9806
+ var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
10078
9807
  var botFiles = /* @__PURE__ */ __name((app, profile, env = process.env) => {
10079
9808
  const directory = botsDirectory(app, env);
10080
9809
  return {
10081
- registry: join4(directory, `${profile}.json`),
10082
- recipients: join4(directory, "recipients", `${profile}.json`),
10083
- journal: join4(directory, "sends", `${profile}.jsonl`),
10084
- updates: join4(directory, "updates", `${profile}.json`),
10085
- presses: join4(directory, "presses", `${profile}.json`),
10086
- checks: join4(directory, "checks", `${profile}.json`)
9810
+ registry: join3(directory, `${profile}.json`),
9811
+ recipients: join3(directory, "recipients", `${profile}.json`),
9812
+ journal: join3(directory, "sends", `${profile}.jsonl`),
9813
+ updates: join3(directory, "updates", `${profile}.json`),
9814
+ presses: join3(directory, "presses", `${profile}.json`),
9815
+ checks: join3(directory, "checks", `${profile}.json`)
10087
9816
  };
10088
9817
  }, "botFiles");
10089
9818
  var ChatRegistry = class {
@@ -10110,7 +9839,7 @@ var ChatRegistry = class {
10110
9839
  }
10111
9840
  /** Makes this bot known to `bot list` before it has seen any chat. */
10112
9841
  touch() {
10113
- if (!existsSync4(this.#path))
9842
+ if (!existsSync3(this.#path))
10114
9843
  writeSecurely(this.#path, `${JSON.stringify({ chats: [] }, null, 2)}
10115
9844
  `, 384);
10116
9845
  }
@@ -10139,7 +9868,7 @@ var ChatRegistry = class {
10139
9868
  this.#write({ ...this.#read(), chats: [...byId.values()] });
10140
9869
  }
10141
9870
  #read() {
10142
- if (!existsSync4(this.#path))
9871
+ if (!existsSync3(this.#path))
10143
9872
  return {};
10144
9873
  try {
10145
9874
  const parsed = JSON.parse(readFileSync3(this.#path, "utf8"));
@@ -10155,12 +9884,12 @@ var ChatRegistry = class {
10155
9884
  };
10156
9885
  var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
10157
9886
  const directory = botsDirectory(app, env);
10158
- if (!existsSync4(directory))
9887
+ if (!existsSync3(directory))
10159
9888
  return [];
10160
9889
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
10161
9890
  }, "registryProfiles");
10162
9891
 
10163
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
9892
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
10164
9893
  import { readFileSync as readFileSync4 } from "node:fs";
10165
9894
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
10166
9895
  var SECTIONS = ["personal", "bot"];
@@ -10456,20 +10185,20 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
10456
10185
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
10457
10186
  }, "readConfigFile");
10458
10187
 
10459
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/default-config.js
10460
- import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync3, writeFileSync } from "node:fs";
10461
- import { dirname as dirname2, join as join5 } from "node:path";
10188
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/default-config.js
10189
+ import { existsSync as existsSync4, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync3, writeFileSync } from "node:fs";
10190
+ import { dirname as dirname2, join as join4 } from "node:path";
10462
10191
  var DEFAULT_CONFIG = {
10463
10192
  defaults: { limit: 20, keep_runs_for_days: 30, sends_per_hour: 30, update_check: true, skill_hint: true },
10464
10193
  profiles: {}
10465
10194
  };
10466
10195
  function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
10467
- if (existsSync5(path2))
10196
+ if (existsSync4(path2))
10468
10197
  return;
10469
10198
  const directory = dirname2(path2);
10470
10199
  mkdirSync2(directory, { recursive: true, mode: 448 });
10471
- const temporary = mkdtempSync(join5(directory, ".config-"));
10472
- const candidate = join5(temporary, "config.json");
10200
+ const temporary = mkdtempSync(join4(directory, ".config-"));
10201
+ const candidate = join4(temporary, "config.json");
10473
10202
  try {
10474
10203
  writeFileSync(candidate, `${JSON.stringify(config, null, 2)}
10475
10204
  `, { flag: "wx", mode: 384 });
@@ -10485,10 +10214,10 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
10485
10214
  }
10486
10215
  __name(ensureDefaultConfig, "ensureDefaultConfig");
10487
10216
 
10488
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
10489
- import { existsSync as existsSync6, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
10490
- import { join as join6 } from "node:path";
10491
- var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join6(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
10217
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
10218
+ import { existsSync as existsSync5, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
10219
+ import { join as join5 } from "node:path";
10220
+ var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join5(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
10492
10221
  var rememberAccount = /* @__PURE__ */ __name((app, profile, id6, env) => writeSecurely(accountFileFor(app, profile, env), `${JSON.stringify({ account: id6 })}
10493
10222
  `, 384), "rememberAccount");
10494
10223
  var recalledAccount = /* @__PURE__ */ __name((app, provider, profile, env) => {
@@ -10500,14 +10229,14 @@ var recalledAccount = /* @__PURE__ */ __name((app, provider, profile, env) => {
10500
10229
  }
10501
10230
  }, "recalledAccount");
10502
10231
  var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
10503
- const dir = join6(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts");
10504
- if (!existsSync6(dir))
10232
+ const dir = join5(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts");
10233
+ if (!existsSync5(dir))
10505
10234
  return [];
10506
10235
  return readdirSync3(dir).filter((name) => name.endsWith(".json")).map((name) => name.slice(0, -".json".length));
10507
10236
  }, "profilesWithAccounts");
10508
10237
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
10509
10238
 
10510
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
10239
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
10511
10240
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
10512
10241
  var parentOf = /* @__PURE__ */ __name((config, key) => {
10513
10242
  const path2 = key.split(".");
@@ -10540,10 +10269,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
10540
10269
  };
10541
10270
  }), "settingRows");
10542
10271
 
10543
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/settings.js
10544
- import { existsSync as existsSync7 } from "node:fs";
10272
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/settings.js
10273
+ import { existsSync as existsSync6 } from "node:fs";
10545
10274
 
10546
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/services/history-limits.js
10275
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/services/history-limits.js
10547
10276
  var HISTORY_MAX_DAYS = 1095;
10548
10277
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
10549
10278
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -10590,7 +10319,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
10590
10319
  return { batch: { ...batch, messages }, skipped };
10591
10320
  }, "limitBatch");
10592
10321
 
10593
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/settings.js
10322
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/settings.js
10594
10323
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
10595
10324
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
10596
10325
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -10739,13 +10468,13 @@ var NoProfileHere = class extends CliError {
10739
10468
  }
10740
10469
  app;
10741
10470
  constructor(app) {
10742
- super("validation_error", `name a profile: there is none on this computer yet \u2014 create one with \`${app.command} personal setup\` (any name in place of personal)`, { profiles: [] });
10471
+ super("validation_error", `name a profile: there is none on this computer yet \u2014 create one with \`${app.command} personal setup\` (any name in place of personal)`, { reason: "profile.missing", profiles: [] });
10743
10472
  this.app = app;
10744
10473
  }
10745
10474
  /** `words`: the command that was typed, without its arguments, so the suggestion runs as written. */
10746
- withoutSetup(words2) {
10747
- const command = words2 ? `${this.app.command} personal ${words2}` : `${this.app.command} personal \u2026`;
10748
- return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { profiles: [] });
10475
+ withoutSetup(words) {
10476
+ const command = words ? `${this.app.command} personal ${words}` : `${this.app.command} personal \u2026`;
10477
+ return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { reason: "profile.missing", profiles: [] });
10749
10478
  }
10750
10479
  };
10751
10480
  var first = /* @__PURE__ */ __name((candidates, fallback) => {
@@ -10823,7 +10552,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
10823
10552
  const here = profilesOf(config, env);
10824
10553
  if (here.length === 0)
10825
10554
  throw new NoProfileHere(app);
10826
- throw new CliError("validation_error", `name a profile: \`${app.command} <profile> \u2026\` \u2014 profiles here: ${here.join(", ")} (or set ${PROFILE})`, { profiles: here });
10555
+ throw new CliError("validation_error", `name a profile: \`${app.command} <profile> \u2026\` \u2014 profiles here: ${here.join(", ")} (or set ${PROFILE})`, { reason: "profile.missing", profiles: here });
10827
10556
  }, "unnamed");
10828
10557
  const profilesOf = /* @__PURE__ */ __name((config, env) => profilesHere(app, [...namedProfiles(config), ...extension.profiles?.(env) ?? []], env), "profilesOf");
10829
10558
  const botsOf = /* @__PURE__ */ __name((config, env) => [.../* @__PURE__ */ new Set([...Object.keys(config.bot?.profiles ?? {}), ...registryProfiles(app, env)])].sort(), "botsOf");
@@ -10952,7 +10681,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
10952
10681
  updateCheck: updateCheck.value,
10953
10682
  skillHint: skillHint.value,
10954
10683
  configPath,
10955
- configFound: existsSync7(configPath),
10684
+ configFound: existsSync6(configPath),
10956
10685
  configuredProfiles: namedProfiles(config),
10957
10686
  profilesHere: profilesOf(config, env),
10958
10687
  accountProfiles: accountsOf(config, env, bots),
@@ -11070,9 +10799,11 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
11070
10799
  saveConfigFile(path2, config);
11071
10800
  return added;
11072
10801
  }, "migrate");
10802
+ const settingSchema = /* @__PURE__ */ __name((key) => Object.hasOwn(profileEntries, key) ? profileEntries[key] : void 0, "settingSchema");
11073
10803
  return {
11074
10804
  resolveSettings,
11075
10805
  configuredProfiles,
10806
+ settingSchema,
11076
10807
  changeSetting,
11077
10808
  migrate,
11078
10809
  declaredSettings,
@@ -11116,10 +10847,12 @@ var given = /* @__PURE__ */ __name((value) => {
11116
10847
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
11117
10848
  }, "given");
11118
10849
 
11119
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/background/budget.js
10850
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/background/budget.js
11120
10851
  var DEADLINE_MARGIN_MS = 5e3;
11121
10852
  var DEADLINE_MARGIN_SHARE = 0.15;
11122
10853
  var DEFAULT_REQUEST_MS = 2e3;
10854
+ var ANSWER_RESERVE_MS = 500;
10855
+ var oneMoreFits = /* @__PURE__ */ __name((deadline, at2, requestMs = DEFAULT_REQUEST_MS) => deadline !== void 0 && at2 + requestMs + ANSWER_RESERVE_MS < deadline.endsAt, "oneMoreFits");
11123
10856
  var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
11124
10857
  var requestsFor = /* @__PURE__ */ __name((deadline, requestMs = DEFAULT_REQUEST_MS) => deadline === void 0 ? null : Math.max(1, Math.floor((deadline.ms - deadlineMargin(deadline)) / requestMs)), "requestsFor");
11125
10858
  var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, requestMs, signal, now = Date.now } = {}) => {
@@ -11127,6 +10860,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
11127
10860
  const limit = fits === null ? requests2 ?? null : Math.min(fits, requests2 ?? fits);
11128
10861
  const margin = deadline ? deadlineMargin(deadline) : 0;
11129
10862
  let used = 0;
10863
+ let granted = false;
11130
10864
  let stopped2 = null;
11131
10865
  let last;
11132
10866
  let slowest = 0;
@@ -11149,6 +10883,17 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
11149
10883
  last = at2;
11150
10884
  return null;
11151
10885
  },
10886
+ first() {
10887
+ if (granted || used > 0 || stopped2 !== "deadline")
10888
+ return false;
10889
+ const at2 = now();
10890
+ if (!oneMoreFits(deadline, at2, Math.max(requestMs ?? DEFAULT_REQUEST_MS, slowest)))
10891
+ return false;
10892
+ granted = true;
10893
+ used += 1;
10894
+ last = at2;
10895
+ return true;
10896
+ },
11152
10897
  get used() {
11153
10898
  return used;
11154
10899
  },
@@ -11159,7 +10904,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
11159
10904
  };
11160
10905
  }, "runBudget");
11161
10906
 
11162
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/context.js
10907
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/context.js
11163
10908
  var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
11164
10909
  const { deadline, signal, app } = environmentOf(command);
11165
10910
  const now = deadline?.();
@@ -11199,11 +10944,17 @@ var detailOf = /* @__PURE__ */ __name(({ brief, full }) => {
11199
10944
  return brief ? { hitDetail: "brief" } : full ? { hitDetail: "full" } : {};
11200
10945
  }, "detailOf");
11201
10946
  var COMPACT_KEY = new Option(COMPACT_FLAG).attributeName();
10947
+ var outputFieldsOf = /* @__PURE__ */ __name((command) => {
10948
+ const fields = rootOf(command).getOptionValue("fields");
10949
+ return typeof fields === "string" ? { fields } : {};
10950
+ }, "outputFieldsOf");
11202
10951
  var compactOf = /* @__PURE__ */ __name((command) => command.optsWithGlobals()[COMPACT_KEY] === true, "compactOf");
11203
10952
  var outputFor = /* @__PURE__ */ __name((command) => {
11204
10953
  const { streams, tty, env, agent } = environmentOf(command);
10954
+ const { fields: _own, ...flags } = command.optsWithGlobals();
11205
10955
  return resolveOutput({
11206
- ...command.optsWithGlobals(),
10956
+ ...flags,
10957
+ ...outputFieldsOf(command),
11207
10958
  ...detailOf(command.optsWithGlobals()),
11208
10959
  compact: compactOf(command),
11209
10960
  ...agent ? { capture: agent.result } : {},
@@ -11221,7 +10972,7 @@ var baseContext = /* @__PURE__ */ __name((command, resolveSettings) => {
11221
10972
  env,
11222
10973
  compact: compactOf(command),
11223
10974
  ...detailOf(command.optsWithGlobals()),
11224
- ...command.optsWithGlobals().fields ? { fields: command.optsWithGlobals().fields } : {},
10975
+ ...outputFieldsOf(command),
11225
10976
  ...environment.agent ? { capture: environment.agent.result } : {},
11226
10977
  ...environment.streams ? { streams: environment.streams } : {},
11227
10978
  ...environment.tty === void 0 ? {} : { tty: environment.tty }
@@ -11293,13 +11044,13 @@ var inCommandRun = /* @__PURE__ */ __name((command, body) => {
11293
11044
  return baseContext(command, (flags, options) => resolveSettings(flags, { ...options, needsProfile: false })).run(body);
11294
11045
  }, "inCommandRun");
11295
11046
  var commandPath = /* @__PURE__ */ __name((command) => {
11296
- const words2 = [];
11047
+ const words = [];
11297
11048
  for (let current2 = command; current2?.parent; current2 = current2.parent)
11298
- words2.unshift(current2.name());
11299
- return words2.join(" ");
11049
+ words.unshift(current2.name());
11050
+ return words.join(" ");
11300
11051
  }, "commandPath");
11301
11052
 
11302
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/effects.js
11053
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/effects.js
11303
11054
  var REMOTE_READ = { remote: "read", local: "read" };
11304
11055
  var FETCH = { remote: "read", local: "write" };
11305
11056
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -11414,10 +11165,10 @@ var refuseStoreChange = /* @__PURE__ */ __name((app, env) => {
11414
11165
  throw readOnlyRefusal(lock, storeChangeRefusal(app));
11415
11166
  }, "refuseStoreChange");
11416
11167
  var pathOf2 = /* @__PURE__ */ __name((command) => {
11417
- const words2 = [];
11168
+ const words = [];
11418
11169
  for (let at2 = command; at2.parent; at2 = at2.parent)
11419
- words2.unshift(at2.name());
11420
- return words2;
11170
+ words.unshift(at2.name());
11171
+ return words;
11421
11172
  }, "pathOf");
11422
11173
  var changesMessenger = /* @__PURE__ */ __name((command) => {
11423
11174
  const { path: path2, effects, lifetime, reaches } = "path" in command ? command : { path: pathOf2(command), ...metaOf(command) };
@@ -11451,8 +11202,8 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
11451
11202
  throw readOnlyRefusal(lock, what);
11452
11203
  }, "refuseUnderReadOnly");
11453
11204
 
11454
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11455
- import { join as join7 } from "node:path";
11205
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11206
+ import { join as join6 } from "node:path";
11456
11207
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
11457
11208
  var IMAGE_MODELS = [
11458
11209
  {
@@ -11502,10 +11253,10 @@ var imageModel = /* @__PURE__ */ __name((id6) => {
11502
11253
  return found;
11503
11254
  }, "imageModel");
11504
11255
  var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("image", env), "imageModelsDirectory");
11505
- var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join7(directory, model3.id, file.name)]), "placedImage");
11256
+ var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
11506
11257
  var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
11507
11258
 
11508
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/steps.js
11259
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/steps.js
11509
11260
  var STEPS2 = defineSteps([
11510
11261
  ...STEPS,
11511
11262
  {
@@ -11742,10 +11493,10 @@ var nextStep = /* @__PURE__ */ __name((id6, input) => {
11742
11493
  const args = Object.fromEntries(Object.entries(input.args ?? {}).filter(([, value]) => value !== void 0));
11743
11494
  return stepOf(definition, { ...input, args });
11744
11495
  }, "nextStep");
11745
- var lineOf = /* @__PURE__ */ __name((command, words2) => {
11496
+ var lineOf = /* @__PURE__ */ __name((command, words) => {
11746
11497
  const root = rootOf2(command);
11747
11498
  const profile = root.getOptionValue("profile");
11748
- return typedCommand(root.name(), words2, typeof profile === "string" && profile !== "" ? profile : void 0);
11499
+ return typedCommand(root.name(), words, typeof profile === "string" && profile !== "" ? profile : void 0);
11749
11500
  }, "lineOf");
11750
11501
  var rootOf2 = /* @__PURE__ */ __name((command) => {
11751
11502
  let root = command;
@@ -11795,7 +11546,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11795
11546
  ].join(" ");
11796
11547
  }, "stepLine");
11797
11548
 
11798
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11549
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11799
11550
  var SOFT_OUTPUT_BYTES = 256 * 1024;
11800
11551
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
11801
11552
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -11821,10 +11572,10 @@ var declaresRow = /* @__PURE__ */ __name((command) => {
11821
11572
  return rowShapeOf(command, rows2 && entityRows(rows2)) !== GENERIC_ROW;
11822
11573
  }, "declaresRow");
11823
11574
  var pathOf3 = /* @__PURE__ */ __name((command) => {
11824
- const words2 = [];
11575
+ const words = [];
11825
11576
  for (let at2 = command; at2.parent; at2 = at2.parent)
11826
- words2.unshift(at2.name());
11827
- return words2.join(" ");
11577
+ words.unshift(at2.name());
11578
+ return words.join(" ");
11828
11579
  }, "pathOf");
11829
11580
  var step = /* @__PURE__ */ __name((command, id6, args, why) => ({
11830
11581
  kind: "command",
@@ -11853,7 +11604,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
11853
11604
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
11854
11605
  }, "largeAnswerSteps");
11855
11606
 
11856
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11607
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11857
11608
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
11858
11609
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
11859
11610
  var strip = /* @__PURE__ */ __name((value) => {
@@ -11867,7 +11618,7 @@ var strip = /* @__PURE__ */ __name((value) => {
11867
11618
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
11868
11619
  }, "strip");
11869
11620
 
11870
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11621
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11871
11622
  var OPEN = "\u27E6";
11872
11623
  var CLOSE = "\u27E7";
11873
11624
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -11951,7 +11702,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
11951
11702
  return result;
11952
11703
  }, "withFieldsMarked");
11953
11704
 
11954
- // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11705
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_3bf07d813b3b8f6ae0583ce017092c7c/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11955
11706
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
11956
11707
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
11957
11708
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -12059,8 +11810,8 @@ var linesOf = /* @__PURE__ */ __name((body) => jsonlOf("items" in body ? body :
12059
11810
  var jsonlRecords = /* @__PURE__ */ __name((body) => linesOf(sealed(body)).split("\n").map((line) => JSON.parse(line)), "jsonlRecords");
12060
11811
  var listZone = /* @__PURE__ */ __name((command) => {
12061
11812
  const registry = metaOf(command).query;
12062
- const words2 = command.processedArgs.at(-1);
12063
- const text5 = Array.isArray(words2) ? words2.join(" ") : typeof words2 === "string" ? words2 : "";
11813
+ const words = command.processedArgs.at(-1);
11814
+ const text5 = Array.isArray(words) ? words.join(" ") : typeof words === "string" ? words : "";
12064
11815
  const times = new Set(registry?.fields.filter(({ type }) => type === "time").map(({ name }) => name));
12065
11816
  if (times.size === 0 || text5.trim() === "")
12066
11817
  return void 0;
@@ -12230,6 +11981,7 @@ export {
12230
11981
  entityRows,
12231
11982
  rowShapeOf,
12232
11983
  compactText,
11984
+ deadlineMargin,
12233
11985
  CORE_LOG_EVENTS,
12234
11986
  recorded,
12235
11987
  startRecording,
@@ -12264,25 +12016,10 @@ export {
12264
12016
  refuseCommandName,
12265
12017
  rootOf,
12266
12018
  sampleCommand,
12267
- modelTarget,
12268
12019
  AI_ENTRIES,
12269
12020
  AI_SETTING_KEYS,
12270
12021
  resolveAISettings,
12271
12022
  parseDuration,
12272
- DEFAULT_TEXT_MODEL,
12273
- PREVIOUS_DEFAULT_TEXT_MODEL,
12274
- CustomTextModelShape,
12275
- textModelsFile,
12276
- readTextModelsSection,
12277
- writeTextModelsSection,
12278
- textModels,
12279
- textModel,
12280
- chosenTextModel,
12281
- RERANK_MODELS,
12282
- DEFAULT_RERANK_MODEL,
12283
- rerankModel,
12284
- vectorModelKey,
12285
- meaningFloor,
12286
12023
  historyWindow,
12287
12024
  limitBatch,
12288
12025
  botsDirectory,
@@ -12322,6 +12059,7 @@ export {
12322
12059
  environmentOf,
12323
12060
  withAgentLevels,
12324
12061
  secretInputOf,
12062
+ outputFieldsOf,
12325
12063
  outputFor,
12326
12064
  baseContext,
12327
12065
  inCommandRun,
@@ -12381,6 +12119,8 @@ export {
12381
12119
  stepLine,
12382
12120
  tooLargeSteps,
12383
12121
  withoutProviderRefs,
12122
+ untrustedMarkOf,
12123
+ withUntrustedMarked,
12384
12124
  marksUntrusted,
12385
12125
  answerSchema,
12386
12126
  listOf,