@wirecat/amo-cli 0.4.0 → 0.6.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 (173) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/contracts/wirecat.json +2 -1
  3. package/dist/amo/allow-list.d.ts +1 -1
  4. package/dist/amo/allow-list.d.ts.map +1 -1
  5. package/dist/amo/oauth.d.ts.map +1 -1
  6. package/dist/amo/oauth.js +3 -4
  7. package/dist/amo/oauth.js.map +1 -1
  8. package/dist/amo/operation.d.ts +1 -1
  9. package/dist/amo/operation.d.ts.map +1 -1
  10. package/dist/amo/transport.d.ts.map +1 -1
  11. package/dist/amo/transport.js +3 -6
  12. package/dist/amo/transport.js.map +1 -1
  13. package/dist/bin/amo.js +2 -2
  14. package/dist/bundle/agent-VVACEKSX.js +42 -0
  15. package/dist/bundle/{all-profiles-PRNXEZRH.js → all-profiles-QNUKL4NA.js} +11 -11
  16. package/dist/bundle/amo.js +28 -28
  17. package/dist/bundle/{anthropic-FDI24DU2.js → anthropic-PQN6MNP7.js} +5 -5
  18. package/dist/bundle/{app-server-WAKJVDLN.js → app-server-Q2QEA7GP.js} +71 -69
  19. package/dist/bundle/areas-27FRPBF3.js +71 -0
  20. package/dist/bundle/{bun-YPXUXMBI.js → bun-F4M4KCNA.js} +2 -2
  21. package/dist/bundle/{bun-sqlite-UBQ5M47X.js → bun-sqlite-P5IDBDVR.js} +6 -6
  22. package/dist/bundle/{chunk-G3LAYJJJ.js → chunk-22KAQPX7.js} +4 -4
  23. package/dist/bundle/{chunk-XEYT2EQT.js → chunk-2JGNMZ55.js} +6 -6
  24. package/dist/bundle/{chunk-PL7TNKAY.js → chunk-2VDHC7QO.js} +2 -2
  25. package/dist/bundle/{chunk-BCIZAUDV.js → chunk-34ZOMVUK.js} +9 -9
  26. package/dist/bundle/{chunk-SHOSFYI7.js → chunk-3J3EDSXF.js} +20 -84
  27. package/dist/bundle/{chunk-ELAKOEIO.js → chunk-3TYER5IK.js} +14 -6
  28. package/dist/bundle/{chunk-NFWD4QX3.js → chunk-5NGLCDYQ.js} +2 -2
  29. package/dist/bundle/{chunk-NKYWQTS2.js → chunk-5SQTHOBI.js} +270 -252
  30. package/dist/bundle/{chunk-Z2B3VNRI.js → chunk-6GE36KUE.js} +11 -11
  31. package/dist/bundle/{chunk-GQKEMBM6.js → chunk-6GZKY3HV.js} +121 -36
  32. package/dist/bundle/{chunk-M54YKD3I.js → chunk-6OV2TRGF.js} +7 -7
  33. package/dist/bundle/{chunk-MW7HUD6R.js → chunk-7CPIZFOE.js} +9 -9
  34. package/dist/bundle/{chunk-TIR3AB35.js → chunk-A5K2NU3K.js} +913 -795
  35. package/dist/bundle/{chunk-5HZMXHRH.js → chunk-AEC4H5WZ.js} +6 -6
  36. package/dist/bundle/{chunk-WAFB3IWJ.js → chunk-APBEDWOE.js} +5 -5
  37. package/dist/bundle/{chunk-V5SETIQK.js → chunk-AQ5RIOUE.js} +1 -1
  38. package/dist/bundle/{chunk-RQPB2BSH.js → chunk-B7L5MSRP.js} +2 -2
  39. package/dist/bundle/{chunk-HZZ56JO7.js → chunk-C7JPYWYQ.js} +1 -1
  40. package/dist/bundle/{chunk-KRD375P7.js → chunk-DIZEHPS6.js} +39 -30
  41. package/dist/bundle/{chunk-TCSVW7BA.js → chunk-DNCLQPOM.js} +1 -1
  42. package/dist/bundle/{chunk-WASBOYI2.js → chunk-DPV53EZC.js} +4 -4
  43. package/dist/bundle/{chunk-HDZNSOV5.js → chunk-DUPCDJ3W.js} +14 -10
  44. package/dist/bundle/{chunk-YHVHDRED.js → chunk-DWT24UVR.js} +6 -6
  45. package/dist/bundle/chunk-DXWJORSY.js +1703 -0
  46. package/dist/bundle/{chunk-E3EWS6DF.js → chunk-DY3PLWIH.js} +6 -6
  47. package/dist/bundle/{chunk-A4W7J6VN.js → chunk-DYWHAJRK.js} +37 -190
  48. package/dist/bundle/{chunk-LAR2DLTI.js → chunk-EXRM3ML4.js} +4 -4
  49. package/dist/bundle/{chunk-ZJC2XJQC.js → chunk-FFER7KJI.js} +13 -13
  50. package/dist/bundle/{chunk-V2QWX6B3.js → chunk-FIP2DG7W.js} +3 -3
  51. package/dist/bundle/{chunk-5II6TAJE.js → chunk-FTH6WGYO.js} +1 -1
  52. package/dist/bundle/{chunk-2AIG2SSJ.js → chunk-FWRLGIF6.js} +1668 -169
  53. package/dist/bundle/{chunk-DWD3KDJA.js → chunk-FYOPPKAN.js} +1 -1
  54. package/dist/bundle/{chunk-ABMPZL2P.js → chunk-G3N2RHGF.js} +19 -15
  55. package/dist/bundle/{chunk-GBQ76X6T.js → chunk-G46PNDWL.js} +2 -2
  56. package/dist/bundle/{chunk-VG26HDKH.js → chunk-G6NY7LFB.js} +4 -4
  57. package/dist/bundle/{chunk-5SJEJYQZ.js → chunk-GOCMJBEE.js} +3 -3
  58. package/dist/bundle/{chunk-3K6T2G52.js → chunk-GRGCZSES.js} +6 -6
  59. package/dist/bundle/{chunk-4PQECIU2.js → chunk-GVSKLZRD.js} +2 -2
  60. package/dist/bundle/{chunk-UEN5NWNW.js → chunk-GZ7WBU5Y.js} +1 -1
  61. package/dist/bundle/{chunk-KQZTX4LM.js → chunk-HN2LCLGT.js} +19 -19
  62. package/dist/bundle/{chunk-SFZVMKB6.js → chunk-HO4JGD4Q.js} +1 -1
  63. package/dist/bundle/{chunk-SZX7EPPY.js → chunk-HOF7GQWW.js} +4 -4
  64. package/dist/bundle/chunk-HUAHLO6N.js +29 -0
  65. package/dist/bundle/chunk-IDCZ4LWS.js +150 -0
  66. package/dist/bundle/{chunk-23AQD7JU.js → chunk-IN3VL7UU.js} +18 -17
  67. package/dist/bundle/{chunk-QGFURWEP.js → chunk-ISQ23VKV.js} +8 -1
  68. package/dist/bundle/{chunk-PLU2IQXC.js → chunk-JVBCQHCS.js} +3 -3
  69. package/dist/bundle/{chunk-VEFAYLKX.js → chunk-K5W7YEHB.js} +187 -114
  70. package/dist/bundle/{chunk-PIOR6PIO.js → chunk-KAFSS35C.js} +2 -2
  71. package/dist/bundle/{chunk-VG2ERHFJ.js → chunk-KLRCTMES.js} +3 -3
  72. package/dist/bundle/{chunk-KORZEYZN.js → chunk-KYRYD4CR.js} +1 -1
  73. package/dist/bundle/{chunk-FEUNZG7U.js → chunk-LBZSURLL.js} +38 -38
  74. package/dist/bundle/{chunk-EAX5RO7S.js → chunk-LC7ZD2RW.js} +1 -1
  75. package/dist/bundle/{chunk-O3WE5IGP.js → chunk-LH6FJYMO.js} +6 -6
  76. package/dist/bundle/{chunk-DWA5TZMP.js → chunk-LJKINNWC.js} +8 -8
  77. package/dist/bundle/{chunk-U46RNOEQ.js → chunk-M36XP74N.js} +3 -3
  78. package/dist/bundle/chunk-MNPGZCKE.js +361 -0
  79. package/dist/bundle/{chunk-WR2FPZTE.js → chunk-MRPMORLH.js} +8 -8
  80. package/dist/bundle/{chunk-CEBX63XY.js → chunk-NNREILWP.js} +8 -8
  81. package/dist/bundle/chunk-NSOY4FMN.js +159 -0
  82. package/dist/bundle/{chunk-SNBYFQHT.js → chunk-OEEWVKJX.js} +1 -1
  83. package/dist/bundle/{chunk-YREKMP24.js → chunk-OGJFDKDL.js} +4 -4
  84. package/dist/bundle/chunk-PATZAYFZ.js +453 -0
  85. package/dist/bundle/chunk-PCR6GFNP.js +1171 -0
  86. package/dist/bundle/{chunk-3PCVQCCV.js → chunk-Q4MH2O5E.js} +2 -2
  87. package/dist/bundle/{chunk-7OVTUADG.js → chunk-QFOP3KUP.js} +8 -8
  88. package/dist/bundle/{chunk-YFRTEJ6V.js → chunk-QQRJEWKB.js} +7 -7
  89. package/dist/bundle/{chunk-GJBOZAUD.js → chunk-RNWUCAJJ.js} +3 -3
  90. package/dist/bundle/{chunk-AP3CWDRK.js → chunk-S6JG4YUH.js} +2 -2
  91. package/dist/bundle/{chunk-KBAOJISR.js → chunk-SDVUGWD7.js} +7 -7
  92. package/dist/bundle/{chunk-WEWJA42Q.js → chunk-SEFE6PGL.js} +12 -12
  93. package/dist/bundle/{chunk-6PILR4AX.js → chunk-SWCJM3YD.js} +2 -2
  94. package/dist/bundle/{chunk-TEGQVVCZ.js → chunk-SYRDEMQE.js} +16709 -13048
  95. package/dist/bundle/{chunk-NXNUCGGO.js → chunk-SYYQZDHJ.js} +6 -6
  96. package/dist/bundle/{chunk-SMM7GS4Q.js → chunk-T3W4V4A6.js} +1 -1
  97. package/dist/bundle/{chunk-EBNCUQLV.js → chunk-TCT5D2X2.js} +1 -1
  98. package/dist/bundle/{chunk-ASU63X5C.js → chunk-TES7MB6I.js} +2 -2
  99. package/dist/bundle/{chunk-745FMNI5.js → chunk-TXDR6YSF.js} +1 -1
  100. package/dist/bundle/{chunk-3WG4MTQI.js → chunk-TY7NDMFY.js} +1 -1
  101. package/dist/bundle/{chunk-AN6IJYH3.js → chunk-U6XPWCWM.js} +5 -5
  102. package/dist/bundle/{chunk-LZ4IWN43.js → chunk-UFKC7TIX.js} +1617 -1990
  103. package/dist/bundle/{chunk-IPNIF5JE.js → chunk-UNWF3TH5.js} +4 -4
  104. package/dist/bundle/{chunk-6QMSKJB4.js → chunk-W3BOR6AT.js} +8 -8
  105. package/dist/bundle/{chunk-SCMB4LI6.js → chunk-WIHN3ELW.js} +19 -19
  106. package/dist/bundle/{chunk-UCM7C773.js → chunk-X76RS6JO.js} +178 -61
  107. package/dist/bundle/{chunk-GMHRPX5M.js → chunk-YF3S26TS.js} +61 -61
  108. package/dist/bundle/{chunk-ZKRWNL4T.js → chunk-ZCQ4H7CA.js} +2 -2
  109. package/dist/bundle/{chunk-CYHIM5SL.js → chunk-ZOZV32IR.js} +3 -3
  110. package/dist/bundle/{chunk-OYMHPQF7.js → chunk-ZTKHXDEU.js} +4 -4
  111. package/dist/bundle/{cli-QDPKC2HJ.js → cli-EAD3WZLR.js} +119 -105
  112. package/dist/bundle/command-contract-SMEJ2ICG.js +40 -0
  113. package/dist/bundle/{command-server-entry-TX7WNN7G.js → command-server-entry-YTZP6I4T.js} +29 -28
  114. package/dist/bundle/{decode-BLPC7OYE.js → decode-57BE5OBT.js} +5 -5
  115. package/dist/bundle/{dispatch-5JUT55CS.js → dispatch-56FECRCU.js} +8 -8
  116. package/dist/bundle/{echarts-54D3FOCL.js → echarts-QMAA7HH5.js} +2 -2
  117. package/dist/bundle/{embed-O7KMDYM7.js → embed-NFGFYUO4.js} +6 -6
  118. package/dist/bundle/{embedder-4PE67CLX.js → embedder-SRBOJMXX.js} +9 -9
  119. package/dist/bundle/{failure-NNQYTB3Z.js → failure-WDSX6H3B.js} +2 -2
  120. package/dist/bundle/{first-run-EAU5SHBI.js → first-run-HWRUL2GR.js} +12 -12
  121. package/dist/bundle/first-screen-ATN4D3FQ.js +41 -0
  122. package/dist/bundle/{instructions-ONXP5DZQ.js → instructions-4H7UREH2.js} +1 -1
  123. package/dist/bundle/{mcp-ZNULRPZ4.js → mcp-5HFPWC3W.js} +2 -2
  124. package/dist/bundle/meeting-combined-BGDEHCWY.js +26 -0
  125. package/dist/bundle/{meeting-model-FWIZRKVN.js → meeting-model-WWGVRXPL.js} +11 -11
  126. package/dist/bundle/{meeting-semantic-M4YVJ57W.js → meeting-semantic-ZQ47BL2Z.js} +6 -6
  127. package/dist/bundle/{node-UTQCYQF5.js → node-P3PUHKYH.js} +2 -2
  128. package/dist/bundle/{node-sqlite-APJG6MGL.js → node-sqlite-JOTSNH3P.js} +7 -7
  129. package/dist/bundle/{oauth-TY7RMIBL.js → oauth-XPSAL6VO.js} +7 -7
  130. package/dist/bundle/{open-WDVEQL75.js → open-PO52FVA5.js} +5 -5
  131. package/dist/bundle/{openai-H5UJHSEZ.js → openai-WITYLMY5.js} +15 -15
  132. package/dist/bundle/{process-MGMXXPMY.js → process-AFIXYXWL.js} +1 -1
  133. package/dist/bundle/{program-IF36C6VR.js → program-JODTZNBZ.js} +331 -196
  134. package/dist/bundle/{prompt-4RLIWLMF.js → prompt-XORLAXHY.js} +5 -5
  135. package/dist/bundle/{recognize-UIRTMWM4.js → recognize-JKMZHDYS.js} +4 -4
  136. package/dist/bundle/{remote-L3MNWZQK.js → remote-3IMEJTEH.js} +9 -9
  137. package/dist/bundle/{rerank-F4KZQTY6.js → rerank-3F2E6NNN.js} +7 -7
  138. package/dist/bundle/{serve-37AUYTWS.js → serve-6BWU3NMB.js} +9 -9
  139. package/dist/bundle/{server-UBG676ZJ.js → server-GPSB5WFG.js} +63 -61
  140. package/dist/bundle/server-HMCC64ZU.js +88 -0
  141. package/dist/bundle/source-E72OS27D.js +47 -0
  142. package/dist/bundle/{sqlite-runtime-CI3RW7VA.js → sqlite-runtime-YHYQDUXE.js} +6 -6
  143. package/dist/bundle/{state-JOHLSLUO.js → state-R7W4U6T4.js} +6 -6
  144. package/dist/bundle/{store-OSOUXBYL.js → store-HTVRL7FB.js} +56 -43
  145. package/dist/bundle/store-IWW6U6QN.js +34 -0
  146. package/dist/bundle/{store-2MBG4IUS.js → store-TBZ3ZS6H.js} +25 -23
  147. package/dist/bundle/store-maintenance-command-CJM2VLMW.js +75 -0
  148. package/dist/bundle/surface-5GBWNYBE.js +74 -0
  149. package/dist/bundle/writer-TW2Q55VJ.js +49 -0
  150. package/dist/commands/crm-shared.js +1 -1
  151. package/dist/commands/crm-shared.js.map +1 -1
  152. package/dist/commands/session.d.ts.map +1 -1
  153. package/dist/commands/session.js +1 -6
  154. package/dist/commands/session.js.map +1 -1
  155. package/dist/version.d.ts +1 -1
  156. package/dist/version.js +1 -1
  157. package/package.json +4 -4
  158. package/skills/amo-cli/SKILL.md +6 -0
  159. package/dist/bundle/agent-43BMVBX2.js +0 -40
  160. package/dist/bundle/chunk-2UJ7ZZZC.js +0 -79
  161. package/dist/bundle/chunk-FQRP6JWX.js +0 -29
  162. package/dist/bundle/chunk-IBEHYGG6.js +0 -721
  163. package/dist/bundle/chunk-M33XHJTM.js +0 -1266
  164. package/dist/bundle/chunk-S6DTLAOB.js +0 -761
  165. package/dist/bundle/command-contract-KWNCP3MQ.js +0 -39
  166. package/dist/bundle/first-screen-APSNGZYZ.js +0 -39
  167. package/dist/bundle/meeting-combined-W2XIYXFU.js +0 -24
  168. package/dist/bundle/server-CRF4QSZR.js +0 -86
  169. package/dist/bundle/source-Z7GH7T4B.js +0 -44
  170. package/dist/bundle/store-SNW6U32Y.js +0 -34
  171. package/dist/bundle/store-maintenance-command-W7V54SLT.js +0 -73
  172. package/dist/bundle/surface-ESJS2FUI.js +0 -72
  173. package/dist/bundle/writer-BJDQMKUV.js +0 -46
