@wirecat/hubspot-cli 0.5.0 → 0.7.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 (181) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +73 -52
  3. package/contracts/wirecat.json +39 -13
  4. package/dist/bin/hubspot.js +2 -2
  5. package/dist/bundle/agent-JXICB6TB.js +40 -0
  6. package/dist/bundle/{all-profiles-PGFXLOKN.js → all-profiles-GVEX5MXB.js} +11 -11
  7. package/dist/bundle/{anthropic-LPOJ3TYF.js → anthropic-GK6VBQUD.js} +5 -5
  8. package/dist/bundle/{app-server-EYWGCSRY.js → app-server-JRROE463.js} +68 -68
  9. package/dist/bundle/{bun-ZJOOKIIW.js → bun-B7XTFPUF.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-Y6KKH2OW.js → bun-sqlite-QSNZ2YP4.js} +6 -6
  11. package/dist/bundle/{chunk-DEUCWBBH.js → chunk-2FLLS5IL.js} +97 -24
  12. package/dist/bundle/{chunk-5ENY4POG.js → chunk-2HSYAKWO.js} +61 -61
  13. package/dist/bundle/{chunk-QLFD3MOL.js → chunk-2IRBXFIU.js} +2165 -839
  14. package/dist/bundle/{chunk-AIQT2GGK.js → chunk-2K5BAY32.js} +19 -19
  15. package/dist/bundle/{chunk-ZMHD76RE.js → chunk-2PCVKD27.js} +2 -2
  16. package/dist/bundle/{chunk-MENMD5Y5.js → chunk-2V5KOOJV.js} +8 -8
  17. package/dist/bundle/{chunk-QDNYJOWJ.js → chunk-3WG4MTQI.js} +1 -1
  18. package/dist/bundle/{chunk-MPNMEWHA.js → chunk-4F62XXF6.js} +2081 -711
  19. package/dist/bundle/{chunk-OFOA6VJ2.js → chunk-4HZQ5UIY.js} +3 -3
  20. package/dist/bundle/{chunk-QIHJKE4K.js → chunk-4LHNA6LJ.js} +7 -7
  21. package/dist/bundle/{chunk-7Q64D56R.js → chunk-52NC5E42.js} +11 -11
  22. package/dist/bundle/{chunk-ZLWQPUPB.js → chunk-5AVU5SF6.js} +2 -2
  23. package/dist/bundle/{chunk-MKBQFD37.js → chunk-5EJ3C3JG.js} +1 -1
  24. package/dist/bundle/{chunk-AVBKXCEY.js → chunk-5ISQ4KJM.js} +8 -8
  25. package/dist/bundle/{chunk-CWCJEAHZ.js → chunk-5MFZYHPO.js} +3 -3
  26. package/dist/bundle/{chunk-5WADRBQG.js → chunk-63YWTFZF.js} +3 -3
  27. package/dist/bundle/{chunk-I334AT2H.js → chunk-6EHX762H.js} +7 -7
  28. package/dist/bundle/{chunk-6S422S22.js → chunk-6IHXKMY6.js} +7 -9
  29. package/dist/bundle/{chunk-QCHW7R7L.js → chunk-6WKK4UZP.js} +1 -1
  30. package/dist/bundle/{chunk-VIJV474N.js → chunk-745FMNI5.js} +1 -1
  31. package/dist/bundle/{chunk-6PWRJGX4.js → chunk-A7KGBXBT.js} +4 -4
  32. package/dist/bundle/{chunk-HPRGUUHY.js → chunk-ALOPYWYY.js} +1 -1
  33. package/dist/bundle/{chunk-PMGAU6AP.js → chunk-AP3CWDRK.js} +2 -2
  34. package/dist/bundle/{chunk-LXLXF2OE.js → chunk-B3JVNOTB.js} +3 -3
  35. package/dist/bundle/{chunk-QPTHEZZ5.js → chunk-BQPAIGAF.js} +2 -2
  36. package/dist/bundle/{chunk-DDMBPYHP.js → chunk-BRBBZDMZ.js} +2 -2
  37. package/dist/bundle/{chunk-POTS24SH.js → chunk-BXXU4EXK.js} +18 -18
  38. package/dist/bundle/{chunk-34HDRZIL.js → chunk-BY3NKT34.js} +12 -12
  39. package/dist/bundle/{chunk-3CHJYWA2.js → chunk-CBTWKTWN.js} +6 -6
  40. package/dist/bundle/{chunk-RZS7N3OZ.js → chunk-CEHBT7QX.js} +7 -7
  41. package/dist/bundle/{chunk-NLPGUYCG.js → chunk-DBHJIFDS.js} +37 -18
  42. package/dist/bundle/{chunk-DJUUQG6Y.js → chunk-DIHVN5IC.js} +8 -8
  43. package/dist/bundle/{chunk-4RZ4DUQT.js → chunk-DIKUPU3T.js} +3 -3
  44. package/dist/bundle/{chunk-WEM4FZPM.js → chunk-DMYLQX2O.js} +2 -2
  45. package/dist/bundle/{chunk-LWS5AO3H.js → chunk-DWWZAQ4N.js} +16 -16
  46. package/dist/bundle/{chunk-NEP67GLY.js → chunk-GD5JTKLS.js} +6 -6
  47. package/dist/bundle/{chunk-KC4ILAKO.js → chunk-GHBJBDTW.js} +1 -1
  48. package/dist/bundle/{chunk-KRTXJMCD.js → chunk-GYH2AXPO.js} +27 -177
  49. package/dist/bundle/{chunk-K3WCBNH4.js → chunk-GZD6BYO7.js} +6 -6
  50. package/dist/bundle/{chunk-KAW5VEER.js → chunk-H5HBZCEJ.js} +8 -8
  51. package/dist/bundle/{chunk-VCYUYFIV.js → chunk-HX2BE7DO.js} +1 -1
  52. package/dist/bundle/{chunk-KXWRVLSU.js → chunk-I5WHQH5K.js} +1 -1
  53. package/dist/bundle/{chunk-R7ZOCDNG.js → chunk-INT5JXGP.js} +1 -1
  54. package/dist/bundle/{chunk-YZ5MULJM.js → chunk-IRFFXKKK.js} +3 -3
  55. package/dist/bundle/{chunk-SBNZYRVZ.js → chunk-J5HHB27S.js} +4 -4
  56. package/dist/bundle/{chunk-V5VMAHDQ.js → chunk-JEUYZCWF.js} +6 -6
  57. package/dist/bundle/{chunk-BH5FEFZB.js → chunk-JQUS4KFV.js} +2 -2
  58. package/dist/bundle/{chunk-5HGS65I3.js → chunk-KGLMYQXM.js} +2 -2
  59. package/dist/bundle/{chunk-AHZQMSXW.js → chunk-L3DUZVBP.js} +8 -8
  60. package/dist/bundle/{chunk-RJBKDZGV.js → chunk-LGGBKAVQ.js} +8 -8
  61. package/dist/bundle/{chunk-ODRF47VS.js → chunk-LJ52BS6C.js} +8 -8
  62. package/dist/bundle/{chunk-7RIE3DAW.js → chunk-M3JDGRXM.js} +221 -163
  63. package/dist/bundle/{chunk-BCW7DAVV.js → chunk-MR2BNER3.js} +2 -2
  64. package/dist/bundle/{chunk-OCISQFMW.js → chunk-NUPAXK4Z.js} +1 -1
  65. package/dist/bundle/{chunk-MW4ROXQ6.js → chunk-OX37ZK27.js} +3 -3
  66. package/dist/bundle/{chunk-MFWECOO3.js → chunk-P7N3TZLH.js} +59 -59
  67. package/dist/bundle/{chunk-L6WSFVTD.js → chunk-QAQK2WXJ.js} +5 -5
  68. package/dist/bundle/{chunk-EPBHJMF6.js → chunk-QY7EOB66.js} +13 -13
  69. package/dist/bundle/{chunk-HBFSGL5E.js → chunk-RE55EPBX.js} +33 -28
  70. package/dist/bundle/{chunk-ABPZOI3C.js → chunk-SBORPDIQ.js} +4 -4
  71. package/dist/bundle/{chunk-YQBGPBYN.js → chunk-SFFV2F3Y.js} +2 -2
  72. package/dist/bundle/{chunk-WQZENAPE.js → chunk-SMEEFN65.js} +63 -4
  73. package/dist/bundle/{chunk-GZJP3KQQ.js → chunk-SVRCPPNI.js} +1 -1
  74. package/dist/bundle/{chunk-BW7NPFVC.js → chunk-SZZVNPTI.js} +7 -7
  75. package/dist/bundle/{chunk-HPSESLOZ.js → chunk-TCSVW7BA.js} +1 -1
  76. package/dist/bundle/{chunk-L4SVHQ7H.js → chunk-TXCINEH6.js} +7 -7
  77. package/dist/bundle/{chunk-BGUGTMTS.js → chunk-UMXA357W.js} +8 -8
  78. package/dist/bundle/{chunk-PPQRWFJZ.js → chunk-VJQLJQHT.js} +5 -5
  79. package/dist/bundle/{chunk-EGR3YUWD.js → chunk-WASBOYI2.js} +4 -4
  80. package/dist/bundle/{chunk-Z7FC6VVM.js → chunk-WSTF2MWW.js} +1 -1
  81. package/dist/bundle/{chunk-BVK4GUUI.js → chunk-WSUS3MUK.js} +1853 -1874
  82. package/dist/bundle/{chunk-A5UTNGI4.js → chunk-WWIYZN67.js} +13 -13
  83. package/dist/bundle/{chunk-STTHRJBX.js → chunk-XL3NAXZY.js} +5 -5
  84. package/dist/bundle/{chunk-23CLSKY7.js → chunk-XWYYFAML.js} +3 -3
  85. package/dist/bundle/{chunk-MPQ4SPZG.js → chunk-XZLOQNS7.js} +74 -31
  86. package/dist/bundle/{chunk-MGMLSPIY.js → chunk-YDTFPDAJ.js} +1 -1
  87. package/dist/bundle/{chunk-ZKPM53YG.js → chunk-YFHCKAGU.js} +4 -4
  88. package/dist/bundle/{chunk-WDR77HPO.js → chunk-YGZ37OEN.js} +8 -1
  89. package/dist/bundle/{chunk-YJLJZMEA.js → chunk-YOVIH4QI.js} +33 -30
  90. package/dist/bundle/{chunk-NEDV6RCQ.js → chunk-YVMLFHWS.js} +3 -3
  91. package/dist/bundle/{chunk-K5S7MKBB.js → chunk-ZH76HQDA.js} +17 -17
  92. package/dist/bundle/{chunk-WXEN6AXQ.js → chunk-ZNNGK73C.js} +3 -3
  93. package/dist/bundle/{chunk-NKIKMG33.js → chunk-ZNRZJIRM.js} +35 -35
  94. package/dist/bundle/{chunk-5UPNDUAA.js → chunk-ZS6T2PYQ.js} +2 -2
  95. package/dist/bundle/command-contract-7EWUA6E6.js +40 -0
  96. package/dist/bundle/{command-server-entry-B7S5AUE6.js → command-server-entry-BFXXPNJO.js} +28 -28
  97. package/dist/bundle/{decode-7L33C5UJ.js → decode-5M7R44BR.js} +5 -5
  98. package/dist/bundle/{dispatch-BIGHHSXV.js → dispatch-B2EP6DDT.js} +8 -8
  99. package/dist/bundle/{echarts-CWR3QH55.js → echarts-7MBFY6SZ.js} +2 -2
  100. package/dist/bundle/{embed-GXQ3HOQ6.js → embed-Y4GYNHRX.js} +6 -6
  101. package/dist/bundle/{embedder-47OYXGLS.js → embedder-FI4T4LQB.js} +9 -9
  102. package/dist/bundle/{failure-VMZOU5GZ.js → failure-AOACEURF.js} +2 -2
  103. package/dist/bundle/{first-run-YVQQOUQG.js → first-run-YY66AKKG.js} +12 -12
  104. package/dist/bundle/first-screen-U7Z63VXE.js +40 -0
  105. package/dist/bundle/hubspot.js +27 -27
  106. package/dist/bundle/{instructions-QFS2MPK3.js → instructions-SM7TKV6L.js} +1 -1
  107. package/dist/bundle/{mcp-Z2KZNCXB.js → mcp-ZNULRPZ4.js} +2 -2
  108. package/dist/bundle/meeting-combined-B444C4NF.js +25 -0
  109. package/dist/bundle/{meeting-model-GLF2HVJG.js → meeting-model-DKLMBQXX.js} +11 -11
  110. package/dist/bundle/{meeting-semantic-RG56F4YX.js → meeting-semantic-C5T6UDVB.js} +6 -6
  111. package/dist/bundle/{node-3TSWTXGI.js → node-OS6OQF3F.js} +2 -2
  112. package/dist/bundle/{node-sqlite-UPQCG7DJ.js → node-sqlite-2XTWZ4HL.js} +7 -7
  113. package/dist/bundle/{oauth-MCVEENW3.js → oauth-BSSJ66FC.js} +7 -7
  114. package/dist/bundle/{open-JMUTKUYJ.js → open-UZ3TKWDY.js} +5 -5
  115. package/dist/bundle/{openai-HT7YDOK7.js → openai-POVKFBTC.js} +15 -15
  116. package/dist/bundle/{process-7RC6DAGM.js → process-A7ZJGQ6G.js} +1 -1
  117. package/dist/bundle/{program-3DLBMOEJ.js → program-Q3JFUVC6.js} +582 -337
  118. package/dist/bundle/{prompt-7EROPXPF.js → prompt-TYOYTRJM.js} +5 -5
  119. package/dist/bundle/{recognize-B232GXD2.js → recognize-GGFRONZT.js} +4 -4
  120. package/dist/bundle/{remote-HGV64VRC.js → remote-K4SLWHMI.js} +9 -9
  121. package/dist/bundle/{rerank-5S6TDXHD.js → rerank-2QTKDUBV.js} +7 -7
  122. package/dist/bundle/{schemas-SB42IXEX.js → schemas-EXBNVPMI.js} +1 -1
  123. package/dist/bundle/{serve-D2WFCV6Z.js → serve-FG2G2X6Y.js} +9 -9
  124. package/dist/bundle/{server-4AXPTJPV.js → server-KRDHBT5Q.js} +60 -60
  125. package/dist/bundle/server-VFKK6OS4.js +86 -0
  126. package/dist/bundle/source-XP2JNUVU.js +426 -0
  127. package/dist/bundle/{sqlite-runtime-DAFMZNLI.js → sqlite-runtime-TWV7KFLA.js} +6 -6
  128. package/dist/bundle/{state-7OEBDXVV.js → state-EFX5ZQED.js} +6 -6
  129. package/dist/bundle/store-LON2XRIS.js +34 -0
  130. package/dist/bundle/{store-2ZWSWF76.js → store-MNQ6YQIS.js} +28 -24
  131. package/dist/bundle/{store-KC6US326.js → store-QPVH5VPJ.js} +22 -22
  132. package/dist/bundle/store-maintenance-command-YEMPRNJX.js +73 -0
  133. package/dist/bundle/surface-UJRMT6QT.js +72 -0
  134. package/dist/bundle/writer-NOSHE7ZI.js +86 -0
  135. package/dist/commands/account.d.ts +3 -2
  136. package/dist/commands/account.d.ts.map +1 -1
  137. package/dist/commands/account.js +31 -78
  138. package/dist/commands/account.js.map +1 -1
  139. package/dist/commands/crm-shared.d.ts.map +1 -1
  140. package/dist/commands/crm-shared.js +2 -0
  141. package/dist/commands/crm-shared.js.map +1 -1
  142. package/dist/commands/session.d.ts +0 -3
  143. package/dist/commands/session.d.ts.map +1 -1
  144. package/dist/commands/session.js +4 -31
  145. package/dist/commands/session.js.map +1 -1
  146. package/dist/config.d.ts.map +1 -1
  147. package/dist/config.js +16 -10
  148. package/dist/config.js.map +1 -1
  149. package/dist/crm/activities.d.ts +6 -1
  150. package/dist/crm/activities.d.ts.map +1 -1
  151. package/dist/crm/activities.js +36 -0
  152. package/dist/crm/activities.js.map +1 -1
  153. package/dist/crm/records.d.ts.map +1 -1
  154. package/dist/crm/records.js +3 -0
  155. package/dist/crm/records.js.map +1 -1
  156. package/dist/crm/writer.d.ts +1 -1
  157. package/dist/crm/writer.d.ts.map +1 -1
  158. package/dist/crm/writer.js +69 -1
  159. package/dist/crm/writer.js.map +1 -1
  160. package/dist/program.d.ts.map +1 -1
  161. package/dist/program.js +0 -2
  162. package/dist/program.js.map +1 -1
  163. package/dist/reasons.d.ts.map +1 -1
  164. package/dist/reasons.js +0 -2
  165. package/dist/reasons.js.map +1 -1
  166. package/dist/version.d.ts +1 -1
  167. package/dist/version.js +1 -1
  168. package/package.json +3 -3
  169. package/skills/hubspot-cli/SKILL.md +17 -5
  170. package/skills/hubspot-cli/references/api/api-basic.md +2 -2
  171. package/skills/hubspot-cli/references/api/api-batch.md +2 -2
  172. package/dist/bundle/agent-RBQMA24N.js +0 -40
  173. package/dist/bundle/command-contract-O2UKYHLD.js +0 -40
  174. package/dist/bundle/first-screen-TU3KE2B5.js +0 -40
  175. package/dist/bundle/meeting-combined-WBEOLQMP.js +0 -25
  176. package/dist/bundle/server-FFHVNABP.js +0 -86
  177. package/dist/bundle/source-DF63EC2B.js +0 -945
  178. package/dist/bundle/store-Q3ZKD4FJ.js +0 -34
  179. package/dist/bundle/store-maintenance-command-24A4GBRP.js +0 -73
  180. package/dist/bundle/surface-SPTM57EP.js +0 -72
  181. package/dist/bundle/writer-EQQ55HOS.js +0 -86
