@wirecat/hubspot-cli 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +75 -54
  3. package/contracts/wirecat.json +39 -13
  4. package/dist/bin/hubspot.js +2 -2
  5. package/dist/bundle/agent-XB35QVOK.js +40 -0
  6. package/dist/bundle/{all-profiles-JVEE4PXX.js → all-profiles-HFVXPMF6.js} +11 -11
  7. package/dist/bundle/{anthropic-6HT57GNF.js → anthropic-VE6WR6IN.js} +5 -5
  8. package/dist/bundle/{app-server-FOBFF6G6.js → app-server-GZ4DCQK7.js} +68 -68
  9. package/dist/bundle/{bun-GW443QB3.js → bun-2DHMKD34.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-TGIAICDN.js → bun-sqlite-T5XTYL7L.js} +6 -6
  11. package/dist/bundle/{chunk-FK4LEJZM.js → chunk-24HPBWKZ.js} +63 -4
  12. package/dist/bundle/{chunk-4OPN3KCN.js → chunk-2I2KBCS6.js} +5 -5
  13. package/dist/bundle/{chunk-3BM6KBWP.js → chunk-2K5BAY32.js} +19 -19
  14. package/dist/bundle/{chunk-6ULR7N3T.js → chunk-2VUIJ5XB.js} +2 -2
  15. package/dist/bundle/{chunk-UHHXZKB2.js → chunk-3HS7JTPI.js} +27 -177
  16. package/dist/bundle/{chunk-3SRGN5MQ.js → chunk-3TLNO3VM.js} +2 -2
  17. package/dist/bundle/{chunk-ATGD64VO.js → chunk-3W5R3XAH.js} +8 -8
  18. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-3WG4MTQI.js} +1 -1
  19. package/dist/bundle/{chunk-NL3RKJR6.js → chunk-3YTTWJKL.js} +1 -1
  20. package/dist/bundle/{chunk-5WKJFMC3.js → chunk-4UEYVM46.js} +4 -4
  21. package/dist/bundle/{chunk-5G4L6NQJ.js → chunk-5ILCAAY4.js} +35 -35
  22. package/dist/bundle/{chunk-ETKLP4VE.js → chunk-5IPB5WLB.js} +14 -14
  23. package/dist/bundle/{chunk-N4EIJ53V.js → chunk-5NIIXJV3.js} +2 -2
  24. package/dist/bundle/{chunk-QIFCH5DZ.js → chunk-5O5WYSSO.js} +1967 -654
  25. package/dist/bundle/{chunk-XMWMA2N5.js → chunk-5VTKBGPW.js} +90 -33
  26. package/dist/bundle/{chunk-M25KVDHA.js → chunk-5WDNG4QE.js} +7 -7
  27. package/dist/bundle/{chunk-WATDMTDC.js → chunk-67YPTVGP.js} +3 -3
  28. package/dist/bundle/{chunk-3MUHCLRY.js → chunk-6DABKZYH.js} +143 -8
  29. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-745FMNI5.js} +1 -1
  30. package/dist/bundle/{chunk-5KLNBGPU.js → chunk-AKSWXRIU.js} +1 -1
  31. package/dist/bundle/{chunk-HM6AMYHR.js → chunk-AP3CWDRK.js} +2 -2
  32. package/dist/bundle/{chunk-HPRKSL5S.js → chunk-BM5F2ZNI.js} +2 -2
  33. package/dist/bundle/{chunk-FOLKK6FW.js → chunk-BU5CEMUH.js} +20 -14
  34. package/dist/bundle/{chunk-DBPFHJXX.js → chunk-CTN4DW2F.js} +4 -4
  35. package/dist/bundle/{chunk-QJHRRJKD.js → chunk-CU76ZACK.js} +3 -3
  36. package/dist/bundle/{chunk-7QH5BZUG.js → chunk-DIKUPU3T.js} +3 -3
  37. package/dist/bundle/{chunk-JWO3PB5Z.js → chunk-E27NRLJZ.js} +18 -18
  38. package/dist/bundle/{chunk-EU7AVWSX.js → chunk-EB53G4HO.js} +2 -2
  39. package/dist/bundle/{chunk-GJSHLF43.js → chunk-EJZIEBAR.js} +8 -8
  40. package/dist/bundle/{chunk-HQYJ66ZX.js → chunk-G6LDK6DJ.js} +18 -8
  41. package/dist/bundle/{chunk-VDAYIXV4.js → chunk-GEJI27GN.js} +6 -6
  42. package/dist/bundle/{chunk-XJVFXHDI.js → chunk-GHXTNKX2.js} +2 -2
  43. package/dist/bundle/{chunk-W5X37TBC.js → chunk-GR4HZBWO.js} +2 -2
  44. package/dist/bundle/{chunk-WBUVNKHJ.js → chunk-GWXTVO43.js} +7 -7
  45. package/dist/bundle/{chunk-2Q2XIXDL.js → chunk-H4W2OO35.js} +1 -1
  46. package/dist/bundle/{chunk-3LMW7U7F.js → chunk-H5HBZCEJ.js} +21 -8
  47. package/dist/bundle/{chunk-JKNUCEII.js → chunk-HX2BE7DO.js} +1 -1
  48. package/dist/bundle/{chunk-PQUZ2YDC.js → chunk-HYDXA624.js} +6 -6
  49. package/dist/bundle/{chunk-Z3YOKGVZ.js → chunk-HZIGGAC7.js} +2 -2
  50. package/dist/bundle/{chunk-AT43MYQL.js → chunk-I75ON7VM.js} +8 -8
  51. package/dist/bundle/{chunk-PKFLSX5F.js → chunk-ID4GJFE7.js} +8 -8
  52. package/dist/bundle/{chunk-A6PVEUGN.js → chunk-J2SCELII.js} +17 -17
  53. package/dist/bundle/{chunk-PMJCZIV4.js → chunk-J4FXBF44.js} +1 -1
  54. package/dist/bundle/{chunk-DG4RBKIV.js → chunk-J76CMNWQ.js} +1 -1
  55. package/dist/bundle/{chunk-MQACXJLG.js → chunk-JDCFHZNU.js} +10 -10
  56. package/dist/bundle/{chunk-K4DWBOO6.js → chunk-JFLKTYH5.js} +6 -6
  57. package/dist/bundle/{chunk-LS4S7PAP.js → chunk-K4Y2ZWOO.js} +3 -3
  58. package/dist/bundle/{chunk-5ZVYIA56.js → chunk-KDW7B7AR.js} +5 -5
  59. package/dist/bundle/{chunk-BXZRSXBL.js → chunk-KKMOKSS5.js} +3 -3
  60. package/dist/bundle/{chunk-EBJYK7UM.js → chunk-LHY5XGIR.js} +78 -63
  61. package/dist/bundle/{chunk-V23OHBGM.js → chunk-LTU4BQ4S.js} +3 -3
  62. package/dist/bundle/{chunk-LX7QMRRG.js → chunk-M3LRSN6J.js} +13 -13
  63. package/dist/bundle/{chunk-UIWWAT3C.js → chunk-MJ24YFXZ.js} +7 -7
  64. package/dist/bundle/{chunk-YYYRE4AV.js → chunk-MSQGZHKM.js} +32 -28
  65. package/dist/bundle/{chunk-6NUXFVJQ.js → chunk-NQOQG7L3.js} +1 -1
  66. package/dist/bundle/{chunk-WLFYEAZ6.js → chunk-PDVMYIBP.js} +1516 -745
  67. package/dist/bundle/{chunk-QODPEZC5.js → chunk-PR7ZDMGF.js} +10 -3
  68. package/dist/bundle/{chunk-2BCWK5BF.js → chunk-PZ3QJDTD.js} +8 -8
  69. package/dist/bundle/{chunk-OLDIP4CV.js → chunk-Q6AC7WLD.js} +3 -3
  70. package/dist/bundle/{chunk-X5U7GLHD.js → chunk-QH47G73D.js} +16 -3
  71. package/dist/bundle/{chunk-RFGIUCKU.js → chunk-QK5HQUHB.js} +3 -3
  72. package/dist/bundle/{chunk-3MPMYAII.js → chunk-R26OEZOL.js} +1 -1
  73. package/dist/bundle/{chunk-T3GZKV5A.js → chunk-RLK2EGQD.js} +21 -15
  74. package/dist/bundle/{chunk-Z4PY5BDP.js → chunk-RLNPTES2.js} +4 -4
  75. package/dist/bundle/{chunk-XCDRFC6G.js → chunk-T4MZJMEJ.js} +17 -17
  76. package/dist/bundle/{chunk-TAF4PKDS.js → chunk-TAPQZYXY.js} +1 -1
  77. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-TCSVW7BA.js} +1 -1
  78. package/dist/bundle/{chunk-E33KM3DB.js → chunk-THGAVPRA.js} +11 -11
  79. package/dist/bundle/{chunk-XDDTJYGA.js → chunk-TRLV5NWZ.js} +2477 -2140
  80. package/dist/bundle/{chunk-5OBVICFK.js → chunk-TT75CEYZ.js} +22 -1
  81. package/dist/bundle/{chunk-7OJ43BAH.js → chunk-TXO4CJW3.js} +7 -7
  82. package/dist/bundle/{chunk-F4ZLRS4B.js → chunk-UCGZRZJA.js} +1 -1
  83. package/dist/bundle/{chunk-NLZADZ4F.js → chunk-UVGJL753.js} +61 -61
  84. package/dist/bundle/{chunk-VMF2UIQI.js → chunk-UZ2CL435.js} +3 -4
  85. package/dist/bundle/{chunk-IED6MKPU.js → chunk-V7N2K5OT.js} +33 -30
  86. package/dist/bundle/{chunk-QV4GDVBN.js → chunk-VR2CJFVL.js} +8 -8
  87. package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-WASBOYI2.js} +4 -4
  88. package/dist/bundle/{chunk-F3HJ2E3P.js → chunk-WE4JSHIG.js} +6 -6
  89. package/dist/bundle/{chunk-FWW2CUXH.js → chunk-X2QRCFGJ.js} +4 -4
  90. package/dist/bundle/{chunk-V2B2OWTC.js → chunk-XRFYVVFU.js} +2 -2
  91. package/dist/bundle/{chunk-Q7DIEU6L.js → chunk-YDG5FIQB.js} +7 -9
  92. package/dist/bundle/{chunk-GOOXUCJW.js → chunk-YIH2A2PQ.js} +2 -2
  93. package/dist/bundle/{chunk-HM72O37C.js → chunk-ZERQSELP.js} +207 -163
  94. package/dist/bundle/{chunk-QNQ4V4UT.js → chunk-ZKTYTOF4.js} +8 -8
  95. package/dist/bundle/command-contract-5FXCYQUS.js +40 -0
  96. package/dist/bundle/{command-server-entry-OJQ55UA2.js → command-server-entry-H6IAJNOF.js} +28 -28
  97. package/dist/bundle/{decode-CDQDRPRJ.js → decode-TR2EC46M.js} +5 -5
  98. package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-B2EP6DDT.js} +8 -8
  99. package/dist/bundle/{echarts-GJ5JJG2A.js → echarts-7OP7I5B2.js} +2 -2
  100. package/dist/bundle/{embed-BUQXGMKR.js → embed-FLGS4LN7.js} +6 -6
  101. package/dist/bundle/{embedder-FCX6LE4O.js → embedder-JIXQXCP3.js} +9 -9
  102. package/dist/bundle/{failure-I6AAF5R5.js → failure-AOACEURF.js} +2 -2
  103. package/dist/bundle/{first-run-RPYEXXQK.js → first-run-XJ2NWIK2.js} +12 -12
  104. package/dist/bundle/first-screen-U73G5CMM.js +40 -0
  105. package/dist/bundle/hubspot.js +27 -25
  106. package/dist/bundle/{instructions-LPVTPERS.js → instructions-PYCYV6QE.js} +1 -1
  107. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-ZNULRPZ4.js} +2 -2
  108. package/dist/bundle/meeting-combined-IHTM5H5B.js +25 -0
  109. package/dist/bundle/{meeting-model-TRGBEWCY.js → meeting-model-2PA5WJY5.js} +11 -11
  110. package/dist/bundle/{meeting-semantic-RSF5KNKD.js → meeting-semantic-5IH63QFV.js} +6 -6
  111. package/dist/bundle/{node-UAT3EIAP.js → node-6GTNIVBM.js} +2 -2
  112. package/dist/bundle/{node-sqlite-3HKDQNFD.js → node-sqlite-FBCEHPNT.js} +7 -7
  113. package/dist/bundle/{oauth-DYW2NSZP.js → oauth-BFP4SCL5.js} +7 -7
  114. package/dist/bundle/{open-KBRXJ5BC.js → open-MLU4MHGO.js} +5 -5
  115. package/dist/bundle/{openai-YNCLRTSK.js → openai-R7WJI6SO.js} +15 -15
  116. package/dist/bundle/{process-63BB7LKP.js → process-NMNQLJHZ.js} +1 -1
  117. package/dist/bundle/{program-VX52OB3O.js → program-Z735HPFG.js} +517 -343
  118. package/dist/bundle/{prompt-TWLJ3M2O.js → prompt-A6RM55Q4.js} +5 -5
  119. package/dist/bundle/{recognize-GQ6DLGE7.js → recognize-ORRDV45M.js} +4 -4
  120. package/dist/bundle/{remote-RKNSF3TT.js → remote-UF3WSC4X.js} +9 -9
  121. package/dist/bundle/{rerank-H4HSGQUJ.js → rerank-ZSJORUGH.js} +7 -7
  122. package/dist/bundle/{schemas-LDK7O6VW.js → schemas-EXBNVPMI.js} +1 -1
  123. package/dist/bundle/{serve-4ZNIAL7H.js → serve-4KBJ6SIA.js} +9 -9
  124. package/dist/bundle/{server-4G4QB3QN.js → server-IFK4S6LJ.js} +60 -60
  125. package/dist/bundle/server-MNUAZWTN.js +86 -0
  126. package/dist/bundle/source-PBCQAG4C.js +426 -0
  127. package/dist/bundle/{sqlite-runtime-C2JYC7JF.js → sqlite-runtime-XPDUWOPG.js} +6 -6
  128. package/dist/bundle/{state-3KDXCXHG.js → state-4M26H7NL.js} +6 -6
  129. package/dist/bundle/{store-LXLG5HTS.js → store-3W4ZOOIB.js} +28 -24
  130. package/dist/bundle/store-CDY2PW6J.js +34 -0
  131. package/dist/bundle/{store-J5FQBZYR.js → store-ICTY3RIF.js} +22 -22
  132. package/dist/bundle/store-maintenance-command-Y7TC3I43.js +73 -0
  133. package/dist/bundle/surface-4LNDJZD2.js +72 -0
  134. package/dist/bundle/writer-WGHWQTC2.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 +19 -12
  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/writer.d.ts +1 -1
  154. package/dist/crm/writer.d.ts.map +1 -1
  155. package/dist/crm/writer.js +69 -1
  156. package/dist/crm/writer.js.map +1 -1
  157. package/dist/program.d.ts.map +1 -1
  158. package/dist/program.js +0 -2
  159. package/dist/program.js.map +1 -1
  160. package/dist/reasons.d.ts.map +1 -1
  161. package/dist/reasons.js +0 -2
  162. package/dist/reasons.js.map +1 -1
  163. package/dist/version.d.ts +1 -1
  164. package/dist/version.js +1 -1
  165. package/package.json +4 -4
  166. package/skills/hubspot-cli/SKILL.md +10 -5
  167. package/skills/hubspot-cli/references/api/api-basic.md +2 -2
  168. package/skills/hubspot-cli/references/api/api-batch.md +2 -2
  169. package/dist/bundle/agent-NST4YXJR.js +0 -40
  170. package/dist/bundle/command-contract-LYX2QNIA.js +0 -40
  171. package/dist/bundle/first-screen-Y4EH3HZS.js +0 -40
  172. package/dist/bundle/meeting-combined-FEEVVUGC.js +0 -25
  173. package/dist/bundle/server-3IYIZEEQ.js +0 -86
  174. package/dist/bundle/source-2UCNCCO7.js +0 -917
  175. package/dist/bundle/store-2MNUHHZC.js +0 -32
  176. package/dist/bundle/store-maintenance-command-DDB7TR6V.js +0 -73
  177. package/dist/bundle/surface-ZTZANYKC.js +0 -72
  178. package/dist/bundle/writer-X7PGBLDH.js +0 -86
