@wirecat/mail-cli 0.25.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +3 -0
  3. package/contracts/wirecat.json +1325 -0
  4. package/dist/bin/mail.js +2 -2
  5. package/dist/bin/mail.js.map +1 -1
  6. package/dist/bundle/{all-profiles-QEV2PSOR.js → all-profiles-5XWH7TBM.js} +11 -11
  7. package/dist/bundle/{anthropic-5NKQXIHM.js → anthropic-QEQGUEPW.js} +5 -5
  8. package/dist/bundle/{app-server-G2CJNT4R.js → app-server-YWDU56NR.js} +55 -51
  9. package/dist/bundle/{bun-6HBYWQIX.js → bun-PWMM6L45.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-DXIQ7BVR.js → bun-sqlite-S4QD5YUO.js} +6 -6
  11. package/dist/bundle/{chunk-37F6QYTO.js → chunk-255RGG5W.js} +6 -6
  12. package/dist/bundle/{chunk-DIA56CS7.js → chunk-2FZMIJW7.js} +11 -7
  13. package/dist/bundle/{chunk-S2QRAKQI.js → chunk-4VDWQKDI.js} +17 -17
  14. package/dist/bundle/{chunk-QB3DP2TN.js → chunk-572NWJUN.js} +2 -2
  15. package/dist/bundle/{chunk-PHHH2NQP.js → chunk-5BPOEPYL.js} +15 -113
  16. package/dist/bundle/{chunk-VL6H2BND.js → chunk-5DLPM5AV.js} +18 -17
  17. package/dist/bundle/{chunk-HEIDAHRC.js → chunk-77J5ID2O.js} +2 -2
  18. package/dist/bundle/{chunk-5ZYFV6FD.js → chunk-7BXOFLWJ.js} +129 -74
  19. package/dist/bundle/{chunk-L4QVOEOB.js → chunk-7C6FGWDH.js} +4 -4
  20. package/dist/bundle/{chunk-VUBZFMGP.js → chunk-7KCBPAQS.js} +2 -2
  21. package/dist/bundle/{chunk-TY644DKQ.js → chunk-7MEVD5PI.js} +57 -28
  22. package/dist/bundle/{chunk-WOAYHCM2.js → chunk-AIEMFRBU.js} +1 -1
  23. package/dist/bundle/{chunk-WX6OYVCH.js → chunk-AIZ225IA.js} +379 -270
  24. package/dist/bundle/{chunk-K2OGF7KC.js → chunk-APLVXHFG.js} +2 -2
  25. package/dist/bundle/{chunk-GY4XCLCO.js → chunk-BZCXAVGP.js} +8 -8
  26. package/dist/bundle/{chunk-434YOD6A.js → chunk-CKFVKHTB.js} +4 -4
  27. package/dist/bundle/{chunk-B7SWTH5O.js → chunk-CZRMT6XV.js} +2 -2
  28. package/dist/bundle/{chunk-Z5T6OW3V.js → chunk-DQO2LX5I.js} +4 -4
  29. package/dist/bundle/{chunk-OLKCJBZY.js → chunk-DSUOYJUL.js} +5 -5
  30. package/dist/bundle/{chunk-IZOYW4Z4.js → chunk-ECZSYLSL.js} +24 -9
  31. package/dist/bundle/{chunk-YNS2YVUR.js → chunk-ELPH22W6.js} +9 -9
  32. package/dist/bundle/{chunk-JG4MNYG2.js → chunk-EXWZCI5G.js} +1 -1
  33. package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
  34. package/dist/bundle/{chunk-HLXVUMZJ.js → chunk-FOTP6QLO.js} +2 -2
  35. package/dist/bundle/{chunk-SMTBV62X.js → chunk-FVVSBQGK.js} +29 -25
  36. package/dist/bundle/{chunk-XQYKIZMG.js → chunk-HBK6MRAL.js} +12 -9
  37. package/dist/bundle/{chunk-5QYK3LWS.js → chunk-IDOHT4Z3.js} +123 -42
  38. package/dist/bundle/{chunk-4W4EVVL4.js → chunk-IX3GUNGV.js} +4 -4
  39. package/dist/bundle/{chunk-7GLJSJ7M.js → chunk-KHBZ4OEP.js} +1 -1
  40. package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
  41. package/dist/bundle/{chunk-CBYBZCQP.js → chunk-MY4LVD64.js} +3 -2
  42. package/dist/bundle/{chunk-OLLIWNFG.js → chunk-NZG6IRDW.js} +3 -3
  43. package/dist/bundle/{chunk-ND5H5ADM.js → chunk-OC3U2JAK.js} +4 -4
  44. package/dist/bundle/{chunk-KFB2X6KE.js → chunk-OCUKQRJ3.js} +201 -160
  45. package/dist/bundle/{chunk-PQMJ5BXH.js → chunk-OEPNLKHI.js} +4 -4
  46. package/dist/bundle/{chunk-GJRYZXBN.js → chunk-OPOEAGVB.js} +9 -9
  47. package/dist/bundle/{chunk-VFU7PVPQ.js → chunk-PA7LDYVX.js} +62 -60
  48. package/dist/bundle/{chunk-NMZQTYKJ.js → chunk-PJ3FKBXG.js} +1 -1
  49. package/dist/bundle/{chunk-A6BPOX5O.js → chunk-PRSXMM4I.js} +3825 -3516
  50. package/dist/bundle/{chunk-HEYVMAAQ.js → chunk-QQTSPQ2D.js} +2 -2
  51. package/dist/bundle/{chunk-IXO4SCKE.js → chunk-QVJMFZFW.js} +1 -1
  52. package/dist/bundle/{chunk-J4OYK4WL.js → chunk-R3A65A4D.js} +12 -12
  53. package/dist/bundle/{chunk-QQUY4MZY.js → chunk-R5FTCNLJ.js} +1 -1
  54. package/dist/bundle/{chunk-XMDEM6BZ.js → chunk-RGQFVVBB.js} +276 -254
  55. package/dist/bundle/{chunk-FZZD4AFY.js → chunk-ROLHKFKB.js} +26 -18
  56. package/dist/bundle/{chunk-PP3YOAWG.js → chunk-RRLAFEPQ.js} +3 -3
  57. package/dist/bundle/{chunk-3XVR2ROR.js → chunk-S2QRW647.js} +35 -31
  58. package/dist/bundle/{chunk-G5LHHAW2.js → chunk-S7H7TAC3.js} +6 -6
  59. package/dist/bundle/{chunk-U6IQ6YQ2.js → chunk-SXKKOOA7.js} +8 -2
  60. package/dist/bundle/{chunk-MBFPFWCO.js → chunk-T7VERZP5.js} +27 -27
  61. package/dist/bundle/{chunk-ADKMBXY4.js → chunk-TI2OANJZ.js} +1 -1
  62. package/dist/bundle/{chunk-EXVY76VO.js → chunk-TKOZCIHU.js} +19 -18
  63. package/dist/bundle/{chunk-BC7PFQL7.js → chunk-UBH4UPZ7.js} +40 -2
  64. package/dist/bundle/{chunk-P6GXNT7Z.js → chunk-UEJVXUIO.js} +13 -13
  65. package/dist/bundle/{chunk-IACWKZWS.js → chunk-UIKVP23D.js} +1 -1
  66. package/dist/bundle/{chunk-LGZPKKBN.js → chunk-VYZ37D2Q.js} +3 -2
  67. package/dist/bundle/{chunk-HJSJBNCJ.js → chunk-WMXUFUV3.js} +28 -9
  68. package/dist/bundle/{chunk-CIWWNBVW.js → chunk-WRHAX53U.js} +8 -8
  69. package/dist/bundle/{chunk-LVGX7VTD.js → chunk-XBL46B4V.js} +63 -5
  70. package/dist/bundle/{chunk-KK4HD3SI.js → chunk-XCYDTIVK.js} +7 -7
  71. package/dist/bundle/{chunk-PGC5TRH6.js → chunk-XM2THVMR.js} +3 -3
  72. package/dist/bundle/{chunk-MWGH3M46.js → chunk-ZSWSFKNE.js} +5 -7
  73. package/dist/bundle/{chunk-T27IMG6X.js → chunk-ZVQDOKDY.js} +1 -1
  74. package/dist/bundle/command-contract-MIJONVVG.js +36 -0
  75. package/dist/bundle/{command-server-entry-XMSSY5ID.js → command-server-entry-VHUFW3OZ.js} +25 -25
  76. package/dist/bundle/{decode-RYGB4PGT.js → decode-TIMTSVXM.js} +5 -5
  77. package/dist/bundle/{dispatch-PLQOIZG5.js → dispatch-DSVN7MNG.js} +8 -8
  78. package/dist/bundle/{dist-GY2AQETI.js → dist-IP25JFTN.js} +19 -15
  79. package/dist/bundle/{echarts-7CM2MCMW.js → echarts-SDZA2SWG.js} +2 -2
  80. package/dist/bundle/{embed-FTBDPOPT.js → embed-4W527BCE.js} +6 -6
  81. package/dist/bundle/{embedder-B43WGNBD.js → embedder-LQE2SBJ3.js} +9 -9
  82. package/dist/bundle/{failure-XP5QYV2T.js → failure-COTPFUP4.js} +2 -2
  83. package/dist/bundle/{first-run-XIIUARNM.js → first-run-KZTKMEI4.js} +12 -12
  84. package/dist/bundle/first-screen-4LG5SJ6D.js +34 -0
  85. package/dist/bundle/{instructions-R7OHVAWH.js → instructions-7T6JJIFS.js} +1 -1
  86. package/dist/bundle/mail.js +15 -20
  87. package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
  88. package/dist/bundle/{node-3N2JGZ7V.js → node-BZDMUFTW.js} +2 -2
  89. package/dist/bundle/{node-sqlite-WFJXW3CZ.js → node-sqlite-PVSKI4OS.js} +7 -7
  90. package/dist/bundle/{oauth-SVJLQTWV.js → oauth-TGYGAVGF.js} +7 -7
  91. package/dist/bundle/{open-ZDONVKSX.js → open-5YED4Q4C.js} +5 -5
  92. package/dist/bundle/{openai-XVEW6XOU.js → openai-XVJTML22.js} +21 -20
  93. package/dist/bundle/{process-YAHHUFR5.js → process-756VBE7E.js} +1 -1
  94. package/dist/bundle/{program-HU2UVMJE.js → program-TDHDXAQA.js} +1499 -998
  95. package/dist/bundle/{prompt-JAJ2CUJI.js → prompt-HPZANASN.js} +5 -5
  96. package/dist/bundle/{recognize-UFBWUNFR.js → recognize-PP5XQQHH.js} +4 -4
  97. package/dist/bundle/{remote-2GFOVLCR.js → remote-C2LU2WYG.js} +9 -9
  98. package/dist/bundle/{rerank-BGPSMXTL.js → rerank-WRHNOM4Z.js} +7 -7
  99. package/dist/bundle/{serve-CB3XJTH3.js → serve-RE3IV2QB.js} +9 -9
  100. package/dist/bundle/server-43V7HNFY.js +68 -0
  101. package/dist/bundle/{server-M7FQY7TX.js → server-52BJ7UTO.js} +44 -42
  102. package/dist/bundle/{sqlite-runtime-AEV6PGDR.js → sqlite-runtime-CRRL3MYX.js} +6 -6
  103. package/dist/bundle/{state-YLBEQLBI.js → state-YGJRPMWD.js} +6 -6
  104. package/dist/bundle/{store-EKWKY6GG.js → store-6AZ5LVJL.js} +21 -19
  105. package/dist/bundle/{store-CDUL3HKK.js → store-ESQE4VHP.js} +17 -17
  106. package/dist/bundle/store-maintenance-command-AKQMKUYO.js +58 -0
  107. package/dist/commands/rules.d.ts.map +1 -1
  108. package/dist/commands/rules.js +57 -19
  109. package/dist/commands/rules.js.map +1 -1
  110. package/dist/commands/session-start.d.ts.map +1 -1
  111. package/dist/commands/session-start.js +1 -1
  112. package/dist/commands/session-start.js.map +1 -1
  113. package/dist/config.d.ts +1 -0
  114. package/dist/config.d.ts.map +1 -1
  115. package/dist/config.js +13 -12
  116. package/dist/config.js.map +1 -1
  117. package/dist/discovery.d.ts.map +1 -1
  118. package/dist/discovery.js +7 -2
  119. package/dist/discovery.js.map +1 -1
  120. package/dist/identity.d.ts +2 -0
  121. package/dist/identity.d.ts.map +1 -1
  122. package/dist/identity.js +34 -0
  123. package/dist/identity.js.map +1 -1
  124. package/dist/mail/domain-age.d.ts +1 -1
  125. package/dist/mail/domain-age.d.ts.map +1 -1
  126. package/dist/mail/domain-age.js +9 -3
  127. package/dist/mail/domain-age.js.map +1 -1
  128. package/dist/mail/rules/file.d.ts.map +1 -1
  129. package/dist/mail/rules/file.js +4 -1
  130. package/dist/mail/rules/file.js.map +1 -1
  131. package/dist/mail/rules/query.d.ts +2 -1
  132. package/dist/mail/rules/query.d.ts.map +1 -1
  133. package/dist/mail/rules/query.js +16 -3
  134. package/dist/mail/rules/query.js.map +1 -1
  135. package/dist/oauth.d.ts +3 -1
  136. package/dist/oauth.d.ts.map +1 -1
  137. package/dist/oauth.js +48 -34
  138. package/dist/oauth.js.map +1 -1
  139. package/dist/reasons.d.ts.map +1 -1
  140. package/dist/reasons.js +5 -0
  141. package/dist/reasons.js.map +1 -1
  142. package/dist/store.d.ts.map +1 -1
  143. package/dist/store.js +2 -21
  144. package/dist/store.js.map +1 -1
  145. package/dist/version.d.ts +1 -1
  146. package/dist/version.js +1 -1
  147. package/dist/wcat.d.ts +3 -0
  148. package/dist/wcat.d.ts.map +1 -0
  149. package/dist/wcat.js +4 -0
  150. package/dist/wcat.js.map +1 -0
  151. package/package.json +10 -9
  152. package/dist/bundle/chunk-K6HR6HCO.js +0 -32
  153. package/dist/bundle/command-contract-XSW2Q33S.js +0 -36
  154. package/dist/bundle/first-screen-Z7HC6PQU.js +0 -34
  155. package/dist/bundle/server-34GEF22R.js +0 -68
  156. package/dist/bundle/store-maintenance-command-XH2JUM5F.js +0 -58
  157. /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-XWBPP2HX.js} +0 -0