@@ -9,39 +9,28 @@ import {
9
9
  providerErrorKey,
10
10
  renderEvent,
11
11
  runContextOf
12
- } from "./chunk-M54YKD3I.js";
12
+ } from "./chunk-6OV2TRGF.js";
13
13
  import {
14
14
  permissionCeiling
15
- } from "./chunk-G3LAYJJJ.js";
15
+ } from "./chunk-22KAQPX7.js";
16
16
  import {
17
17
  DEFAULT_RERANK_MODEL,
18
18
  RERANK_MODELS
19
- } from "./chunk-O3WE5IGP.js";
19
+ } from "./chunk-LH6FJYMO.js";
20
20
  import {
21
21
  carries
22
- } from "./chunk-SMM7GS4Q.js";
22
+ } from "./chunk-T3W4V4A6.js";
23
23
  import {
24
24
  note
25
- } from "./chunk-V2QWX6B3.js";
25
+ } from "./chunk-FIP2DG7W.js";
26
26
  import {
27
27
  CATEGORIES,
28
- FACT_STATUSES,
29
28
  KEEP_STORE_RUNS_FOR_DAYS,
30
29
  KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
31
30
  LINK_KINDS,
32
31
  LINK_SOURCES,
33
32
  LOG_ATTRIBUTES,
34
- MEMORY_KINDS,
35
- MEMORY_SCOPES,
36
- MEMORY_STATUSES,
37
- PRIORITY_LABELS,
38
33
  RUNS_SIZE_LIMIT_MB,
39
- TASK_KINDS,
40
- TASK_ORIGINS,
41
- TASK_STATES,
42
- TASK_TYPES,
43
- TASK_VERDICTS,
44
- WORK_TASK_TYPES,
45
34
  author,
46
35
  childTrace,
47
36
  count,
@@ -68,18 +57,32 @@ import {
68
57
  typedCommand,
69
58
  untrusted,
70
59
  useAsProcessRun
71
- } from "./chunk-M33XHJTM.js";
60
+ } from "./chunk-PCR6GFNP.js";
72
61
  import {
73
62
  isCliFailure,
63
+ storeBusy,
74
64
  storeDamaged
75
- } from "./chunk-ELAKOEIO.js";
65
+ } from "./chunk-3TYER5IK.js";
66
+ import {
67
+ FACT_STATUSES,
68
+ MEMORY_KINDS,
69
+ MEMORY_SCOPES,
70
+ MEMORY_STATUSES,
71
+ PRIORITY_LABELS,
72
+ TASK_KINDS,
73
+ TASK_ORIGINS,
74
+ TASK_STATES,
75
+ TASK_TYPES,
76
+ TASK_VERDICTS,
77
+ WORK_TASK_TYPES
78
+ } from "./chunk-IDCZ4LWS.js";
76
79
  import {
77
80
  endpoint
78
- } from "./chunk-E3EWS6DF.js";
81
+ } from "./chunk-DY3PLWIH.js";
79
82
  import {
80
83
  filesPresent,
81
84
  sharedModelsDirectory
82
- } from "./chunk-IPNIF5JE.js";
85
+ } from "./chunk-UNWF3TH5.js";
83
86
  import {
84
87
  CEILING_KEY,
85
88
  COMMAND_PATH_KEY,
@@ -93,7 +96,7 @@ import {
93
96
  permissionOverrides,
94
97
  projectFields,
95
98
  resolveOutput
96
- } from "./chunk-KBAOJISR.js";
99
+ } from "./chunk-SDVUGWD7.js";
97
100
  import {
98
101
  BUSINESS_KINDS,
99
102
  CRM_ACTIVITY_KINDS,
@@ -108,10 +111,10 @@ import {
108
111
  ORDER_STATUSES,
109
112
  RELATION_KINDS,
110
113
  STANDINGS
111
- } from "./chunk-S6DTLAOB.js";
114
+ } from "./chunk-MNPGZCKE.js";
112
115
  import {
113
116
  TAG_TYPES
114
- } from "./chunk-FQRP6JWX.js";
117
+ } from "./chunk-PATZAYFZ.js";
115
118
  import {
116
119
  FACT_TYPES,
117
120
  FIELD_TYPES,
@@ -139,14 +142,14 @@ import {
139
142
  parseLucene,
140
143
  readsZone,
141
144
  timezoneOf
142
- } from "./chunk-GMHRPX5M.js";
145
+ } from "./chunk-YF3S26TS.js";
143
146
  import {
144
147
  repairConfigText,
145
148
  sharedConfigPath
146
- } from "./chunk-YFRTEJ6V.js";
149
+ } from "./chunk-QQRJEWKB.js";
147
150
  import {
148
151
  storePath
149
- } from "./chunk-ZKRWNL4T.js";
152
+ } from "./chunk-ZCQ4H7CA.js";
150
153
  import {
151
154
  configFilePath,
152
155
  createRecordLog,
@@ -155,7 +158,7 @@ import {
155
158
  resolvePaths,
156
159
  saveConfigFile,
157
160
  writeSecurely
158
- } from "./chunk-SCMB4LI6.js";
161
+ } from "./chunk-WIHN3ELW.js";
159
162
  import {
160
163
  COMPACT_FLAG,
161
164
  MAX_NEXT_STEPS,
@@ -207,17 +210,17 @@ import {
207
210
  unwrap,
208
211
  variant,
209
212
  writes
210
- } from "./chunk-7OVTUADG.js";
213
+ } from "./chunk-QFOP3KUP.js";
211
214
  import {
212
215
  CliError,
213
216
  isCliError,
214
217
  visibleControls
215
- } from "./chunk-AP3CWDRK.js";
218
+ } from "./chunk-S6JG4YUH.js";
216
219
  import {
217
220
  __name
218
221
  } from "./chunk-ZVVMGPBJ.js";