@@ -9,20 +9,20 @@ import {
9
9
  providerErrorKey,
10
10
  renderEvent,
11
11
  runContextOf
12
- } from "./chunk-RJBKDZGV.js";
12
+ } from "./chunk-LGGBKAVQ.js";
13
13
  import {
14
14
  permissionCeiling
15
- } from "./chunk-OFOA6VJ2.js";
15
+ } from "./chunk-4HZQ5UIY.js";
16
16
  import {
17
17
  DEFAULT_RERANK_MODEL,
18
18
  RERANK_MODELS
19
- } from "./chunk-L6WSFVTD.js";
19
+ } from "./chunk-QAQK2WXJ.js";
20
20
  import {
21
21
  carries
22
- } from "./chunk-R7ZOCDNG.js";
22
+ } from "./chunk-INT5JXGP.js";
23
23
  import {
24
24
  note
25
- } from "./chunk-YZ5MULJM.js";
25
+ } from "./chunk-IRFFXKKK.js";
26
26
  import {
27
27
  CATEGORIES,
28
28
  FACT_STATUSES,
@@ -67,18 +67,18 @@ import {
67
67
  typedCommand,
68
68
  untrusted,
69
69
  useAsProcessRun
70
- } from "./chunk-YJLJZMEA.js";
70
+ } from "./chunk-YOVIH4QI.js";
71
71
  import {
72
72
  isCliFailure,
73
73
  storeDamaged
74
- } from "./chunk-DDMBPYHP.js";
74
+ } from "./chunk-BRBBZDMZ.js";
75
75
  import {
76
76
  endpoint
77
- } from "./chunk-QIHJKE4K.js";
77
+ } from "./chunk-4LHNA6LJ.js";
78
78
  import {
79
79
  filesPresent,
80
80
  sharedModelsDirectory
81
- } from "./chunk-6PWRJGX4.js";
81
+ } from "./chunk-A7KGBXBT.js";
82
82
  import {
83
83
  CEILING_KEY,
84
84
  COMMAND_PATH_KEY,
@@ -92,7 +92,7 @@ import {
92
92
  permissionOverrides,
93
93
  projectFields,
94
94
  resolveOutput
95
- } from "./chunk-BW7NPFVC.js";
95
+ } from "./chunk-SZZVNPTI.js";
96
96
  import {
97
97
  BUSINESS_KINDS,
98
98
  CRM_ACTIVITY_KINDS,
@@ -107,10 +107,10 @@ import {
107
107
  ORDER_STATUSES,
108
108
  RELATION_KINDS,
109
109
  STANDINGS
110
- } from "./chunk-NLPGUYCG.js";
110
+ } from "./chunk-DBHJIFDS.js";
111
111
  import {
112
112
  TAG_TYPES
113
- } from "./chunk-ZMHD76RE.js";
113
+ } from "./chunk-2PCVKD27.js";
114
114
  import {
115
115
  FACT_TYPES,
116
116
  FIELD_TYPES,
@@ -138,14 +138,14 @@ import {
138
138
  parseLucene,
139
139
  readsZone,
140
140
  timezoneOf
141
- } from "./chunk-5ENY4POG.js";
141
+ } from "./chunk-2HSYAKWO.js";
142
142
  import {
143
143
  repairConfigText,
144
144
  sharedConfigPath
145
- } from "./chunk-RZS7N3OZ.js";
145
+ } from "./chunk-CEHBT7QX.js";
146
146
  import {
147
147
  storePath
148
- } from "./chunk-WEM4FZPM.js";
148
+ } from "./chunk-DMYLQX2O.js";
149
149
  import {
150
150
  configFilePath,
151
151
  createRecordLog,
@@ -154,7 +154,7 @@ import {
154
154
  resolvePaths,
155
155
  saveConfigFile,
156
156
  writeSecurely
157
- } from "./chunk-AIQT2GGK.js";
157
+ } from "./chunk-2K5BAY32.js";
158
158
  import {
159
159
  COMPACT_FLAG,
160
160
  MAX_NEXT_STEPS,
@@ -171,7 +171,7 @@ import {
171
171
  reference,
172
172
  stepOf,
173
173
  writes
174
- } from "./chunk-KAW5VEER.js";
174
+ } from "./chunk-H5HBZCEJ.js";
175
175
  import {
176
176
  array,
177
177
  boolean,
@@ -213,12 +213,12 @@ import {
213
213
  CliError,
214
214
  isCliError,
215
215
  visibleControls
216
- } from "./chunk-PMGAU6AP.js";
216
+ } from "./chunk-AP3CWDRK.js";
217
217
  import {
218
218
  __name
219
219
  } from "./chunk-ZVVMGPBJ.js";