@@ -13,7 +13,7 @@ import {
13
13
  permissionOverrides,
14
14
  projectFields,
15
15
  resolveOutput
16
- } from "./chunk-DIA56CS7.js";
16
+ } from "./chunk-2FZMIJW7.js";
17
17
  import {
18
18
  currentCaller,
19
19
  endpointTemplate,
@@ -23,16 +23,16 @@ import {
23
23
  providerErrorKey,
24
24
  renderEvent,
25
25
  runContextOf
26
- } from "./chunk-XQYKIZMG.js";
26
+ } from "./chunk-HBK6MRAL.js";
27
27
  import {
28
28
  carries
29
- } from "./chunk-IACWKZWS.js";
29
+ } from "./chunk-UIKVP23D.js";
30
30
  import {
31
31
  permissionCeiling
32
- } from "./chunk-MWGH3M46.js";
32
+ } from "./chunk-ZSWSFKNE.js";
33
33
  import {
34
34
  note
35
- } from "./chunk-OLLIWNFG.js";
35
+ } from "./chunk-NZG6IRDW.js";
36
36
  import {
37
37
  CATEGORIES,
38
38
  FACT_STATUSES,
@@ -77,7 +77,7 @@ import {
77
77
  typedCommand,
78
78
  untrusted,
79
79
  useAsProcessRun
80
- } from "./chunk-MBFPFWCO.js";
80
+ } from "./chunk-T7VERZP5.js";
81
81
  import {
82
82
  BUSINESS_KINDS,
83
83
  CRM_ACTIVITY_KINDS,
@@ -112,26 +112,26 @@ import {
112
112
  meetingStats,
113
113
  meetingSummary,
114
114
  meetingTranscript
115
- } from "./chunk-5ZYFV6FD.js";
115
+ } from "./chunk-7BXOFLWJ.js";
116
116
  import {
117
117
  isCliFailure,
118
118
  storeDamaged
119
- } from "./chunk-U6IQ6YQ2.js";
119
+ } from "./chunk-SXKKOOA7.js";
120
120
  import {
121
121
  endpoint
122
- } from "./chunk-K6HR6HCO.js";
122
+ } from "./chunk-XBL46B4V.js";
123
123
  import {
124
124
  readSharedSection,
125
125
  sharedConfigPath,
126
126
  writeSharedSection
127
- } from "./chunk-KK4HD3SI.js";
127
+ } from "./chunk-XCYDTIVK.js";
128
128
  import {
129
129
  filesPresent,
130
130
  sharedModelsDirectory
131
- } from "./chunk-434YOD6A.js";
131
+ } from "./chunk-CKFVKHTB.js";
132
132
  import {
133
133
  storePath
134
- } from "./chunk-LGZPKKBN.js";
134
+ } from "./chunk-VYZ37D2Q.js";
135
135
  import {
136
136
  configFilePath,
137
137
  createRecordLog,
@@ -140,7 +140,7 @@ import {
140
140
  resolvePaths,
141
141
  saveConfigFile,
142
142
  writeSecurely
143
- } from "./chunk-TY644DKQ.js";
143
+ } from "./chunk-7MEVD5PI.js";
144
144
  import {
145
145
  COMPACT_FLAG,
146
146
  MAX_NEXT_STEPS,
@@ -194,17 +194,17 @@ import {
194
194
  url,
195
195
  variant,
196
196
  writes
197
- } from "./chunk-IZOYW4Z4.js";
197
+ } from "./chunk-ECZSYLSL.js";
198
198
  import {
199
199
  CliError,
200
200
  isCliError,
201
201
  visibleControls
202
- } from "./chunk-VUBZFMGP.js";
202
+ } from "./chunk-7KCBPAQS.js";
203
203
  import {
204
204
  __name
205
205
  } from "./chunk-ZVVMGPBJ.js";