219
222
 
220
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/models/settings.js
223
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/models/settings.js
221
224
  var MODEL_FIELDS = ["provider", "model", "base_url"];
222
225
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
223
226
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -286,7 +289,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
286
289
  };
287
290
  }, "modelTarget");
288
291
 
289
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/analysis/settings.js
292
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/analysis/settings.js
290
293
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
291
294
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
292
295
  var AI_FIELDS = {
@@ -330,7 +333,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
330
333
  };
331
334
  }, "resolveAISettings");
332
335
 
333
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/ports/app.js
336
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/ports/app.js
334
337
  import { readFileSync } from "node:fs";
335
338
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
336
339
  var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
@@ -384,7 +387,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
384
387
  var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
385
388
  var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
386
389
 
387
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/domain/duration.js
390
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/duration.js
388
391
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
389
392
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
390
393
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -398,7 +401,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
398
401
  return ms2;
399
402
  }, "parseDuration");
400
403
 
401
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
404
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
402
405
  var WEIGHTS = {
403
406
  bot: 3,
404
407
  scam: 3,
@@ -423,7 +426,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
423
426
  var DIGITS = /\d{5,}/;
424
427
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
425
428
 
426
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
429
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
427
430
  var linkedIdentity = strictObject({
428
431
  provider: text,
429
432
  id,
@@ -478,7 +481,7 @@ var contactCheck = strictObject({
478
481
  checked_at: time
479
482
  });
480
483
 
481
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/member.js
484
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/member.js
482
485
  var member = strictObject({
483
486
  id,
484
487
  name: nullable(text),
@@ -501,7 +504,7 @@ var member = strictObject({
501
504
  check: optional(record(string(), unknown()))
502
505
  });
503
506
 
504
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat.js
507
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat.js
505
508
  var setting = optional(nullable(boolean()));
506
509
  var chat = strictObject({
507
510
  ref: reference,
@@ -542,7 +545,7 @@ var chat = strictObject({
542
545
  members: optional(array(member))
543
546
  });
544
547
 
545
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/attachment.js
548
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/attachment.js
546
549
  var attachment = strictObject({
547
550
  /** The message it came with, as a locator; absent inside that message. */
548
551
  message: optional(reference),
@@ -587,7 +590,7 @@ var hitFile = strictObject({
587
590
  local_path: optional(text)
588
591
  });
589
592
 
590
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message.js
593
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message.js
591
594
  var quoted = strictObject({
592
595
  id,
593
596
  sender_id: nullable(id),
@@ -688,6 +691,10 @@ var message = strictObject({
688
691
  thread: reference,
689
692
  read: nullable(boolean()),
690
693
  flagged: nullable(boolean()),
694
+ /** What the email is, apart from its sender: one of the mail types. @experimental */
695
+ mail_type: optional(text),
696
+ /** How it reached the owner: direct, group or broadcast. @experimental */
697
+ reach: optional(text),
691
698
  /** How much the sender's mail looks like spam, a scam or a robot (memo's score), and why; absent when unscored. */
692
699
  sender_score: optional(strictObject({ score: number(), signals: array(text), demoted: optional(literal(true)) })),
693
700
  /** Mail `review`: filed in the mailbox of mail sent to many. */
@@ -708,7 +715,7 @@ var message = strictObject({
708
715
  provider_metadata: providerMetadata
709
716
  });
710
717
 
711
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
718
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
712
719
  var recordedMeeting = strictObject({
713
720
  ref: reference,
714
721
  meeting_id: count,
@@ -725,7 +732,7 @@ var recordedMeeting = strictObject({
725
732
  call: optional(meetingCall)
726
733
  });
727
734
 
728
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
735
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
729
736
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
730
737
  var contextMessage = strictObject({
731
738
  locator: reference,
@@ -931,7 +938,7 @@ var contactPreparation = strictObject({
931
938
  })
932
939
  });
933
940
 
934
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/deal.js
941
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/deal.js
935
942
  var nullableText = nullable(text);
936
943
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
937
944
  var outcome = picklist(["open", "won", "lost"]);
@@ -996,7 +1003,7 @@ var deal = strictObject({
996
1003
  })),
997
1004
  people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
998
1005
  author: strictObject({
999
- type: picklist(["person", "bot"]),
1006
+ type: picklist(["person", "agent"]),
1000
1007
  id,
1001
1008
  name: nullableText,
1002
1009
  kind: nullable(picklist(["agent", "rule"]))
@@ -1087,7 +1094,7 @@ var stage = strictObject({
1087
1094
  untrusted
1088
1095
  });
1089
1096
 
1090
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/business-context.js
1097
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/business-context.js
1091
1098
  var nullableText2 = nullable(text);
1092
1099
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
1093
1100
  var standing = picklist(STANDINGS);
@@ -1266,7 +1273,7 @@ var dealBrief = strictObject({
1266
1273
  not_read: coverage2.entries.not_read
1267
1274
  });
1268
1275
 
1269
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/list-results.js
1276
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/list-results.js
1270
1277
  var botProfile = strictObject({
1271
1278
  name: text,
1272
1279
  token: text,
@@ -1390,7 +1397,7 @@ var stickerInventory = strictObject({
1390
1397
  url: optional(nullable(text))
1391
1398
  });
1392
1399
 
1393
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
1400
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
1394
1401
  var actionableError = objectWithRest({
1395
1402
  code: text,
1396
1403
  message: text,
@@ -1407,7 +1414,7 @@ var batchResult = strictObject({
1407
1414
  max_error_percent: count
1408
1415
  });
1409
1416
 
1410
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
1417
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
1411
1418
  var conversationBuild = strictObject({
1412
1419
  chat: id,
1413
1420
  messages: count,
@@ -1432,13 +1439,13 @@ var catchUpPreparation = strictObject({
1432
1439
  prepared: optional(conversationPreparation)
1433
1440
  });
1434
1441
 
1435
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
1442
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
1436
1443
  import { spawn } from "node:child_process";
1437
1444
  import { randomBytes } from "node:crypto";
1438
1445
  import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync as readFileSync2, realpathSync, rmSync } from "node:fs";
1439
1446
  import { dirname, join } from "node:path";
1440
1447
 
1441
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
1448
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
1442
1449
  var progressOf = /* @__PURE__ */ __name((input) => {
1443
1450
  const total = input.total ?? null;
1444
1451
  const updated = input.updatedAt ?? null;
@@ -1469,7 +1476,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
1469
1476
  return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
1470
1477
  }, "progressLine");
1471
1478
 
1472
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/runs/record-log.js
1479
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/runs/record-log.js
1473
1480
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
1474
1481
  const run = currentRun();
1475
1482
  const trace = traceId ?? run.traceId;
@@ -1483,7 +1490,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
1483
1490
  }));
1484
1491
  }, "recordLogFor");
1485
1492
 
1486
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
1493
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
1487
1494
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
1488
1495
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
1489
1496
  const out = openSync(log, "a", 384);
@@ -1638,7 +1645,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
1638
1645
  return { job: id6, pid, chat: input.chat, log };
1639
1646
  }, "startArchiveJob");
1640
1647
 
1641
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/job.js
1648
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/job.js
1642
1649
  var problem = strictObject({ code: text, message: text });
1643
1650
  var job = strictObject({
1644
1651
  id,
@@ -1661,7 +1668,7 @@ var job = strictObject({
1661
1668
  error: optional(problem)
1662
1669
  });
1663
1670
 
1664
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
1671
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
1665
1672
  var extractionItem = strictObject({
1666
1673
  ref: reference,
1667
1674
  attachment: count,
@@ -1694,7 +1701,7 @@ var extractionReport = strictObject({
1694
1701
  cursor: optional(text)
1695
1702
  });
1696
1703
 
1697
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
1704
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
1698
1705
  var savedMessageFile = strictObject({
1699
1706
  kind: text,
1700
1707
  path: text,
@@ -1781,7 +1788,7 @@ var messageSyncAll = strictObject({
1781
1788
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
1782
1789
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
1783
1790
 
1784
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/store-records.js
1791
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/store-records.js
1785
1792
  var range = strictObject({ from: number(), to: number() });
1786
1793
  var storeChatStatus = strictObject({
1787
1794
  chat_id: id,
@@ -1879,7 +1886,7 @@ var storeJobRetry = union([
1879
1886
  ]);
1880
1887
  var storeJobClear = strictObject({ cleared: array(id) });
1881
1888
 
1882
- // node_modules/.pnpm/@wirecat+cli-base@0.127.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
1889
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
1883
1890
  var labels = /* @__PURE__ */ new WeakMap();
1884
1891
  var annotate = /* @__PURE__ */ __name((command, meta) => {
1885
1892
  labels.set(command, { ...labels.get(command), ...meta });
@@ -5380,7 +5387,7 @@ __name(useColor, "useColor");
5380
5387
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
5381
5388
  var program = new Command();
5382
5389
 
5383
- // node_modules/.pnpm/@wirecat+cli-base@0.127.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
5390
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
5384
5391
  import { isDeepStrictEqual } from "node:util";
5385
5392
  var protectedCommands = /* @__PURE__ */ new WeakMap();
5386
5393
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -5513,76 +5520,8 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
5513
5520
  }
5514
5521
  return result;
5515
5522
  }, "sharedCommand");
5516
- var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build, expectedOverrides) => {
5517
- if (reason.trim().length < 10)
5518
- throw new Error("a shared contract override needs a specific reason");
5519
- assertSharedContracts(reference2);
5520
- if (!hasSharedContract(reference2))
5521
- throw new Error("a provider shell needs a protected shared definition");
5522
- const command = build();
5523
- assertSharedContracts(command);
5524
- const pending = [];
5525
- const known = /* @__PURE__ */ new Map();
5526
- const edits = [];
5527
- const bindingPath = /* @__PURE__ */ __name((own) => {
5528
- const path2 = [own.name()];
5529
- for (let at2 = own.parent; at2 && own !== command; at2 = at2.parent) {
5530
- path2.unshift(at2.name());
5531
- if (at2 === command)
5532
- break;
5533
- }
5534
- return path2;
5535
- }, "bindingPath");
5536
- const adopt = /* @__PURE__ */ __name((shared, own) => {
5537
- const inherited = protectedCommands.get(shared);
5538
- if (!inherited)
5539
- return;
5540
- if (!protectedCommands.has(own)) {
5541
- const originalChildren = own.commands.filter((child) => inherited.reference.children.includes(child.name()));
5542
- const actual = structuredClone(snapshot(own, known, originalChildren));
5543
- const overrides = differences(inherited.contract, actual).map((field) => ({
5544
- command: bindingPath(own),
5545
- field,
5546
- before: inherited.contract[field] ?? null,
5547
- after: actual[field] ?? null,
5548
- reason: reason.trim()
5549
- }));
5550
- for (const edit of overrides)
5551
- edits.push(edit);
5552
- pending.push({
5553
- command: own,
5554
- record: {
5555
- reference: structuredClone(inherited.reference),
5556
- contract: actual,
5557
- overrides: [...structuredClone(inherited.overrides), ...overrides],
5558
- originalChildren
5559
- }
5560
- });
5561
- }
5562
- for (const child of shared.commands) {
5563
- const actual = own.commands.find((one) => one.name() === child.name());
5564
- if (actual)
5565
- adopt(child, actual);
5566
- }
5567
- }, "adopt");
5568
- adopt(reference2, command);
5569
- const ordered2 = /* @__PURE__ */ __name((records) => [...records].sort((a, b) => JSON.stringify([a.command, a.field]).localeCompare(JSON.stringify([b.command, b.field]))), "ordered");
5570
- if (!Array.isArray(expectedOverrides) || !same(ordered2(edits), ordered2(expectedOverrides)))
5571
- throw new CliError("configuration_error", `provider shell ${command.name()} differs from its reviewed shared contract overrides; review Core and provider definitions before updating the explicit declarations`, { reason: "contract.unacknowledged-override", expected: expectedOverrides ?? null, actual: edits });
5572
- for (const { command: own, record: record2 } of pending) {
5573
- protectedCommands.set(own, record2);
5574
- own.hook("preAction", () => {
5575
- let root = own;
5576
- while (root.parent)
5577
- root = root.parent;
5578
- assertSharedContracts(root);
5579
- });
5580
- }
5581
- assertSharedContracts(command);
5582
- return command;
5583
- }, "customizeSharedCommand");
5584
5523
 
5585
- // node_modules/.pnpm/@wirecat+cli-base@0.127.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
5524
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
5586
5525
  var argumentInfoSchema = object({
5587
5526
  name: string(),
5588
5527
  required: boolean(),
@@ -5656,7 +5595,7 @@ var commandsDocumentSchema = strictObject({
5656
5595
  exit_codes: record(string(), pipe(number(), integer()))
5657
5596
  });
5658
5597
 
5659
- // node_modules/.pnpm/@wirecat+cli-base@0.127.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
5598
+ // node_modules/.pnpm/@wirecat+cli-base@1.0.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
5660
5599
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
5661
5600
  let command = root;
5662
5601
  const path2 = [];
@@ -5674,7 +5613,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
5674
5613
  }
5675
5614
  }, "refuseJoinedPath");
5676
5615
 
5677
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/runs/log-events.js
5616
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/runs/log-events.js
5678
5617
  var CORE_LOG_EVENTS = defineLogEvents([
5679
5618
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
5680
5619
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -5712,7 +5651,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
5712
5651
  progress: "sync.progress"
5713
5652
  };
5714
5653
 
5715
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/runs/recording.js
5654
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/runs/recording.js
5716
5655
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
5717
5656
  const recording = startRecording(options);
5718
5657
  try {
@@ -5809,7 +5748,7 @@ var startRecording = /* @__PURE__ */ __name((options) => {
5809
5748
  });
5810
5749
  }, "succeed"),
5811
5750
  fail: /* @__PURE__ */ __name(async (thrown) => {
5812
- const error = storeDamaged(thrown);
5751
+ const error = storeBusy(storeDamaged(thrown));
5813
5752
  markStoreDamaged(thrown, {
5814
5753
  store: storePath(options.env),
5815
5754
  command: `${options.app.command} ${options.command}`,
@@ -5927,7 +5866,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
5927
5866
  return void 0;
5928
5867
  }, "partialOutcome");
5929
5868
 
5930
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
5869
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
5931
5870
  import { AsyncLocalStorage } from "node:async_hooks";
5932
5871
  var requests = new AsyncLocalStorage();
5933
5872
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -5942,7 +5881,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
5942
5881
  return direct;
5943
5882
  }, "exitCodeSet");
5944
5883
 
5945
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/sends/guarded.js
5884
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/sends/guarded.js
5946
5885
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
5947
5886
  var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
5948
5887
  messageId: message2.id,
@@ -6048,7 +5987,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
6048
5987
  }, "guardedWrite");
6049
5988
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
6050
5989
 
6051
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/deadline.js
5990
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/deadline.js
6052
5991
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
6053
5992
  if (ms2 === void 0)
6054
5993
  return body();
@@ -6074,7 +6013,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
6074
6013
  }
6075
6014
  }, "withDeadline");
6076
6015
 
6077
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/execution.js
6016
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/execution.js
6078
6017
  var DEFAULT_COMMAND_MS = 3e4;
6079
6018
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
6080
6019
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -6257,7 +6196,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
6257
6196
  }
6258
6197
  }, "withAbort");
6259
6198
 
6260
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/profile.js
6199
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/profile.js
6261
6200
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
6262
6201
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
6263
6202
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -6344,7 +6283,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
6344
6283
  return void 0;
6345
6284
  }, "sampleCommand");
6346
6285
 
6347
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
6286
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
6348
6287
  import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
6349
6288
  import { join as join2 } from "node:path";
6350
6289
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -6433,7 +6372,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
6433
6372
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
6434
6373
  }, "registryProfiles");
6435
6374
 
6436
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
6375
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
6437
6376
  import { readFileSync as readFileSync4 } from "node:fs";
6438
6377
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
6439
6378
  var SECTIONS = ["personal", "bot"];
@@ -6732,7 +6671,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
6732
6671
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
6733
6672
  }, "readConfigFile");
6734
6673
 
6735
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/default-config.js
6674
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/default-config.js
6736
6675
  import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
6737
6676
  import { dirname as dirname2, join as join3 } from "node:path";
6738
6677
  var DEFAULT_CONFIG = {
@@ -6761,7 +6700,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
6761
6700
  }
6762
6701
  __name(ensureDefaultConfig, "ensureDefaultConfig");
6763
6702
 
6764
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
6703
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
6765
6704
  import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync5 } from "node:fs";
6766
6705
  import { join as join4 } from "node:path";
6767
6706
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -6783,7 +6722,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
6783
6722
  }, "profilesWithAccounts");
6784
6723
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
6785
6724
 
6786
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
6725
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
6787
6726
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
6788
6727
  var parentOf = /* @__PURE__ */ __name((config, key) => {
6789
6728
  const path2 = key.split(".");
@@ -6816,10 +6755,10 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
6816
6755
  };
6817
6756
  }), "settingRows");
6818
6757
 
6819
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/settings.js
6758
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/settings.js
6820
6759
  import { existsSync as existsSync5 } from "node:fs";
6821
6760
 
6822
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/services/history-limits.js
6761
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/history-limits.js
6823
6762
  var HISTORY_MAX_DAYS = 1095;
6824
6763
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
6825
6764
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -6866,7 +6805,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
6866
6805
  return { batch: { ...batch, messages }, skipped };
6867
6806
  }, "limitBatch");
