@wirecat/attio-cli 0.2.2 → 0.3.1

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 (158) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +13 -9
  3. package/contracts/wirecat.json +263 -1
  4. package/dist/bin/attio.js +2 -2
  5. package/dist/bundle/agent-63P427ER.js +37 -0
  6. package/dist/bundle/{all-profiles-RAFO3NFW.js → all-profiles-KCZGH7JK.js} +10 -10
  7. package/dist/bundle/{anthropic-TNR6QJGA.js → anthropic-4HCGQIHA.js} +5 -5
  8. package/dist/bundle/{app-server-BXVGXUGQ.js → app-server-VSYG36ER.js} +61 -61
  9. package/dist/bundle/attio.js +11 -11
  10. package/dist/bundle/{bun-3RTK5XYF.js → bun-CZK3ZADI.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-I5K5Z2ZK.js → bun-sqlite-CM5FSNH3.js} +6 -6
  12. package/dist/bundle/{chunk-XSUU7PB7.js → chunk-23POG3B3.js} +16 -3
  13. package/dist/bundle/{chunk-WALQNDXO.js → chunk-2ILCSLXY.js} +8 -8
  14. package/dist/bundle/{chunk-53BHLQRA.js → chunk-2SVDLRLQ.js} +13 -13
  15. package/dist/bundle/{chunk-7WS4ONXZ.js → chunk-32BIODCI.js} +3 -3
  16. package/dist/bundle/{chunk-BFWERPF6.js → chunk-4BQDHDZA.js} +2 -2
  17. package/dist/bundle/{chunk-LHKVAZ5T.js → chunk-4E4IGABE.js} +2 -2
  18. package/dist/bundle/{chunk-MG4U6AKG.js → chunk-4LEB7SUS.js} +3 -4
  19. package/dist/bundle/{chunk-BDFNXTNK.js → chunk-52GTOWNB.js} +7 -7
  20. package/dist/bundle/{chunk-UZYL4AMA.js → chunk-55CDR7VJ.js} +72 -57
  21. package/dist/bundle/{chunk-P76XVKVC.js → chunk-5R255HLF.js} +1 -1
  22. package/dist/bundle/{chunk-2JB5XD5R.js → chunk-5WZBGDPL.js} +7 -7
  23. package/dist/bundle/{chunk-NQNFMKL2.js → chunk-5ZNVTVDU.js} +1 -1
  24. package/dist/bundle/{chunk-2PSAS4TT.js → chunk-6WVUBU7T.js} +7 -7
  25. package/dist/bundle/{chunk-SYBAMYFY.js → chunk-7XSJ6LTE.js} +3 -3
  26. package/dist/bundle/{chunk-JWRI6ZY6.js → chunk-A3Y5GPG3.js} +203 -162
  27. package/dist/bundle/{chunk-CKG7GIHR.js → chunk-AJT4BERP.js} +3 -3
  28. package/dist/bundle/{chunk-7626I3P4.js → chunk-AV7762PN.js} +1 -1
  29. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-BFESDJPU.js} +1 -1
  30. package/dist/bundle/{chunk-GT3HXSKW.js → chunk-C4DJ4OTP.js} +14 -7
  31. package/dist/bundle/{chunk-T6DV3ED2.js → chunk-CSKKZTWI.js} +14 -14
  32. package/dist/bundle/{chunk-V4JWUVNO.js → chunk-CYAWDFBI.js} +4 -4
  33. package/dist/bundle/{chunk-JFFCP52L.js → chunk-CYF6ECG7.js} +1 -1
  34. package/dist/bundle/{chunk-3LMW7U7F.js → chunk-DDFQEOLX.js} +21 -8
  35. package/dist/bundle/{chunk-AXGSAG53.js → chunk-DJCGJRAD.js} +25 -174
  36. package/dist/bundle/{chunk-NWDO4DE3.js → chunk-EAWMBNAO.js} +1740 -802
  37. package/dist/bundle/{chunk-VQSVE4RD.js → chunk-EGZ6N56Z.js} +2 -2
  38. package/dist/bundle/{chunk-LIIOT3AN.js → chunk-EO3X3QWY.js} +3 -3
  39. package/dist/bundle/{chunk-Z3HZD24R.js → chunk-FNIYIYDK.js} +17 -17
  40. package/dist/bundle/{chunk-MI6IH5UW.js → chunk-HTQ5HUXV.js} +61 -61
  41. package/dist/bundle/{chunk-7QH5BZUG.js → chunk-INCLKCAJ.js} +3 -3
  42. package/dist/bundle/{chunk-NQJ7QMEF.js → chunk-ISNUT525.js} +3 -3
  43. package/dist/bundle/{chunk-LG6Y4NAT.js → chunk-JAUTKJYJ.js} +2 -2
  44. package/dist/bundle/{chunk-2TLGP7BS.js → chunk-JLFXUXSQ.js} +5 -5
  45. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-K34B37AP.js} +1 -1
  46. package/dist/bundle/{chunk-L7BMGR5W.js → chunk-KK3IESFZ.js} +162 -36
  47. package/dist/bundle/{chunk-FRCORPOY.js → chunk-KYAJ5AVG.js} +5 -5
  48. package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-LJLUYRPY.js} +4 -4
  49. package/dist/bundle/{chunk-MHMHZ6GY.js → chunk-LTGWE5L6.js} +1 -1
  50. package/dist/bundle/{chunk-RKKY3MSZ.js → chunk-MOUF6JHB.js} +1 -1
  51. package/dist/bundle/{chunk-SEDD6YZQ.js → chunk-MSASR6MQ.js} +4 -4
  52. package/dist/bundle/{chunk-O4SX6FXT.js → chunk-MWFJX3K6.js} +1 -1
  53. package/dist/bundle/{chunk-XQIRF6PS.js → chunk-N64IK3XS.js} +7 -7
  54. package/dist/bundle/{chunk-HMYJLOXE.js → chunk-NIV4S25C.js} +2546 -855
  55. package/dist/bundle/{chunk-APNSAKSO.js → chunk-NMKAEONQ.js} +6 -6
  56. package/dist/bundle/{chunk-OHCYBSCA.js → chunk-OKK2CBVW.js} +13 -13
  57. package/dist/bundle/{chunk-AMRELFBT.js → chunk-PO6DVZUY.js} +2 -2
  58. package/dist/bundle/{chunk-FPMWW2HK.js → chunk-PTTSHIYR.js} +32 -27
  59. package/dist/bundle/{chunk-UTTNGFKW.js → chunk-RGFBK5DJ.js} +12 -12
  60. package/dist/bundle/{chunk-YBJBYPS7.js → chunk-RMOSNURU.js} +3 -3
  61. package/dist/bundle/{chunk-3BM6KBWP.js → chunk-SCBLAAZU.js} +19 -19
  62. package/dist/bundle/{chunk-OC35ZLPE.js → chunk-SQMN3CME.js} +4 -4
  63. package/dist/bundle/{chunk-HM6AMYHR.js → chunk-TSHMRHL6.js} +2 -2
  64. package/dist/bundle/{chunk-QSUFJGTG.js → chunk-TSL3PZAZ.js} +2 -2
  65. package/dist/bundle/{chunk-3JRLPNPO.js → chunk-TU4U3YEM.js} +1 -1
  66. package/dist/bundle/{chunk-ZI3IRII7.js → chunk-U3Y2AC2K.js} +3 -3
  67. package/dist/bundle/{chunk-6HYTDMOL.js → chunk-UMJ7OKJD.js} +6 -6
  68. package/dist/bundle/{chunk-WHDVRMB7.js → chunk-UZW73WTM.js} +67 -46
  69. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-VHPNTMJJ.js} +1 -1
  70. package/dist/bundle/{chunk-TUOFAUBR.js → chunk-WF7TKMZ7.js} +8 -8
  71. package/dist/bundle/{chunk-DKSO7UTS.js → chunk-WHA23FJC.js} +152 -14
  72. package/dist/bundle/{chunk-Q2U6DGSV.js → chunk-WPOOZGQ7.js} +10 -10
  73. package/dist/bundle/{chunk-CZP6C6MX.js → chunk-X3PQFXYL.js} +4 -4
  74. package/dist/bundle/{chunk-62FENOMX.js → chunk-XSHMRXOW.js} +6 -6
  75. package/dist/bundle/{chunk-B7U5FLPP.js → chunk-Y4AOEDGO.js} +8 -8
  76. package/dist/bundle/{chunk-4F3FQ5QX.js → chunk-YBCGG6JY.js} +3 -3
  77. package/dist/bundle/{chunk-6ZBJCBXA.js → chunk-YC3F3RCL.js} +2 -2
  78. package/dist/bundle/{chunk-MW2OS2GD.js → chunk-YFAATLLR.js} +8 -8
  79. package/dist/bundle/{chunk-AHPGTDO2.js → chunk-YGPZCVBI.js} +6 -6
  80. package/dist/bundle/{chunk-PRERT2BZ.js → chunk-YJKP6UZC.js} +1 -1
  81. package/dist/bundle/{chunk-JSAXTIRX.js → chunk-YN5K2P7M.js} +3 -2
  82. package/dist/bundle/{chunk-2CS7VHUB.js → chunk-ZGFRTWSW.js} +34 -34
  83. package/dist/bundle/{chunk-EMZ4MGPD.js → chunk-ZOVX5VVZ.js} +22 -1
  84. package/dist/bundle/command-contract-JZGX4E3W.js +37 -0
  85. package/dist/bundle/{command-server-entry-ZKWL26Q5.js → command-server-entry-FOFPJGYW.js} +25 -25
  86. package/dist/bundle/{decode-TG45PUJW.js → decode-2W6JJN3B.js} +5 -5
  87. package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-ZRVKJENQ.js} +8 -8
  88. package/dist/bundle/{echarts-AWICNZBO.js → echarts-R4BLGOSP.js} +2 -2
  89. package/dist/bundle/{embed-TN6HQUK2.js → embed-DIFO7RH4.js} +6 -6
  90. package/dist/bundle/{embedder-T3KJA3I4.js → embedder-S5FKW4XZ.js} +9 -9
  91. package/dist/bundle/{failure-I6AAF5R5.js → failure-C2B7PYPJ.js} +2 -2
  92. package/dist/bundle/{first-run-BZUITKMF.js → first-run-RNGP4IWU.js} +12 -12
  93. package/dist/bundle/first-screen-K6YMX3G5.js +37 -0
  94. package/dist/bundle/{instructions-FRJHLLZX.js → instructions-F22KNH4O.js} +1 -1
  95. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-VNOYBWW2.js} +2 -2
  96. package/dist/bundle/meeting-combined-HX3LC5FD.js +24 -0
  97. package/dist/bundle/{meeting-model-TENJU3OG.js → meeting-model-P34GVZRK.js} +11 -11
  98. package/dist/bundle/{meeting-semantic-ZKOG2XMU.js → meeting-semantic-RC25X3UB.js} +6 -6
  99. package/dist/bundle/{node-3ZISJOEM.js → node-SF2NI2UT.js} +2 -2
  100. package/dist/bundle/{node-sqlite-KA35X4F4.js → node-sqlite-WH3MF6PF.js} +7 -7
  101. package/dist/bundle/{oauth-C74B6XHN.js → oauth-EWHT3YJ4.js} +7 -7
  102. package/dist/bundle/{open-CJESRWUG.js → open-LHEJSQCI.js} +5 -5
  103. package/dist/bundle/{openai-WLXOXSTV.js → openai-DDXBF7KV.js} +15 -15
  104. package/dist/bundle/{process-JV3KVGJY.js → process-TEQQZ3C5.js} +1 -1
  105. package/dist/bundle/{program-HSVLSH7A.js → program-IW3E56C2.js} +4349 -4232
  106. package/dist/bundle/{prompt-EEBVB3XG.js → prompt-6OEYPNAI.js} +5 -5
  107. package/dist/bundle/{recognize-ZFITQZ4W.js → recognize-5CRXQMAQ.js} +4 -4
  108. package/dist/bundle/{remote-RZXSYHOJ.js → remote-UZUYKGYQ.js} +9 -9
  109. package/dist/bundle/{rerank-2BHYAEO3.js → rerank-IQ6GPSJ6.js} +7 -7
  110. package/dist/bundle/{schemas-6GTYA2NR.js → schemas-7JX36UC7.js} +1 -1
  111. package/dist/bundle/{serve-G3M5H5JM.js → serve-63YMTENV.js} +9 -9
  112. package/dist/bundle/server-LKXXSTXK.js +79 -0
  113. package/dist/bundle/{server-44WJ5K2W.js → server-WQUM4JX4.js} +53 -53
  114. package/dist/bundle/{sqlite-runtime-TRISCWIG.js → sqlite-runtime-UO32UZHC.js} +6 -6
  115. package/dist/bundle/{state-BF6IMDP2.js → state-XSRJFYSU.js} +6 -6
  116. package/dist/bundle/{store-VSKYLTLH.js → store-A2J7I2NU.js} +18 -18
  117. package/dist/bundle/{store-LZPZC72J.js → store-QB5FEGT4.js} +24 -20
  118. package/dist/bundle/store-maintenance-command-TOLBEUMR.js +66 -0
  119. package/dist/bundle/surface-NURI2TAG.js +65 -0
  120. package/dist/commands/crm.d.ts +3 -0
  121. package/dist/commands/crm.d.ts.map +1 -1
  122. package/dist/commands/crm.js +33 -8
  123. package/dist/commands/crm.js.map +1 -1
  124. package/dist/commands/schedule.d.ts +3 -0
  125. package/dist/commands/schedule.d.ts.map +1 -0
  126. package/dist/commands/schedule.js +9 -0
  127. package/dist/commands/schedule.js.map +1 -0
  128. package/dist/commands/session.d.ts +2 -1
  129. package/dist/commands/session.d.ts.map +1 -1
  130. package/dist/commands/session.js +5 -1
  131. package/dist/commands/session.js.map +1 -1
  132. package/dist/config.d.ts +0 -1
  133. package/dist/config.d.ts.map +1 -1
  134. package/dist/config.js +22 -5
  135. package/dist/config.js.map +1 -1
  136. package/dist/generated/wirecat-config.d.ts.map +1 -1
  137. package/dist/generated/wirecat-config.js +175 -0
  138. package/dist/generated/wirecat-config.js.map +1 -1
  139. package/dist/hooks.d.ts.map +1 -1
  140. package/dist/hooks.js +20 -2
  141. package/dist/hooks.js.map +1 -1
  142. package/dist/identity.d.ts.map +1 -1
  143. package/dist/identity.js +4 -2
  144. package/dist/identity.js.map +1 -1
  145. package/dist/program.d.ts.map +1 -1
  146. package/dist/program.js +11 -1
  147. package/dist/program.js.map +1 -1
  148. package/dist/version.d.ts +1 -1
  149. package/dist/version.js +1 -1
  150. package/package.json +5 -4
  151. package/skills/attio-cli/SKILL.md +18 -3
  152. package/dist/bundle/agent-3FYEIRN4.js +0 -37
  153. package/dist/bundle/command-contract-N5X3UOTT.js +0 -37
  154. package/dist/bundle/first-screen-I23NJLFH.js +0 -37
  155. package/dist/bundle/meeting-combined-7ZNV4MZ2.js +0 -24
  156. package/dist/bundle/server-3ZL5TECF.js +0 -79
  157. package/dist/bundle/store-maintenance-command-IDAYDJLQ.js +0 -66
  158. package/dist/bundle/surface-OHYA3YS6.js +0 -65