206
206
 
207
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/ports/app.js
207
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/ports/app.js
208
208
  import { readFileSync } from "node:fs";
209
209
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
210
210
  var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
@@ -258,7 +258,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
258
258
  var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
259
259
  var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
260
260
 
261
- // node_modules/.pnpm/@wirecat+cli-base@0.93.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
261
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.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
262
262
  var labels = /* @__PURE__ */ new WeakMap();
263
263
  var annotate = /* @__PURE__ */ __name((command, meta) => {
264
264
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3759,7 +3759,7 @@ __name(useColor, "useColor");
3759
3759
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3760
3760
  var program = new Command();
3761
3761
 
3762
- // node_modules/.pnpm/@wirecat+cli-base@0.93.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
3762
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.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
3763
3763
  var argumentInfoSchema = object({
3764
3764
  name: string(),
3765
3765
  required: boolean(),
@@ -3797,7 +3797,7 @@ var commandInfoSchema = object({
3797
3797
  summary: optional(string()),
3798
3798
  description: string(),
3799
3799
  usage: string(),
3800
- origin: picklist(["handwritten", "generated"]),
3800
+ origin: picklist(["handwritten", "generated", "cli-core"]),
3801
3801
  api_operation: optional(string()),
3802
3802
  effects: optional(effectsSchema),
3803
3803
  state: optional(picklist(["beta", "deprecated"])),
@@ -3833,9 +3833,10 @@ var commandsDocumentSchema = strictObject({
3833
3833
  exit_codes: record(string(), pipe(number(), integer()))
3834
3834
  });
3835
3835
 
3836
- // node_modules/.pnpm/@wirecat+cli-base@0.93.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
3836
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.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
3837
3837
  import { isDeepStrictEqual } from "node:util";
3838
3838
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3839
+ var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
3839
3840
  var hidden = /* @__PURE__ */ __name((command) => Boolean(command._hidden), "hidden");
3840
3841
  var snapshot = /* @__PURE__ */ __name((command, known = /* @__PURE__ */ new Map(), children) => {
3841
3842
  if (hidden(command))
@@ -3942,7 +3943,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
3942
3943
  return result;
3943
3944
  }, "sharedCommand");
3944
3945
 
3945
- // node_modules/.pnpm/@wirecat+cli-base@0.93.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
3946
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.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
3946
3947
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3947
3948
  let command = root;
3948
3949
  const path2 = [];
@@ -3960,7 +3961,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3960
3961
  }
3961
3962
  }, "refuseJoinedPath");
3962
3963
 
3963
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
3964
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
3964
3965
  import { AsyncLocalStorage } from "node:async_hooks";
3965
3966
  var requests = new AsyncLocalStorage();
3966
3967
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -3975,7 +3976,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
3975
3976
  return direct;
3976
3977
  }, "exitCodeSet");
3977
3978
 
3978
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/sends/guarded.js
3979
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/sends/guarded.js
3979
3980
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
3980
3981
  var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
3981
3982
  messageId: message2.id,
@@ -4081,7 +4082,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
4081
4082
  }, "guardedWrite");
4082
4083
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
4083
4084
 
4084
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/execution.js
4085
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/execution.js
4085
4086
  var DEFAULT_COMMAND_MS = 3e4;
4086
4087
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
4087
4088
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4264,7 +4265,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4264
4265
  }
4265
4266
  }, "withAbort");
4266
4267
 
4267
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4268
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4268
4269
  import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
4269
4270
  import { join } from "node:path";
4270
4271
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4286,7 +4287,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4286
4287
  }, "profilesWithAccounts");
4287
4288
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4288
4289
 
4289
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/background/budget.js
4290
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/background/budget.js
4290
4291
  var DEADLINE_MARGIN_MS = 5e3;
4291
4292
  var DEADLINE_MARGIN_SHARE = 0.15;
4292
4293
  var DEFAULT_REQUEST_MS = 2e3;
@@ -4329,7 +4330,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
4329
4330
  };
4330
4331
  }, "runBudget");
4331
4332
 
4332
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4333
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4333
4334
  var CORE_LOG_EVENTS = defineLogEvents([
4334
4335
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
4335
4336
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -4367,7 +4368,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
4367
4368
  progress: "sync.progress"
4368
4369
  };
4369
4370
 
4370
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/runs/recording.js
4371
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/recording.js
4371
4372
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
4372
4373
  const recording = startRecording(options);
4373
4374
  try {
@@ -4582,7 +4583,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
4582
4583
  return void 0;
4583
4584
  }, "partialOutcome");
4584
4585
 
4585
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4586
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4586
4587
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4587
4588
  if (ms2 === void 0)
4588
4589
  return body();
@@ -4608,7 +4609,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4608
4609
  }
4609
4610
  }, "withDeadline");
4610
4611
 
4611
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/profile.js
4612
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/profile.js
4612
4613
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
4613
4614
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
4614
4615
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -4677,10 +4678,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
4677
4678
  return void 0;
4678
4679
  }, "sampleCommand");
4679
4680
 
4680
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/settings.js
4681
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/settings.js
4681
4682
  import { existsSync as existsSync5 } from "node:fs";
4682
4683
 
4683
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/models/settings.js
4684
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/models/settings.js
4684
4685
  var MODEL_FIELDS = ["provider", "model", "base_url"];
4685
4686
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
4686
4687
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -4749,7 +4750,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
4749
4750
  };
4750
4751
  }, "modelTarget");
4751
4752
 
4752
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/analysis/settings.js
4753
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/analysis/settings.js
4753
4754
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
4754
4755
  var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
4755
4756
  var AI_FIELDS = {
@@ -4793,7 +4794,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
4793
4794
  };
4794
4795
  }, "resolveAISettings");
4795
4796
 
4796
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/domain/duration.js
4797
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/duration.js
4797
4798
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
4798
4799
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
4799
4800
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -4807,7 +4808,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
4807
4808
  return ms2;
4808
4809
  }, "parseDuration");
4809
4810
 
4810
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/embeddings/models.js
4811
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/embeddings/models.js
4811
4812
  import { existsSync as existsSync2 } from "node:fs";
4812
4813
  import { join as join2 } from "node:path";
4813
4814
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
@@ -5084,7 +5085,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
5084
5085
  }, "vectorModelKey");
5085
5086
  var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
5086
5087
 
5087
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5088
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5088
5089
  var HISTORY_MAX_DAYS = 1095;
5089
5090
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
5090
5091
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -5131,7 +5132,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
5131
5132
  return { batch: { ...batch, messages }, skipped };
5132
5133
  }, "limitBatch");
5133
5134
 
5134
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
5135
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
5135
5136
  import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
5136
5137
  import { join as join3 } from "node:path";
5137
5138
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -5220,10 +5221,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
5220
5221
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
5221
5222
  }, "registryProfiles");
5222
5223
 
5223
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5224
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5224
5225
  import { readFileSync as readFileSync4 } from "node:fs";
5225
5226
 