6868
6807
 
6869
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/settings.js
6808
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/settings.js
6870
6809
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
6871
6810
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
6872
6811
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -7394,7 +7333,7 @@ var given = /* @__PURE__ */ __name((value) => {
7394
7333
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
7395
7334
  }, "given");
7396
7335
 
7397
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/background/budget.js
7336
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/background/budget.js
7398
7337
  var DEADLINE_MARGIN_MS = 5e3;
7399
7338
  var DEADLINE_MARGIN_SHARE = 0.15;
7400
7339
  var DEFAULT_REQUEST_MS = 2e3;
@@ -7451,7 +7390,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
7451
7390
  };
7452
7391
  }, "runBudget");
7453
7392
 
7454
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/context.js
7393
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/context.js
7455
7394
  var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
7456
7395
  const { deadline, signal, app } = environmentOf(command);
7457
7396
  const now = deadline?.();
@@ -7605,7 +7544,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
7605
7544
  return words.join(" ");
7606
7545
  }, "commandPath");
7607
7546
 
7608
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/effects.js
7547
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/effects.js
7609
7548
  var REMOTE_READ = { remote: "read", local: "read" };
7610
7549
  var FETCH = { remote: "read", local: "write" };
7611
7550
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -7741,6 +7680,12 @@ var reachesOtherService = /* @__PURE__ */ __name((command) => {
7741
7680
  }, "reachesOtherService");