@@ -9,20 +9,20 @@ import {
9
9
  providerErrorKey,
10
10
  renderEvent,
11
11
  runContextOf
12
- } from "./chunk-2JB5XD5R.js";
12
+ } from "./chunk-5WZBGDPL.js";
13
13
  import {
14
14
  permissionCeiling
15
- } from "./chunk-4F3FQ5QX.js";
15
+ } from "./chunk-YBCGG6JY.js";
16
16
  import {
17
17
  DEFAULT_RERANK_MODEL,
18
18
  RERANK_MODELS
19
- } from "./chunk-FRCORPOY.js";
19
+ } from "./chunk-KYAJ5AVG.js";
20
20
  import {
21
21
  carries
22
- } from "./chunk-P76XVKVC.js";
22
+ } from "./chunk-5R255HLF.js";
23
23
  import {
24
24
  note
25
- } from "./chunk-7WS4ONXZ.js";
25
+ } from "./chunk-32BIODCI.js";
26
26
  import {
27
27
  BUSINESS_KINDS,
28
28
  CATEGORIES,
@@ -80,14 +80,14 @@ import {
80
80
  typedCommand,
81
81
  untrusted,
82
82
  useAsProcessRun
83
- } from "./chunk-WHDVRMB7.js";
83
+ } from "./chunk-UZW73WTM.js";
84
84
  import {
85
85
  isCliFailure,
86
86
  storeDamaged
87
- } from "./chunk-LIIOT3AN.js";
87
+ } from "./chunk-EO3X3QWY.js";
88
88
  import {
89
89
  TAG_TYPES
90
- } from "./chunk-QSUFJGTG.js";
90
+ } from "./chunk-TSL3PZAZ.js";
91
91
  import {
92
92
  FACT_TYPES,
93
93
  FIELD_TYPES,
@@ -115,21 +115,21 @@ import {
115
115
  parseLucene,
116
116
  readsZone,
117
117
  timezoneOf
118
- } from "./chunk-MI6IH5UW.js";
118
+ } from "./chunk-HTQ5HUXV.js";
119
119
  import {
120
120
  endpoint
121
- } from "./chunk-XQIRF6PS.js";
121
+ } from "./chunk-N64IK3XS.js";
122
122
  import {
123
123
  repairConfigText,
124
124
  sharedConfigPath
125
- } from "./chunk-2PSAS4TT.js";
125
+ } from "./chunk-6WVUBU7T.js";
126
126
  import {
127
127
  filesPresent,
128
128
  sharedModelsDirectory
129
- } from "./chunk-SEDD6YZQ.js";
129
+ } from "./chunk-MSASR6MQ.js";
130
130
  import {
131
131
  storePath
132
- } from "./chunk-VQSVE4RD.js";
132
+ } from "./chunk-EGZ6N56Z.js";
133
133
  import {
134
134
  configFilePath,
135
135
  createRecordLog,
@@ -141,7 +141,7 @@ import {
141
141
  resolvePaths,
142
142
  saveConfigFile,
143
143
  writeSecurely
144
- } from "./chunk-3BM6KBWP.js";
144
+ } from "./chunk-SCBLAAZU.js";
145
145
  import {
146
146
  COMPACT_FLAG,
147
147
  MAX_NEXT_STEPS,
@@ -158,7 +158,7 @@ import {
158
158
  reference,
159
159
  stepOf,
160
160
  writes
161
- } from "./chunk-3LMW7U7F.js";
161
+ } from "./chunk-DDFQEOLX.js";
162
162
  import {
163
163
  array,
164
164
  boolean,
@@ -201,12 +201,12 @@ import {
201
201
  isCliError,
202
202
  singleLine,
203
203
  visibleControls
204
- } from "./chunk-HM6AMYHR.js";
204
+ } from "./chunk-TSHMRHL6.js";
205
205
  import {
206
206
  __name
207
207
  } from "./chunk-ZVVMGPBJ.js";