5226
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
5227
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
5227
5228
  var REPAIR_WORDS = {
5228
5229
  byte_order_mark: "an invisible byte-order mark at the start",
5229
5230
  comment: "a comment, which JSON does not allow",
@@ -5464,7 +5465,7 @@ ${parts.join(",\n")}
5464
5465
  ${indent}${close}`;
5465
5466
  }, "serialise");
5466
5467
 
5467
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5468
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5468
5469
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5469
5470
  var SECTIONS = ["personal", "bot"];
5470
5471
  var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
@@ -5758,7 +5759,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
5758
5759
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
5759
5760
  }, "readConfigFile");
5760
5761
 
5761
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5762
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5762
5763
  import { existsSync as existsSync4, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
5763
5764
  import { dirname, join as join4 } from "node:path";
5764
5765
  var DEFAULT_CONFIG = {
@@ -5787,7 +5788,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
5787
5788
  }
5788
5789
  __name(ensureDefaultConfig, "ensureDefaultConfig");
5789
5790
 
5790
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5791
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5791
5792
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5792
5793
  var parentOf = /* @__PURE__ */ __name((config, key) => {
5793
5794
  const path2 = key.split(".");
@@ -5809,7 +5810,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
5809
5810
  return { config, added };
5810
5811
  }, "withSettingDefaults");
5811
5812
 
5812
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/settings.js
5813
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/settings.js
5813
5814
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
5814
5815
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
5815
5816
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -5979,11 +5980,12 @@ var fromFile = /* @__PURE__ */ __name((settings, key, fallback) => first([
5979
5980
  ], fallback), "fromFile");
5980
5981
  var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
5981
5982
  const declared = extension.permissions;
5982
- const profileEntries = {
5983
+ const botEntries = {
5983
5984
  ...SHARED_PROFILE_ENTRIES,
5984
5985
  ...declared ? { permissions: optional(commandPathLevels) } : {},
5985
5986
  ...extension.profile
5986
5987
  };
5988
+ const profileEntries = { ...botEntries, ...extension.personal };
5987
5989
  const defaultsOnly = { ...SHARED_DEFAULTS_ONLY, ...extension.defaults };
5988
5990
  const defaultsEntries = { ...profileEntries, ...defaultsOnly };
5989
5991
  const strictOf = /* @__PURE__ */ __name((entries) => strictObject(entries, objectMessage), "strictOf");
@@ -5995,7 +5997,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
5995
5997
  defaults: optional(strictOf(defaultsEntries)),
5996
5998
  profiles: optional(record(string(), strictOf(profileEntries), "has to be an object of profiles, by name"), {}),
5997
5999
  personal: optional(kindSection(profileEntries)),
5998
- bot: optional(kindSection({ ...profileEntries, ...BOT_ONLY_ENTRIES }))
6000
+ bot: optional(kindSection({ ...botEntries, ...BOT_ONLY_ENTRIES }))
5999
6001
  };
6000
6002
  const schema2 = strictOf(configEntries);
6001
6003
  const defaultsOnlyKeys = Object.keys(defaultsOnly);
@@ -6334,7 +6336,7 @@ var given = /* @__PURE__ */ __name((value) => {
6334
6336
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
6335
6337
  }, "given");
6336
6338
 
6337
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/context.js
6339
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/context.js
6338
6340
  var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
6339
6341
  const { deadline, signal, app } = environmentOf(command);
6340
6342
  const now = deadline?.();
@@ -6474,7 +6476,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
6474
6476
  return words2.join(" ");
6475
6477
  }, "commandPath");
6476
6478
 
6477
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/effects.js
6479
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/effects.js
6478
6480
  var REMOTE_READ = { remote: "read", local: "read" };
6479
6481
  var FETCH = { remote: "read", local: "write" };
6480
6482
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -6544,6 +6546,12 @@ var fetchesOnly = /* @__PURE__ */ __name((command) => {
6544
6546
  const effects = metaOf(command).effects;
6545
6547
  return effects?.remote === "read" && effects.local === "write" && !STORE_WRITES.has(command) && !changesAuthority(command) && !OTHER_SERVICE.has(command) && !savesFiles(command);
6546
6548
  }, "fetchesOnly");
6549
+ var fetchesOnlyAt = /* @__PURE__ */ __name((root) => (path2) => {
6550
+ let at2 = root;
6551
+ for (const word of path2)
6552
+ at2 = at2?.commands.find((one) => one.name() === word);
6553
+ return at2 !== void 0 && fetchesOnly(at2);
6554
+ }, "fetchesOnlyAt");
6547
6555
  var FILE_OPTION = /* @__PURE__ */ new WeakMap();
6548
6556
  var fileOptionOf = /* @__PURE__ */ __name((command) => FILE_OPTION.get(command), "fileOptionOf");
6549
6557
  var writesFileNow = /* @__PURE__ */ __name((command) => {
@@ -6607,7 +6615,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6607
6615
  throw readOnlyRefusal(lock, what);
6608
6616
  }, "refuseUnderReadOnly");
6609
6617
 
6610
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/account.js
6618
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account.js
6611
6619
  var account = strictObject({
6612
6620
  provider: text,
6613
6621
  id,
@@ -6617,7 +6625,7 @@ var account = strictObject({
6617
6625
  scope: optional(picklist(["personal", "work"]))
6618
6626
  });
6619
6627
 
6620
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6628
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6621
6629
  var accountSession = strictObject({
6622
6630
  current: boolean(),
6623
6631
  client: nullable(text),
@@ -6627,7 +6635,7 @@ var accountSession = strictObject({
6627
6635
  created_at: optional(nullable(time))
6628
6636
  });
6629
6637
 
6630
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6638
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6631
6639
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
6632
6640
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
6633
6641
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -6656,7 +6664,7 @@ var accountRemoval = strictObject({
6656
6664
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
6657
6665
  });
6658
6666
 
6659
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6667
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6660
6668
  var accountProfile = strictObject({
6661
6669
  profile: id,
6662
6670
  current: boolean(),
@@ -6668,7 +6676,7 @@ var accountProfile = strictObject({
6668
6676
  bot: optional(literal(true))
6669
6677
  });
6670
6678
 
6671
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6679
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6672
6680
  var milliseconds = pipe(number(), minValue(0));
6673
6681
  var counterReading = strictObject({
6674
6682
  counter: picklist(["views", "reactions", "comments"]),
@@ -6680,7 +6688,7 @@ var counterReading = strictObject({
6680
6688
  });
6681
6689
  var selection = record(string(), unknown());
6682
6690
 
6683
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6691
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6684
6692
  var adminRow = strictObject({
6685
6693
  ref: reference,
6686
6694
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -6733,7 +6741,7 @@ var adminReport = strictObject({
6733
6741
  rows: array(adminRow)
6734
6742
  });
6735
6743
 
6736
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/task.js
6744
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/task.js
6737
6745
  var closeSuggestion = strictObject({
6738
6746
  as: picklist(["done", "dismissed"]),
6739
6747
  /** The agent's name. */
@@ -6795,7 +6803,7 @@ var task = strictObject({
6795
6803
  updated_at: optional(time)
6796
6804
  });
6797
6805
 
6798
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6806
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6799
6807
  var agendaChat = strictObject({
6800
6808
  chat: reference,
6801
6809
  title: nullable(text),
@@ -6865,11 +6873,11 @@ var agenda = strictObject({
6865
6873
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
6866
6874
  });
6867
6875
 
6868
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6876
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6869
6877
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6870
6878
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6871
6879
 
6872
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6880
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6873
6881
  var attachment = strictObject({
6874
6882
  /** The message it came with, as a locator; absent inside that message. */
6875
6883
  message: optional(reference),
@@ -6914,7 +6922,7 @@ var hitFile = strictObject({
6914
6922
  local_path: optional(text)
6915
6923
  });
6916
6924
 
6917
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6925
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6918
6926
  var actionableError = objectWithRest({
6919
6927
  code: text,
6920
6928
  message: text,
@@ -6931,7 +6939,7 @@ var batchResult = strictObject({
6931
6939
  max_error_percent: count
6932
6940
  });
6933
6941
 
6934
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6942
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6935
6943
  var extractionItem = strictObject({
6936
6944
  ref: reference,
6937
6945
  attachment: count,
@@ -6964,7 +6972,7 @@ var extractionReport = strictObject({
6964
6972
  cursor: optional(text)
6965
6973
  });
6966
6974
 
6967
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6975
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6968
6976
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
6969
6977
  var attachmentBytes = strictObject({
6970
6978
  ref: reference,
@@ -6995,7 +7003,7 @@ var attachmentTextChange = strictObject({
6995
7003
  text: optional(text)
6996
7004
  });
6997
7005
 
6998
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
7006
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
6999
7007
  var WEIGHTS = {
7000
7008
  bot: 3,
7001
7009
  scam: 3,
@@ -7020,7 +7028,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
7020
7028
  var DIGITS = /\d{5,}/;
7021
7029
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
7022
7030
 
7023
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
7031
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
7024
7032
  var linkedIdentity = strictObject({
7025
7033
  provider: text,
7026
7034
  id,
@@ -7075,7 +7083,7 @@ var contactCheck = strictObject({
7075
7083
  checked_at: time
7076
7084
  });
7077
7085
 
7078
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/member.js
7086
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/member.js
7079
7087
  var member = strictObject({
7080
7088
  id,
7081
7089
  name: nullable(text),
@@ -7098,7 +7106,7 @@ var member = strictObject({
7098
7106
  check: optional(record(string(), unknown()))
7099
7107
  });
7100
7108
 
7101
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/chat.js
7109
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat.js
7102
7110
  var setting = optional(nullable(boolean()));
7103
7111
  var chat = strictObject({
7104
7112
  ref: reference,
@@ -7139,7 +7147,7 @@ var chat = strictObject({
7139
7147
  members: optional(array(member))
7140
7148
  });
7141
7149
 
7142
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/message.js
7150
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message.js
7143
7151
  var quoted = strictObject({
7144
7152
  id,
7145
7153
  sender_id: nullable(id),
@@ -7258,7 +7266,20 @@ var message = strictObject({
7258
7266
  provider_metadata: providerMetadata
7259
7267
  });
7260
7268
 
7261
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7269
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
7270
+ var recordedMeeting = strictObject({
7271
+ ref: reference,
7272
+ meeting_id: count,
7273
+ account: strictObject({ provider: text, account: text }),
7274
+ title: nullable(text),
7275
+ started_at: nullable(time),
7276
+ duration_ms: nullable(count),
7277
+ has_transcript: boolean(),
7278
+ event: nullable(reference),
7279
+ people: array(reference)
7280
+ });
7281
+
7282
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7262
7283
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
7263
7284
  var contextMessage = strictObject({
7264
7285
  locator: reference,
@@ -7304,6 +7325,8 @@ var context = strictObject({
7304
7325
  mentions: array(contextMessage),
7305
7326
  /** Calendar events they are invited to, one occurrence per series. */
7306
7327
  events: optional(strictObject({ upcoming: array(contextEvent), recent: array(contextEvent) })),
7328
+ /** Recorded meetings and calls they took part in, newest first. */
7329
+ meetings: optional(array(recordedMeeting)),
7307
7330
  limits: strictObject({ messages: count, bytes: count }),
7308
7331
  complete: boolean(),
7309
7332
  not_read: array(strictObject({
@@ -7462,7 +7485,7 @@ var contactPreparation = strictObject({
7462
7485
  })
7463
7486
  });
7464
7487
 
7465
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/deal.js
7488
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/deal.js
7466
7489
  var nullableText = nullable(text);
7467
7490
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
7468
7491
  var outcome = picklist(["open", "won", "lost"]);
@@ -7533,6 +7556,8 @@ var deal = strictObject({
7533
7556
  updated_at: time,
7534
7557
  /** `show` of a CRM copy whose `activities` setting is on: its activities and tasks, open ones first. */
7535
7558
  activities: optional(array(activity)),
7559
+ /** `show` of a CRM copy: the newest recorded meetings and calls of its people, in its account's scope. */
7560
+ meetings: optional(array(recordedMeeting)),
7536
7561
  untrusted
7537
7562
  });
7538
7563
  var lead = deal;
@@ -7571,7 +7596,7 @@ var stage = strictObject({
7571
7596
  untrusted
7572
7597
  });
7573
7598
 
7574
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7599
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7575
7600
  var nullableText2 = nullable(text);
7576
7601
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
7577
7602
  var standing = picklist(STANDINGS);
@@ -7745,7 +7770,7 @@ var dealBrief = strictObject({
7745
7770
  not_read: coverage2.entries.not_read
7746
7771
  });
7747
7772
 
7748
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/chart.js
7773
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chart.js
7749
7774
  var chart = strictObject({
7750
7775
  version: literal(1),
7751
7776
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -7760,7 +7785,7 @@ var chart = strictObject({
7760
7785
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
7761
7786
  });
7762
7787
 
7763
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/folder.js
7788
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/folder.js
7764
7789
  var named = strictObject({
7765
7790
  id,
7766
7791
  title: nullable(text),
@@ -7783,7 +7808,7 @@ var folder = strictObject({
7783
7808
  excluded_chats: optional(array(named))
7784
7809
  });
7785
7810
 
7786
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7811
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7787
7812
  var inviteLink = strictObject({
7788
7813
  link: text,
7789
7814
  /** Who joins by it asks first, and an admin lets them in. */
@@ -7799,7 +7824,7 @@ var inviteLink = strictObject({
7799
7824
  joined_count: optional(count)
7800
7825
  });
7801
7826
 
7802
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7827
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7803
7828
  var operated = { operation_id: id, chat_id: id };
7804
7829
  var group = strictObject({
7805
7830
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -7879,7 +7904,7 @@ var chatFolderOrder = strictObject({
7879
7904
  folders: array(strictObject({ id, title: text }))
7880
7905
  });
7881
7906
 
7882
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7907
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7883
7908
  var operated2 = { operation_id: id, chat_id: id };
7884
7909
  var chatRemoval = strictObject(operated2);
7885
7910
  var chatMuting = strictObject({
@@ -7890,7 +7915,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
7890
7915
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
7891
7916
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
7892
7917
 
7893
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7918
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7894
7919
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
7895
7920
  var chatEvent = strictObject({
7896
7921
  chat_id: id,
@@ -7907,7 +7932,7 @@ var chatEvent = strictObject({
7907
7932
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
7908
7933
  });
7909
7934
 
7910
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7935
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7911
7936
  var chatMetadata = strictObject({
7912
7937
  chat_id: id,
7913
7938
  title: nullable(text),
@@ -7922,7 +7947,7 @@ var chatMetadataRefresh = strictObject({
7922
7947
  has_more: boolean()
7923
7948
  });
7924
7949
 
7925
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7950
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7926
7951
  var action = picklist(["report", "delete", "remove"]);
7927
7952
  var level = picklist(["deny", "readonly", "ask", "allow"]);
7928
7953
  var chatRules = strictObject({
@@ -7959,7 +7984,7 @@ var chatModeration = strictObject({
7959
7984
  }))
7960
7985
  });
7961
7986
 
7962
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7987
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7963
7988
  var optionalCount = optional(count);
7964
7989
  var minutes = nullable(number());
7965
7990
  var chatStats = strictObject({
@@ -8035,7 +8060,7 @@ var taskStats = strictObject({
8035
8060
  }))
8036
8061
  });
8037
8062
 
8038
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
8063
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
8039
8064
  var memberCount = strictObject({
8040
8065
  day: pipe(text, isoDate()),
8041
8066
  participants: nullable(count),
@@ -8058,7 +8083,7 @@ var chatTracking = strictObject({
8058
8083
  tracked: boolean()
8059
8084
  });
8060
8085
 
8061
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
8086
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
8062
8087
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
8063
8088
  var contactSync = strictObject({ added: count, changed: count, known: count });
8064
8089
  var profileFields = {
@@ -8096,7 +8121,7 @@ var profileFields = {
8096
8121
  }))
8097
8122
  };
8098
8123
 
8099
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/contact.js
8124
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact.js
8100
8125
  var contact = strictObject({
8101
8126
  ref: reference,
8102
8127
  id,
@@ -8127,7 +8152,7 @@ var contact = strictObject({
8127
8152
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
8128
8153
  });
8129
8154
 
8130
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8155
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8131
8156
  var contactNote = strictObject({
8132
8157
  id,
8133
8158
  /** The contact, as a `contact:` reference. */
@@ -8139,13 +8164,13 @@ var contactNote = strictObject({
8139
8164
  updated_at: time
8140
8165
  });
8141
8166
 
8142
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8167
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8143
8168
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
8144
8169
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
8145
8170
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
8146
8171
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
8147
8172
 
8148
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8173
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8149
8174
  var conversation = strictObject({
8150
8175
  id,
8151
8176
  chat: reference,
@@ -8160,7 +8185,7 @@ var conversation = strictObject({
8160
8185
  rules_version: count
8161
8186
  });
8162
8187
 
8163
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
8188
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
8164
8189
  var conversationBuild = strictObject({
8165
8190
  chat: id,
8166
8191
  messages: count,
@@ -8185,7 +8210,7 @@ var catchUpPreparation = strictObject({
8185
8210
  prepared: optional(conversationPreparation)
8186
8211
  });
8187
8212
 
8188
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8213
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8189
8214
  var conversationDetails = union([
8190
8215
  strictObject({ ...conversation.entries, messages: array(message) }),
8191
8216
  message
@@ -8275,7 +8300,7 @@ var conversationHit = strictObject({
8275
8300
  stale: boolean()
8276
8301
  });
8277
8302
 
8278
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/counters.js
8303
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/counters.js
8279
8304
  var counters = strictObject({
8280
8305
  cutoff: time,
8281
8306
  max_age_ms: milliseconds,
@@ -8305,7 +8330,7 @@ var counterRefresh = strictObject({
8305
8330
  complete: optional(boolean())
8306
8331
  });
8307
8332
 
8308
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/document.js
8333
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/document.js
8309
8334
  var document = strictObject({
8310
8335
  ref: reference,
8311
8336
  id,
@@ -8320,7 +8345,7 @@ var document = strictObject({
8320
8345
  owners: optional(array(text))
8321
8346
  });
8322
8347
 
8323
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8348
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8324
8349
  var documentLink = strictObject({
8325
8350
  ref: reference,
8326
8351
  url: text,
@@ -8331,7 +8356,7 @@ var documentLink = strictObject({
8331
8356
  sender: strictObject({ id: nullable(id), name: nullable(text) })
8332
8357
  });
8333
8358
 
8334
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8359
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8335
8360
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
8336
8361
  var contribution = strictObject({
8337
8362
  message: evidenceMessage,
@@ -8361,7 +8386,7 @@ var retentionStay = strictObject({
8361
8386
  });
8362
8387
  var evidence = union([contribution, retentionStay]);
8363
8388
 
8364
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/fact.js
8389
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/fact.js
8365
8390
  var fact = strictObject({
8366
8391
  ref: reference,
8367
8392
  id,
@@ -8392,7 +8417,7 @@ var fact = strictObject({
8392
8417
  updated_at: time
8393
8418
  });
8394
8419
 
8395
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/hit.js
8420
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/hit.js
8396
8421
  var hit = strictObject({
8397
8422
  kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
8398
8423
  ref: reference,
@@ -8432,13 +8457,15 @@ var hit = strictObject({
8432
8457
  review: optional(picklist(["proposed", "confirmed"])),
8433
8458
  /** A business hit's record in the import that made it; absent for one the owner or an agent wrote. */
8434
8459
  source_record: optional(strictObject({ provider: text, account: text, external_id: text })),
8460
+ /** A document's: the meeting it is the transcript, recording or notes of. */
8461
+ meeting: optional(reference),
8435
8462
  /** A message's files; absent when it has none. */
8436
8463
  attachments: optional(array(hitFile)),
8437
8464
  /** Absent on a note hit: the owner wrote it. */
8438
8465
  untrusted
8439
8466
  });
8440
8467
 
8441
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/identity.js
8468
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/identity.js
8442
8469
  var identity = strictObject({
8443
8470
  ref: reference,
8444
8471
  provider: text,
@@ -8454,7 +8481,7 @@ var identity = strictObject({
8454
8481
  person: optional(nullable(reference))
8455
8482
  });
8456
8483
 
8457
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8484
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8458
8485
  var imageEmbedding = strictObject({
8459
8486
  model: text,
8460
8487
  embedded: count,
@@ -8463,13 +8490,13 @@ var imageEmbedding = strictObject({
8463
8490
  more: boolean()
8464
8491
  });
8465
8492
 
8466
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8493
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8467
8494
  import { spawn } from "node:child_process";
8468
8495
  import { randomBytes } from "node:crypto";
8469
8496
  import { closeSync, existsSync as existsSync6, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
8470
8497
  import { dirname as dirname2, join as join5 } from "node:path";
8471
8498
 
8472
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8499
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8473
8500
  var progressOf = /* @__PURE__ */ __name((input) => {
8474
8501
  const total = input.total ?? null;
8475
8502
  const updated = input.updatedAt ?? null;
@@ -8485,7 +8512,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
8485
8512
  };
8486
8513
  }, "progressOf");
8487
8514
 
8488
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8515
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8489
8516
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
8490
8517
  const run = currentRun();
8491
8518
  const trace = traceId ?? run.traceId;
@@ -8499,7 +8526,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
8499
8526
  }));
8500
8527
  }, "recordLogFor");
8501
8528
 
8502
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8529
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8503
8530
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
8504
8531
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
8505
8532
  const out = openSync(log, "a", 384);
@@ -8654,7 +8681,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
8654
8681
  return { job: id6, pid, chat: input.chat, log };
8655
8682
  }, "startArchiveJob");
8656
8683
 
8657
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/job.js
8684
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/job.js
8658
8685
  var problem = strictObject({ code: text, message: text });
8659
8686
  var job = strictObject({
8660
8687
  id,
@@ -8677,7 +8704,7 @@ var job = strictObject({
8677
8704
  error: optional(problem)
8678
8705
  });
8679
8706
 
8680
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8707
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8681
8708
  var joinRequest = strictObject({
8682
8709
  person_id: id,
8683
8710
  name: nullable(text),
@@ -8688,7 +8715,7 @@ var joinRequest = strictObject({
8688
8715
  about: optional(text)
8689
8716
  });
8690
8717
 
8691
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8718
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8692
8719
  var botProfile = strictObject({
8693
8720
  name: text,
8694
8721
  token: text,
@@ -8812,7 +8839,7 @@ var stickerInventory = strictObject({
8812
8839
  url: optional(nullable(text))
8813
8840
  });
8814
8841
 
8815
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8842
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8816
8843
  var pollVote = strictObject({
8817
8844
  person_id: id,
8818
8845
  name: nullable(text),
@@ -8822,7 +8849,7 @@ var pollVote = strictObject({
8822
8849
  voted_at: time
8823
8850
  });
8824
8851
 
8825
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/listener.js
8852
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/listener.js
8826
8853
  var reactions = unwrap(unwrap(message.entries.reactions));
8827
8854
  var observation = strictObject({
8828
8855
  value: pipe(number(), minValue(0)),
@@ -8864,7 +8891,7 @@ var serveSummary = strictObject({
8864
8891
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
8865
8892
  });
8866
8893
 
8867
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8894
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8868
8895
  var mailCounts = strictObject({
8869
8896
  by: picklist(["day", "week", "sender"]),
8870
8897
  received: count,
@@ -8879,7 +8906,7 @@ var mailCounts = strictObject({
8879
8906
  }))
8880
8907
  });
8881
8908
 
8882
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8909
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8883
8910
  var evidence2 = strictObject({ reference, fingerprint: text });
8884
8911
  var base = { id, evidence: array(evidence2) };
8885
8912
  var finding = variant("kind", [
@@ -9023,7 +9050,7 @@ var mailFindings = strictObject({
9023
9050
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
9024
9051
  });
9025
9052
 
9026
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
9053
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
9027
9054
  var mediaArchive = strictObject({
9028
9055
  directory: text,
9029
9056
  chats: count,
@@ -9055,7 +9082,7 @@ var mediaArchiveTimer = union([
9055
9082
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
9056
9083
  ]);
9057
9084
 
9058
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
9085
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
9059
9086
  var preparationId = pipe(string(), minLength(1));
9060
9087
  var preparationCount = pipe(number(), integer(), minValue(0));
9061
9088
  var preparationTime = nullable(isoTime);
@@ -9147,7 +9174,7 @@ var preparationMeeting = strictObject({
9147
9174
  updated_at: isoTime
9148
9175
  });
9149
9176
 
9150
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9177
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9151
9178
  var meetingEvidence = preparationEvidence;
9152
9179
  var meetingPersonContext = strictObject({
9153
9180
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -9169,7 +9196,7 @@ var meetingPersonContext = strictObject({
9169
9196
  })
9170
9197
  });
9171
9198
 
9172
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9199
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9173
9200
  var evidence3 = strictObject({ reference, fingerprint: text });
9174
9201
  var base2 = { id, project: reference, evidence: array(evidence3) };
9175
9202
  var finding2 = variant("kind", [
@@ -9207,7 +9234,7 @@ var meetingFindings = strictObject({
9207
9234
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
9208
9235
  });
9209
9236
 
9210
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9237
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9211
9238
  var communicationCoverage = strictObject({
9212
9239
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
9213
9240
  query: string(),
@@ -9252,7 +9279,7 @@ var preparationCommunications = strictObject({
9252
9279
  }))
9253
9280
  });
9254
9281
 
9255
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9282
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9256
9283
  var meetingPreparation = strictObject({
9257
9284
  communications: optional(preparationCommunications),
9258
9285
  schema_version: literal(1),
@@ -9365,7 +9392,7 @@ var meetingPreparation = strictObject({
9365
9392
  })
9366
9393
  });
9367
9394
 
9368
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9395
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9369
9396
  var count4 = pipe(number(), integer(), minValue(0));
9370
9397
  var id3 = pipe(string(), minLength(1));
9371
9398
  var text3 = string();
@@ -9429,7 +9456,7 @@ var meetingProjectCandidates = strictObject({
9429
9456
  })
9430
9457
  });
9431
9458
 
9432
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9459
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9433
9460
  var count5 = pipe(number(), integer(), minValue(0));
9434
9461
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
9435
9462
  var meetingSeriesInventory = strictObject({
@@ -9459,7 +9486,7 @@ var meetingSeriesInventory = strictObject({
9459
9486
  })
9460
9487
  });
9461
9488
 
9462
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9489
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9463
9490
  var text4 = string();
9464
9491
  var id5 = pipe(number(), integer(), minValue(1));
9465
9492
  var revision = picklist(["current", "superseded"]);
@@ -9476,7 +9503,7 @@ var meetingTaskProposal = strictObject({
9476
9503
  persistence: literal("proposal-only")
9477
9504
  });
9478
9505
 
9479
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/memory.js
9506
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/memory.js
9480
9507
  var memory = strictObject({
9481
9508
  ref: reference,
9482
9509
  id,
@@ -9504,7 +9531,7 @@ var memory = strictObject({
9504
9531
  updated_at: time
9505
9532
  });
9506
9533
 
9507
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/mention.js
9534
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/mention.js
9508
9535
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
9509
9536
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
9510
9537
  var mention = strictObject({
@@ -9548,13 +9575,13 @@ var mentionRebuild = strictObject({
9548
9575
  mentions: count
9549
9576
  });
9550
9577
 
9551
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9578
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9552
9579
  var operated3 = { operation_id: id, chat_id: id };
9553
9580
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
9554
9581
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
9555
9582
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
9556
9583
 
9557
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9584
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9558
9585
  var messageTranscript = strictObject({
9559
9586
  message_id: id,
9560
9587
  text,
@@ -9612,7 +9639,7 @@ var evidencePacket = strictObject({
9612
9639
  }))
9613
9640
  });
9614
9641
 
9615
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9642
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9616
9643
  var messageThread = strictObject({
9617
9644
  ref: reference,
9618
9645
  chat: id,
@@ -9629,7 +9656,7 @@ var messageThread = strictObject({
9629
9656
  });
9630
9657
  var messageContext = union([message, messageThread]);
9631
9658
 
9632
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9659
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9633
9660
  var messageCounts = strictObject({
9634
9661
  by: picklist(["chat", "sender", "day", "hour"]),
9635
9662
  total: count,
@@ -9642,7 +9669,7 @@ var messageCounts = strictObject({
9642
9669
  }))
9643
9670
  });
9644
9671
 
9645
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9672
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9646
9673
  var messageLink = strictObject({
9647
9674
  ref: reference,
9648
9675
  url: nullable(text),
@@ -9659,7 +9686,7 @@ var messageLink = strictObject({
9659
9686
  })))
9660
9687
  });
9661
9688
 
9662
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9689
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9663
9690
  var savedMessageFile = strictObject({
9664
9691
  kind: text,
9665
9692
  path: text,
@@ -9746,7 +9773,7 @@ var messageSyncAll = strictObject({
9746
9773
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
9747
9774
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
9748
9775
 
9749
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9776
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9750
9777
  var messageWrite = strictObject({
9751
9778
  operation_id: id,
9752
9779
  message,
@@ -9761,7 +9788,7 @@ var draftWrite = strictObject({
9761
9788
  });
9762
9789
  var messageSend = union([messageWrite, draftWrite]);
9763
9790
 
9764
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/model.js
9791
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/model.js
9765
9792
  var model2 = strictObject({
9766
9793
  id,
9767
9794
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -9796,7 +9823,7 @@ var chosenModel = strictObject({
9796
9823
  estimate_seconds: nullable(count)
9797
9824
  });
9798
9825
 
9799
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9826
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9800
9827
  var source = picklist(["environment", "keyring", "file"]);
9801
9828
  var modelKey = strictObject({
9802
9829
  provider: text,
@@ -9806,7 +9833,7 @@ var modelKey = strictObject({
9806
9833
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
9807
9834
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
9808
9835
 
9809
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9836
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9810
9837
  var versus = strictObject({ current: number(), previous: number() });
9811
9838
  var person = { person_ref: reference, name: nullable(text) };
9812
9839
  var graph = strictObject({
@@ -9840,14 +9867,14 @@ var officialStats = strictObject({
9840
9867
  graphs: record(string(), union([graph, strictObject({ error: text })]))
9841
9868
  });
9842
9869
 
9843
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/person.js
9870
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/person.js
9844
9871
  var person2 = strictObject({
9845
9872
  ref: reference,
9846
9873
  name: nullable(text),
9847
9874
  identities: optional(array(identity))
9848
9875
  });
9849
9876
 
9850
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/poll.js
9877
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/poll.js
9851
9878
  var poll = strictObject({
9852
9879
  chat_id: id,
9853
9880
  message_id: id,
@@ -9863,11 +9890,11 @@ var poll = strictObject({
9863
9890
  });
9864
9891
  var pollChange = strictObject({ operation_id: id, poll });
9865
9892
 
9866
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9893
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9867
9894
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
9868
9895
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
9869
9896
 
9870
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9897
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9871
9898
  var figures = record(string(), number());
9872
9899
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
9873
9900
  var rankingRow = strictObject({
@@ -9914,7 +9941,7 @@ var ranking = strictObject({
9914
9941
  rows: array(rankingRow)
9915
9942
  });
9916
9943
 
9917
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9944
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9918
9945
  var reaction = strictObject({
9919
9946
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
9920
9947
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -9922,7 +9949,7 @@ var reaction = strictObject({
9922
9949
  reacted_at: time
9923
9950
  });
9924
9951
 
9925
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9952
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9926
9953
  var reactionChange = strictObject({
9927
9954
  operation_id: id,
9928
9955
  chat_id: id,
@@ -9930,7 +9957,7 @@ var reactionChange = strictObject({
9930
9957
  reaction: nullable(text)
9931
9958
  });
9932
9959
 
9933
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9960
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9934
9961
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
9935
9962
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
9936
9963
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -9941,7 +9968,7 @@ var recipientChange = strictObject({
9941
9968
  ...partial(recipientOff).entries
9942
9969
  });
9943
9970
 
9944
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9971
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9945
9972
  var events = array(record(string(), unknown()));
9946
9973
  var recordedRun = strictObject({
9947
9974
  run_id: id,
@@ -10013,7 +10040,7 @@ var runHit = strictObject({
10013
10040
  });
10014
10041
  var runLocation = strictObject({ path: text });
10015
10042
 
10016
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/relationship.js
10043
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/relationship.js
10017
10044
  var relationship = strictObject({
10018
10045
  id,
10019
10046
  from: reference,
@@ -10040,7 +10067,7 @@ var relationship = strictObject({
10040
10067
  created_at: time
10041
10068
  });
10042
10069
 
10043
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
10070
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
10044
10071
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
10045
10072
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
10046
10073
  var responseTimes = strictObject({
@@ -10057,7 +10084,7 @@ var waitingChats = strictObject({
10057
10084
  by_kind: strictObject({ private: count, group: count })
10058
10085
  });
10059
10086
 
10060
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/retention.js
10087
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/retention.js
10061
10088
  var retentionCohort = strictObject({
10062
10089
  /** The first day of the joining day or week. */
10063
10090
  cohort: text,
@@ -10105,7 +10132,7 @@ var retention = strictObject({
10105
10132
  rows: array(retentionCohort)
10106
10133
  });
10107
10134
 
10108
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10135
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10109
10136
  var savedSearch = strictObject({
10110
10137
  id,
10111
10138
  /** `null` for a run in the history. */
@@ -10122,7 +10149,7 @@ var savedSearch = strictObject({
10122
10149
  });
10123
10150
  var searchHistoryClear = strictObject({ cleared: count });
10124
10151
 
10125
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10152
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10126
10153
  var sendAttempt = strictObject({
10127
10154
  at: time,
10128
10155
  profile: text,
@@ -10150,7 +10177,7 @@ var sendAttempt = strictObject({
10150
10177
  error_code: optional(text)
10151
10178
  });
10152
10179
 
10153
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10180
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10154
10181
  var absent = strictObject({ path: text, exists: literal(false) });
10155
10182
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
10156
10183
  var infoSchema = strictObject({
@@ -10380,7 +10407,7 @@ var storeRepair = union([
10380
10407
  ]);
10381
10408
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
10382
10409
 
10383
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10410
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10384
10411
  var range = strictObject({ from: number(), to: number() });
10385
10412
  var storeChatStatus = strictObject({
10386
10413
  chat_id: id,
@@ -10478,7 +10505,7 @@ var storeJobRetry = union([
10478
10505
  ]);
10479
10506
  var storeJobClear = strictObject({ cleared: array(id) });
10480
10507
 
10481
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10508
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10482
10509
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
10483
10510
  var storeTable = strictObject({
10484
10511
  name: text,
@@ -10487,7 +10514,7 @@ var storeTable = strictObject({
10487
10514
  bytes: optional(nullable(count))
10488
10515
  });
10489
10516
 
10490
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10517
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10491
10518
  var tagTarget = variant("type", [
10492
10519
  strictObject({ type: literal("chat"), chat_id: id }),
10493
10520
  strictObject({ type: literal("contact"), person_id: id }),
@@ -10518,7 +10545,7 @@ var automaticTags = strictObject({
10518
10545
  dry_run: boolean()
10519
10546
  });
10520
10547
 
10521
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10548
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10522
10549
  var tagging = strictObject({
10523
10550
  tag: text,
10524
10551
  type: picklist(TAG_TYPES),
@@ -10531,7 +10558,7 @@ var tagging = strictObject({
10531
10558
  created_at: time
10532
10559
  });
10533
10560
 
10534
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10561
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10535
10562
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
10536
10563
  var taskPair = strictObject({
10537
10564
  task: nullable(side),
@@ -10554,7 +10581,7 @@ var taskPair = strictObject({
10554
10581
  created_at: time
10555
10582
  });
10556
10583
 
10557
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10584
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10558
10585
  var nullableTime = nullable(time);
10559
10586
  var link = strictObject({
10560
10587
  id,
@@ -10728,7 +10755,7 @@ var taskReview = strictObject({
10728
10755
  untrusted
10729
10756
  });
10730
10757
 
10731
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/template.js
10758
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/template.js
10732
10759
  var template = strictObject({
10733
10760
  key: text,
10734
10761
  channel: picklist(["telegram", "email", "text"]),
@@ -10740,7 +10767,7 @@ var template = strictObject({
10740
10767
  updated_by: nullable(text)
10741
10768
  });
10742
10769
 
10743
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/topic.js
10770
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/topic.js
10744
10771
  var topic = strictObject({
10745
10772
  id,
10746
10773
  title: text,
@@ -10754,7 +10781,7 @@ var topic = strictObject({
10754
10781
  untrusted
10755
10782
  });
10756
10783
 
10757
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/entities/index.js
10784
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/entities/index.js
10758
10785
  var ENTITIES = {
10759
10786
  sync_progress: progress,
10760
10787
  deal,
@@ -11049,7 +11076,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
11049
11076
  return [name, definition];
11050
11077
  })), "entityDefinitions");
11051
11078
 
11052
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
11079
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
11053
11080
  var schemas = /* @__PURE__ */ new WeakMap();
11054
11081
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
11055
11082
  if (Object.hasOwn(ENTITIES, name))
@@ -11083,7 +11110,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
11083
11110
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
11084
11111
  }, "answerRow");
11085
11112
 
11086
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11113
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/images/picture/models.js
11087
11114
  import { join as join6 } from "node:path";
11088
11115
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
11089
11116
  var IMAGE_MODELS = [
@@ -11137,7 +11164,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
11137
11164
  var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
11138
11165
  var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
11139
11166
 
11140
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/steps.js
11167
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/steps.js
11141
11168
  var STEPS2 = defineSteps([
11142
11169
  ...STEPS,
11143
11170
  {
@@ -11152,6 +11179,15 @@ var STEPS2 = defineSteps([
11152
11179
  ],
11153
11180
  why: "the local copy is missing messages; syncing brings them in"
11154
11181
  },
11182
+ {
11183
+ id: "search.server",
11184
+ command: "search messages",
11185
+ args: [
11186
+ { name: "query", required: true },
11187
+ { name: "backend", required: true }
11188
+ ],
11189
+ why: "only the local copy was searched, and it does not hold every message; the messenger's own search reaches the rest"
11190
+ },
11155
11191
  {
11156
11192
  id: "messages.transcribe",
11157
11193
  command: "messages transcribe",
@@ -11418,7 +11454,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11418
11454
  ].join(" ");
11419
11455
  }, "stepLine");
11420
11456
 
11421
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11457
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11422
11458
  var where = [{ field: "ref" }];
11423
11459
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
11424
11460
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -11510,7 +11546,7 @@ var STATUS_ROWS = {
11510
11546
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
11511
11547
  };
11512
11548
 
11513
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/compact.js
11549
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/compact.js
11514
11550
  var TEXT_CHARS = 400;
11515
11551
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
11516
11552
  var messageRow = {
@@ -11858,8 +11894,9 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
11858
11894
  } else if (isFields(body.item)) {
11859
11895
  const sections = shape.sections ?? {};
11860
11896
  const rest = Object.fromEntries(Object.entries(body.item).filter(([name]) => !Object.hasOwn(sections, name) && !shape.hidden?.includes(name)));
11861
- lines = blockOf(rest, chars, "", shape.whole).map(guarded);
11862
- let dates = [];
11897
+ const own = shape.oneLine ? rowsOfItems([rest], shape, clock, chars) : void 0;
11898
+ lines = own ? own.lines.filter((line) => line !== "") : blockOf(rest, chars, "", shape.whole).map(guarded);
11899
+ let dates = own?.dates ?? [];
11863
11900
  let drawn = [];
11864
11901
  for (const [name, entity] of Object.entries(sections)) {
11865
11902
  const list = body.item[name];
@@ -11870,13 +11907,14 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
11870
11907
  drawn = drawn.concat([`# ${[`${clean(name)}: ${list.length}`, ...header].join(" \xB7 ")}`], rows2);
11871
11908
  }