220
220
 
221
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/ports/app.js
221
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/ports/app.js
222
222
  import { readFileSync } from "node:fs";
223
223
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
224
224
  var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
@@ -272,7 +272,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
272
272
  var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
273
273
  var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
274
274
 
275
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
275
+ // 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
276
276
  var labels = /* @__PURE__ */ new WeakMap();
277
277
  var annotate = /* @__PURE__ */ __name((command, meta) => {
278
278
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3773,7 +3773,7 @@ __name(useColor, "useColor");
3773
3773
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3774
3774
  var program = new Command();
3775
3775
 
3776
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
3776
+ // 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
3777
3777
  var argumentInfoSchema = object({
3778
3778
  name: string(),
3779
3779
  required: boolean(),
@@ -3847,7 +3847,7 @@ var commandsDocumentSchema = strictObject({
3847
3847
  exit_codes: record(string(), pipe(number(), integer()))
3848
3848
  });
3849
3849
 
3850
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
3850
+ // 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
3851
3851
  import { isDeepStrictEqual } from "node:util";
3852
3852
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3853
3853
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3957,7 +3957,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
3957
3957
  return result;
3958
3958
  }, "sharedCommand");
3959
3959
 
3960
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
3960
+ // 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
3961
3961
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3962
3962
  let command = root;
3963
3963
  const path2 = [];
@@ -3975,7 +3975,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3975
3975
  }
3976
3976
  }, "refuseJoinedPath");
3977
3977
 
3978
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
3978
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
3979
3979
  import { AsyncLocalStorage } from "node:async_hooks";
3980
3980
  var requests = new AsyncLocalStorage();
3981
3981
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -3990,7 +3990,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
3990
3990
  return direct;
3991
3991
  }, "exitCodeSet");
3992
3992
 
3993
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/sends/guarded.js
3993
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/sends/guarded.js
3994
3994
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
3995
3995
  var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
3996
3996
  messageId: message2.id,
@@ -4096,7 +4096,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
4096
4096
  }, "guardedWrite");
4097
4097
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
4098
4098
 
4099
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/execution.js
4099
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/execution.js
4100
4100
  var DEFAULT_COMMAND_MS = 3e4;
4101
4101
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
4102
4102
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4279,7 +4279,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4279
4279
  }
4280
4280
  }, "withAbort");
4281
4281
 
4282
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4282
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4283
4283
  import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
4284
4284
  import { join } from "node:path";
4285
4285
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4301,7 +4301,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4301
4301
  }, "profilesWithAccounts");
4302
4302
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4303
4303
 
4304
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/background/budget.js
4304
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/background/budget.js
4305
4305
  var DEADLINE_MARGIN_MS = 5e3;
4306
4306
  var DEADLINE_MARGIN_SHARE = 0.15;
4307
4307
  var DEFAULT_REQUEST_MS = 2e3;
@@ -4358,7 +4358,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
4358
4358
  };
4359
4359
  }, "runBudget");
4360
4360
 
4361
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4361
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4362
4362
  var CORE_LOG_EVENTS = defineLogEvents([
4363
4363
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
4364
4364
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -4396,7 +4396,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
4396
4396
  progress: "sync.progress"
4397
4397
  };
4398
4398
 
4399
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/recording.js
4399
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/runs/recording.js
4400
4400
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
4401
4401
  const recording = startRecording(options);
4402
4402
  try {
@@ -4611,7 +4611,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
4611
4611
  return void 0;
4612
4612
  }, "partialOutcome");
4613
4613
 
4614
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4614
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4615
4615
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4616
4616
  if (ms2 === void 0)
4617
4617
  return body();
@@ -4637,7 +4637,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4637
4637
  }
4638
4638
  }, "withDeadline");
4639
4639
 
4640
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/profile.js
4640
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/profile.js
4641
4641
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
4642
4642
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
4643
4643
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -4706,10 +4706,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
4706
4706
  return void 0;
4707
4707
  }, "sampleCommand");
4708
4708
 
4709
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/settings.js
4709
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/settings.js
4710
4710
  import { existsSync as existsSync4 } from "node:fs";
4711
4711
 
4712
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/models/settings.js
4712
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/models/settings.js
4713
4713
  var MODEL_FIELDS = ["provider", "model", "base_url"];
4714
4714
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
4715
4715
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -4778,7 +4778,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
4778
4778
  };
4779
4779
  }, "modelTarget");
4780
4780
 
4781
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/analysis/settings.js
4781
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/analysis/settings.js
4782
4782
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
4783
4783
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
4784
4784
  var AI_FIELDS = {
@@ -4822,7 +4822,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
4822
4822
  };
4823
4823
  }, "resolveAISettings");
4824
4824
 
4825
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/duration.js
4825
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/domain/duration.js
4826
4826
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
4827
4827
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
4828
4828
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -4836,7 +4836,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
4836
4836
  return ms2;
4837
4837
  }, "parseDuration");
4838
4838
 
4839
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/services/history-limits.js
4839
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/services/history-limits.js
4840
4840
  var HISTORY_MAX_DAYS = 1095;