208
208
 
209
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/ports/app.js
209
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/ports/app.js
210
210
  import { readFileSync } from "node:fs";
211
211
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
212
212
  var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
@@ -260,7 +260,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
260
260
  var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
261
261
  var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
262
262
 
263
- // 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
263
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.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
264
264
  var labels = /* @__PURE__ */ new WeakMap();
265
265
  var annotate = /* @__PURE__ */ __name((command, meta) => {
266
266
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3761,7 +3761,7 @@ __name(useColor, "useColor");
3761
3761
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3762
3762
  var program = new Command();
3763
3763
 
3764
- // 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
3764
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.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
3765
3765
  var argumentInfoSchema = object({
3766
3766
  name: string(),
3767
3767
  required: boolean(),
@@ -3835,7 +3835,7 @@ var commandsDocumentSchema = strictObject({
3835
3835
  exit_codes: record(string(), pipe(number(), integer()))
3836
3836
  });
3837
3837
 
3838
- // 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
3838
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.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
3839
3839
  import { isDeepStrictEqual } from "node:util";
3840
3840
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3841
3841
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3945,7 +3945,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
3945
3945
  return result;
3946
3946
  }, "sharedCommand");
3947
3947
 
3948
- // 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
3948
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.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
3949
3949
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3950
3950
  let command = root;
3951
3951
  const path2 = [];
@@ -3963,7 +3963,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3963
3963
  }
3964
3964
  }, "refuseJoinedPath");
3965
3965
 
3966
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/sends/permissions.js
3966
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/sends/permissions.js
3967
3967
  var LEVELS = ["deny", "readonly", "ask", "allow"];
3968
3968
  var DANGEROUS = /* @__PURE__ */ new Set([
3969
3969
  "messages.delete",
@@ -4399,7 +4399,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
4399
4399
  }
4400
4400
  }, "assertRetentionEvidenceRead");
4401
4401
 
4402
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
4402
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
4403
4403
  import { AsyncLocalStorage } from "node:async_hooks";
4404
4404
  var requests = new AsyncLocalStorage();
4405
4405
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -4414,7 +4414,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
4414
4414
  return direct;
4415
4415
  }, "exitCodeSet");
4416
4416
 
4417
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/sends/guarded.js
4417
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/sends/guarded.js
4418
4418
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
4419
4419
  var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
4420
4420
  messageId: message2.id,
@@ -4520,7 +4520,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
4520
4520
  }, "guardedWrite");
4521
4521
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
4522
4522
 
4523
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
4523
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
4524
4524
  var named = /* @__PURE__ */ __name((work) => {
4525
4525
  try {
4526
4526
  return work();
@@ -4547,7 +4547,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
4547
4547
  return projectFields(value, fields);
4548
4548
  }), "projectFields");
4549
4549
 
4550
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/execution.js
4550
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/execution.js
4551
4551
  var DEFAULT_COMMAND_MS = 3e4;
4552
4552
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
4553
4553
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4730,7 +4730,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4730
4730
  }
4731
4731
  }, "withAbort");
4732
4732
 
4733
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4733
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4734
4734
  import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
4735
4735
  import { join } from "node:path";
4736
4736
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4752,7 +4752,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4752
4752
  }, "profilesWithAccounts");
4753
4753
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4754
4754
 
4755
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/background/budget.js
4755
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/background/budget.js
4756
4756
  var DEADLINE_MARGIN_MS = 5e3;
4757
4757
  var DEADLINE_MARGIN_SHARE = 0.15;
4758
4758
  var DEFAULT_REQUEST_MS = 2e3;
@@ -4809,7 +4809,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
4809
4809
  };
4810
4810
  }, "runBudget");
4811
4811
 
4812
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/output-detail.js
4812
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/output-detail.js
4813
4813
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
4814
4814
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
4815
4815
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -4845,7 +4845,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
4845
4845
  return value;
4846
4846
  }, "atDetail");
4847
4847
 
4848
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/output.js
4848
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/output.js
4849
4849
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
4850
4850
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
4851
4851
  if (other)
@@ -4909,7 +4909,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
4909
4909
  }, "warn")
4910
4910
  }), "silence");
4911
4911
 
4912
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4912
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4913
4913
  var CORE_LOG_EVENTS = defineLogEvents([
4914
4914
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
4915
4915
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -4947,7 +4947,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
4947
4947
  progress: "sync.progress"
4948
4948
  };
4949
4949
 
4950
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/runs/recording.js
4950
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/runs/recording.js
4951
4951
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
4952
4952
  const recording = startRecording(options);
4953
4953
  try {
@@ -5162,7 +5162,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
5162
5162
  return void 0;
5163
5163
  }, "partialOutcome");
5164
5164
 
5165
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/deadline.js
5165
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/deadline.js
5166
5166
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
5167
5167
  if (ms2 === void 0)
5168
5168
  return body();
@@ -5188,7 +5188,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
5188
5188
  }
5189
5189
  }, "withDeadline");
5190
5190
 
5191
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/profile.js
5191
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/profile.js
5192
5192
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
5193
5193
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
5194
5194
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -5257,10 +5257,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
5257
5257
  return void 0;
5258
5258
  }, "sampleCommand");
5259
5259
 
5260
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/settings.js
5260
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/settings.js
5261
5261
  import { existsSync as existsSync4 } from "node:fs";
5262
5262
 
5263
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/models/settings.js
5263
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/models/settings.js
5264
5264
  var MODEL_FIELDS = ["provider", "model", "base_url"];
5265
5265
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
5266
5266
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -5329,7 +5329,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
5329
5329
  };
5330
5330
  }, "modelTarget");
5331
5331
 
5332
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5332
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5333
5333
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
5334
5334
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
5335
5335
  var AI_FIELDS = {
@@ -5373,7 +5373,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
5373
5373
  };
5374
5374
  }, "resolveAISettings");