11872
11909
  const when = spanOf(dates, clock);
11873
- lines = lines.concat(when.length ? [`# ${when.join(" \xB7 ")}`] : [], drawn);
11910
+ const head = [...own?.header ?? [], ...when];
11911
+ lines = own ? (head.length ? [`# ${head.join(" \xB7 ")}`] : []).concat(lines, drawn) : lines.concat(when.length ? [`# ${when.join(" \xB7 ")}`] : [], drawn);
11874
11912
  } else if (present(body.item))
11875
11913
  lines = [guarded(cut(clean(String(body.item)), chars))];
11876
11914
  return lines.concat(footerOf(body)).join("\n");
11877
11915
  }, "compactText");
11878
11916
 
11879
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11917
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11880
11918
  var SOFT_OUTPUT_BYTES = 256 * 1024;
11881
11919
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
11882
11920
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -11934,7 +11972,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
11934
11972
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
11935
11973
  }, "largeAnswerSteps");
11936
11974
 
11937
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11975
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11938
11976
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
11939
11977
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
11940
11978
  var strip = /* @__PURE__ */ __name((value) => {
@@ -11948,7 +11986,7 @@ var strip = /* @__PURE__ */ __name((value) => {
11948
11986
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
11949
11987
  }, "strip");
11950
11988
 
11951
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11989
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11952
11990
  var OPEN = "\u27E6";
11953
11991
  var CLOSE = "\u27E7";
11954
11992
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -12032,7 +12070,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
12032
12070
  return result;
12033
12071
  }, "withFieldsMarked");
12034
12072
 
12035
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/envelope.js
12073
+ // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/envelope.js
12036
12074
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
12037
12075
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
12038
12076
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -12242,6 +12280,7 @@ export {
12242
12280
  Help,
12243
12281
  Option,
12244
12282
  Command,
12283
+ hasSharedContract,
12245
12284
  assertSharedContracts,
12246
12285
  sharedContractOverrides,
12247
12286
  sharedContracts,
@@ -12338,6 +12377,8 @@ export {
12338
12377
  narrowsUnderLock,
12339
12378
  admittedUnderLock,
12340
12379
  changesStore,
12380
+ fetchesOnly,
12381
+ fetchesOnlyAt,
12341
12382
  fileOptionOf,
12342
12383
  readsOverMcpAt,
12343
12384
  isStoreChange,