7742
7681
  var isOtherServiceCall = /* @__PURE__ */ __name((command) => OTHER_SERVICE.has(command), "isOtherServiceCall");
7743
7682
  var ownerOnlyOption = /* @__PURE__ */ __name((flags, description) => annotateOption(new Option(flags, description), { mcp: false }), "ownerOnlyOption");
7683
+ var allowDeletionsOption = /* @__PURE__ */ __name(() => ownerOnlyOption("--allow-deletions <count>", "let this run mark deleted up to this many of what its full list no longer has, when the guard holds it").argParser((text5) => {
7684
+ const count6 = Number(text5);
7685
+ if (!Number.isSafeInteger(count6) || count6 < 1)
7686
+ throw new InvalidArgumentError("a whole number, 1 or more");
7687
+ return count6;
7688
+ }), "allowDeletionsOption");
7744
7689
  var judgedEffects = /* @__PURE__ */ __name((effects) => effects && { remote: effects.remote, local: "none" }, "judgedEffects");
7745
7690
  var judgedStepEffects = /* @__PURE__ */ __name((effects) => effects?.remote === "none" ? effects : judgedEffects(effects), "judgedStepEffects");
7746
7691
  var judgedTargets = /* @__PURE__ */ __name((root) => {
@@ -7762,7 +7707,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
7762
7707
  throw readOnlyRefusal(lock, what);
7763
7708
  }, "refuseUnderReadOnly");
7764
7709
 