4841
4841
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
4842
4842
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -4883,7 +4883,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
4883
4883
  return { batch: { ...batch, messages }, skipped };
4884
4884
  }, "limitBatch");
4885
4885
 
4886
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
4886
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
4887
4887
  import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
4888
4888
  import { join as join2 } from "node:path";
4889
4889
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -4972,7 +4972,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
4972
4972
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
4973
4973
  }, "registryProfiles");
4974
4974
 
4975
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
4975
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
4976
4976
  import { readFileSync as readFileSync4 } from "node:fs";
4977
4977
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
4978
4978
  var SECTIONS = ["personal", "bot"];
@@ -5175,7 +5175,10 @@ var scopes = /* @__PURE__ */ __name((raw) => {
5175
5175
  return out;
5176
5176
  }, "scopes");
5177
5177
  var savedPermissionKeys = /* @__PURE__ */ __name((raw) => scopes(raw).flatMap(([path2, scope]) => isNode(scope.permissions) ? Object.keys(scope.permissions).map((key) => ({ key, at: [...path2, "permissions", key] })) : []), "savedPermissionKeys");
5178
- var permissionIssues = /* @__PURE__ */ __name((saved, known, context2) => saved.filter(({ key }) => !known.has(key)).map(({ at: at2 }) => locate("unknown_permission", at2, context2, (key) => `${key} names no command`)), "permissionIssues");
5178
+ var permissionIssues = /* @__PURE__ */ __name((saved, known, context2, renamed = /* @__PURE__ */ new Map()) => saved.filter(({ key }) => !known.has(key)).map(({ key: name, at: at2 }) => locate("unknown_permission", at2, context2, (key) => {
5179
+ const now = renamed.get(name);
5180
+ return now === void 0 ? `${key} names no command` : `${key} names no command: its command moved, so rename it to permissions.${now}`;
5181
+ })), "permissionIssues");
5179
5182
  var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
5180
5183
  var prune = /* @__PURE__ */ __name((raw, paths) => {
5181
5184
  const drop = new Set(paths.map(pathId));
@@ -5267,7 +5270,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
5267
5270
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
5268
5271
  }, "readConfigFile");
5269
5272
 
5270
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5273
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5271
5274
  import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
5272
5275
  import { dirname, join as join3 } from "node:path";
5273
5276
  var DEFAULT_CONFIG = {
@@ -5296,7 +5299,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
5296
5299
  }
5297
5300
  __name(ensureDefaultConfig, "ensureDefaultConfig");
5298
5301
 
5299
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5302
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5300
5303
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5301
5304
  var parentOf = /* @__PURE__ */ __name((config, key) => {
5302
5305
  const path2 = key.split(".");
@@ -5318,7 +5321,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
5318
5321
  return { config, added };
5319
5322
  }, "withSettingDefaults");
5320
5323
 
5321
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/settings.js
5324
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/settings.js
5322
5325
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
5323
5326
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
5324
5327
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -5846,7 +5849,7 @@ var given = /* @__PURE__ */ __name((value) => {
5846
5849
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
5847
5850
  }, "given");
5848
5851
 
5849
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/context.js
5852
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/context.js
5850
5853
  var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
5851
5854
  const { deadline, signal, app } = environmentOf(command);
5852
5855
  const now = deadline?.();
@@ -6000,7 +6003,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
6000
6003
  return words.join(" ");
6001
6004
  }, "commandPath");
6002
6005
 
6003
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/effects.js
6006
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/effects.js
6004
6007
  var REMOTE_READ = { remote: "read", local: "read" };
6005
6008
  var FETCH = { remote: "read", local: "write" };
6006
6009
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -6137,7 +6140,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6137
6140
  throw readOnlyRefusal(lock, what);
6138
6141
  }, "refuseUnderReadOnly");
6139
6142
 