5375
5375
 
5376
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/domain/duration.js
5376
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/domain/duration.js
5377
5377
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
5378
5378
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
5379
5379
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -5387,7 +5387,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
5387
5387
  return ms2;
5388
5388
  }, "parseDuration");
5389
5389
 
5390
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5390
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5391
5391
  var HISTORY_MAX_DAYS = 1095;
5392
5392
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
5393
5393
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -5434,7 +5434,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
5434
5434
  return { batch: { ...batch, messages }, skipped };
5435
5435
  }, "limitBatch");
5436
5436
 
5437
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
5437
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
5438
5438
  import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
5439
5439
  import { join as join2 } from "node:path";
5440
5440
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -5523,7 +5523,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
5523
5523
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
5524
5524
  }, "registryProfiles");
5525
5525
 
5526
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5526
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5527
5527
  import { readFileSync as readFileSync4 } from "node:fs";
5528
5528
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5529
5529
  var SECTIONS = ["personal", "bot"];
@@ -5726,7 +5726,10 @@ var scopes = /* @__PURE__ */ __name((raw) => {
5726
5726
  return out;
5727
5727
  }, "scopes");
5728
5728
  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");
5729
- 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");
5729
+ 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) => {
5730
+ const now = renamed.get(name);
5731
+ return now === void 0 ? `${key} names no command` : `${key} names no command: its command moved, so rename it to permissions.${now}`;
5732
+ })), "permissionIssues");
5730
5733
  var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
5731
5734
  var prune = /* @__PURE__ */ __name((raw, paths) => {
5732
5735
  const drop = new Set(paths.map(pathId));
@@ -5818,7 +5821,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
5818
5821
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
5819
5822
  }, "readConfigFile");
5820
5823
 
5821
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5824
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5822
5825
  import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
5823
5826
  import { dirname, join as join3 } from "node:path";
5824
5827
  var DEFAULT_CONFIG = {
@@ -5847,7 +5850,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
5847
5850
  }
5848
5851
  __name(ensureDefaultConfig, "ensureDefaultConfig");
5849
5852
 
5850
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5853
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5851
5854
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5852
5855
  var parentOf = /* @__PURE__ */ __name((config, key) => {
5853
5856
  const path2 = key.split(".");
@@ -5869,7 +5872,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
5869
5872
  return { config, added };
5870
5873
  }, "withSettingDefaults");
5871
5874
 
5872
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/settings.js
5875
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/settings.js
5873
5876
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
5874
5877
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
5875
5878
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -6397,7 +6400,7 @@ var given = /* @__PURE__ */ __name((value) => {
6397
6400
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
6398
6401
  }, "given");
6399
6402
 
6400
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/context.js
6403
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/context.js
6401
6404
  var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
6402
6405
  const { deadline, signal, app } = environmentOf(command);
6403
6406
  const now = deadline?.();
@@ -6551,7 +6554,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
6551
6554
  return words.join(" ");
6552
6555
  }, "commandPath");
6553
6556
 
6554
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/effects.js
6557
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/effects.js
6555
6558
  var REMOTE_READ = { remote: "read", local: "read" };
6556
6559
  var FETCH = { remote: "read", local: "write" };
6557
6560
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -6587,7 +6590,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
6587
6590
  KEPT_UNDER_LOCK.add(command);
6588
6591
  return command;
6589
6592
  }, "destroysNothing");
6590
- var PROPOSE_COMMANDS = ["messages acknowledge", "mail findings add"];
6593
+ var PROPOSE_COMMANDS = [
6594
+ "messages acknowledge",
6595
+ "mail findings add",
6596
+ "projects actions add",
6597
+ "meetings actions add"
6598
+ ];
6591
6599
  var PROPOSES = /* @__PURE__ */ new WeakSet();
6592
6600
  var isProposal = /* @__PURE__ */ __name((command) => {
6593
6601
  if (!PROPOSES.has(command))
@@ -6683,7 +6691,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6683
6691
  throw readOnlyRefusal(lock, what);
6684
6692
  }, "refuseUnderReadOnly");
6685
6693
 