@@ -9,20 +9,20 @@ import {
9
9
  providerErrorKey,
10
10
  renderEvent,
11
11
  runContextOf
12
- } from "./chunk-AT43MYQL.js";
12
+ } from "./chunk-I75ON7VM.js";
13
13
  import {
14
14
  permissionCeiling
15
- } from "./chunk-WATDMTDC.js";
15
+ } from "./chunk-67YPTVGP.js";
16
16
  import {
17
17
  DEFAULT_RERANK_MODEL,
18
18
  RERANK_MODELS
19
- } from "./chunk-2BCWK5BF.js";
19
+ } from "./chunk-PZ3QJDTD.js";
20
20
  import {
21
21
  carries
22
- } from "./chunk-PMJCZIV4.js";
22
+ } from "./chunk-J4FXBF44.js";
23
23
  import {
24
24
  note
25
- } from "./chunk-BXZRSXBL.js";
25
+ } from "./chunk-KKMOKSS5.js";
26
26
  import {
27
27
  CATEGORIES,
28
28
  FACT_STATUSES,
@@ -67,22 +67,18 @@ import {
67
67
  typedCommand,
68
68
  untrusted,
69
69
  useAsProcessRun
70
- } from "./chunk-IED6MKPU.js";
70
+ } from "./chunk-V7N2K5OT.js";
71
71
  import {
72
72
  isCliFailure,
73
73
  storeDamaged
74
- } from "./chunk-Z3YOKGVZ.js";
74
+ } from "./chunk-HZIGGAC7.js";
75
75
  import {
76
76
  endpoint
77
- } from "./chunk-M25KVDHA.js";
78
- import {
79
- repairConfigText,
80
- sharedConfigPath
81
- } from "./chunk-UIWWAT3C.js";
77
+ } from "./chunk-5WDNG4QE.js";
82
78
  import {
83
79
  filesPresent,
84
80
  sharedModelsDirectory
85
- } from "./chunk-DBPFHJXX.js";
81
+ } from "./chunk-CTN4DW2F.js";
86
82
  import {
87
83
  CEILING_KEY,
88
84
  COMMAND_PATH_KEY,
@@ -96,7 +92,7 @@ import {
96
92
  permissionOverrides,
97
93
  projectFields,
98
94
  resolveOutput
99
- } from "./chunk-HQYJ66ZX.js";
95
+ } from "./chunk-G6LDK6DJ.js";
100
96
  import {
101
97
  BUSINESS_KINDS,
102
98
  CRM_ACTIVITY_KINDS,
@@ -111,10 +107,10 @@ import {
111
107
  ORDER_STATUSES,
112
108
  RELATION_KINDS,
113
109
  STANDINGS
114
- } from "./chunk-T3GZKV5A.js";
110
+ } from "./chunk-RLK2EGQD.js";
115
111
  import {
116
112
  TAG_TYPES
117
- } from "./chunk-GOOXUCJW.js";
113
+ } from "./chunk-YIH2A2PQ.js";
118
114
  import {
119
115
  FACT_TYPES,
120
116
  FIELD_TYPES,
@@ -142,10 +138,14 @@ import {
142
138
  parseLucene,
143
139
  readsZone,
144
140
  timezoneOf
145
- } from "./chunk-NLZADZ4F.js";
141
+ } from "./chunk-UVGJL753.js";
142
+ import {
143
+ repairConfigText,
144
+ sharedConfigPath
145
+ } from "./chunk-MJ24YFXZ.js";
146
146
  import {
147
147
  storePath
148
- } from "./chunk-6ULR7N3T.js";
148
+ } from "./chunk-2VUIJ5XB.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-3BM6KBWP.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-3LMW7U7F.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-HM6AMYHR.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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/ports/app.js
221
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.124.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
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.124.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
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.124.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
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.124.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
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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
3978
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/sends/guarded.js
3993
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/execution.js
4099
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4282
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/background/budget.js
4304
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4361
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/runs/recording.js
4399
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4614
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/profile.js
4640
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/settings.js
4709
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/models/settings.js
4712
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/analysis/settings.js
4781
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/domain/duration.js
4825
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/services/history-limits.js
4839
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
4886
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
4975
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5273
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5302
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/settings.js
5324
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/context.js
5852
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/effects.js
6006
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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" };
@@ -6036,7 +6039,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
6036
6039
  KEPT_UNDER_LOCK.add(command);