7765
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/account.js
7710
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account.js
7766
7711
  var account = strictObject({
7767
7712
  provider: text,
7768
7713
  id,
@@ -7772,7 +7717,7 @@ var account = strictObject({
7772
7717
  scope: optional(picklist(["personal", "work"]))
7773
7718
  });
7774
7719
 
7775
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/account-session.js
7720
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account-session.js
7776
7721
  var accountSession = strictObject({
7777
7722
  current: boolean(),
7778
7723
  client: nullable(text),
@@ -7782,7 +7727,7 @@ var accountSession = strictObject({
7782
7727
  created_at: optional(nullable(time))
7783
7728
  });
7784
7729
 
7785
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/account-change.js
7730
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account-change.js
7786
7731
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
7787
7732
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
7788
7733
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -7811,7 +7756,7 @@ var accountRemoval = strictObject({
7811
7756
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
7812
7757
  });
7813
7758
 
7814
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
7759
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
7815
7760
  var accountProfile = strictObject({
7816
7761
  profile: id,
7817
7762
  current: boolean(),
@@ -7823,7 +7768,7 @@ var accountProfile = strictObject({
7823
7768
  bot: optional(literal(true))
7824
7769
  });
7825
7770
 
7826
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
7771
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
7827
7772
  var milliseconds = pipe(number(), minValue(0));
7828
7773
  var counterReading = strictObject({
7829
7774
  counter: picklist(["views", "reactions", "comments"]),
@@ -7835,7 +7780,7 @@ var counterReading = strictObject({
7835
7780
  });
7836
7781
  var selection = record(string(), unknown());
7837
7782
 
7838
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
7783
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
7839
7784
  var adminRow = strictObject({
7840
7785
  ref: reference,
7841
7786
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -7888,7 +7833,7 @@ var adminReport = strictObject({
7888
7833
  rows: array(adminRow)
7889
7834
  });
7890
7835
 
7891
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/task.js
7836
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/task.js
7892
7837
  var closeSuggestion = strictObject({
7893
7838
  as: picklist(["done", "dismissed"]),
7894
7839
  /** The agent's name. */
@@ -7913,7 +7858,7 @@ var task = strictObject({
7913
7858
  project_key: optional(nullable(text)),
7914
7859
  project_name: optional(nullable(text)),
7915
7860
  /** Who added it: the owner, or an agent by its bot name. */
7916
- created_by: optional(nullable(strictObject({ type: picklist(["person", "bot"]), id, name: nullable(text), owner: boolean() }))),
7861
+ created_by: optional(nullable(strictObject({ type: picklist(["person", "agent"]), id, name: nullable(text), owner: boolean() }))),
7917
7862
  account: optional(text),
7918
7863
  /** The chat it came from, as a `chat:` reference. */
7919
7864
  chat: optional(nullable(reference)),
@@ -7950,7 +7895,7 @@ var task = strictObject({
7950
7895
  updated_at: optional(time)
7951
7896
  });
7952
7897
 
7953
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/agenda.js
7898
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/agenda.js
7954
7899
  var agendaChat = strictObject({
7955
7900
  chat: reference,
7956
7901
  title: nullable(text),
@@ -8020,11 +7965,11 @@ var agenda = strictObject({
8020
7965
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
8021
7966
  });
8022
7967
 
8023
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
7968
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
8024
7969
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
8025
7970
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
8026
7971
 
8027
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
7972
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
8028
7973
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
8029
7974
  var attachmentBytes = strictObject({
8030
7975
  ref: reference,
@@ -8055,7 +8000,7 @@ var attachmentTextChange = strictObject({
8055
8000
  text: optional(text)
8056
8001
  });
8057
8002
 
8058
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chart.js
8003
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chart.js
8059
8004
  var chart = strictObject({
8060
8005
  version: literal(1),
8061
8006
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -8070,7 +8015,7 @@ var chart = strictObject({
8070
8015
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
8071
8016
  });
8072
8017
 
8073
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/folder.js
8018
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/folder.js
8074
8019
  var named = strictObject({
8075
8020
  id,
8076
8021
  title: nullable(text),
@@ -8093,7 +8038,7 @@ var folder = strictObject({
8093
8038
  excluded_chats: optional(array(named))
8094
8039
  });
8095
8040
 
8096
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
8041
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
8097
8042
  var inviteLink = strictObject({
8098
8043
  link: text,
8099
8044
  /** Who joins by it asks first, and an admin lets them in. */
@@ -8109,7 +8054,7 @@ var inviteLink = strictObject({
8109
8054
  joined_count: optional(count)
8110
8055
  });
8111
8056
 
8112
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
8057
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
8113
8058
  var operated = { operation_id: id, chat_id: id };
8114
8059
  var group = strictObject({
8115
8060
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -8189,7 +8134,7 @@ var chatFolderOrder = strictObject({
8189
8134
  folders: array(strictObject({ id, title: text }))
8190
8135
  });
8191
8136
 
8192
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
8137
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
8193
8138
  var operated2 = { operation_id: id, chat_id: id };
8194
8139
  var chatRemoval = strictObject(operated2);
8195
8140
  var chatMuting = strictObject({
@@ -8200,7 +8145,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
8200
8145
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
8201
8146
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
8202
8147
 
8203
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
8148
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
8204
8149
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
8205
8150
  var chatEvent = strictObject({
8206
8151
  chat_id: id,
@@ -8217,7 +8162,7 @@ var chatEvent = strictObject({
8217
8162
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
8218
8163
  });
8219
8164
 
8220
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
8165
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
8221
8166
  var chatMetadata = strictObject({
8222
8167
  chat_id: id,
8223
8168
  title: nullable(text),
@@ -8232,7 +8177,7 @@ var chatMetadataRefresh = strictObject({
8232
8177
  has_more: boolean()
8233
8178
  });
8234
8179
 
8235
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
8180
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
8236
8181
  var action = picklist(["report", "delete", "remove"]);
8237
8182
  var level = picklist(["deny", "readonly", "ask", "allow"]);
8238
8183
  var chatRules = strictObject({
@@ -8269,7 +8214,7 @@ var chatModeration = strictObject({
8269
8214
  }))
8270
8215
  });
8271
8216
 
8272
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
8217
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
8273
8218
  var chatSending = strictObject({
8274
8219
  mode: picklist(["allowed", "ask", "denied"]),
8275
8220
  meaning: text,
@@ -8279,7 +8224,7 @@ var chatSending = strictObject({
8279
8224
  changed: optional(boolean())
8280
8225
  });
8281
8226
 
8282
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
8227
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
8283
8228
  var optionalCount = optional(count);
8284
8229
  var minutes = nullable(number());
8285
8230
  var chatStats = strictObject({
@@ -8355,7 +8300,7 @@ var taskStats = strictObject({
8355
8300
  }))
8356
8301
  });
8357
8302
 
8358
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
8303
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
8359
8304
  var memberCount = strictObject({
8360
8305
  day: pipe(text, isoDate()),
8361
8306
  participants: nullable(count),
@@ -8378,7 +8323,7 @@ var chatTracking = strictObject({
8378
8323
  tracked: boolean()
8379
8324
  });
8380
8325
 
8381
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
8326
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
8382
8327
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
8383
8328
  var contactSync = strictObject({ added: count, changed: count, known: count });
8384
8329
  var profileFields = {
@@ -8416,7 +8361,7 @@ var profileFields = {
8416
8361
  }))
8417
8362
  };
8418
8363
 
8419
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/contact.js
8364
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact.js
8420
8365
  var contact = strictObject({
8421
8366
  ref: reference,
8422
8367
  id,
@@ -8447,7 +8392,7 @@ var contact = strictObject({
8447
8392
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
8448
8393
  });
8449
8394
 
8450
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8395
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8451
8396
  var contactNote = strictObject({
8452
8397
  id,
8453
8398
  /** The contact, as a `contact:` reference. */
@@ -8459,13 +8404,13 @@ var contactNote = strictObject({
8459
8404
  updated_at: time
8460
8405
  });
8461
8406
 
8462
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8407
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8463
8408
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
8464
8409
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
8465
8410
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
8466
8411
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
8467
8412
 
8468
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8413
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8469
8414
  var conversation = strictObject({
8470
8415
  id,
8471
8416
  chat: reference,
@@ -8480,7 +8425,7 @@ var conversation = strictObject({
8480
8425
  rules_version: count
8481
8426
  });
8482
8427
 
8483
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8428
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8484
8429
  var conversationDetails = union([
8485
8430
  strictObject({ ...conversation.entries, messages: array(message) }),
8486
8431
  message
@@ -8575,7 +8520,7 @@ var conversationHit = strictObject({
8575
8520
  untrusted
8576
8521
  });
8577
8522
 
8578
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/counters.js
8523
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/counters.js
8579
8524
  var counters = strictObject({
8580
8525
  cutoff: time,
8581
8526
  max_age_ms: milliseconds,
@@ -8605,7 +8550,7 @@ var counterRefresh = strictObject({
8605
8550
  complete: optional(boolean())
8606
8551
  });
8607
8552
 
8608
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/document.js
8553
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/document.js
8609
8554
  var document = strictObject({
8610
8555
  ref: reference,
8611
8556
  id,
@@ -8620,7 +8565,7 @@ var document = strictObject({
8620
8565
  owners: optional(array(text))
8621
8566
  });
8622
8567
 
8623
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8568
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8624
8569
  var documentLink = strictObject({
8625
8570
  ref: reference,
8626
8571
  url: text,
@@ -8631,7 +8576,34 @@ var documentLink = strictObject({
8631
8576
  sender: strictObject({ id: nullable(id), name: nullable(text) })
8632
8577
  });
8633
8578
 
8634
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8579
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/domain-list.js
8580
+ var domainList = strictObject({
8581
+ id,
8582
+ title: text,
8583
+ /**
8584
+ * `sector` gives an organization its sector; `freemail` keeps a mailbox provider from making one; `bad` only marks a
8585
+ * host known for spam, phishing or malware.
8586
+ */
8587
+ signal: picklist(["sector", "freemail", "bad"]),
8588
+ /** `non-commercial`: WireCat may use it, a paid service built around it may not. */
8589
+ class: picklist(["commercial-ok", "non-commercial"]),
8590
+ licence: text,
8591
+ licence_url: text,
8592
+ attribution: text,
8593
+ homepage: text,
8594
+ /** Fetched from its source on this computer, since it may not be redistributed. */
8595
+ upstream: boolean(),
8596
+ lines: count,
8597
+ /** Lines per sector or category, as published. */
8598
+ tags: record(string(), count),
8599
+ /** The pack's build date. */
8600
+ version: text,
8601
+ installed_at: time,
8602
+ sha256: text,
8603
+ path: text
8604
+ });
8605
+
8606
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8635
8607
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
8636
8608
  var contribution = strictObject({
8637
8609
  message: evidenceMessage,
@@ -8661,7 +8633,7 @@ var retentionStay = strictObject({
8661
8633
  });
8662
8634
  var evidence = union([contribution, retentionStay]);
8663
8635
 
8664
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/fact.js
8636
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/fact.js
8665
8637
  var fact = strictObject({
8666
8638
  ref: reference,
8667
8639
  id,
@@ -8680,7 +8652,7 @@ var fact = strictObject({
8680
8652
  author,
8681
8653
  model: nullable(text),
8682
8654
  /** Who accepted it; `null` while it is proposed. */
8683
- confirmed_by: optional(nullable(strictObject({ type: picklist(["person", "bot"]), id }))),
8655
+ confirmed_by: optional(nullable(strictObject({ type: picklist(["person", "agent"]), id }))),
8684
8656
  scope: nullable(picklist(MEMORY_SCOPES)),
8685
8657
  /** Who recorded it: the owner, or an agent whose fact waits as proposed. */
8686
8658
  origin: picklist(["owner", "agent"]),
@@ -8692,7 +8664,7 @@ var fact = strictObject({
8692
8664
  updated_at: time
8693
8665
  });
8694
8666
 
8695
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/hit.js
8667
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/hit.js
8696
8668
  var hit = strictObject({
8697
8669
  kind: picklist([
8698
8670
  "message",
@@ -8704,6 +8676,9 @@ var hit = strictObject({
8704
8676
  "deal",
8705
8677
  "lead",
8706
8678
  "crm_file",
8679
+ "issue",
8680
+ "project",
8681
+ "issue_comment",
8707
8682
  ...BUSINESS_KINDS
8708
8683
  ]),
8709
8684
  ref: reference,
@@ -8711,6 +8686,8 @@ var hit = strictObject({
8711
8686
  url: optional(text),
8712
8687
  /** The account it was found in; a note's folder id, or `internal` for a note written in memo. */
8713
8688
  account: text,
8689
+ /** A tracker hit that more than one sign-in holds: every account it was found in, `account` first. */
8690
+ accounts: optional(array(text)),
8714
8691
  /** The chat, the mail thread's subject, the note's, the event's or the meeting's title. */
8715
8692
  title: nullable(text),
8716
8693
  /** Null for a meeting whose start is unknown. */
@@ -8751,7 +8728,7 @@ var hit = strictObject({
8751
8728
  untrusted
8752
8729
  });
8753
8730
 
8754
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/identity.js
8731
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/identity.js
8755
8732
  var identity = strictObject({
8756
8733
  ref: reference,
8757
8734
  provider: text,
@@ -8767,7 +8744,7 @@ var identity = strictObject({
8767
8744
  person: optional(nullable(reference))
8768
8745
  });
8769
8746
 
8770
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8747
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8771
8748
  var imageEmbedding = strictObject({
8772
8749
  model: text,
8773
8750
  embedded: count,
@@ -8776,7 +8753,7 @@ var imageEmbedding = strictObject({
8776
8753
  more: boolean()
8777
8754
  });
8778
8755
 
8779
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8756
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8780
8757
  var joinRequest = strictObject({
8781
8758
  person_id: id,
8782
8759
  name: nullable(text),
@@ -8787,7 +8764,7 @@ var joinRequest = strictObject({
8787
8764
  about: optional(text)
8788
8765
  });
8789
8766
 
8790
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8767
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8791
8768
  var pollVote = strictObject({
8792
8769
  person_id: id,
8793
8770
  name: nullable(text),
@@ -8797,7 +8774,7 @@ var pollVote = strictObject({
8797
8774
  voted_at: time
8798
8775
  });
8799
8776
 
8800
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/listener.js
8777
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/listener.js
8801
8778
  var reactions = unwrap(unwrap(message.entries.reactions));
8802
8779
  var observation = strictObject({
8803
8780
  value: pipe(number(), minValue(0)),
@@ -8839,7 +8816,7 @@ var serveSummary = strictObject({
8839
8816
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
8840
8817
  });
8841
8818
 
8842
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8819
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8843
8820
  var mailCounts = strictObject({
8844
8821
  by: picklist(["day", "week", "sender"]),
8845
8822
  received: count,
@@ -8854,7 +8831,7 @@ var mailCounts = strictObject({
8854
8831
  }))
8855
8832
  });
8856
8833
 
8857
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8834
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8858
8835
  var evidence2 = strictObject({ reference, fingerprint: text });
8859
8836
  var base = { id, evidence: array(evidence2) };
8860
8837
  var finding = variant("kind", [
@@ -8992,13 +8969,13 @@ var mailFindings = strictObject({
8992
8969
  fingerprint: text,
8993
8970
  status: picklist(["proposed", "reviewed"]),
8994
8971
  author,
8995
- decided_by: nullable(strictObject({ type: picklist(["person", "bot"]), id })),
8972
+ decided_by: nullable(strictObject({ type: picklist(["person", "agent"]), id })),
8996
8973
  decided_at: nullable(time),
8997
8974
  previous: array(outcome2),
8998
8975
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
8999
8976
  });
9000
8977
 
9001
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8978
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
9002
8979
  var mediaArchive = strictObject({
9003
8980
  directory: text,
9004
8981
  chats: count,
@@ -9030,7 +9007,7 @@ var mediaArchiveTimer = union([
9030
9007
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
9031
9008
  ]);
9032
9009
 
9033
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
9010
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
9034
9011
  var preparationId = pipe(string(), minLength(1));
9035
9012
  var preparationCount = pipe(number(), integer(), minValue(0));
9036
9013
  var preparationTime = nullable(isoTime);
@@ -9122,7 +9099,7 @@ var preparationMeeting = strictObject({
9122
9099
  updated_at: isoTime
9123
9100
  });
9124
9101
 
9125
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9102
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9126
9103
  var meetingEvidence = preparationEvidence;
9127
9104
  var meetingPersonContext = strictObject({
9128
9105
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -9144,7 +9121,7 @@ var meetingPersonContext = strictObject({
9144
9121
  })
9145
9122
  });
9146
9123
 
9147
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9124
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9148
9125
  var evidence3 = strictObject({ reference, fingerprint: text });
9149
9126
  var base2 = { id, project: reference, evidence: array(evidence3) };
9150
9127
  var finding2 = variant("kind", [
@@ -9176,13 +9153,13 @@ var meetingFindings = strictObject({
9176
9153
  fingerprint: text,
9177
9154
  status: picklist(["proposed", "reviewed"]),
9178
9155
  author,
9179
- decided_by: nullable(strictObject({ type: picklist(["person", "bot"]), id })),
9156
+ decided_by: nullable(strictObject({ type: picklist(["person", "agent"]), id })),
9180
9157
  decided_at: nullable(time),
9181
9158
  previous: array(outcome3),
9182
9159
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
9183
9160
  });
9184
9161
 
9185
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9162
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9186
9163
  var communicationCoverage = strictObject({
9187
9164
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
9188
9165
  query: string(),
@@ -9227,7 +9204,7 @@ var preparationCommunications = strictObject({
9227
9204
  }))
9228
9205
  });
9229
9206
 
9230
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9207
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9231
9208
  var meetingPreparation = strictObject({
9232
9209
  communications: optional(preparationCommunications),
9233
9210
  schema_version: literal(1),
@@ -9340,7 +9317,7 @@ var meetingPreparation = strictObject({
9340
9317
  })
9341
9318
  });
9342
9319
 
9343
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9320
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9344
9321
  var count4 = pipe(number(), integer(), minValue(0));
9345
9322
  var id3 = pipe(string(), minLength(1));
9346
9323
  var text3 = string();
@@ -9404,7 +9381,7 @@ var meetingProjectCandidates = strictObject({
9404
9381
  })
9405
9382
  });
9406
9383
 
9407
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9384
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9408
9385
  var count5 = pipe(number(), integer(), minValue(0));
9409
9386
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
9410
9387
  var meetingSeriesInventory = strictObject({
@@ -9434,7 +9411,7 @@ var meetingSeriesInventory = strictObject({
9434
9411
  })
9435
9412
  });
9436
9413
 
9437
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9414
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9438
9415
  var text4 = string();
9439
9416
  var id5 = pipe(number(), integer(), minValue(1));
9440
9417
  var revision = picklist(["current", "superseded"]);
@@ -9451,7 +9428,7 @@ var meetingTaskProposal = strictObject({
9451
9428
  persistence: literal("proposal-only")
9452
9429
  });
9453
9430
 
9454
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/memory.js
9431
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/memory.js
9455
9432
  var memory = strictObject({
9456
9433
  ref: reference,
9457
9434
  id,
@@ -9479,7 +9456,7 @@ var memory = strictObject({
9479
9456
  updated_at: time
9480
9457
  });
9481
9458
 
9482
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/mention.js
9459
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/mention.js
9483
9460
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
9484
9461
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
9485
9462
  var mention = strictObject({
@@ -9523,7 +9500,7 @@ var mentionRebuild = strictObject({
9523
9500
  mentions: count
9524
9501
  });
9525
9502
 
9526
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9503
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9527
9504
  var operated3 = { operation_id: id, chat_id: id };
9528
9505
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
9529
9506
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
@@ -9532,7 +9509,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
9532
9509
  var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
9533
9510
  var scheduledSend = strictObject(scheduledSendEntries);
9534
9511
 
9535
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9512
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9536
9513
  var messageTranscript = strictObject({
9537
9514
  message_id: id,
9538
9515
  text,
@@ -9590,7 +9567,7 @@ var evidencePacket = strictObject({
9590
9567
  }))
9591
9568
  });
9592
9569
 
9593
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9570
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9594
9571
  var messageThread = strictObject({
9595
9572
  ref: reference,
9596
9573
  chat: id,
@@ -9607,7 +9584,7 @@ var messageThread = strictObject({
9607
9584
  });
9608
9585
  var messageContext = union([message, messageThread]);
9609
9586
 
9610
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9587
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9611
9588
  var messageCounts = strictObject({
9612
9589
  by: picklist(["chat", "sender", "day", "hour"]),
9613
9590
  total: count,
@@ -9620,7 +9597,7 @@ var messageCounts = strictObject({
9620
9597
  }))
9621
9598
  });
9622
9599
 
9623
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9600
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9624
9601
  var messageLink = strictObject({
9625
9602
  ref: reference,
9626
9603
  url: nullable(text),
@@ -9637,7 +9614,7 @@ var messageLink = strictObject({
9637
9614
  })))
9638
9615
  });
9639
9616
 
9640
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9617
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9641
9618
  var messageWrite = strictObject({
9642
9619
  operation_id: id,
9643
9620
  message,
@@ -9652,7 +9629,7 @@ var draftWrite = strictObject({
9652
9629
  });
9653
9630
  var messageSend = union([messageWrite, draftWrite]);
9654
9631
 
9655
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/model.js
9632
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/model.js
9656
9633
  var model2 = strictObject({
9657
9634
  id,
9658
9635
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -9687,7 +9664,7 @@ var chosenModel = strictObject({
9687
9664
  estimate_seconds: nullable(count)
9688
9665
  });
9689
9666
 
9690
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9667
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9691
9668
  var source = picklist(["environment", "keyring", "file"]);
9692
9669
  var modelKey = strictObject({
9693
9670
  provider: text,
@@ -9697,7 +9674,7 @@ var modelKey = strictObject({
9697
9674
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
9698
9675
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
9699
9676
 
9700
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9677
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9701
9678
  var versus = strictObject({ current: number(), previous: number() });
9702
9679
  var person = { person_ref: reference, name: nullable(text) };
9703
9680
  var graph = strictObject({
@@ -9731,14 +9708,14 @@ var officialStats = strictObject({
9731
9708
  graphs: record(string(), union([graph, strictObject({ error: text })]))
9732
9709
  });
9733
9710
 
9734
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/person.js
9711
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/person.js
9735
9712
  var person2 = strictObject({
9736
9713
  ref: reference,
9737
9714
  name: nullable(text),
9738
9715
  identities: optional(array(identity))
9739
9716
  });
9740
9717
 
9741
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/poll.js
9718
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/poll.js
9742
9719
  var poll = strictObject({
9743
9720
  chat_id: id,
9744
9721
  message_id: id,
@@ -9754,11 +9731,11 @@ var poll = strictObject({
9754
9731
  });
9755
9732
  var pollChange = strictObject({ operation_id: id, poll });
9756
9733
 
9757
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9734
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9758
9735
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
9759
9736
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
9760
9737
 
9761
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9738
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9762
9739
  var figures = record(string(), number());
9763
9740
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
9764
9741
  var rankingRow = strictObject({
@@ -9805,7 +9782,7 @@ var ranking = strictObject({
9805
9782
  rows: array(rankingRow)
9806
9783
  });
9807
9784
 
9808
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9785
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9809
9786
  var reaction = strictObject({
9810
9787
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
9811
9788
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -9813,7 +9790,7 @@ var reaction = strictObject({
9813
9790
  reacted_at: time
9814
9791
  });
9815
9792
 
9816
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9793
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9817
9794
  var reactionChange = strictObject({
9818
9795
  operation_id: id,
9819
9796
  chat_id: id,
@@ -9821,7 +9798,7 @@ var reactionChange = strictObject({
9821
9798
  reaction: nullable(text)
9822
9799
  });
9823
9800
 
9824
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9801
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9825
9802
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
9826
9803
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
9827
9804
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -9832,7 +9809,7 @@ var recipientChange = strictObject({
9832
9809
  ...partial(recipientOff).entries
9833
9810
  });
9834
9811
 
9835
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9812
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9836
9813
  var events = array(record(string(), unknown()));
9837
9814
  var recordedRun = strictObject({
9838
9815
  run_id: id,
@@ -9904,7 +9881,7 @@ var runHit = strictObject({
9904
9881
  });
9905
9882
  var runLocation = strictObject({ path: text });
9906
9883
 
9907
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9884
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9908
9885
  var relationship = strictObject({
9909
9886
  id,
9910
9887
  from: reference,
@@ -9931,7 +9908,7 @@ var relationship = strictObject({
9931
9908
  created_at: time
9932
9909
  });
9933
9910
 
9934
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9911
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9935
9912
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
9936
9913
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
9937
9914
  var responseTimes = strictObject({
@@ -9948,7 +9925,7 @@ var waitingChats = strictObject({
9948
9925
  by_kind: strictObject({ private: count, group: count })
9949
9926
  });
9950
9927
 
9951
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/retention.js
9928
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/retention.js
9952
9929
  var retentionCohort = strictObject({
9953
9930
  /** The first day of the joining day or week. */
9954
9931
  cohort: text,
@@ -9996,7 +9973,7 @@ var retention = strictObject({
9996
9973
  rows: array(retentionCohort)
9997
9974
  });
9998
9975
 
9999
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
9976
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10000
9977
  var savedSearch = strictObject({
10001
9978
  id,
10002
9979
  /** `null` for a run in the history. */
@@ -10013,7 +9990,7 @@ var savedSearch = strictObject({
10013
9990
  });
10014
9991
  var searchHistoryClear = strictObject({ cleared: count });
10015
9992
 
10016
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
9993
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10017
9994
  var sendAttempt = strictObject({
10018
9995
  at: time,
10019
9996
  profile: text,
@@ -10041,7 +10018,7 @@ var sendAttempt = strictObject({
10041
10018
  error_code: optional(text)
10042
10019
  });
10043
10020
 
10044
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10021
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10045
10022
  var absent = strictObject({ path: text, exists: literal(false) });
10046
10023
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
10047
10024
  var infoSchema = strictObject({
@@ -10086,7 +10063,7 @@ var perAccount = { chats: count, messages: count, emails: count, documents: coun
10086
10063
  var contents = {
10087
10064
  by_provider: optional(array(strictObject({ provider: text, accounts: count, ...perAccount }))),
10088
10065
  by_chat_kind: optional(array(strictObject({ provider: text, kind: text, chats: count, messages: count }))),
10089
- /** `name` is the one `account list` shows; the messenger's own id for the account is left out. */
10066
+ /** `name` is the one `session list` shows; the messenger's own id for the account is left out. */
10090
10067
  by_account: optional(array(strictObject({ provider: text, account_id: count, name: nullable(text), ...perAccount }))),
10091
10068
  /** Calendar years in UTC. */
10092
10069
  by_year: optional(array(strictObject({ provider: text, year: count, messages: count }))),
@@ -10271,7 +10248,7 @@ var storeRepair = union([
10271
10248
  ]);
10272
10249
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
10273
10250
 
10274
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10251
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10275
10252
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
10276
10253
  var storeTable = strictObject({
10277
10254
  name: text,
@@ -10280,7 +10257,7 @@ var storeTable = strictObject({
10280
10257
  bytes: optional(nullable(count))
10281
10258
  });
10282
10259
 
10283
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10260
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10284
10261
  var tagTarget = variant("type", [
10285
10262
  strictObject({ type: literal("chat"), chat_id: id }),
10286
10263
  strictObject({ type: literal("contact"), person_id: id }),
@@ -10311,7 +10288,7 @@ var automaticTags = strictObject({
10311
10288
  dry_run: boolean()
10312
10289
  });
10313
10290
 
10314
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10291
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10315
10292
  var tagging = strictObject({
10316
10293
  tag: text,
10317
10294
  type: picklist(TAG_TYPES),
@@ -10324,7 +10301,7 @@ var tagging = strictObject({
10324
10301
  created_at: time
10325
10302
  });
10326
10303
 
10327
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10304
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10328
10305
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
10329
10306
  var taskPair = strictObject({
10330
10307
  task: nullable(side),
@@ -10347,7 +10324,7 @@ var taskPair = strictObject({
10347
10324
  created_at: time
10348
10325
  });
10349
10326
 
10350
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10327
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10351
10328
  var nullableTime = nullable(time);
10352
10329
  var link = strictObject({
10353
10330
  id,
@@ -10371,7 +10348,7 @@ var taskCard = strictObject({
10371
10348
  project: reference,
10372
10349
  project_key: text,
10373
10350
  project_name: text,
10374
- created_by: nullable(strictObject({ type: picklist(["person", "bot"]), id, name: nullable(text), owner: boolean() })),
10351
+ created_by: nullable(strictObject({ type: picklist(["person", "agent"]), id, name: nullable(text), owner: boolean() })),
10375
10352
  title: text,
10376
10353
  description: nullable(text),
10377
10354
  type: picklist(TASK_TYPES),
@@ -10521,7 +10498,7 @@ var taskReview = strictObject({
10521
10498
  untrusted
10522
10499
  });
10523
10500
 
10524
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/template.js
10501
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/template.js
10525
10502
  var template = strictObject({
10526
10503
  key: text,
10527
10504
  channel: picklist(["telegram", "email", "text"]),
@@ -10533,7 +10510,7 @@ var template = strictObject({
10533
10510
  updated_by: nullable(text)
10534
10511
  });
10535
10512
 
10536
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/topic.js
10513
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/topic.js
10537
10514
  var topic = strictObject({
10538
10515
  id,
10539
10516
  title: text,
@@ -10547,7 +10524,7 @@ var topic = strictObject({
10547
10524
  untrusted
10548
10525
  });
10549
10526
 
10550
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/entities/index.js
10527
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/entities/index.js
10551
10528
  var ENTITIES = {
10552
10529
  sync_progress: progress,
10553
10530
  deal,
@@ -10803,6 +10780,7 @@ var ENTITIES = {
10803
10780
  chat_rules: chatRules,
10804
10781
  chat_moderation: chatModeration,
10805
10782
  "model.chosen": chosenModel,
10783
+ domain_list: domainList,
10806
10784
  model_key: modelKey,
10807
10785
  chat_sending: chatSending,
10808
10786
  "model_key.stored": storedModelKey,
@@ -10849,7 +10827,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
10849
10827
  return [name, definition];
10850
10828
  })), "entityDefinitions");
10851
10829
 
10852
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10830
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10853
10831
  var schemas = /* @__PURE__ */ new WeakMap();
10854
10832
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
10855
10833
  if (Object.hasOwn(ENTITIES, name))
@@ -10883,7 +10861,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
10883
10861
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
10884
10862
  }, "answerRow");
10885
10863
 
10886
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
10864
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
10887
10865
  var where = [{ field: "ref" }];
10888
10866
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
10889
10867
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -10975,7 +10953,7 @@ var STATUS_ROWS = {
10975
10953
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
10976
10954
  };
10977
10955
 
10978
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/compact.js
10956
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/compact.js
10979
10957
  var TEXT_CHARS = 400;
10980
10958
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
10981
10959
  var messageRow = {
@@ -11109,9 +11087,13 @@ var isListOrRecord = /* @__PURE__ */ __name((value) => typeof value === "object"
11109
11087
  var firstSet = /* @__PURE__ */ __name((item, field, column) => fieldsOfColumn(field).map((path2) => at(item, path2)).find((value) => printable(value, column)), "firstSet");
11110
11088
  var sourceOf = /* @__PURE__ */ __name((item, column) => fieldsOfColumn(column.field).find((path2) => printable(at(item, path2), column)), "sourceOf");
11111
11089
  var clean = /* @__PURE__ */ __name((text5) => visibleControls(text5.replace(/\s+/g, " ").trim()), "clean");
11090
+ var BLOCK = /^(⟦untrusted:([0-9a-f]{16}) [^⟦⟧]*⟧)([^⟦⟧]*)(⟦\/untrusted:\2⟧)$/su;
11112
11091
  var cut = /* @__PURE__ */ __name((text5, chars) => {
11113
11092
  if (chars <= 0)
11114
11093
  return text5;
11094
+ const block = BLOCK.exec(text5);
11095
+ if (block)
11096
+ return `${block[1]}${cut(block[3] ?? "", chars)}${block[4]}`;
11115
11097
  const letters = Array.from(text5);
11116
11098
  return letters.length <= chars ? text5 : `${letters.slice(0, chars).join("")}\u2026(+${letters.length - chars})`;
11117
11099
  }, "cut");
@@ -11343,7 +11325,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
11343
11325
  return lines.concat(footerOf(body)).join("\n");
11344
11326
  }, "compactText");
11345
11327
 
11346
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11328
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11347
11329
  import { join as join5 } from "node:path";
11348
11330
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
11349
11331
  var IMAGE_MODELS = [
@@ -11397,7 +11379,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
11397
11379
  var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
11398
11380
  var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
11399
11381
 
11400
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/steps.js
11382
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/steps.js
11401
11383
  var STEPS2 = defineSteps([
11402
11384
  ...STEPS,
11403
11385
  {
@@ -11645,6 +11627,20 @@ var rootOf2 = /* @__PURE__ */ __name((command) => {
11645
11627
  root = root.parent;
11646
11628
  return root;
11647
11629
  }, "rootOf");
11630
+ var typedCommandPath = /* @__PURE__ */ __name((program2, rest) => {
11631
+ const words = [];
11632
+ let current2 = program2;
11633
+ for (const token of rest) {
11634
+ if (token.startsWith("-"))
11635
+ continue;
11636
+ const next = current2.commands.find((one) => one.name() === token || one.aliases().includes(token));
11637
+ if (!next)
11638
+ break;
11639
+ words.push(token);
11640
+ current2 = next;
11641
+ }
11642
+ return words.join(" ");
11643
+ }, "typedCommandPath");
11648
11644
  var commandAt = /* @__PURE__ */ __name((root, path2) => {
11649
11645
  let at2 = root;
11650
11646
  for (const word of path2.split(" "))
@@ -11687,7 +11683,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11687
11683
  ].join(" ");
11688
11684
  }, "stepLine");
11689
11685
 
11690
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11686
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11691
11687
  var SOFT_OUTPUT_BYTES = 256 * 1024;
11692
11688
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
11693
11689
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -11745,7 +11741,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
11745
11741
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
11746
11742
  }, "largeAnswerSteps");
11747
11743
 
11748
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11744
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11749
11745
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
11750
11746
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
11751
11747
  var strip = /* @__PURE__ */ __name((value) => {
@@ -11759,7 +11755,7 @@ var strip = /* @__PURE__ */ __name((value) => {
11759
11755
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
11760
11756
  }, "strip");
11761
11757
 
11762
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11758
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11763
11759
  var OPEN = "\u27E6";
11764
11760
  var CLOSE = "\u27E7";
11765
11761
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -11781,19 +11777,35 @@ var idOf = /* @__PURE__ */ __name((value) => {
11781
11777
  const id6 = value.ref ?? value.id;
11782
11778
  return typeof id6 === "string" || typeof id6 === "number" ? String(id6) : void 0;
11783
11779
  }, "idOf");
11780
+ var everyStringAt = /* @__PURE__ */ __name((value, mark, source2, id6) => {
11781
+ if (Array.isArray(value))
11782
+ return value.map((one) => everyStringAt(one, mark, source2, id6));
11783
+ if (value === null || typeof value !== "object")
11784
+ return markAt(value, [], mark, source2, id6);
11785
+ const record2 = value;
11786
+ const own = idOf(record2) ?? id6;
11787
+ return Object.fromEntries(Object.entries(record2).map(([key, child]) => [key, everyStringAt(child, mark, source2, own)]));
11788
+ }, "everyStringAt");
11784
11789
  var markAt = /* @__PURE__ */ __name((value, path2, mark, source2, id6) => {
11785
11790
  if (Array.isArray(value))
11786
11791
  return value.map((one) => markAt(one, path2, mark, source2, id6));
11787
11792
  if (path2.length === 0)
11788
11793
  return typeof value === "string" && !value.startsWith(`${OPEN}untrusted:${mark} `) ? marked(value, mark, source2, id6) : value;
11794
+ if (path2.length === 1 && path2[0] === "*")
11795
+ return everyStringAt(value, mark, source2, id6);
11789
11796
  if (value === null || typeof value !== "object")
11790
11797
  return value;
11791
11798
  const [key = "", ...rest] = path2;
11792
11799
  const record2 = value;
11800
+ const own = idOf(record2) ?? id6;
11801
+ if (key === "*")
11802
+ return Object.fromEntries(Object.entries(record2).map(([name, child]) => [name, markAt(child, rest, mark, source2, own)]));
11793
11803
  if (!(key in record2))
11794
11804
  return value;
11795
- return { ...record2, [key]: markAt(record2[key], rest, mark, source2, idOf(record2) ?? id6) };
11805
+ return { ...record2, [key]: markAt(record2[key], rest, mark, source2, own) };
11796
11806
  }, "markAt");
11807
+ var withoutRunMarks = /* @__PURE__ */ __name((text5, mark) => text5.replace(new RegExp(`${OPEN}untrusted:${mark}(?: [^${OPEN}${CLOSE}]*)?${CLOSE}|${OPEN}/untrusted:${mark}${CLOSE}`, "gu"), ""), "withoutRunMarks");
11808
+ var API_UNTRUSTED = ["item.*", "items.*"];
11797
11809
  var withUntrustedMarked = /* @__PURE__ */ __name((value, mark, id6) => {
11798
11810
  if (Array.isArray(value))
11799
11811
  return value.map((one) => withUntrustedMarked(one, mark, id6));
@@ -11832,7 +11844,8 @@ var CHAT_UNTRUSTED = ["title", "description"];
11832
11844
  var CONTACT_UNTRUSTED = ["description", "chats.title"];
11833
11845
  var DECLARED = /* @__PURE__ */ new WeakMap();
11834
11846
  var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
11835
- DECLARED.set(command, fields);
11847
+ const raw = DECLARED.get(command) === API_UNTRUSTED;
11848
+ DECLARED.set(command, raw ? [.../* @__PURE__ */ new Set([...API_UNTRUSTED, ...fields])] : fields);
11836
11849
  return command;
11837
11850
  }, "marksUntrusted");
11838
11851
  var untrustedFieldsOf = /* @__PURE__ */ __name((command) => DECLARED.get(command), "untrustedFieldsOf");
@@ -11849,7 +11862,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
11849
11862
  return result;
11850
11863
  }, "withFieldsMarked");
11851
11864
 
11852
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11865
+ // node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11853
11866
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
11854
11867
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
11855
11868
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -12093,8 +12106,8 @@ export {
12093
12106
  sharedContractOverrides,
12094
12107
  sharedContracts,
12095
12108
  sharedCommand,
12096
- customizeSharedCommand,
12097
12109
  refuseJoinedPath,
12110
+ deadlineMargin,
12098
12111
  runBudget,
12099
12112
  CORE_LOG_EVENTS,
12100
12113
  recorded,
@@ -12211,6 +12224,7 @@ export {
12211
12224
  reachesOtherService,
12212
12225
  isOtherServiceCall,
12213
12226
  ownerOnlyOption,
12227
+ allowDeletionsOption,
12214
12228
  judgedEffects,
12215
12229
  judgedTargets,
12216
12230
  refuseUnderReadOnly,
@@ -12249,6 +12263,15 @@ export {
12249
12263
  imageModelsDirectory,
12250
12264
  placedImage,
12251
12265
  isImageModelInstalled,
12266
+ untrustedMarkOf,
12267
+ runMarkOf,
12268
+ marked,
12269
+ withoutRunMarks,
12270
+ API_UNTRUSTED,
12271
+ withUntrustedMarked,
12272
+ CHAT_UNTRUSTED,
12273
+ CONTACT_UNTRUSTED,
12274
+ marksUntrusted,
12252
12275
  answerEntity,
12253
12276
  answerEntitySchema,
12254
12277
  answerProjectionSchema,
@@ -12264,6 +12287,7 @@ export {
12264
12287
  nextStep,
12265
12288
  lineOf,
12266
12289
  rootOf2,
12290
+ typedCommandPath,
12267
12291
  commandAt,
12268
12292
  runnable,
12269
12293
  failureSteps,
@@ -12272,12 +12296,6 @@ export {
12272
12296
  stepLine,
12273
12297
  tooLargeSteps,
12274
12298
  withoutProviderRefs,
12275
- runMarkOf,
12276
- marked,
12277
- withUntrustedMarked,
12278
- CHAT_UNTRUSTED,
12279
- CONTACT_UNTRUSTED,
12280
- marksUntrusted,
12281
12299
  answerSchema,
12282
12300
  listOf,
12283
12301
  itemOf,