6686
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/account.js
6694
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/account.js
6687
6695
  var account = strictObject({
6688
6696
  provider: text,
6689
6697
  id,
@@ -6693,7 +6701,7 @@ var account = strictObject({
6693
6701
  scope: optional(picklist(["personal", "work"]))
6694
6702
  });
6695
6703
 
6696
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6704
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6697
6705
  var accountSession = strictObject({
6698
6706
  current: boolean(),
6699
6707
  client: nullable(text),
@@ -6703,7 +6711,7 @@ var accountSession = strictObject({
6703
6711
  created_at: optional(nullable(time))
6704
6712
  });
6705
6713
 
6706
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6714
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6707
6715
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
6708
6716
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
6709
6717
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -6732,7 +6740,7 @@ var accountRemoval = strictObject({
6732
6740
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
6733
6741
  });
6734
6742
 
6735
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6743
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6736
6744
  var accountProfile = strictObject({
6737
6745
  profile: id,
6738
6746
  current: boolean(),
@@ -6744,7 +6752,7 @@ var accountProfile = strictObject({
6744
6752
  bot: optional(literal(true))
6745
6753
  });
6746
6754
 
6747
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6755
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6748
6756
  var milliseconds = pipe(number(), minValue(0));
6749
6757
  var counterReading = strictObject({
6750
6758
  counter: picklist(["views", "reactions", "comments"]),
@@ -6756,7 +6764,7 @@ var counterReading = strictObject({
6756
6764
  });
6757
6765
  var selection = record(string(), unknown());
6758
6766
 
6759
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6767
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6760
6768
  var adminRow = strictObject({
6761
6769
  ref: reference,
6762
6770
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -6809,7 +6817,7 @@ var adminReport = strictObject({
6809
6817
  rows: array(adminRow)
6810
6818
  });
6811
6819
 
6812
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/task.js
6820
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/task.js
6813
6821
  var closeSuggestion = strictObject({
6814
6822
  as: picklist(["done", "dismissed"]),
6815
6823
  /** The agent's name. */
@@ -6871,7 +6879,7 @@ var task = strictObject({
6871
6879
  updated_at: optional(time)
6872
6880
  });
6873
6881
 
6874
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6882
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6875
6883
  var agendaChat = strictObject({
6876
6884
  chat: reference,
6877
6885
  title: nullable(text),
@@ -6941,11 +6949,11 @@ var agenda = strictObject({
6941
6949
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
6942
6950
  });
6943
6951
 
6944
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6952
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6945
6953
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6946
6954
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6947
6955
 
6948
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6956
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6949
6957
  var attachment = strictObject({
6950
6958
  /** The message it came with, as a locator; absent inside that message. */
6951
6959
  message: optional(reference),
@@ -6990,7 +6998,7 @@ var hitFile = strictObject({
6990
6998
  local_path: optional(text)
6991
6999
  });
6992
7000
 
6993
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
7001
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6994
7002
  var actionableError = objectWithRest({
6995
7003
  code: text,
6996
7004
  message: text,
@@ -7007,7 +7015,7 @@ var batchResult = strictObject({
7007
7015
  max_error_percent: count
7008
7016
  });
7009
7017
 
7010
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
7018
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
7011
7019
  var extractionItem = strictObject({
7012
7020
  ref: reference,
7013
7021
  attachment: count,
@@ -7040,7 +7048,7 @@ var extractionReport = strictObject({
7040
7048
  cursor: optional(text)
7041
7049
  });
7042
7050
 
7043
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
7051
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
7044
7052
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
7045
7053
  var attachmentBytes = strictObject({
7046
7054
  ref: reference,
@@ -7071,7 +7079,7 @@ var attachmentTextChange = strictObject({
7071
7079
  text: optional(text)
7072
7080
  });
7073
7081
 
7074
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
7082
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
7075
7083
  var WEIGHTS = {
7076
7084
  bot: 3,
7077
7085
  scam: 3,
@@ -7096,7 +7104,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
7096
7104
  var DIGITS = /\d{5,}/;
7097
7105
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
7098
7106
 
7099
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
7107
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
7100
7108
  var linkedIdentity = strictObject({
7101
7109
  provider: text,
7102
7110
  id,
@@ -7151,7 +7159,7 @@ var contactCheck = strictObject({
7151
7159
  checked_at: time
7152
7160
  });
7153
7161
 
7154
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/member.js
7162
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/member.js
7155
7163
  var member = strictObject({
7156
7164
  id,
7157
7165
  name: nullable(text),
@@ -7174,7 +7182,7 @@ var member = strictObject({
7174
7182
  check: optional(record(string(), unknown()))
7175
7183
  });
7176
7184
 
7177
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/chat.js
7185
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/chat.js
7178
7186
  var setting = optional(nullable(boolean()));
7179
7187
  var chat = strictObject({
7180
7188
  ref: reference,
@@ -7215,7 +7223,7 @@ var chat = strictObject({
7215
7223
  members: optional(array(member))
7216
7224
  });
7217
7225
 
7218
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/message.js
7226
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/message.js
7219
7227
  var quoted = strictObject({
7220
7228
  id,
7221
7229
  sender_id: nullable(id),
@@ -7329,12 +7337,14 @@ var message = strictObject({
7329
7337
  /** Mail `review`: no earlier stored email, in any account, came from this address. */
7330
7338
  new_sender: optional(boolean()),
7331
7339
  /** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
7332
- sender_identities: optional(number())
7340
+ sender_identities: optional(number()),
7341
+ /** Mail `review`: how `inbox` sorted the thread, by the AI model; the reason is untrusted. */
7342
+ inbox: optional(strictObject({ bucket: picklist(["answer", "read", "later"]), reason: text }))
7333
7343
  })),
7334
7344
  provider_metadata: providerMetadata
7335
7345
  });
7336
7346
 
7337
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
7347
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
7338
7348
  var recordedMeeting = strictObject({
7339
7349
  ref: reference,
7340
7350
  meeting_id: count,
@@ -7351,7 +7361,7 @@ var recordedMeeting = strictObject({
7351
7361
  call: optional(meetingCall)
7352
7362
  });
7353
7363
 
7354
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7364
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7355
7365
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
7356
7366
  var contextMessage = strictObject({
7357
7367
  locator: reference,
@@ -7557,7 +7567,7 @@ var contactPreparation = strictObject({
7557
7567
  })
7558
7568
  });
7559
7569
 
7560
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/deal.js
7570
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/deal.js
7561
7571
  var nullableText = nullable(text);
7562
7572
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
7563
7573
  var outcome = picklist(["open", "won", "lost"]);
@@ -7713,7 +7723,7 @@ var stage = strictObject({
7713
7723
  untrusted
7714
7724
  });
7715
7725
 
7716
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7726
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7717
7727
  var nullableText2 = nullable(text);
7718
7728
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
7719
7729
  var standing = picklist(STANDINGS);
@@ -7892,7 +7902,7 @@ var dealBrief = strictObject({
7892
7902
  not_read: coverage2.entries.not_read
7893
7903
  });
7894
7904
 
7895
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/chart.js
7905
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/chart.js
7896
7906
  var chart = strictObject({
7897
7907
  version: literal(1),
7898
7908
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -7907,7 +7917,7 @@ var chart = strictObject({
7907
7917
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
7908
7918
  });
7909
7919
 
7910
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/folder.js
7920
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/folder.js
7911
7921
  var named2 = strictObject({
7912
7922
  id,
7913
7923
  title: nullable(text),
@@ -7930,7 +7940,7 @@ var folder = strictObject({
7930
7940
  excluded_chats: optional(array(named2))
7931
7941
  });
7932
7942
 
7933
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7943
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7934
7944
  var inviteLink = strictObject({
7935
7945
  link: text,
7936
7946
  /** Who joins by it asks first, and an admin lets them in. */
@@ -7946,7 +7956,7 @@ var inviteLink = strictObject({
7946
7956
  joined_count: optional(count)
7947
7957
  });
7948
7958
 
7949
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7959
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7950
7960
  var operated = { operation_id: id, chat_id: id };
7951
7961
  var group = strictObject({
7952
7962
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -8026,7 +8036,7 @@ var chatFolderOrder = strictObject({
8026
8036
  folders: array(strictObject({ id, title: text }))
8027
8037
  });
8028
8038
 
8029
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
8039
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
8030
8040
  var operated2 = { operation_id: id, chat_id: id };
8031
8041
  var chatRemoval = strictObject(operated2);
8032
8042
  var chatMuting = strictObject({
@@ -8037,7 +8047,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
8037
8047
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
8038
8048
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
8039
8049
 
8040
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
8050
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
8041
8051
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
8042
8052
  var chatEvent = strictObject({
8043
8053
  chat_id: id,
@@ -8054,7 +8064,7 @@ var chatEvent = strictObject({
8054
8064
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
8055
8065
  });
8056
8066
 
8057
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
8067
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
8058
8068
  var chatMetadata = strictObject({
8059
8069
  chat_id: id,
8060
8070
  title: nullable(text),
@@ -8069,7 +8079,7 @@ var chatMetadataRefresh = strictObject({
8069
8079
  has_more: boolean()
8070
8080
  });
8071
8081
 
8072
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
8082
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
8073
8083
  var action = picklist(["report", "delete", "remove"]);
8074
8084
  var level = picklist(["deny", "readonly", "ask", "allow"]);
8075
8085
  var chatRules = strictObject({
@@ -8106,7 +8116,7 @@ var chatModeration = strictObject({
8106
8116
  }))
8107
8117
  });
8108
8118
 
8109
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
8119
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
8110
8120
  var chatSending = strictObject({
8111
8121
  mode: picklist(["allowed", "ask", "denied"]),
8112
8122
  meaning: text,
@@ -8116,7 +8126,7 @@ var chatSending = strictObject({
8116
8126
  changed: optional(boolean())
8117
8127
  });
8118
8128
 
8119
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
8129
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
8120
8130
  var optionalCount = optional(count);
8121
8131
  var minutes = nullable(number());
8122
8132
  var chatStats = strictObject({
@@ -8192,7 +8202,7 @@ var taskStats = strictObject({
8192
8202
  }))
8193
8203
  });
8194
8204
 
8195
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
8205
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
8196
8206
  var memberCount = strictObject({
8197
8207
  day: pipe(text, isoDate()),
8198
8208
  participants: nullable(count),
@@ -8215,7 +8225,7 @@ var chatTracking = strictObject({
8215
8225
  tracked: boolean()
8216
8226
  });
8217
8227
 
8218
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
8228
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
8219
8229
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
8220
8230
  var contactSync = strictObject({ added: count, changed: count, known: count });
8221
8231
  var profileFields = {
@@ -8253,7 +8263,7 @@ var profileFields = {
8253
8263
  }))
8254
8264
  };
8255
8265
 
8256
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/contact.js
8266
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/contact.js
8257
8267
  var contact = strictObject({
8258
8268
  ref: reference,
8259
8269
  id,
@@ -8284,7 +8294,7 @@ var contact = strictObject({
8284
8294
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
8285
8295
  });
8286
8296
 
8287
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8297
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8288
8298
  var contactNote = strictObject({
8289
8299
  id,
8290
8300
  /** The contact, as a `contact:` reference. */
@@ -8296,13 +8306,13 @@ var contactNote = strictObject({
8296
8306
  updated_at: time
8297
8307
  });
8298
8308
 
8299
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8309
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8300
8310
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
8301
8311
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
8302
8312
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
8303
8313
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
8304
8314
 
8305
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8315
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8306
8316
  var conversation = strictObject({
8307
8317
  id,
8308
8318
  chat: reference,
@@ -8317,7 +8327,7 @@ var conversation = strictObject({
8317
8327
  rules_version: count
8318
8328
  });
8319
8329
 
8320
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
8330
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
8321
8331
  var conversationBuild = strictObject({
8322
8332
  chat: id,
8323
8333
  messages: count,
@@ -8342,7 +8352,7 @@ var catchUpPreparation = strictObject({
8342
8352
  prepared: optional(conversationPreparation)
8343
8353
  });
8344
8354
 
8345
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8355
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8346
8356
  var conversationDetails = union([
8347
8357
  strictObject({ ...conversation.entries, messages: array(message) }),
8348
8358
  message
@@ -8429,10 +8439,15 @@ var conversationHit = strictObject({
8429
8439
  score: nullable(number()),
8430
8440
  matched_in: optional(literal("context")),
8431
8441
  by: array(picklist(["meaning", "words"])),
8432
- stale: boolean()
8442
+ stale: boolean(),
8443
+ /** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
8444
+ lines: optional(array(text)),
8445
+ /** In the block of the owner's own conversations, which the hits before it left out. */
8446
+ from_owner: optional(literal(true)),
8447
+ untrusted
8433
8448
  });
8434
8449
 
8435
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/counters.js
8450
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/counters.js
8436
8451
  var counters = strictObject({
8437
8452
  cutoff: time,
8438
8453
  max_age_ms: milliseconds,
@@ -8462,7 +8477,7 @@ var counterRefresh = strictObject({
8462
8477
  complete: optional(boolean())
8463
8478
  });
8464
8479
 
8465
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/document.js
8480
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/document.js
8466
8481
  var document = strictObject({
8467
8482
  ref: reference,
8468
8483
  id,
@@ -8477,7 +8492,7 @@ var document = strictObject({
8477
8492
  owners: optional(array(text))
8478
8493
  });
8479
8494
 
8480
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8495
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8481
8496
  var documentLink = strictObject({
8482
8497
  ref: reference,
8483
8498
  url: text,
@@ -8488,7 +8503,7 @@ var documentLink = strictObject({
8488
8503
  sender: strictObject({ id: nullable(id), name: nullable(text) })
8489
8504
  });
8490
8505
 
8491
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8506
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8492
8507
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
8493
8508
  var contribution = strictObject({
8494
8509
  message: evidenceMessage,
@@ -8518,7 +8533,7 @@ var retentionStay = strictObject({
8518
8533
  });
8519
8534
  var evidence = union([contribution, retentionStay]);
8520
8535
 
8521
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/fact.js
8536
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/fact.js
8522
8537
  var fact = strictObject({
8523
8538
  ref: reference,
8524
8539
  id,
@@ -8549,7 +8564,7 @@ var fact = strictObject({
8549
8564
  updated_at: time
8550
8565
  });
8551
8566
 
8552
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/hit.js
8567
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/hit.js
8553
8568
  var hit = strictObject({
8554
8569
  kind: picklist([
8555
8570
  "message",
@@ -8561,6 +8576,9 @@ var hit = strictObject({
8561
8576
  "deal",
8562
8577
  "lead",
8563
8578
  "crm_file",
8579
+ "issue",
8580
+ "project",
8581
+ "issue_comment",
8564
8582
  ...BUSINESS_KINDS
8565
8583
  ]),
8566
8584
  ref: reference,
@@ -8568,6 +8586,8 @@ var hit = strictObject({
8568
8586
  url: optional(text),
8569
8587
  /** The account it was found in; a note's folder id, or `internal` for a note written in memo. */
8570
8588
  account: text,
8589
+ /** A tracker hit that more than one sign-in holds: every account it was found in, `account` first. */
8590
+ accounts: optional(array(text)),
8571
8591
  /** The chat, the mail thread's subject, the note's, the event's or the meeting's title. */
8572
8592
  title: nullable(text),
8573
8593
  /** Null for a meeting whose start is unknown. */
@@ -8608,7 +8628,7 @@ var hit = strictObject({
8608
8628
  untrusted
8609
8629
  });
8610
8630
 
8611
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/identity.js
8631
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/identity.js
8612
8632
  var identity = strictObject({
8613
8633
  ref: reference,
8614
8634
  provider: text,
@@ -8624,7 +8644,7 @@ var identity = strictObject({
8624
8644
  person: optional(nullable(reference))
8625
8645
  });
8626
8646
 
8627
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8647
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8628
8648
  var imageEmbedding = strictObject({
8629
8649
  model: text,
8630
8650
  embedded: count,
@@ -8633,13 +8653,13 @@ var imageEmbedding = strictObject({
8633
8653
  more: boolean()
8634
8654
  });
8635
8655
 
8636
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8656
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8637
8657
  import { spawn } from "node:child_process";
8638
8658
  import { randomBytes } from "node:crypto";
8639
8659
  import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
8640
8660
  import { dirname as dirname2, join as join4 } from "node:path";
8641
8661
 
8642
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8662
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8643
8663
  var progressOf = /* @__PURE__ */ __name((input) => {
8644
8664
  const total = input.total ?? null;
8645
8665
  const updated = input.updatedAt ?? null;
@@ -8670,7 +8690,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
8670
8690
  return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
8671
8691
  }, "progressLine");
8672
8692
 
8673
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8693
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8674
8694
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
8675
8695
  const run = currentRun();
8676
8696
  const trace = traceId ?? run.traceId;
@@ -8684,7 +8704,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
8684
8704
  }));
8685
8705
  }, "recordLogFor");
8686
8706
 
8687
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8707
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8688
8708
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
8689
8709
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
8690
8710
  const out = openSync(log, "a", 384);
@@ -8839,7 +8859,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
8839
8859
  return { job: id6, pid, chat: input.chat, log };
8840
8860
  }, "startArchiveJob");
8841
8861
 
8842
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/job.js
8862
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/job.js
8843
8863
  var problem = strictObject({ code: text, message: text });
8844
8864
  var job = strictObject({
8845
8865
  id,
@@ -8862,7 +8882,7 @@ var job = strictObject({
8862
8882
  error: optional(problem)
8863
8883
  });
8864
8884
 
8865
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8885
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8866
8886
  var joinRequest = strictObject({
8867
8887
  person_id: id,
8868
8888
  name: nullable(text),
@@ -8873,7 +8893,7 @@ var joinRequest = strictObject({
8873
8893
  about: optional(text)
8874
8894
  });
8875
8895
 
8876
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8896
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8877
8897
  var botProfile = strictObject({
8878
8898
  name: text,
8879
8899
  token: text,
@@ -8997,7 +9017,7 @@ var stickerInventory = strictObject({
8997
9017
  url: optional(nullable(text))
8998
9018
  });
8999
9019
 
9000
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
9020
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
9001
9021
  var pollVote = strictObject({
9002
9022
  person_id: id,
9003
9023
  name: nullable(text),
@@ -9007,7 +9027,7 @@ var pollVote = strictObject({
9007
9027
  voted_at: time
9008
9028
  });
9009
9029
 
9010
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/listener.js
9030
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/listener.js
9011
9031
  var reactions = unwrap(unwrap(message.entries.reactions));
9012
9032
  var observation = strictObject({
9013
9033
  value: pipe(number(), minValue(0)),
@@ -9049,7 +9069,7 @@ var serveSummary = strictObject({
9049
9069
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
9050
9070
  });
9051
9071
 
9052
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
9072
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
9053
9073
  var mailCounts = strictObject({
9054
9074
  by: picklist(["day", "week", "sender"]),
9055
9075
  received: count,
@@ -9064,7 +9084,7 @@ var mailCounts = strictObject({
9064
9084
  }))
9065
9085
  });
9066
9086
 
9067
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
9087
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
9068
9088
  var evidence2 = strictObject({ reference, fingerprint: text });
9069
9089
  var base = { id, evidence: array(evidence2) };
9070
9090
  var finding = variant("kind", [
@@ -9208,7 +9228,7 @@ var mailFindings = strictObject({
9208
9228
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
9209
9229
  });
9210
9230
 
9211
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
9231
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
9212
9232
  var mediaArchive = strictObject({
9213
9233
  directory: text,
9214
9234
  chats: count,
@@ -9240,7 +9260,7 @@ var mediaArchiveTimer = union([
9240
9260
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
9241
9261
  ]);
9242
9262
 
9243
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
9263
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
9244
9264
  var preparationId = pipe(string(), minLength(1));
9245
9265
  var preparationCount = pipe(number(), integer(), minValue(0));
9246
9266
  var preparationTime = nullable(isoTime);
@@ -9332,7 +9352,7 @@ var preparationMeeting = strictObject({
9332
9352
  updated_at: isoTime
9333
9353
  });
9334
9354
 
9335
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9355
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9336
9356
  var meetingEvidence = preparationEvidence;
9337
9357
  var meetingPersonContext = strictObject({
9338
9358
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -9354,7 +9374,7 @@ var meetingPersonContext = strictObject({
9354
9374
  })
9355
9375
  });
9356
9376
 
9357
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9377
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9358
9378
  var evidence3 = strictObject({ reference, fingerprint: text });
9359
9379
  var base2 = { id, project: reference, evidence: array(evidence3) };
9360
9380
  var finding2 = variant("kind", [
@@ -9392,7 +9412,7 @@ var meetingFindings = strictObject({
9392
9412
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
9393
9413
  });
9394
9414
 
9395
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9415
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9396
9416
  var communicationCoverage = strictObject({
9397
9417
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
9398
9418
  query: string(),
@@ -9437,7 +9457,7 @@ var preparationCommunications = strictObject({
9437
9457
  }))
9438
9458
  });
9439
9459
 
9440
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9460
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9441
9461
  var meetingPreparation = strictObject({
9442
9462
  communications: optional(preparationCommunications),
9443
9463
  schema_version: literal(1),
@@ -9550,7 +9570,7 @@ var meetingPreparation = strictObject({
9550
9570
  })
9551
9571
  });
9552
9572
 
9553
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9573
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9554
9574
  var count4 = pipe(number(), integer(), minValue(0));
9555
9575
  var id3 = pipe(string(), minLength(1));
9556
9576
  var text3 = string();
@@ -9614,7 +9634,7 @@ var meetingProjectCandidates = strictObject({
9614
9634
  })
9615
9635
  });
9616
9636
 
9617
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9637
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9618
9638
  var count5 = pipe(number(), integer(), minValue(0));
9619
9639
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
9620
9640
  var meetingSeriesInventory = strictObject({
@@ -9644,7 +9664,7 @@ var meetingSeriesInventory = strictObject({
9644
9664
  })
9645
9665
  });
9646
9666
 
9647
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9667
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9648
9668
  var text4 = string();
9649
9669
  var id5 = pipe(number(), integer(), minValue(1));
9650
9670
  var revision = picklist(["current", "superseded"]);
@@ -9661,7 +9681,7 @@ var meetingTaskProposal = strictObject({
9661
9681
  persistence: literal("proposal-only")
9662
9682
  });
9663
9683
 
9664
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/memory.js
9684
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/memory.js
9665
9685
  var memory = strictObject({
9666
9686
  ref: reference,
9667
9687
  id,
@@ -9689,7 +9709,7 @@ var memory = strictObject({
9689
9709
  updated_at: time
9690
9710
  });
9691
9711
 
9692
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/mention.js
9712
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/mention.js
9693
9713
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
9694
9714
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
9695
9715
  var mention = strictObject({
@@ -9733,7 +9753,7 @@ var mentionRebuild = strictObject({
9733
9753
  mentions: count
9734
9754
  });
9735
9755
 
9736
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9756
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9737
9757
  var operated3 = { operation_id: id, chat_id: id };
9738
9758
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
9739
9759
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
@@ -9742,7 +9762,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
9742
9762
  var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
9743
9763
  var scheduledSend = strictObject(scheduledSendEntries);
9744
9764
 
9745
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9765
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9746
9766
  var messageTranscript = strictObject({
9747
9767
  message_id: id,
9748
9768
  text,
@@ -9800,7 +9820,7 @@ var evidencePacket = strictObject({
9800
9820
  }))
9801
9821
  });
9802
9822
 
9803
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9823
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9804
9824
  var messageThread = strictObject({
9805
9825
  ref: reference,
9806
9826
  chat: id,
@@ -9817,7 +9837,7 @@ var messageThread = strictObject({
9817
9837
  });
9818
9838
  var messageContext = union([message, messageThread]);
9819
9839
 
9820
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9840
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9821
9841
  var messageCounts = strictObject({
9822
9842
  by: picklist(["chat", "sender", "day", "hour"]),
9823
9843
  total: count,
@@ -9830,7 +9850,7 @@ var messageCounts = strictObject({
9830
9850
  }))
9831
9851
  });
9832
9852
 
9833
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9853
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9834
9854
  var messageLink = strictObject({
9835
9855
  ref: reference,
9836
9856
  url: nullable(text),
@@ -9847,7 +9867,7 @@ var messageLink = strictObject({
9847
9867
  })))
9848
9868
  });
9849
9869
 
9850
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9870
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9851
9871
  var savedMessageFile = strictObject({
9852
9872
  kind: text,
9853
9873
  path: text,
@@ -9934,7 +9954,7 @@ var messageSyncAll = strictObject({
9934
9954
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
9935
9955
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
9936
9956
 
9937
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9957
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9938
9958
  var messageWrite = strictObject({
9939
9959
  operation_id: id,
9940
9960
  message,
@@ -9949,7 +9969,7 @@ var draftWrite = strictObject({
9949
9969
  });
9950
9970
  var messageSend = union([messageWrite, draftWrite]);
9951
9971
 
9952
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/model.js
9972
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/model.js
9953
9973
  var model2 = strictObject({
9954
9974
  id,
9955
9975
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -9984,7 +10004,7 @@ var chosenModel = strictObject({
9984
10004
  estimate_seconds: nullable(count)
9985
10005
  });
9986
10006
 
9987
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/model-key.js
10007
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9988
10008
  var source = picklist(["environment", "keyring", "file"]);
9989
10009
  var modelKey = strictObject({
9990
10010
  provider: text,
@@ -9994,7 +10014,7 @@ var modelKey = strictObject({
9994
10014
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
9995
10015
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
9996
10016
 
9997
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
10017
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9998
10018
  var versus = strictObject({ current: number(), previous: number() });
9999
10019
  var person = { person_ref: reference, name: nullable(text) };
10000
10020
  var graph = strictObject({
@@ -10028,14 +10048,14 @@ var officialStats = strictObject({
10028
10048
  graphs: record(string(), union([graph, strictObject({ error: text })]))
10029
10049
  });
10030
10050
 
10031
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/person.js
10051
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/person.js
10032
10052
  var person2 = strictObject({
10033
10053
  ref: reference,
10034
10054
  name: nullable(text),
10035
10055
  identities: optional(array(identity))
10036
10056
  });
10037
10057
 
10038
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/poll.js
10058
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/poll.js
10039
10059
  var poll = strictObject({
10040
10060
  chat_id: id,
10041
10061
  message_id: id,
@@ -10051,11 +10071,11 @@ var poll = strictObject({
10051
10071
  });
10052
10072
  var pollChange = strictObject({ operation_id: id, poll });
10053
10073
 
10054
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
10074
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
10055
10075
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
10056
10076
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
10057
10077
 
10058
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/ranking.js
10078
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/ranking.js
10059
10079
  var figures = record(string(), number());
10060
10080
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
10061
10081
  var rankingRow = strictObject({
@@ -10102,7 +10122,7 @@ var ranking = strictObject({
10102
10122
  rows: array(rankingRow)
10103
10123
  });
10104
10124
 
10105
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/reaction.js
10125
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/reaction.js
10106
10126
  var reaction = strictObject({
10107
10127
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
10108
10128
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -10110,7 +10130,7 @@ var reaction = strictObject({
10110
10130
  reacted_at: time
10111
10131
  });
10112
10132
 
10113
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
10133
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
10114
10134
  var reactionChange = strictObject({
10115
10135
  operation_id: id,
10116
10136
  chat_id: id,
@@ -10118,7 +10138,7 @@ var reactionChange = strictObject({
10118
10138
  reaction: nullable(text)
10119
10139
  });
10120
10140
 
10121
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/recipient.js
10141
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/recipient.js
10122
10142
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
10123
10143
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
10124
10144
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -10129,7 +10149,7 @@ var recipientChange = strictObject({
10129
10149
  ...partial(recipientOff).entries
10130
10150
  });
10131
10151
 
10132
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
10152
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
10133
10153
  var events = array(record(string(), unknown()));
10134
10154
  var recordedRun = strictObject({
10135
10155
  run_id: id,
@@ -10201,7 +10221,7 @@ var runHit = strictObject({
10201
10221
  });
10202
10222
  var runLocation = strictObject({ path: text });
10203
10223
 
10204
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/relationship.js
10224
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/relationship.js
10205
10225
  var relationship = strictObject({
10206
10226
  id,
10207
10227
  from: reference,
@@ -10228,7 +10248,7 @@ var relationship = strictObject({
10228
10248
  created_at: time
10229
10249
  });
10230
10250
 
10231
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
10251
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
10232
10252
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
10233
10253
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
10234
10254
  var responseTimes = strictObject({
@@ -10245,7 +10265,7 @@ var waitingChats = strictObject({
10245
10265
  by_kind: strictObject({ private: count, group: count })
10246
10266
  });
10247
10267
 
10248
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/retention.js
10268
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/retention.js
10249
10269
  var retentionCohort = strictObject({
10250
10270
  /** The first day of the joining day or week. */
10251
10271
  cohort: text,
@@ -10293,7 +10313,7 @@ var retention = strictObject({
10293
10313
  rows: array(retentionCohort)
10294
10314
  });
10295
10315
 
10296
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10316
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10297
10317
  var savedSearch = strictObject({
10298
10318
  id,
10299
10319
  /** `null` for a run in the history. */
@@ -10310,7 +10330,7 @@ var savedSearch = strictObject({
10310
10330
  });
10311
10331
  var searchHistoryClear = strictObject({ cleared: count });
10312
10332
 
10313
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10333
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10314
10334
  var sendAttempt = strictObject({
10315
10335
  at: time,
10316
10336
  profile: text,
@@ -10338,7 +10358,7 @@ var sendAttempt = strictObject({
10338
10358
  error_code: optional(text)
10339
10359
  });
10340
10360
 
10341
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10361
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10342
10362
  var absent = strictObject({ path: text, exists: literal(false) });
10343
10363
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
10344
10364
  var infoSchema = strictObject({
@@ -10568,7 +10588,7 @@ var storeRepair = union([
10568
10588
  ]);
10569
10589
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
10570
10590
 
10571
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10591
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10572
10592
  var range = strictObject({ from: number(), to: number() });
10573
10593
  var storeChatStatus = strictObject({
10574
10594
  chat_id: id,
@@ -10666,7 +10686,7 @@ var storeJobRetry = union([
10666
10686
  ]);
10667
10687
  var storeJobClear = strictObject({ cleared: array(id) });
10668
10688
 
10669
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10689
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10670
10690
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
10671
10691
  var storeTable = strictObject({
10672
10692
  name: text,
@@ -10675,7 +10695,7 @@ var storeTable = strictObject({
10675
10695
  bytes: optional(nullable(count))
10676
10696
  });
10677
10697
 
10678
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10698
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10679
10699
  var tagTarget = variant("type", [
10680
10700
  strictObject({ type: literal("chat"), chat_id: id }),
10681
10701
  strictObject({ type: literal("contact"), person_id: id }),
@@ -10706,7 +10726,7 @@ var automaticTags = strictObject({
10706
10726
  dry_run: boolean()
10707
10727
  });
10708
10728
 
10709
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10729
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10710
10730
  var tagging = strictObject({
10711
10731
  tag: text,
10712
10732
  type: picklist(TAG_TYPES),
@@ -10719,7 +10739,7 @@ var tagging = strictObject({
10719
10739
  created_at: time
10720
10740
  });
10721
10741
 
10722
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10742
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10723
10743
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
10724
10744
  var taskPair = strictObject({
10725
10745
  task: nullable(side),
@@ -10742,7 +10762,7 @@ var taskPair = strictObject({
10742
10762
  created_at: time
10743
10763
  });
10744
10764
 
10745
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10765
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10746
10766
  var nullableTime = nullable(time);
10747
10767
  var link = strictObject({
10748
10768
  id,
@@ -10916,7 +10936,7 @@ var taskReview = strictObject({
10916
10936
  untrusted
10917
10937
  });
10918
10938
 
10919
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/template.js
10939
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/template.js
10920
10940
  var template = strictObject({
10921
10941
  key: text,
10922
10942
  channel: picklist(["telegram", "email", "text"]),
@@ -10928,7 +10948,7 @@ var template = strictObject({
10928
10948
  updated_by: nullable(text)
10929
10949
  });
10930
10950
 
10931
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/topic.js
10951
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/topic.js
10932
10952
  var topic = strictObject({
10933
10953
  id,
10934
10954
  title: text,
@@ -10942,7 +10962,7 @@ var topic = strictObject({
10942
10962
  untrusted
10943
10963
  });
10944
10964
 
10945
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/index.js
10965
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/entities/index.js
10946
10966
  var ENTITIES = {
10947
10967
  sync_progress: progress,
10948
10968
  deal,
@@ -10976,6 +10996,7 @@ var ENTITIES = {
10976
10996
  attachments: optional(array(hitFile)),
10977
10997
  untrusted
10978
10998
  }),
10999
+ // Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
10979
11000
  "message.summary": strictObject({
10980
11001
  ...pick(message, [
10981
11002
  "ref",
@@ -11243,7 +11264,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
11243
11264
  return [name, definition];
11244
11265
  })), "entityDefinitions");
11245
11266
 
11246
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
11267
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
11247
11268
  var schemas = /* @__PURE__ */ new WeakMap();
11248
11269
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
11249
11270
  if (Object.hasOwn(ENTITIES, name))
@@ -11277,7 +11298,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
11277
11298
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
11278
11299
  }, "answerRow");
11279
11300
 
11280
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11301
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11281
11302
  import { join as join5 } from "node:path";
11282
11303
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
11283
11304
  var IMAGE_MODELS = [
@@ -11331,7 +11352,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
11331
11352
  var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
11332
11353
  var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
11333
11354
 
11334
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/steps.js
11355
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/steps.js
11335
11356
  var STEPS2 = defineSteps([
11336
11357
  ...STEPS,
11337
11358
  {
@@ -11579,6 +11600,20 @@ var rootOf2 = /* @__PURE__ */ __name((command) => {
11579
11600
  root = root.parent;
11580
11601
  return root;
11581
11602
  }, "rootOf");
11603
+ var typedCommandPath = /* @__PURE__ */ __name((program2, rest) => {
11604
+ const words = [];
11605
+ let current2 = program2;
11606
+ for (const token of rest) {
11607
+ if (token.startsWith("-"))
11608
+ continue;
11609
+ const next = current2.commands.find((one) => one.name() === token || one.aliases().includes(token));
11610
+ if (!next)
11611
+ break;
11612
+ words.push(token);
11613
+ current2 = next;
11614
+ }
11615
+ return words.join(" ");
11616
+ }, "typedCommandPath");
11582
11617
  var commandAt = /* @__PURE__ */ __name((root, path2) => {
11583
11618
  let at2 = root;
11584
11619
  for (const word of path2.split(" "))
@@ -11621,7 +11656,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11621
11656
  ].join(" ");
11622
11657
  }, "stepLine");
11623
11658
 
11624
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11659
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11625
11660
  var where = [{ field: "ref" }];
11626
11661
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
11627
11662
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -11713,7 +11748,7 @@ var STATUS_ROWS = {
11713
11748
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
11714
11749
  };
11715
11750
 
11716
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/compact.js
11751
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/compact.js
11717
11752
  var TEXT_CHARS = 400;
11718
11753
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
11719
11754
  var messageRow = {
@@ -12081,7 +12116,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
12081
12116
  return lines.concat(footerOf(body)).join("\n");
12082
12117
  }, "compactText");
12083
12118
 
12084
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
12119
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
12085
12120
  var SOFT_OUTPUT_BYTES = 256 * 1024;
12086
12121
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
12087
12122
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -12139,7 +12174,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
12139
12174
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
12140
12175
  }, "largeAnswerSteps");
12141
12176
 
12142
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
12177
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
12143
12178
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
12144
12179
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
12145
12180
  var strip = /* @__PURE__ */ __name((value) => {
@@ -12153,7 +12188,7 @@ var strip = /* @__PURE__ */ __name((value) => {
12153
12188
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
12154
12189
  }, "strip");
12155
12190
 
12156
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
12191
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
12157
12192
  var OPEN = "\u27E6";
12158
12193
  var CLOSE = "\u27E7";
12159
12194
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -12222,6 +12257,8 @@ var MESSAGE_UNTRUSTED = [
12222
12257
  "bcc.name",
12223
12258
  "reply_addresses.name"
12224
12259
  ];
12260
+ var CHAT_UNTRUSTED = ["title", "description"];
12261
+ var CONTACT_UNTRUSTED = ["description", "chats.title"];
12225
12262
  var DECLARED = /* @__PURE__ */ new WeakMap();
12226
12263
  var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
12227
12264
  DECLARED.set(command, fields);
@@ -12241,7 +12278,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
12241
12278
  return result;
12242
12279
  }, "withFieldsMarked");
12243
12280
 
12244
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/envelope.js
12281
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/envelope.js
12245
12282
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
12246
12283
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
12247
12284
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -12635,6 +12672,7 @@ export {
12635
12672
  nextStep,
12636
12673
  lineOf,
12637
12674
  rootOf2,
12675
+ typedCommandPath,
12638
12676
  commandAt,
12639
12677
  runnable,
12640
12678
  failureSteps,
@@ -12643,7 +12681,10 @@ export {
12643
12681
  tooLargeSteps,
12644
12682
  withoutProviderRefs,
12645
12683
  runMarkOf,
12684
+ marked,
12646
12685
  withUntrustedMarked,
12686
+ CHAT_UNTRUSTED,
12687
+ CONTACT_UNTRUSTED,
12647
12688
  marksUntrusted,
12648
12689
  answerSchema,
12649
12690
  listOf,