6140
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/account.js
6143
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/account.js
6141
6144
  var account = strictObject({
6142
6145
  provider: text,
6143
6146
  id,
@@ -6147,7 +6150,7 @@ var account = strictObject({
6147
6150
  scope: optional(picklist(["personal", "work"]))
6148
6151
  });
6149
6152
 
6150
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6153
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6151
6154
  var accountSession = strictObject({
6152
6155
  current: boolean(),
6153
6156
  client: nullable(text),
@@ -6157,7 +6160,7 @@ var accountSession = strictObject({
6157
6160
  created_at: optional(nullable(time))
6158
6161
  });
6159
6162
 
6160
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6163
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6161
6164
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
6162
6165
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
6163
6166
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -6186,7 +6189,7 @@ var accountRemoval = strictObject({
6186
6189
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
6187
6190
  });
6188
6191
 
6189
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6192
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6190
6193
  var accountProfile = strictObject({
6191
6194
  profile: id,
6192
6195
  current: boolean(),
@@ -6198,7 +6201,7 @@ var accountProfile = strictObject({
6198
6201
  bot: optional(literal(true))
6199
6202
  });
6200
6203
 
6201
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6204
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6202
6205
  var milliseconds = pipe(number(), minValue(0));
6203
6206
  var counterReading = strictObject({
6204
6207
  counter: picklist(["views", "reactions", "comments"]),
@@ -6210,7 +6213,7 @@ var counterReading = strictObject({
6210
6213
  });
6211
6214
  var selection = record(string(), unknown());
6212
6215
 
6213
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6216
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6214
6217
  var adminRow = strictObject({
6215
6218
  ref: reference,
6216
6219
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -6263,7 +6266,7 @@ var adminReport = strictObject({
6263
6266
  rows: array(adminRow)
6264
6267
  });
6265
6268
 
6266
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/task.js
6269
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/task.js
6267
6270
  var closeSuggestion = strictObject({
6268
6271
  as: picklist(["done", "dismissed"]),
6269
6272
  /** The agent's name. */
@@ -6325,7 +6328,7 @@ var task = strictObject({
6325
6328
  updated_at: optional(time)
6326
6329
  });
6327
6330
 
6328
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6331
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6329
6332
  var agendaChat = strictObject({
6330
6333
  chat: reference,
6331
6334
  title: nullable(text),
@@ -6395,11 +6398,11 @@ var agenda = strictObject({
6395
6398
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
6396
6399
  });
6397
6400
 
6398
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6401
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6399
6402
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6400
6403
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6401
6404
 
6402
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6405
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6403
6406
  var attachment = strictObject({
6404
6407
  /** The message it came with, as a locator; absent inside that message. */
6405
6408
  message: optional(reference),
@@ -6444,7 +6447,7 @@ var hitFile = strictObject({
6444
6447
  local_path: optional(text)
6445
6448
  });
6446
6449
 
6447
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6450
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6448
6451
  var actionableError = objectWithRest({
6449
6452
  code: text,
6450
6453
  message: text,
@@ -6461,7 +6464,7 @@ var batchResult = strictObject({
6461
6464
  max_error_percent: count
6462
6465
  });
6463
6466
 
6464
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6467
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6465
6468
  var extractionItem = strictObject({
6466
6469
  ref: reference,
6467
6470
  attachment: count,
@@ -6494,7 +6497,7 @@ var extractionReport = strictObject({
6494
6497
  cursor: optional(text)
6495
6498
  });
6496
6499
 
6497
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6500
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6498
6501
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
6499
6502
  var attachmentBytes = strictObject({
6500
6503
  ref: reference,
@@ -6525,7 +6528,7 @@ var attachmentTextChange = strictObject({
6525
6528
  text: optional(text)
6526
6529
  });
6527
6530
 
6528
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
6531
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
6529
6532
  var WEIGHTS = {
6530
6533
  bot: 3,
6531
6534
  scam: 3,
@@ -6550,7 +6553,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
6550
6553
  var DIGITS = /\d{5,}/;
6551
6554
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
6552
6555
 
6553
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
6556
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
6554
6557
  var linkedIdentity = strictObject({
6555
6558
  provider: text,
6556
6559
  id,
@@ -6605,7 +6608,7 @@ var contactCheck = strictObject({
6605
6608
  checked_at: time
6606
6609
  });
6607
6610
 
6608
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/member.js
6611
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/member.js
6609
6612
  var member = strictObject({
6610
6613
  id,
6611
6614
  name: nullable(text),
@@ -6628,7 +6631,7 @@ var member = strictObject({
6628
6631
  check: optional(record(string(), unknown()))
6629
6632
  });
6630
6633
 
6631
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat.js
6634
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat.js
6632
6635
  var setting = optional(nullable(boolean()));
6633
6636
  var chat = strictObject({
6634
6637
  ref: reference,
@@ -6669,7 +6672,7 @@ var chat = strictObject({
6669
6672
  members: optional(array(member))
6670
6673
  });
6671
6674
 
6672
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message.js
6675
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message.js
6673
6676
  var quoted = strictObject({
6674
6677
  id,
6675
6678
  sender_id: nullable(id),
@@ -6790,7 +6793,7 @@ var message = strictObject({
6790
6793
  provider_metadata: providerMetadata
6791
6794
  });
6792
6795
 
6793
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
6796
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
6794
6797
  var recordedMeeting = strictObject({
6795
6798
  ref: reference,
6796
6799
  meeting_id: count,
@@ -6807,7 +6810,7 @@ var recordedMeeting = strictObject({
6807
6810
  call: optional(meetingCall)
6808
6811
  });
6809
6812
 
6810
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
6813
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
6811
6814
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
6812
6815
  var contextMessage = strictObject({
6813
6816
  locator: reference,
@@ -7013,7 +7016,7 @@ var contactPreparation = strictObject({
7013
7016
  })
7014
7017
  });
7015
7018
 
7016
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/deal.js
7019
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/deal.js
7017
7020
  var nullableText = nullable(text);
7018
7021
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
7019
7022
  var outcome = picklist(["open", "won", "lost"]);
@@ -7169,7 +7172,7 @@ var stage = strictObject({
7169
7172
  untrusted
7170
7173
  });
7171
7174
 
7172
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7175
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7173
7176
  var nullableText2 = nullable(text);
7174
7177
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
7175
7178
  var standing = picklist(STANDINGS);
@@ -7348,7 +7351,7 @@ var dealBrief = strictObject({
7348
7351
  not_read: coverage2.entries.not_read
7349
7352
  });
7350
7353
 
7351
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chart.js
7354
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chart.js
7352
7355
  var chart = strictObject({
7353
7356
  version: literal(1),
7354
7357
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -7363,7 +7366,7 @@ var chart = strictObject({
7363
7366
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
7364
7367
  });
7365
7368
 
7366
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/folder.js
7369
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/folder.js
7367
7370
  var named = strictObject({
7368
7371
  id,
7369
7372
  title: nullable(text),
@@ -7386,7 +7389,7 @@ var folder = strictObject({
7386
7389
  excluded_chats: optional(array(named))
7387
7390
  });
7388
7391
 
7389
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7392
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7390
7393
  var inviteLink = strictObject({
7391
7394
  link: text,
7392
7395
  /** Who joins by it asks first, and an admin lets them in. */
@@ -7402,7 +7405,7 @@ var inviteLink = strictObject({
7402
7405
  joined_count: optional(count)
7403
7406
  });
7404
7407
 
7405
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7408
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7406
7409
  var operated = { operation_id: id, chat_id: id };
7407
7410
  var group = strictObject({
7408
7411
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -7482,7 +7485,7 @@ var chatFolderOrder = strictObject({
7482
7485
  folders: array(strictObject({ id, title: text }))
7483
7486
  });
7484
7487
 
7485
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7488
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7486
7489
  var operated2 = { operation_id: id, chat_id: id };
7487
7490
  var chatRemoval = strictObject(operated2);
7488
7491
  var chatMuting = strictObject({
@@ -7493,7 +7496,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
7493
7496
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
7494
7497
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
7495
7498
 
7496
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7499
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7497
7500
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
7498
7501
  var chatEvent = strictObject({
7499
7502
  chat_id: id,
@@ -7510,7 +7513,7 @@ var chatEvent = strictObject({
7510
7513
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
7511
7514
  });
7512
7515
 
7513
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7516
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7514
7517
  var chatMetadata = strictObject({
7515
7518
  chat_id: id,
7516
7519
  title: nullable(text),
@@ -7525,7 +7528,7 @@ var chatMetadataRefresh = strictObject({
7525
7528
  has_more: boolean()
7526
7529
  });
7527
7530
 
7528
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7531
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7529
7532
  var action = picklist(["report", "delete", "remove"]);
7530
7533
  var level = picklist(["deny", "readonly", "ask", "allow"]);
7531
7534
  var chatRules = strictObject({
@@ -7562,7 +7565,7 @@ var chatModeration = strictObject({
7562
7565
  }))
7563
7566
  });
7564
7567
 
7565
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
7568
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
7566
7569
  var chatSending = strictObject({
7567
7570
  mode: picklist(["allowed", "ask", "denied"]),
7568
7571
  meaning: text,
@@ -7572,7 +7575,7 @@ var chatSending = strictObject({
7572
7575
  changed: optional(boolean())
7573
7576
  });
7574
7577
 
7575
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7578
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7576
7579
  var optionalCount = optional(count);
7577
7580
  var minutes = nullable(number());
7578
7581
  var chatStats = strictObject({
@@ -7648,7 +7651,7 @@ var taskStats = strictObject({
7648
7651
  }))
7649
7652
  });
7650
7653
 
7651
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7654
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7652
7655
  var memberCount = strictObject({
7653
7656
  day: pipe(text, isoDate()),
7654
7657
  participants: nullable(count),
@@ -7671,7 +7674,7 @@ var chatTracking = strictObject({
7671
7674
  tracked: boolean()
7672
7675
  });
7673
7676
 
7674
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7677
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7675
7678
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
7676
7679
  var contactSync = strictObject({ added: count, changed: count, known: count });
7677
7680
  var profileFields = {
@@ -7709,7 +7712,7 @@ var profileFields = {
7709
7712
  }))
7710
7713
  };
7711
7714
 
7712
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/contact.js
7715
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/contact.js
7713
7716
  var contact = strictObject({
7714
7717
  ref: reference,
7715
7718
  id,
@@ -7740,7 +7743,7 @@ var contact = strictObject({
7740
7743
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
7741
7744
  });
7742
7745
 
7743
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
7746
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
7744
7747
  var contactNote = strictObject({
7745
7748
  id,
7746
7749
  /** The contact, as a `contact:` reference. */
@@ -7752,13 +7755,13 @@ var contactNote = strictObject({
7752
7755
  updated_at: time
7753
7756
  });
7754
7757
 
7755
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
7758
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
7756
7759
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
7757
7760
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
7758
7761
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
7759
7762
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
7760
7763
 
7761
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/conversation.js
7764
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/conversation.js
7762
7765
  var conversation = strictObject({
7763
7766
  id,
7764
7767
  chat: reference,
@@ -7773,7 +7776,7 @@ var conversation = strictObject({
7773
7776
  rules_version: count
7774
7777
  });
7775
7778
 
7776
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
7779
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
7777
7780
  var conversationBuild = strictObject({
7778
7781
  chat: id,
7779
7782
  messages: count,
@@ -7798,7 +7801,7 @@ var catchUpPreparation = strictObject({
7798
7801
  prepared: optional(conversationPreparation)
7799
7802
  });
7800
7803
 
7801
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
7804
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
7802
7805
  var conversationDetails = union([
7803
7806
  strictObject({ ...conversation.entries, messages: array(message) }),
7804
7807
  message
@@ -7885,10 +7888,15 @@ var conversationHit = strictObject({
7885
7888
  score: nullable(number()),
7886
7889
  matched_in: optional(literal("context")),
7887
7890
  by: array(picklist(["meaning", "words"])),
7888
- stale: boolean()
7891
+ stale: boolean(),
7892
+ /** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
7893
+ lines: optional(array(text)),
7894
+ /** In the block of the owner's own conversations, which the hits before it left out. */
7895
+ from_owner: optional(literal(true)),
7896
+ untrusted
7889
7897
  });
7890
7898
 
7891
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/counters.js
7899
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/counters.js
7892
7900
  var counters = strictObject({
7893
7901
  cutoff: time,
7894
7902
  max_age_ms: milliseconds,
@@ -7918,7 +7926,7 @@ var counterRefresh = strictObject({
7918
7926
  complete: optional(boolean())
7919
7927
  });
7920
7928
 
7921
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/document.js
7929
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/document.js
7922
7930
  var document = strictObject({
7923
7931
  ref: reference,
7924
7932
  id,
@@ -7933,7 +7941,7 @@ var document = strictObject({
7933
7941
  owners: optional(array(text))
7934
7942
  });
7935
7943
 
7936
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/document-link.js
7944
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/document-link.js
7937
7945
  var documentLink = strictObject({
7938
7946
  ref: reference,
7939
7947
  url: text,
@@ -7944,7 +7952,7 @@ var documentLink = strictObject({
7944
7952
  sender: strictObject({ id: nullable(id), name: nullable(text) })
7945
7953
  });
7946
7954
 
7947
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/evidence.js
7955
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/evidence.js
7948
7956
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
7949
7957
  var contribution = strictObject({
7950
7958
  message: evidenceMessage,
@@ -7974,7 +7982,7 @@ var retentionStay = strictObject({
7974
7982
  });
7975
7983
  var evidence = union([contribution, retentionStay]);
7976
7984
 
7977
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/fact.js
7985
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/fact.js
7978
7986
  var fact = strictObject({
7979
7987
  ref: reference,
7980
7988
  id,
@@ -8005,7 +8013,7 @@ var fact = strictObject({
8005
8013
  updated_at: time
8006
8014
  });
8007
8015
 
8008
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/hit.js
8016
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/hit.js
8009
8017
  var hit = strictObject({
8010
8018
  kind: picklist([
8011
8019
  "message",
@@ -8017,6 +8025,9 @@ var hit = strictObject({
8017
8025
  "deal",
8018
8026
  "lead",
8019
8027
  "crm_file",
8028
+ "issue",
8029
+ "project",
8030
+ "issue_comment",
8020
8031
  ...BUSINESS_KINDS
8021
8032
  ]),
8022
8033
  ref: reference,
@@ -8024,6 +8035,8 @@ var hit = strictObject({
8024
8035
  url: optional(text),
8025
8036
  /** The account it was found in; a note's folder id, or `internal` for a note written in memo. */
8026
8037
  account: text,
8038
+ /** A tracker hit that more than one sign-in holds: every account it was found in, `account` first. */
8039
+ accounts: optional(array(text)),
8027
8040
  /** The chat, the mail thread's subject, the note's, the event's or the meeting's title. */
8028
8041
  title: nullable(text),
8029
8042
  /** Null for a meeting whose start is unknown. */
@@ -8064,7 +8077,7 @@ var hit = strictObject({
8064
8077
  untrusted
8065
8078
  });
8066
8079
 
8067
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/identity.js
8080
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/identity.js
8068
8081
  var identity = strictObject({
8069
8082
  ref: reference,
8070
8083
  provider: text,
@@ -8080,7 +8093,7 @@ var identity = strictObject({
8080
8093
  person: optional(nullable(reference))
8081
8094
  });
8082
8095
 
8083
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8096
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8084
8097
  var imageEmbedding = strictObject({
8085
8098
  model: text,
8086
8099
  embedded: count,
@@ -8089,13 +8102,13 @@ var imageEmbedding = strictObject({
8089
8102
  more: boolean()
8090
8103
  });
8091
8104
 
8092
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8105
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8093
8106
  import { spawn } from "node:child_process";
8094
8107
  import { randomBytes } from "node:crypto";
8095
8108
  import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
8096
8109
  import { dirname as dirname2, join as join4 } from "node:path";
8097
8110
 
8098
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8111
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8099
8112
  var progressOf = /* @__PURE__ */ __name((input) => {
8100
8113
  const total = input.total ?? null;
8101
8114
  const updated = input.updatedAt ?? null;
@@ -8126,7 +8139,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
8126
8139
  return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
8127
8140
  }, "progressLine");
8128
8141
 
8129
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8142
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8130
8143
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
8131
8144
  const run = currentRun();
8132
8145
  const trace = traceId ?? run.traceId;
@@ -8140,7 +8153,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
8140
8153
  }));
8141
8154
  }, "recordLogFor");
8142
8155
 
8143
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8156
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8144
8157
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
8145
8158
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
8146
8159
  const out = openSync(log, "a", 384);
@@ -8295,7 +8308,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
8295
8308
  return { job: id6, pid, chat: input.chat, log };
8296
8309
  }, "startArchiveJob");
8297
8310
 
8298
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/job.js
8311
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/job.js
8299
8312
  var problem = strictObject({ code: text, message: text });
8300
8313
  var job = strictObject({
8301
8314
  id,
@@ -8318,7 +8331,7 @@ var job = strictObject({
8318
8331
  error: optional(problem)
8319
8332
  });
8320
8333
 
8321
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8334
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8322
8335
  var joinRequest = strictObject({
8323
8336
  person_id: id,
8324
8337
  name: nullable(text),
@@ -8329,7 +8342,7 @@ var joinRequest = strictObject({
8329
8342
  about: optional(text)
8330
8343
  });
8331
8344
 
8332
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8345
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8333
8346
  var botProfile = strictObject({
8334
8347
  name: text,
8335
8348
  token: text,
@@ -8453,7 +8466,7 @@ var stickerInventory = strictObject({
8453
8466
  url: optional(nullable(text))
8454
8467
  });
8455
8468
 
8456
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8469
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8457
8470
  var pollVote = strictObject({
8458
8471
  person_id: id,
8459
8472
  name: nullable(text),
@@ -8463,7 +8476,7 @@ var pollVote = strictObject({
8463
8476
  voted_at: time
8464
8477
  });
8465
8478
 
8466
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/listener.js
8479
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/listener.js
8467
8480
  var reactions = unwrap(unwrap(message.entries.reactions));
8468
8481
  var observation = strictObject({
8469
8482
  value: pipe(number(), minValue(0)),
@@ -8505,7 +8518,7 @@ var serveSummary = strictObject({
8505
8518
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
8506
8519
  });
8507
8520
 
8508
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8521
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8509
8522
  var mailCounts = strictObject({
8510
8523
  by: picklist(["day", "week", "sender"]),
8511
8524
  received: count,
@@ -8520,7 +8533,7 @@ var mailCounts = strictObject({
8520
8533
  }))
8521
8534
  });
8522
8535
 
8523
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8536
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8524
8537
  var evidence2 = strictObject({ reference, fingerprint: text });
8525
8538
  var base = { id, evidence: array(evidence2) };
8526
8539
  var finding = variant("kind", [
@@ -8664,7 +8677,7 @@ var mailFindings = strictObject({
8664
8677
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
8665
8678
  });
8666
8679
 
8667
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8680
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8668
8681
  var mediaArchive = strictObject({
8669
8682
  directory: text,
8670
8683
  chats: count,
@@ -8696,7 +8709,7 @@ var mediaArchiveTimer = union([
8696
8709
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
8697
8710
  ]);
8698
8711
 
8699
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8712
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8700
8713
  var preparationId = pipe(string(), minLength(1));
8701
8714
  var preparationCount = pipe(number(), integer(), minValue(0));
8702
8715
  var preparationTime = nullable(isoTime);
@@ -8788,7 +8801,7 @@ var preparationMeeting = strictObject({
8788
8801
  updated_at: isoTime
8789
8802
  });
8790
8803
 
8791
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
8804
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
8792
8805
  var meetingEvidence = preparationEvidence;
8793
8806
  var meetingPersonContext = strictObject({
8794
8807
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -8810,7 +8823,7 @@ var meetingPersonContext = strictObject({
8810
8823
  })
8811
8824
  });
8812
8825
 
8813
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
8826
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
8814
8827
  var evidence3 = strictObject({ reference, fingerprint: text });
8815
8828
  var base2 = { id, project: reference, evidence: array(evidence3) };
8816
8829
  var finding2 = variant("kind", [
@@ -8848,7 +8861,7 @@ var meetingFindings = strictObject({
8848
8861
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
8849
8862
  });
8850
8863
 
8851
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
8864
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
8852
8865
  var communicationCoverage = strictObject({
8853
8866
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
8854
8867
  query: string(),
@@ -8893,7 +8906,7 @@ var preparationCommunications = strictObject({
8893
8906
  }))
8894
8907
  });
8895
8908
 
8896
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
8909
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
8897
8910
  var meetingPreparation = strictObject({
8898
8911
  communications: optional(preparationCommunications),
8899
8912
  schema_version: literal(1),
@@ -9006,7 +9019,7 @@ var meetingPreparation = strictObject({
9006
9019
  })
9007
9020
  });
9008
9021
 
9009
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9022
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9010
9023
  var count4 = pipe(number(), integer(), minValue(0));
9011
9024
  var id3 = pipe(string(), minLength(1));
9012
9025
  var text3 = string();
@@ -9070,7 +9083,7 @@ var meetingProjectCandidates = strictObject({
9070
9083
  })
9071
9084
  });
9072
9085
 
9073
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9086
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9074
9087
  var count5 = pipe(number(), integer(), minValue(0));
9075
9088
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
9076
9089
  var meetingSeriesInventory = strictObject({
@@ -9100,7 +9113,7 @@ var meetingSeriesInventory = strictObject({
9100
9113
  })
9101
9114
  });
9102
9115
 
9103
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9116
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9104
9117
  var text4 = string();
9105
9118
  var id5 = pipe(number(), integer(), minValue(1));
9106
9119
  var revision = picklist(["current", "superseded"]);
@@ -9117,7 +9130,7 @@ var meetingTaskProposal = strictObject({
9117
9130
  persistence: literal("proposal-only")
9118
9131
  });
9119
9132
 
9120
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/memory.js
9133
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/memory.js
9121
9134
  var memory = strictObject({
9122
9135
  ref: reference,
9123
9136
  id,
@@ -9145,7 +9158,7 @@ var memory = strictObject({
9145
9158
  updated_at: time
9146
9159
  });
9147
9160
 
9148
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/mention.js
9161
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/mention.js
9149
9162
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
9150
9163
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
9151
9164
  var mention = strictObject({
@@ -9189,7 +9202,7 @@ var mentionRebuild = strictObject({
9189
9202
  mentions: count
9190
9203
  });
9191
9204
 
9192
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9205
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9193
9206
  var operated3 = { operation_id: id, chat_id: id };
9194
9207
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
9195
9208
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
@@ -9198,7 +9211,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
9198
9211
  var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
9199
9212
  var scheduledSend = strictObject(scheduledSendEntries);
9200
9213
 
9201
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9214
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9202
9215
  var messageTranscript = strictObject({
9203
9216
  message_id: id,
9204
9217
  text,
@@ -9256,7 +9269,7 @@ var evidencePacket = strictObject({
9256
9269
  }))
9257
9270
  });
9258
9271
 
9259
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9272
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9260
9273
  var messageThread = strictObject({
9261
9274
  ref: reference,
9262
9275
  chat: id,
@@ -9273,7 +9286,7 @@ var messageThread = strictObject({
9273
9286
  });
9274
9287
  var messageContext = union([message, messageThread]);
9275
9288
 
9276
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9289
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9277
9290
  var messageCounts = strictObject({
9278
9291
  by: picklist(["chat", "sender", "day", "hour"]),
9279
9292
  total: count,
@@ -9286,7 +9299,7 @@ var messageCounts = strictObject({
9286
9299
  }))
9287
9300
  });
9288
9301
 
9289
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9302
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9290
9303
  var messageLink = strictObject({
9291
9304
  ref: reference,
9292
9305
  url: nullable(text),
@@ -9303,7 +9316,7 @@ var messageLink = strictObject({
9303
9316
  })))
9304
9317
  });
9305
9318
 
9306
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9319
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9307
9320
  var savedMessageFile = strictObject({
9308
9321
  kind: text,
9309
9322
  path: text,
@@ -9390,7 +9403,7 @@ var messageSyncAll = strictObject({
9390
9403
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
9391
9404
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
9392
9405
 
9393
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9406
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9394
9407
  var messageWrite = strictObject({
9395
9408
  operation_id: id,
9396
9409
  message,
@@ -9405,7 +9418,7 @@ var draftWrite = strictObject({
9405
9418
  });
9406
9419
  var messageSend = union([messageWrite, draftWrite]);
9407
9420
 
9408
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/model.js
9421
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/model.js
9409
9422
  var model2 = strictObject({
9410
9423
  id,
9411
9424
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -9440,7 +9453,7 @@ var chosenModel = strictObject({
9440
9453
  estimate_seconds: nullable(count)
9441
9454
  });
9442
9455
 
9443
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9456
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9444
9457
  var source = picklist(["environment", "keyring", "file"]);
9445
9458
  var modelKey = strictObject({
9446
9459
  provider: text,
@@ -9450,7 +9463,7 @@ var modelKey = strictObject({
9450
9463
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
9451
9464
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
9452
9465
 
9453
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9466
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9454
9467
  var versus = strictObject({ current: number(), previous: number() });
9455
9468
  var person = { person_ref: reference, name: nullable(text) };
9456
9469
  var graph = strictObject({
@@ -9484,14 +9497,14 @@ var officialStats = strictObject({
9484
9497
  graphs: record(string(), union([graph, strictObject({ error: text })]))
9485
9498
  });
9486
9499
 
9487
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/person.js
9500
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/person.js
9488
9501
  var person2 = strictObject({
9489
9502
  ref: reference,
9490
9503
  name: nullable(text),
9491
9504
  identities: optional(array(identity))
9492
9505
  });
9493
9506
 
9494
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/poll.js
9507
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/poll.js
9495
9508
  var poll = strictObject({
9496
9509
  chat_id: id,
9497
9510
  message_id: id,
@@ -9507,11 +9520,11 @@ var poll = strictObject({
9507
9520
  });
9508
9521
  var pollChange = strictObject({ operation_id: id, poll });
9509
9522
 
9510
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9523
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9511
9524
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
9512
9525
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
9513
9526
 
9514
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9527
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9515
9528
  var figures = record(string(), number());
9516
9529
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
9517
9530
  var rankingRow = strictObject({
@@ -9558,7 +9571,7 @@ var ranking = strictObject({
9558
9571
  rows: array(rankingRow)
9559
9572
  });
9560
9573
 
9561
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9574
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9562
9575
  var reaction = strictObject({
9563
9576
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
9564
9577
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -9566,7 +9579,7 @@ var reaction = strictObject({
9566
9579
  reacted_at: time
9567
9580
  });
9568
9581
 
9569
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9582
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9570
9583
  var reactionChange = strictObject({
9571
9584
  operation_id: id,
9572
9585
  chat_id: id,
@@ -9574,7 +9587,7 @@ var reactionChange = strictObject({
9574
9587
  reaction: nullable(text)
9575
9588
  });
9576
9589
 
9577
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9590
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9578
9591
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
9579
9592
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
9580
9593
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -9585,7 +9598,7 @@ var recipientChange = strictObject({
9585
9598
  ...partial(recipientOff).entries
9586
9599
  });
9587
9600
 
9588
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9601
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9589
9602
  var events = array(record(string(), unknown()));
9590
9603
  var recordedRun = strictObject({
9591
9604
  run_id: id,
@@ -9657,7 +9670,7 @@ var runHit = strictObject({
9657
9670
  });
9658
9671
  var runLocation = strictObject({ path: text });
9659
9672
 
9660
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9673
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9661
9674
  var relationship = strictObject({
9662
9675
  id,
9663
9676
  from: reference,
@@ -9684,7 +9697,7 @@ var relationship = strictObject({
9684
9697
  created_at: time
9685
9698
  });
9686
9699
 
9687
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9700
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9688
9701
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
9689
9702
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
9690
9703
  var responseTimes = strictObject({
@@ -9701,7 +9714,7 @@ var waitingChats = strictObject({
9701
9714
  by_kind: strictObject({ private: count, group: count })
9702
9715
  });
9703
9716
 
9704
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/retention.js
9717
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/retention.js
9705
9718
  var retentionCohort = strictObject({
9706
9719
  /** The first day of the joining day or week. */
9707
9720
  cohort: text,
@@ -9749,7 +9762,7 @@ var retention = strictObject({
9749
9762
  rows: array(retentionCohort)
9750
9763
  });
9751
9764
 
9752
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
9765
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
9753
9766
  var savedSearch = strictObject({
9754
9767
  id,
9755
9768
  /** `null` for a run in the history. */
@@ -9766,7 +9779,7 @@ var savedSearch = strictObject({
9766
9779
  });
9767
9780
  var searchHistoryClear = strictObject({ cleared: count });
9768
9781
 
9769
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
9782
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
9770
9783
  var sendAttempt = strictObject({
9771
9784
  at: time,
9772
9785
  profile: text,
@@ -9794,7 +9807,7 @@ var sendAttempt = strictObject({
9794
9807
  error_code: optional(text)
9795
9808
  });
9796
9809
 
9797
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
9810
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
9798
9811
  var absent = strictObject({ path: text, exists: literal(false) });
9799
9812
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
9800
9813
  var infoSchema = strictObject({
@@ -10024,7 +10037,7 @@ var storeRepair = union([
10024
10037
  ]);
10025
10038
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
10026
10039
 
10027
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10040
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10028
10041
  var range = strictObject({ from: number(), to: number() });
10029
10042
  var storeChatStatus = strictObject({
10030
10043
  chat_id: id,
@@ -10122,7 +10135,7 @@ var storeJobRetry = union([
10122
10135
  ]);
10123
10136
  var storeJobClear = strictObject({ cleared: array(id) });
10124
10137
 
10125
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10138
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10126
10139
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
10127
10140
  var storeTable = strictObject({
10128
10141
  name: text,
@@ -10131,7 +10144,7 @@ var storeTable = strictObject({
10131
10144
  bytes: optional(nullable(count))
10132
10145
  });
10133
10146
 
10134
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10147
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10135
10148
  var tagTarget = variant("type", [
10136
10149
  strictObject({ type: literal("chat"), chat_id: id }),
10137
10150
  strictObject({ type: literal("contact"), person_id: id }),
@@ -10162,7 +10175,7 @@ var automaticTags = strictObject({
10162
10175
  dry_run: boolean()
10163
10176
  });
10164
10177
 
10165
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10178
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10166
10179
  var tagging = strictObject({
10167
10180
  tag: text,
10168
10181
  type: picklist(TAG_TYPES),
@@ -10175,7 +10188,7 @@ var tagging = strictObject({
10175
10188
  created_at: time
10176
10189
  });
10177
10190
 
10178
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10191
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10179
10192
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
10180
10193
  var taskPair = strictObject({
10181
10194
  task: nullable(side),
@@ -10198,7 +10211,7 @@ var taskPair = strictObject({
10198
10211
  created_at: time
10199
10212
  });
10200
10213
 
10201
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10214
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10202
10215
  var nullableTime = nullable(time);
10203
10216
  var link = strictObject({
10204
10217
  id,
@@ -10372,7 +10385,7 @@ var taskReview = strictObject({
10372
10385
  untrusted
10373
10386
  });
10374
10387
 
10375
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/template.js
10388
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/template.js
10376
10389
  var template = strictObject({
10377
10390
  key: text,
10378
10391
  channel: picklist(["telegram", "email", "text"]),
@@ -10384,7 +10397,7 @@ var template = strictObject({
10384
10397
  updated_by: nullable(text)
10385
10398
  });
10386
10399
 
10387
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/topic.js
10400
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/topic.js
10388
10401
  var topic = strictObject({
10389
10402
  id,
10390
10403
  title: text,
@@ -10398,7 +10411,7 @@ var topic = strictObject({
10398
10411
  untrusted
10399
10412
  });
10400
10413
 
10401
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/index.js
10414
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/index.js
10402
10415
  var ENTITIES = {
10403
10416
  sync_progress: progress,
10404
10417
  deal,
@@ -10700,7 +10713,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
10700
10713
  return [name, definition];
10701
10714
  })), "entityDefinitions");
10702
10715
 
10703
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10716
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10704
10717
  var schemas = /* @__PURE__ */ new WeakMap();
10705
10718
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
10706
10719
  if (Object.hasOwn(ENTITIES, name))
@@ -10734,7 +10747,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
10734
10747
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
10735
10748
  }, "answerRow");
10736
10749
 
10737
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/images/picture/models.js
10750
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/images/picture/models.js
10738
10751
  import { join as join5 } from "node:path";
10739
10752
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
10740
10753
  var IMAGE_MODELS = [
@@ -10788,7 +10801,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
10788
10801
  var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
10789
10802
  var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
10790
10803
 
10791
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/steps.js
10804
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/steps.js
10792
10805
  var STEPS2 = defineSteps([
10793
10806
  ...STEPS,
10794
10807
  {
@@ -11036,6 +11049,20 @@ var rootOf2 = /* @__PURE__ */ __name((command) => {
11036
11049
  root = root.parent;
11037
11050
  return root;
11038
11051
  }, "rootOf");
11052
+ var typedCommandPath = /* @__PURE__ */ __name((program2, rest) => {
11053
+ const words = [];
11054
+ let current2 = program2;
11055
+ for (const token of rest) {
11056
+ if (token.startsWith("-"))
11057
+ continue;
11058
+ const next = current2.commands.find((one) => one.name() === token || one.aliases().includes(token));
11059
+ if (!next)
11060
+ break;
11061
+ words.push(token);
11062
+ current2 = next;
11063
+ }
11064
+ return words.join(" ");
11065
+ }, "typedCommandPath");
11039
11066
  var commandAt = /* @__PURE__ */ __name((root, path2) => {
11040
11067
  let at2 = root;
11041
11068
  for (const word of path2.split(" "))
@@ -11078,7 +11105,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11078
11105
  ].join(" ");
11079
11106
  }, "stepLine");
11080
11107
 
11081
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11108
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11082
11109
  var where = [{ field: "ref" }];
11083
11110
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
11084
11111
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -11170,7 +11197,7 @@ var STATUS_ROWS = {
11170
11197
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
11171
11198
  };
11172
11199
 
11173
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/compact.js
11200
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/compact.js
11174
11201
  var TEXT_CHARS = 400;
11175
11202
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
11176
11203
  var messageRow = {
@@ -11304,9 +11331,13 @@ var isListOrRecord = /* @__PURE__ */ __name((value) => typeof value === "object"
11304
11331
  var firstSet = /* @__PURE__ */ __name((item, field, column) => fieldsOfColumn(field).map((path2) => at(item, path2)).find((value) => printable(value, column)), "firstSet");
11305
11332
  var sourceOf = /* @__PURE__ */ __name((item, column) => fieldsOfColumn(column.field).find((path2) => printable(at(item, path2), column)), "sourceOf");
11306
11333
  var clean = /* @__PURE__ */ __name((text5) => visibleControls(text5.replace(/\s+/g, " ").trim()), "clean");
11334
+ var BLOCK = /^(⟦untrusted:([0-9a-f]{16}) [^⟦⟧]*⟧)([^⟦⟧]*)(⟦\/untrusted:\2⟧)$/su;
11307
11335
  var cut = /* @__PURE__ */ __name((text5, chars) => {
11308
11336
  if (chars <= 0)
11309
11337
  return text5;
11338
+ const block = BLOCK.exec(text5);
11339
+ if (block)
11340
+ return `${block[1]}${cut(block[3] ?? "", chars)}${block[4]}`;
11310
11341
  const letters = Array.from(text5);
11311
11342
  return letters.length <= chars ? text5 : `${letters.slice(0, chars).join("")}\u2026(+${letters.length - chars})`;
11312
11343
  }, "cut");
@@ -11538,7 +11569,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
11538
11569
  return lines.concat(footerOf(body)).join("\n");
11539
11570
  }, "compactText");
11540
11571
 
11541
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11572
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11542
11573
  var SOFT_OUTPUT_BYTES = 256 * 1024;
11543
11574
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
11544
11575
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -11596,7 +11627,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
11596
11627
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
11597
11628
  }, "largeAnswerSteps");
11598
11629
 
11599
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11630
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11600
11631
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
11601
11632
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
11602
11633
  var strip = /* @__PURE__ */ __name((value) => {
@@ -11610,7 +11641,7 @@ var strip = /* @__PURE__ */ __name((value) => {
11610
11641
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
11611
11642
  }, "strip");
11612
11643
 
11613
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11644
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11614
11645
  var OPEN = "\u27E6";
11615
11646
  var CLOSE = "\u27E7";
11616
11647
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -11632,19 +11663,35 @@ var idOf = /* @__PURE__ */ __name((value) => {
11632
11663
  const id6 = value.ref ?? value.id;
11633
11664
  return typeof id6 === "string" || typeof id6 === "number" ? String(id6) : void 0;
11634
11665
  }, "idOf");
11666
+ var everyStringAt = /* @__PURE__ */ __name((value, mark, source2, id6) => {
11667
+ if (Array.isArray(value))
11668
+ return value.map((one) => everyStringAt(one, mark, source2, id6));
11669
+ if (value === null || typeof value !== "object")
11670
+ return markAt(value, [], mark, source2, id6);
11671
+ const record2 = value;
11672
+ const own = idOf(record2) ?? id6;
11673
+ return Object.fromEntries(Object.entries(record2).map(([key, child]) => [key, everyStringAt(child, mark, source2, own)]));
11674
+ }, "everyStringAt");
11635
11675
  var markAt = /* @__PURE__ */ __name((value, path2, mark, source2, id6) => {
11636
11676
  if (Array.isArray(value))
11637
11677
  return value.map((one) => markAt(one, path2, mark, source2, id6));
11638
11678
  if (path2.length === 0)
11639
11679
  return typeof value === "string" && !value.startsWith(`${OPEN}untrusted:${mark} `) ? marked(value, mark, source2, id6) : value;
11680
+ if (path2.length === 1 && path2[0] === "*")
11681
+ return everyStringAt(value, mark, source2, id6);
11640
11682
  if (value === null || typeof value !== "object")
11641
11683
  return value;
11642
11684
  const [key = "", ...rest] = path2;
11643
11685
  const record2 = value;
11686
+ const own = idOf(record2) ?? id6;
11687
+ if (key === "*")
11688
+ return Object.fromEntries(Object.entries(record2).map(([name, child]) => [name, markAt(child, rest, mark, source2, own)]));
11644
11689
  if (!(key in record2))
11645
11690
  return value;
11646
- return { ...record2, [key]: markAt(record2[key], rest, mark, source2, idOf(record2) ?? id6) };
11691
+ return { ...record2, [key]: markAt(record2[key], rest, mark, source2, own) };
11647
11692
  }, "markAt");
11693
+ var withoutRunMarks = /* @__PURE__ */ __name((text5, mark) => text5.replace(new RegExp(`${OPEN}untrusted:${mark}(?: [^${OPEN}${CLOSE}]*)?${CLOSE}|${OPEN}/untrusted:${mark}${CLOSE}`, "gu"), ""), "withoutRunMarks");
11694
+ var API_UNTRUSTED = ["item.*", "items.*"];
11648
11695
  var withUntrustedMarked = /* @__PURE__ */ __name((value, mark, id6) => {
11649
11696
  if (Array.isArray(value))
11650
11697
  return value.map((one) => withUntrustedMarked(one, mark, id6));
@@ -11679,9 +11726,12 @@ var MESSAGE_UNTRUSTED = [
11679
11726
  "bcc.name",
11680
11727
  "reply_addresses.name"
11681
11728
  ];
11729
+ var CHAT_UNTRUSTED = ["title", "description"];
11730
+ var CONTACT_UNTRUSTED = ["description", "chats.title"];
11682
11731
  var DECLARED = /* @__PURE__ */ new WeakMap();
11683
11732
  var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
11684
- DECLARED.set(command, fields);
11733
+ const raw = DECLARED.get(command) === API_UNTRUSTED;
11734
+ DECLARED.set(command, raw ? [.../* @__PURE__ */ new Set([...API_UNTRUSTED, ...fields])] : fields);
11685
11735
  return command;
11686
11736
  }, "marksUntrusted");
11687
11737
  var untrustedFieldsOf = /* @__PURE__ */ __name((command) => DECLARED.get(command), "untrustedFieldsOf");
@@ -11698,7 +11748,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
11698
11748
  return result;
11699
11749
  }, "withFieldsMarked");
11700
11750
 
11701
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11751
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11702
11752
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
11703
11753
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
11704
11754
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -11933,6 +11983,7 @@ export {
11933
11983
  sharedContracts,
11934
11984
  sharedCommand,
11935
11985
  refuseJoinedPath,
11986
+ deadlineMargin,
11936
11987
  runBudget,
11937
11988
  recorded,
11938
11989
  startRecording,
@@ -12061,6 +12112,15 @@ export {
12061
12112
  imageModelsDirectory,
12062
12113
  placedImage,
12063
12114
  isImageModelInstalled,
12115
+ untrustedMarkOf,
12116
+ runMarkOf,
12117
+ marked,
12118
+ withoutRunMarks,
12119
+ API_UNTRUSTED,
12120
+ withUntrustedMarked,
12121
+ CHAT_UNTRUSTED,
12122
+ CONTACT_UNTRUSTED,
12123
+ marksUntrusted,
12064
12124
  answerEntity,
12065
12125
  answerEntitySchema,
12066
12126
  answerProjectionSchema,
@@ -12070,6 +12130,7 @@ export {
12070
12130
  nextStep,
12071
12131
  lineOf,
12072
12132
  rootOf2,
12133
+ typedCommandPath,
12073
12134
  commandAt,
12074
12135
  runnable,
12075
12136
  failureSteps,
@@ -12077,9 +12138,6 @@ export {
12077
12138
  stepLine,
12078
12139
  tooLargeSteps,
12079
12140
  withoutProviderRefs,
12080
- runMarkOf,
12081
- withUntrustedMarked,
12082
- marksUntrusted,
12083
12141
  answerSchema,
12084
12142
  listOf,
12085
12143
  itemOf,