6037
6040
  return command;
6038
6041
  }, "destroysNothing");
6039
- var PROPOSE_COMMANDS = ["messages acknowledge", "mail findings add"];
6042
+ var PROPOSE_COMMANDS = [
6043
+ "messages acknowledge",
6044
+ "mail findings add",
6045
+ "projects actions add",
6046
+ "meetings actions add"
6047
+ ];
6040
6048
  var PROPOSES = /* @__PURE__ */ new WeakSet();
6041
6049
  var isProposal = /* @__PURE__ */ __name((command) => {
6042
6050
  if (!PROPOSES.has(command))
@@ -6132,7 +6140,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6132
6140
  throw readOnlyRefusal(lock, what);
6133
6141
  }, "refuseUnderReadOnly");
6134
6142
 
6135
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/account.js
6143
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/account.js
6136
6144
  var account = strictObject({
6137
6145
  provider: text,
6138
6146
  id,
@@ -6142,7 +6150,7 @@ var account = strictObject({
6142
6150
  scope: optional(picklist(["personal", "work"]))
6143
6151
  });
6144
6152
 
6145
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6153
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6146
6154
  var accountSession = strictObject({
6147
6155
  current: boolean(),
6148
6156
  client: nullable(text),
@@ -6152,7 +6160,7 @@ var accountSession = strictObject({
6152
6160
  created_at: optional(nullable(time))
6153
6161
  });
6154
6162
 
6155
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6163
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6156
6164
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
6157
6165
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
6158
6166
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -6181,7 +6189,7 @@ var accountRemoval = strictObject({
6181
6189
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
6182
6190
  });
6183
6191
 
6184
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6192
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6185
6193
  var accountProfile = strictObject({
6186
6194
  profile: id,
6187
6195
  current: boolean(),
@@ -6193,7 +6201,7 @@ var accountProfile = strictObject({
6193
6201
  bot: optional(literal(true))
6194
6202
  });
6195
6203
 
6196
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6204
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6197
6205
  var milliseconds = pipe(number(), minValue(0));
6198
6206
  var counterReading = strictObject({
6199
6207
  counter: picklist(["views", "reactions", "comments"]),
@@ -6205,7 +6213,7 @@ var counterReading = strictObject({
6205
6213
  });
6206
6214
  var selection = record(string(), unknown());
6207
6215
 
6208
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6216
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6209
6217
  var adminRow = strictObject({
6210
6218
  ref: reference,
6211
6219
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -6258,7 +6266,7 @@ var adminReport = strictObject({
6258
6266
  rows: array(adminRow)
6259
6267
  });
6260
6268
 
6261
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/task.js
6269
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/task.js
6262
6270
  var closeSuggestion = strictObject({
6263
6271
  as: picklist(["done", "dismissed"]),
6264
6272
  /** The agent's name. */
@@ -6320,7 +6328,7 @@ var task = strictObject({
6320
6328
  updated_at: optional(time)
6321
6329
  });
6322
6330
 
6323
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6331
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6324
6332
  var agendaChat = strictObject({
6325
6333
  chat: reference,
6326
6334
  title: nullable(text),
@@ -6390,11 +6398,11 @@ var agenda = strictObject({
6390
6398
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
6391
6399
  });
6392
6400
 
6393
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6401
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6394
6402
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6395
6403
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6396
6404
 
6397
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6405
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6398
6406
  var attachment = strictObject({
6399
6407
  /** The message it came with, as a locator; absent inside that message. */
6400
6408
  message: optional(reference),
@@ -6439,7 +6447,7 @@ var hitFile = strictObject({
6439
6447
  local_path: optional(text)
6440
6448
  });
6441
6449
 
6442
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6450
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6443
6451
  var actionableError = objectWithRest({
6444
6452
  code: text,
6445
6453
  message: text,
@@ -6456,7 +6464,7 @@ var batchResult = strictObject({
6456
6464
  max_error_percent: count
6457
6465
  });
6458
6466
 
6459
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6467
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6460
6468
  var extractionItem = strictObject({
6461
6469
  ref: reference,
6462
6470
  attachment: count,
@@ -6489,7 +6497,7 @@ var extractionReport = strictObject({
6489
6497
  cursor: optional(text)
6490
6498
  });
6491
6499
 
6492
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6500
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6493
6501
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
6494
6502
  var attachmentBytes = strictObject({
6495
6503
  ref: reference,
@@ -6520,7 +6528,7 @@ var attachmentTextChange = strictObject({
6520
6528
  text: optional(text)
6521
6529
  });
6522
6530
 
6523
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
6531
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
6524
6532
  var WEIGHTS = {
6525
6533
  bot: 3,
6526
6534
  scam: 3,
@@ -6545,7 +6553,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
6545
6553
  var DIGITS = /\d{5,}/;
6546
6554
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
6547
6555
 
6548
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
6556
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
6549
6557
  var linkedIdentity = strictObject({
6550
6558
  provider: text,
6551
6559
  id,
@@ -6600,7 +6608,7 @@ var contactCheck = strictObject({
6600
6608
  checked_at: time
6601
6609
  });
6602
6610
 
6603
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/member.js
6611
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/member.js
6604
6612
  var member = strictObject({
6605
6613
  id,
6606
6614
  name: nullable(text),
@@ -6623,7 +6631,7 @@ var member = strictObject({
6623
6631
  check: optional(record(string(), unknown()))
6624
6632
  });
6625
6633
 
6626
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/chat.js
6634
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat.js
6627
6635
  var setting = optional(nullable(boolean()));
6628
6636
  var chat = strictObject({
6629
6637
  ref: reference,
@@ -6664,7 +6672,7 @@ var chat = strictObject({
6664
6672
  members: optional(array(member))
6665
6673
  });
6666
6674
 
6667
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/message.js
6675
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message.js
6668
6676
  var quoted = strictObject({
6669
6677
  id,
6670
6678
  sender_id: nullable(id),
@@ -6778,12 +6786,14 @@ var message = strictObject({
6778
6786
  /** Mail `review`: no earlier stored email, in any account, came from this address. */
6779
6787
  new_sender: optional(boolean()),
6780
6788
  /** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
6781
- sender_identities: optional(number())
6789
+ sender_identities: optional(number()),
6790
+ /** Mail `review`: how `inbox` sorted the thread, by the AI model; the reason is untrusted. */
6791
+ inbox: optional(strictObject({ bucket: picklist(["answer", "read", "later"]), reason: text }))
6782
6792
  })),
6783
6793
  provider_metadata: providerMetadata
6784
6794
  });
6785
6795
 
6786
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
6796
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
6787
6797
  var recordedMeeting = strictObject({
6788
6798
  ref: reference,
6789
6799
  meeting_id: count,
@@ -6800,7 +6810,7 @@ var recordedMeeting = strictObject({
6800
6810
  call: optional(meetingCall)
6801
6811
  });
6802
6812
 
6803
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
6813
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
6804
6814
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
6805
6815
  var contextMessage = strictObject({
6806
6816
  locator: reference,
@@ -7006,7 +7016,7 @@ var contactPreparation = strictObject({
7006
7016
  })
7007
7017
  });
7008
7018
 
7009
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/deal.js
7019
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/deal.js
7010
7020
  var nullableText = nullable(text);
7011
7021
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
7012
7022
  var outcome = picklist(["open", "won", "lost"]);
@@ -7162,7 +7172,7 @@ var stage = strictObject({
7162
7172
  untrusted
7163
7173
  });
7164
7174
 
7165
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7175
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7166
7176
  var nullableText2 = nullable(text);
7167
7177
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
7168
7178
  var standing = picklist(STANDINGS);
@@ -7341,7 +7351,7 @@ var dealBrief = strictObject({
7341
7351
  not_read: coverage2.entries.not_read
7342
7352
  });
7343
7353
 
7344
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/chart.js
7354
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chart.js
7345
7355
  var chart = strictObject({
7346
7356
  version: literal(1),
7347
7357
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -7356,7 +7366,7 @@ var chart = strictObject({
7356
7366
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
7357
7367
  });
7358
7368
 
7359
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/folder.js
7369
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/folder.js
7360
7370
  var named = strictObject({
7361
7371
  id,
7362
7372
  title: nullable(text),
@@ -7379,7 +7389,7 @@ var folder = strictObject({
7379
7389
  excluded_chats: optional(array(named))
7380
7390
  });
7381
7391
 
7382
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7392
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7383
7393
  var inviteLink = strictObject({
7384
7394
  link: text,
7385
7395
  /** Who joins by it asks first, and an admin lets them in. */
@@ -7395,7 +7405,7 @@ var inviteLink = strictObject({
7395
7405
  joined_count: optional(count)
7396
7406
  });
7397
7407
 
7398
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7408
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7399
7409
  var operated = { operation_id: id, chat_id: id };
7400
7410
  var group = strictObject({
7401
7411
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -7475,7 +7485,7 @@ var chatFolderOrder = strictObject({
7475
7485
  folders: array(strictObject({ id, title: text }))
7476
7486
  });
7477
7487
 
7478
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7488
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7479
7489
  var operated2 = { operation_id: id, chat_id: id };
7480
7490
  var chatRemoval = strictObject(operated2);
7481
7491
  var chatMuting = strictObject({
@@ -7486,7 +7496,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
7486
7496
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
7487
7497
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
7488
7498
 
7489
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7499
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7490
7500
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
7491
7501
  var chatEvent = strictObject({
7492
7502
  chat_id: id,
@@ -7503,7 +7513,7 @@ var chatEvent = strictObject({
7503
7513
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
7504
7514
  });
7505
7515
 
7506
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7516
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7507
7517
  var chatMetadata = strictObject({
7508
7518
  chat_id: id,
7509
7519
  title: nullable(text),
@@ -7518,7 +7528,7 @@ var chatMetadataRefresh = strictObject({
7518
7528
  has_more: boolean()
7519
7529
  });
7520
7530
 
7521
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7531
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7522
7532
  var action = picklist(["report", "delete", "remove"]);
7523
7533
  var level = picklist(["deny", "readonly", "ask", "allow"]);
7524
7534
  var chatRules = strictObject({
@@ -7555,7 +7565,7 @@ var chatModeration = strictObject({
7555
7565
  }))
7556
7566
  });
7557
7567
 
7558
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
7568
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
7559
7569
  var chatSending = strictObject({
7560
7570
  mode: picklist(["allowed", "ask", "denied"]),
7561
7571
  meaning: text,
@@ -7565,7 +7575,7 @@ var chatSending = strictObject({
7565
7575
  changed: optional(boolean())
7566
7576
  });
7567
7577
 
7568
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7578
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7569
7579
  var optionalCount = optional(count);
7570
7580
  var minutes = nullable(number());
7571
7581
  var chatStats = strictObject({
@@ -7641,7 +7651,7 @@ var taskStats = strictObject({
7641
7651
  }))
7642
7652
  });
7643
7653
 
7644
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7654
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7645
7655
  var memberCount = strictObject({
7646
7656
  day: pipe(text, isoDate()),
7647
7657
  participants: nullable(count),
@@ -7664,7 +7674,7 @@ var chatTracking = strictObject({
7664
7674
  tracked: boolean()
7665
7675
  });
7666
7676
 
7667
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7677
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7668
7678
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
7669
7679
  var contactSync = strictObject({ added: count, changed: count, known: count });
7670
7680
  var profileFields = {
@@ -7702,7 +7712,7 @@ var profileFields = {
7702
7712
  }))
7703
7713
  };
7704
7714
 
7705
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/contact.js
7715
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/contact.js
7706
7716
  var contact = strictObject({
7707
7717
  ref: reference,
7708
7718
  id,
@@ -7733,7 +7743,7 @@ var contact = strictObject({
7733
7743
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
7734
7744
  });
7735
7745
 
7736
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
7746
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
7737
7747
  var contactNote = strictObject({
7738
7748
  id,
7739
7749
  /** The contact, as a `contact:` reference. */
@@ -7745,13 +7755,13 @@ var contactNote = strictObject({
7745
7755
  updated_at: time
7746
7756
  });
7747
7757
 
7748
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
7758
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
7749
7759
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
7750
7760
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
7751
7761
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
7752
7762
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
7753
7763
 
7754
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/conversation.js
7764
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/conversation.js
7755
7765
  var conversation = strictObject({
7756
7766
  id,
7757
7767
  chat: reference,
@@ -7766,7 +7776,7 @@ var conversation = strictObject({
7766
7776
  rules_version: count
7767
7777
  });
7768
7778
 
7769
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
7779
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
7770
7780
  var conversationBuild = strictObject({
7771
7781
  chat: id,
7772
7782
  messages: count,
@@ -7791,7 +7801,7 @@ var catchUpPreparation = strictObject({
7791
7801
  prepared: optional(conversationPreparation)
7792
7802
  });
7793
7803
 
7794
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
7804
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
7795
7805
  var conversationDetails = union([
7796
7806
  strictObject({ ...conversation.entries, messages: array(message) }),
7797
7807
  message
@@ -7878,10 +7888,15 @@ var conversationHit = strictObject({
7878
7888
  score: nullable(number()),
7879
7889
  matched_in: optional(literal("context")),
7880
7890
  by: array(picklist(["meaning", "words"])),
7881
- 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
7882
7897
  });
7883
7898
 
7884
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/counters.js
7899
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/counters.js
7885
7900
  var counters = strictObject({
7886
7901
  cutoff: time,
7887
7902
  max_age_ms: milliseconds,
@@ -7911,7 +7926,7 @@ var counterRefresh = strictObject({
7911
7926
  complete: optional(boolean())
7912
7927
  });
7913
7928
 
7914
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/document.js
7929
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/document.js
7915
7930
  var document = strictObject({
7916
7931
  ref: reference,
7917
7932
  id,
@@ -7926,7 +7941,7 @@ var document = strictObject({
7926
7941
  owners: optional(array(text))
7927
7942
  });
7928
7943
 
7929
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/document-link.js
7944
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/document-link.js
7930
7945
  var documentLink = strictObject({
7931
7946
  ref: reference,
7932
7947
  url: text,
@@ -7937,7 +7952,7 @@ var documentLink = strictObject({
7937
7952
  sender: strictObject({ id: nullable(id), name: nullable(text) })
7938
7953
  });
7939
7954
 
7940
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/evidence.js
7955
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/evidence.js
7941
7956
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
7942
7957
  var contribution = strictObject({
7943
7958
  message: evidenceMessage,
@@ -7967,7 +7982,7 @@ var retentionStay = strictObject({
7967
7982
  });
7968
7983
  var evidence = union([contribution, retentionStay]);
7969
7984
 
7970
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/fact.js
7985
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/fact.js
7971
7986
  var fact = strictObject({
7972
7987
  ref: reference,
7973
7988
  id,
@@ -7998,7 +8013,7 @@ var fact = strictObject({
7998
8013
  updated_at: time
7999
8014
  });
8000
8015
 
8001
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/hit.js
8016
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/hit.js
8002
8017
  var hit = strictObject({
8003
8018
  kind: picklist([
8004
8019
  "message",
@@ -8010,6 +8025,9 @@ var hit = strictObject({
8010
8025
  "deal",
8011
8026
  "lead",
8012
8027
  "crm_file",
8028
+ "issue",
8029
+ "project",
8030
+ "issue_comment",
8013
8031
  ...BUSINESS_KINDS
8014
8032
  ]),
8015
8033
  ref: reference,
@@ -8057,7 +8075,7 @@ var hit = strictObject({
8057
8075
  untrusted
8058
8076
  });
8059
8077
 
8060
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/identity.js
8078
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/identity.js
8061
8079
  var identity = strictObject({
8062
8080
  ref: reference,
8063
8081
  provider: text,
@@ -8073,7 +8091,7 @@ var identity = strictObject({
8073
8091
  person: optional(nullable(reference))
8074
8092
  });
8075
8093
 
8076
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8094
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8077
8095
  var imageEmbedding = strictObject({
8078
8096
  model: text,
8079
8097
  embedded: count,
@@ -8082,13 +8100,13 @@ var imageEmbedding = strictObject({
8082
8100
  more: boolean()
8083
8101
  });
8084
8102
 
8085
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8103
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8086
8104
  import { spawn } from "node:child_process";
8087
8105
  import { randomBytes } from "node:crypto";
8088
8106
  import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
8089
8107
  import { dirname as dirname2, join as join4 } from "node:path";
8090
8108
 
8091
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8109
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8092
8110
  var progressOf = /* @__PURE__ */ __name((input) => {
8093
8111
  const total = input.total ?? null;
8094
8112
  const updated = input.updatedAt ?? null;
@@ -8119,7 +8137,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
8119
8137
  return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
8120
8138
  }, "progressLine");
8121
8139
 
8122
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8140
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8123
8141
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
8124
8142
  const run = currentRun();
8125
8143
  const trace = traceId ?? run.traceId;
@@ -8133,7 +8151,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
8133
8151
  }));
8134
8152
  }, "recordLogFor");
8135
8153
 
8136
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8154
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8137
8155
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
8138
8156
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
8139
8157
  const out = openSync(log, "a", 384);
@@ -8288,7 +8306,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
8288
8306
  return { job: id6, pid, chat: input.chat, log };
8289
8307
  }, "startArchiveJob");
8290
8308
 
8291
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/job.js
8309
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/job.js
8292
8310
  var problem = strictObject({ code: text, message: text });
8293
8311
  var job = strictObject({
8294
8312
  id,
@@ -8311,7 +8329,7 @@ var job = strictObject({
8311
8329
  error: optional(problem)
8312
8330
  });
8313
8331
 
8314
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8332
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8315
8333
  var joinRequest = strictObject({
8316
8334
  person_id: id,
8317
8335
  name: nullable(text),
@@ -8322,7 +8340,7 @@ var joinRequest = strictObject({
8322
8340
  about: optional(text)
8323
8341
  });
8324
8342
 
8325
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8343
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8326
8344
  var botProfile = strictObject({
8327
8345
  name: text,
8328
8346
  token: text,
@@ -8446,7 +8464,7 @@ var stickerInventory = strictObject({
8446
8464
  url: optional(nullable(text))
8447
8465
  });
8448
8466
 
8449
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8467
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8450
8468
  var pollVote = strictObject({
8451
8469
  person_id: id,
8452
8470
  name: nullable(text),
@@ -8456,7 +8474,7 @@ var pollVote = strictObject({
8456
8474
  voted_at: time
8457
8475
  });
8458
8476
 
8459
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/listener.js
8477
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/listener.js
8460
8478
  var reactions = unwrap(unwrap(message.entries.reactions));
8461
8479
  var observation = strictObject({
8462
8480
  value: pipe(number(), minValue(0)),
@@ -8498,7 +8516,7 @@ var serveSummary = strictObject({
8498
8516
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
8499
8517
  });
8500
8518
 
8501
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8519
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8502
8520
  var mailCounts = strictObject({
8503
8521
  by: picklist(["day", "week", "sender"]),
8504
8522
  received: count,
@@ -8513,7 +8531,7 @@ var mailCounts = strictObject({
8513
8531
  }))
8514
8532
  });
8515
8533
 
8516
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8534
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8517
8535
  var evidence2 = strictObject({ reference, fingerprint: text });
8518
8536
  var base = { id, evidence: array(evidence2) };
8519
8537
  var finding = variant("kind", [
@@ -8657,7 +8675,7 @@ var mailFindings = strictObject({
8657
8675
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
8658
8676
  });
8659
8677
 
8660
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8678
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8661
8679
  var mediaArchive = strictObject({
8662
8680
  directory: text,
8663
8681
  chats: count,
@@ -8689,7 +8707,7 @@ var mediaArchiveTimer = union([
8689
8707
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
8690
8708
  ]);
8691
8709
 
8692
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8710
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8693
8711
  var preparationId = pipe(string(), minLength(1));
8694
8712
  var preparationCount = pipe(number(), integer(), minValue(0));
8695
8713
  var preparationTime = nullable(isoTime);
@@ -8781,7 +8799,7 @@ var preparationMeeting = strictObject({
8781
8799
  updated_at: isoTime
8782
8800
  });
8783
8801
 
8784
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
8802
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
8785
8803
  var meetingEvidence = preparationEvidence;
8786
8804
  var meetingPersonContext = strictObject({
8787
8805
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -8803,7 +8821,7 @@ var meetingPersonContext = strictObject({
8803
8821
  })
8804
8822
  });
8805
8823
 
8806
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
8824
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
8807
8825
  var evidence3 = strictObject({ reference, fingerprint: text });
8808
8826
  var base2 = { id, project: reference, evidence: array(evidence3) };
8809
8827
  var finding2 = variant("kind", [
@@ -8841,7 +8859,7 @@ var meetingFindings = strictObject({
8841
8859
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
8842
8860
  });
8843
8861
 
8844
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
8862
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
8845
8863
  var communicationCoverage = strictObject({
8846
8864
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
8847
8865
  query: string(),
@@ -8886,7 +8904,7 @@ var preparationCommunications = strictObject({
8886
8904
  }))
8887
8905
  });
8888
8906
 
8889
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
8907
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
8890
8908
  var meetingPreparation = strictObject({
8891
8909
  communications: optional(preparationCommunications),
8892
8910
  schema_version: literal(1),
@@ -8999,7 +9017,7 @@ var meetingPreparation = strictObject({
8999
9017
  })
9000
9018
  });
9001
9019
 
9002
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9020
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9003
9021
  var count4 = pipe(number(), integer(), minValue(0));
9004
9022
  var id3 = pipe(string(), minLength(1));
9005
9023
  var text3 = string();
@@ -9063,7 +9081,7 @@ var meetingProjectCandidates = strictObject({
9063
9081
  })
9064
9082
  });
9065
9083
 
9066
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9084
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9067
9085
  var count5 = pipe(number(), integer(), minValue(0));
9068
9086
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
9069
9087
  var meetingSeriesInventory = strictObject({
@@ -9093,7 +9111,7 @@ var meetingSeriesInventory = strictObject({
9093
9111
  })
9094
9112
  });
9095
9113
 
9096
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9114
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9097
9115
  var text4 = string();
9098
9116
  var id5 = pipe(number(), integer(), minValue(1));
9099
9117
  var revision = picklist(["current", "superseded"]);
@@ -9110,7 +9128,7 @@ var meetingTaskProposal = strictObject({
9110
9128
  persistence: literal("proposal-only")
9111
9129
  });
9112
9130
 
9113
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/memory.js
9131
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/memory.js
9114
9132
  var memory = strictObject({
9115
9133
  ref: reference,
9116
9134
  id,
@@ -9138,7 +9156,7 @@ var memory = strictObject({
9138
9156
  updated_at: time
9139
9157
  });
9140
9158
 
9141
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/mention.js
9159
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/mention.js
9142
9160
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
9143
9161
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
9144
9162
  var mention = strictObject({
@@ -9182,13 +9200,16 @@ var mentionRebuild = strictObject({
9182
9200
  mentions: count
9183
9201
  });
9184
9202
 
9185
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9203
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9186
9204
  var operated3 = { operation_id: id, chat_id: id };
9187
9205
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
9188
9206
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
9189
9207
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
9208
+ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) });
9209
+ var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
9210
+ var scheduledSend = strictObject(scheduledSendEntries);
9190
9211
 
9191
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9212
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9192
9213
  var messageTranscript = strictObject({
9193
9214
  message_id: id,
9194
9215
  text,
@@ -9246,7 +9267,7 @@ var evidencePacket = strictObject({
9246
9267
  }))
9247
9268
  });
9248
9269
 
9249
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9270
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9250
9271
  var messageThread = strictObject({
9251
9272
  ref: reference,
9252
9273
  chat: id,
@@ -9263,7 +9284,7 @@ var messageThread = strictObject({
9263
9284
  });
9264
9285
  var messageContext = union([message, messageThread]);
9265
9286
 
9266
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9287
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9267
9288
  var messageCounts = strictObject({
9268
9289
  by: picklist(["chat", "sender", "day", "hour"]),
9269
9290
  total: count,
@@ -9276,7 +9297,7 @@ var messageCounts = strictObject({
9276
9297
  }))
9277
9298
  });
9278
9299
 
9279
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9300
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9280
9301
  var messageLink = strictObject({
9281
9302
  ref: reference,
9282
9303
  url: nullable(text),
@@ -9293,7 +9314,7 @@ var messageLink = strictObject({
9293
9314
  })))
9294
9315
  });
9295
9316
 
9296
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9317
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9297
9318
  var savedMessageFile = strictObject({
9298
9319
  kind: text,
9299
9320
  path: text,
@@ -9380,7 +9401,7 @@ var messageSyncAll = strictObject({
9380
9401
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
9381
9402
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
9382
9403
 
9383
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9404
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9384
9405
  var messageWrite = strictObject({
9385
9406
  operation_id: id,
9386
9407
  message,
@@ -9395,7 +9416,7 @@ var draftWrite = strictObject({
9395
9416
  });
9396
9417
  var messageSend = union([messageWrite, draftWrite]);
9397
9418
 
9398
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/model.js
9419
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/model.js
9399
9420
  var model2 = strictObject({
9400
9421
  id,
9401
9422
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -9430,7 +9451,7 @@ var chosenModel = strictObject({
9430
9451
  estimate_seconds: nullable(count)
9431
9452
  });
9432
9453
 
9433
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9454
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9434
9455
  var source = picklist(["environment", "keyring", "file"]);
9435
9456
  var modelKey = strictObject({
9436
9457
  provider: text,
@@ -9440,7 +9461,7 @@ var modelKey = strictObject({
9440
9461
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
9441
9462
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
9442
9463
 
9443
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9464
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9444
9465
  var versus = strictObject({ current: number(), previous: number() });
9445
9466
  var person = { person_ref: reference, name: nullable(text) };
9446
9467
  var graph = strictObject({
@@ -9474,14 +9495,14 @@ var officialStats = strictObject({
9474
9495
  graphs: record(string(), union([graph, strictObject({ error: text })]))
9475
9496
  });
9476
9497
 
9477
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/person.js
9498
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/person.js
9478
9499
  var person2 = strictObject({
9479
9500
  ref: reference,
9480
9501
  name: nullable(text),
9481
9502
  identities: optional(array(identity))
9482
9503
  });
9483
9504
 
9484
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/poll.js
9505
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/poll.js
9485
9506
  var poll = strictObject({
9486
9507
  chat_id: id,
9487
9508
  message_id: id,
@@ -9497,11 +9518,11 @@ var poll = strictObject({
9497
9518
  });
9498
9519
  var pollChange = strictObject({ operation_id: id, poll });
9499
9520
 
9500
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9521
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9501
9522
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
9502
9523
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
9503
9524
 
9504
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9525
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9505
9526
  var figures = record(string(), number());
9506
9527
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
9507
9528
  var rankingRow = strictObject({
@@ -9548,7 +9569,7 @@ var ranking = strictObject({
9548
9569
  rows: array(rankingRow)
9549
9570
  });
9550
9571
 
9551
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9572
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9552
9573
  var reaction = strictObject({
9553
9574
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
9554
9575
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -9556,7 +9577,7 @@ var reaction = strictObject({
9556
9577
  reacted_at: time
9557
9578
  });
9558
9579
 
9559
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9580
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9560
9581
  var reactionChange = strictObject({
9561
9582
  operation_id: id,
9562
9583
  chat_id: id,
@@ -9564,7 +9585,7 @@ var reactionChange = strictObject({
9564
9585
  reaction: nullable(text)
9565
9586
  });
9566
9587
 
9567
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9588
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9568
9589
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
9569
9590
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
9570
9591
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -9575,7 +9596,7 @@ var recipientChange = strictObject({
9575
9596
  ...partial(recipientOff).entries
9576
9597
  });
9577
9598
 
9578
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9599
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9579
9600
  var events = array(record(string(), unknown()));
9580
9601
  var recordedRun = strictObject({
9581
9602
  run_id: id,
@@ -9647,7 +9668,7 @@ var runHit = strictObject({
9647
9668
  });
9648
9669
  var runLocation = strictObject({ path: text });
9649
9670
 
9650
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9671
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9651
9672
  var relationship = strictObject({
9652
9673
  id,
9653
9674
  from: reference,
@@ -9674,7 +9695,7 @@ var relationship = strictObject({
9674
9695
  created_at: time
9675
9696
  });
9676
9697
 
9677
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9698
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9678
9699
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
9679
9700
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
9680
9701
  var responseTimes = strictObject({
@@ -9691,7 +9712,7 @@ var waitingChats = strictObject({
9691
9712
  by_kind: strictObject({ private: count, group: count })
9692
9713
  });
9693
9714
 
9694
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/retention.js
9715
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/retention.js
9695
9716
  var retentionCohort = strictObject({
9696
9717
  /** The first day of the joining day or week. */
9697
9718
  cohort: text,
@@ -9739,7 +9760,7 @@ var retention = strictObject({
9739
9760
  rows: array(retentionCohort)
9740
9761
  });
9741
9762
 
9742
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
9763
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
9743
9764
  var savedSearch = strictObject({
9744
9765
  id,
9745
9766
  /** `null` for a run in the history. */
@@ -9756,7 +9777,7 @@ var savedSearch = strictObject({
9756
9777
  });
9757
9778
  var searchHistoryClear = strictObject({ cleared: count });
9758
9779
 
9759
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
9780
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
9760
9781
  var sendAttempt = strictObject({
9761
9782
  at: time,
9762
9783
  profile: text,
@@ -9784,7 +9805,7 @@ var sendAttempt = strictObject({
9784
9805
  error_code: optional(text)
9785
9806
  });
9786
9807
 
9787
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
9808
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
9788
9809
  var absent = strictObject({ path: text, exists: literal(false) });
9789
9810
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
9790
9811
  var infoSchema = strictObject({
@@ -10014,7 +10035,7 @@ var storeRepair = union([
10014
10035
  ]);
10015
10036
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
10016
10037
 
10017
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10038
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10018
10039
  var range = strictObject({ from: number(), to: number() });
10019
10040
  var storeChatStatus = strictObject({
10020
10041
  chat_id: id,
@@ -10112,7 +10133,7 @@ var storeJobRetry = union([
10112
10133
  ]);
10113
10134
  var storeJobClear = strictObject({ cleared: array(id) });
10114
10135
 
10115
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10136
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10116
10137
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
10117
10138
  var storeTable = strictObject({
10118
10139
  name: text,
@@ -10121,7 +10142,7 @@ var storeTable = strictObject({
10121
10142
  bytes: optional(nullable(count))
10122
10143
  });
10123
10144
 
10124
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10145
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10125
10146
  var tagTarget = variant("type", [
10126
10147
  strictObject({ type: literal("chat"), chat_id: id }),
10127
10148
  strictObject({ type: literal("contact"), person_id: id }),
@@ -10152,7 +10173,7 @@ var automaticTags = strictObject({
10152
10173
  dry_run: boolean()
10153
10174
  });
10154
10175
 
10155
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10176
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10156
10177
  var tagging = strictObject({
10157
10178
  tag: text,
10158
10179
  type: picklist(TAG_TYPES),
@@ -10165,7 +10186,7 @@ var tagging = strictObject({
10165
10186
  created_at: time
10166
10187
  });
10167
10188
 
10168
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10189
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10169
10190
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
10170
10191
  var taskPair = strictObject({
10171
10192
  task: nullable(side),
@@ -10188,7 +10209,7 @@ var taskPair = strictObject({
10188
10209
  created_at: time
10189
10210
  });
10190
10211
 
10191
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10212
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10192
10213
  var nullableTime = nullable(time);
10193
10214
  var link = strictObject({
10194
10215
  id,
@@ -10362,7 +10383,7 @@ var taskReview = strictObject({
10362
10383
  untrusted
10363
10384
  });
10364
10385
 
10365
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/template.js
10386
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/template.js
10366
10387
  var template = strictObject({
10367
10388
  key: text,
10368
10389
  channel: picklist(["telegram", "email", "text"]),
@@ -10374,7 +10395,7 @@ var template = strictObject({
10374
10395
  updated_by: nullable(text)
10375
10396
  });
10376
10397
 
10377
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/topic.js
10398
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/topic.js
10378
10399
  var topic = strictObject({
10379
10400
  id,
10380
10401
  title: text,
@@ -10388,7 +10409,7 @@ var topic = strictObject({
10388
10409
  untrusted
10389
10410
  });
10390
10411
 
10391
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/entities/index.js
10412
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/index.js
10392
10413
  var ENTITIES = {
10393
10414
  sync_progress: progress,
10394
10415
  deal,
@@ -10422,6 +10443,7 @@ var ENTITIES = {
10422
10443
  attachments: optional(array(hitFile)),
10423
10444
  untrusted
10424
10445
  }),
10446
+ // Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
10425
10447
  "message.summary": strictObject({
10426
10448
  ...pick(message, [
10427
10449
  "ref",
@@ -10444,6 +10466,8 @@ var ENTITIES = {
10444
10466
  message_pin: messagePin,
10445
10467
  message_star: messageStar,
10446
10468
  message_deletion: messageDeletion,
10469
+ scheduled_cancellation: scheduledCancellation,
10470
+ scheduled_send: scheduledSend,
10447
10471
  message_transcript: messageTranscript,
10448
10472
  message_links: messageLinks,
10449
10473
  evidence_packet: evidencePacket,
@@ -10687,7 +10711,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
10687
10711
  return [name, definition];
10688
10712
  })), "entityDefinitions");
10689
10713
 
10690
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10714
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10691
10715
  var schemas = /* @__PURE__ */ new WeakMap();
10692
10716
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
10693
10717
  if (Object.hasOwn(ENTITIES, name))
@@ -10721,7 +10745,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
10721
10745
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
10722
10746
  }, "answerRow");
10723
10747
 
10724
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/images/picture/models.js
10748
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/images/picture/models.js
10725
10749
  import { join as join5 } from "node:path";
10726
10750
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
10727
10751
  var IMAGE_MODELS = [
@@ -10775,7 +10799,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
10775
10799
  var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
10776
10800
  var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
10777
10801
 
10778
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/steps.js
10802
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/steps.js
10779
10803
  var STEPS2 = defineSteps([
10780
10804
  ...STEPS,
10781
10805
  {
@@ -11023,6 +11047,20 @@ var rootOf2 = /* @__PURE__ */ __name((command) => {
11023
11047
  root = root.parent;
11024
11048
  return root;
11025
11049
  }, "rootOf");
11050
+ var typedCommandPath = /* @__PURE__ */ __name((program2, rest) => {
11051
+ const words = [];
11052
+ let current2 = program2;
11053
+ for (const token of rest) {
11054
+ if (token.startsWith("-"))
11055
+ continue;
11056
+ const next = current2.commands.find((one) => one.name() === token || one.aliases().includes(token));
11057
+ if (!next)
11058
+ break;
11059
+ words.push(token);
11060
+ current2 = next;
11061
+ }
11062
+ return words.join(" ");
11063
+ }, "typedCommandPath");
11026
11064
  var commandAt = /* @__PURE__ */ __name((root, path2) => {
11027
11065
  let at2 = root;
11028
11066
  for (const word of path2.split(" "))
@@ -11065,7 +11103,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11065
11103
  ].join(" ");
11066
11104
  }, "stepLine");
11067
11105
 
11068
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11106
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11069
11107
  var where = [{ field: "ref" }];
11070
11108
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
11071
11109
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -11157,7 +11195,7 @@ var STATUS_ROWS = {
11157
11195
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
11158
11196
  };
11159
11197
 
11160
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/compact.js
11198
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/compact.js
11161
11199
  var TEXT_CHARS = 400;
11162
11200
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
11163
11201
  var messageRow = {
@@ -11525,7 +11563,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
11525
11563
  return lines.concat(footerOf(body)).join("\n");
11526
11564
  }, "compactText");
11527
11565
 
11528
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11566
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11529
11567
  var SOFT_OUTPUT_BYTES = 256 * 1024;
11530
11568
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
11531
11569
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -11583,7 +11621,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
11583
11621
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
11584
11622
  }, "largeAnswerSteps");
11585
11623
 
11586
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11624
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11587
11625
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
11588
11626
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
11589
11627
  var strip = /* @__PURE__ */ __name((value) => {
@@ -11597,7 +11635,7 @@ var strip = /* @__PURE__ */ __name((value) => {
11597
11635
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
11598
11636
  }, "strip");
11599
11637
 
11600
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11638
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11601
11639
  var OPEN = "\u27E6";
11602
11640
  var CLOSE = "\u27E7";
11603
11641
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -11666,6 +11704,8 @@ var MESSAGE_UNTRUSTED = [
11666
11704
  "bcc.name",
11667
11705
  "reply_addresses.name"
11668
11706
  ];
11707
+ var CHAT_UNTRUSTED = ["title", "description"];
11708
+ var CONTACT_UNTRUSTED = ["description", "chats.title"];
11669
11709
  var DECLARED = /* @__PURE__ */ new WeakMap();
11670
11710
  var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
11671
11711
  DECLARED.set(command, fields);
@@ -11685,7 +11725,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
11685
11725
  return result;
11686
11726
  }, "withFieldsMarked");
11687
11727
 
11688
- // node_modules/.pnpm/@wirecat+cli-core@0.705.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1668a48934ee0d2606b0d61251c2625b/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11728
+ // node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11689
11729
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
11690
11730
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
11691
11731
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -12057,6 +12097,7 @@ export {
12057
12097
  nextStep,
12058
12098
  lineOf,
12059
12099
  rootOf2,
12100
+ typedCommandPath,
12060
12101
  commandAt,
12061
12102
  runnable,
12062
12103
  failureSteps,
@@ -12065,7 +12106,10 @@ export {
12065
12106
  tooLargeSteps,
12066
12107
  withoutProviderRefs,
12067
12108
  runMarkOf,
12109
+ marked,
12068
12110
  withUntrustedMarked,
12111
+ CHAT_UNTRUSTED,
12112
+ CONTACT_UNTRUSTED,
12069
12113
  marksUntrusted,
12070
12114
  answerSchema,
12071
12115
  listOf,