@wirecat/mail-cli 0.18.0 → 0.20.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 (112) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-4CVOXA5Y.js → all-profiles-DTUWUCQQ.js} +7 -6
  4. package/dist/bundle/{anthropic-5VIKYINO.js → anthropic-YJAEQSNT.js} +3 -3
  5. package/dist/bundle/{app-server-LTSQBDPF.js → app-server-3ZXSTBA3.js} +41 -40
  6. package/dist/bundle/{bun-C7DBRUW2.js → bun-34VBM7C5.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-Y5JKT62B.js → bun-sqlite-GCT7ROCK.js} +2 -2
  8. package/dist/bundle/{chunk-A5OMARL4.js → chunk-2PPEDB67.js} +31 -29
  9. package/dist/bundle/{chunk-IANOK5SE.js → chunk-3DSYLE5N.js} +2 -2
  10. package/dist/bundle/{chunk-QPF4LTK5.js → chunk-3HDQVTND.js} +4 -4
  11. package/dist/bundle/{chunk-ZLH465EU.js → chunk-4FWJNIPH.js} +1 -1
  12. package/dist/bundle/{chunk-C4RUKMDT.js → chunk-4WIEVQ2Q.js} +8 -14
  13. package/dist/bundle/{chunk-SMS5YNPB.js → chunk-566MEXK5.js} +2 -2
  14. package/dist/bundle/{chunk-GRP67IQ4.js → chunk-72N26BQM.js} +24 -22
  15. package/dist/bundle/{chunk-6RO5RDNR.js → chunk-7XLOWYGD.js} +109 -6
  16. package/dist/bundle/{chunk-AOMSP4EI.js → chunk-AF62BPIW.js} +5 -5
  17. package/dist/bundle/{chunk-U43HUE35.js → chunk-B74SOC4R.js} +9 -20
  18. package/dist/bundle/{chunk-TVZ77ZOV.js → chunk-FTI73RLC.js} +2 -2
  19. package/dist/bundle/{chunk-EFP5NN7I.js → chunk-GAPQENMY.js} +2 -2
  20. package/dist/bundle/{chunk-N5VEJ3E7.js → chunk-HJ2CXDKJ.js} +130 -11
  21. package/dist/bundle/{chunk-P6WCG6X2.js → chunk-HN43G27G.js} +43 -27
  22. package/dist/bundle/{chunk-L3YX7A5M.js → chunk-HRRSTIGP.js} +4 -4
  23. package/dist/bundle/{chunk-NDJZQCF3.js → chunk-HSBGNVEL.js} +210 -171
  24. package/dist/bundle/{chunk-2NWOYXPJ.js → chunk-I2SDXWLR.js} +206 -56
  25. package/dist/bundle/{chunk-BMFPCW6Q.js → chunk-J2U6LUT5.js} +17 -3
  26. package/dist/bundle/{chunk-UXD5JMS5.js → chunk-J4UZXBEV.js} +1 -1
  27. package/dist/bundle/{chunk-OUGGAAXI.js → chunk-KMQAHDBM.js} +7539 -13576
  28. package/dist/bundle/{chunk-CPEN6BZZ.js → chunk-LF5XM4HE.js} +1 -1
  29. package/dist/bundle/chunk-LTXYJAJK.js +12211 -0
  30. package/dist/bundle/{chunk-7P4ICYJT.js → chunk-MD64ITYO.js} +1 -1
  31. package/dist/bundle/{chunk-WA3DQSAZ.js → chunk-MDDB7M7Z.js} +1 -1
  32. package/dist/bundle/{chunk-OLJDZTHB.js → chunk-NOVBK4SY.js} +12 -12
  33. package/dist/bundle/{chunk-MCR43SWG.js → chunk-O3M2S62X.js} +21 -13
  34. package/dist/bundle/{chunk-5S6Q3SWU.js → chunk-ODFHIXMA.js} +1 -1
  35. package/dist/bundle/{chunk-ZT2Y267T.js → chunk-OKO2Q6H6.js} +2 -2
  36. package/dist/bundle/{chunk-RQSF7X22.js → chunk-P2QJA7S5.js} +1 -1
  37. package/dist/bundle/{chunk-C5T5K7HW.js → chunk-P6FT6YYT.js} +17 -14
  38. package/dist/bundle/{chunk-RIO3TD3I.js → chunk-QE72KTS7.js} +1 -1
  39. package/dist/bundle/{chunk-JO3BIMYK.js → chunk-QPRXTLMD.js} +1 -1
  40. package/dist/bundle/{chunk-23HWKHPZ.js → chunk-QTMVGOSF.js} +352 -290
  41. package/dist/bundle/{chunk-SW2KERUB.js → chunk-R3WPMQYZ.js} +270 -153
  42. package/dist/bundle/{chunk-XGTW3GRX.js → chunk-RFB27ACZ.js} +2 -2
  43. package/dist/bundle/{chunk-HTFBXGJF.js → chunk-RPCKBXKN.js} +1 -1
  44. package/dist/bundle/{chunk-43I5XD7S.js → chunk-RT6SLZBI.js} +1 -1
  45. package/dist/bundle/{chunk-3W5H4TM7.js → chunk-RY7PBP4F.js} +71 -31
  46. package/dist/bundle/{chunk-BMGVKULS.js → chunk-SCIC2CJS.js} +4 -4
  47. package/dist/bundle/{chunk-SIYT2BBI.js → chunk-SFC46MP2.js} +250 -9
  48. package/dist/bundle/chunk-SYEICLTR.js +66 -0
  49. package/dist/bundle/{chunk-HFUS33UT.js → chunk-T2GQA2E4.js} +4 -1
  50. package/dist/bundle/{chunk-ITUC5WAV.js → chunk-T3DTYJTG.js} +1 -1
  51. package/dist/bundle/{chunk-OMKPALMX.js → chunk-TCCN5TON.js} +1 -1
  52. package/dist/bundle/{chunk-FLOOPXOT.js → chunk-V6OIIVH3.js} +10 -10
  53. package/dist/bundle/{chunk-ACLILULA.js → chunk-VDUGE6TH.js} +2 -2
  54. package/dist/bundle/{chunk-3YRE6DNM.js → chunk-VINSQR4X.js} +7 -7
  55. package/dist/bundle/{chunk-UEGABYXI.js → chunk-VQZCIDSO.js} +2 -2
  56. package/dist/bundle/{chunk-ERBEBORA.js → chunk-WBAA2X3E.js} +10 -10
  57. package/dist/bundle/{chunk-M7C4IGJ6.js → chunk-Z75WYAX6.js} +6 -6
  58. package/dist/bundle/{chunk-GLLLYACZ.js → chunk-Z7N4MGOQ.js} +5 -5
  59. package/dist/bundle/{chunk-YA2JPMYX.js → chunk-ZKLXSVIO.js} +1 -1
  60. package/dist/bundle/{chunk-DPSH46NO.js → chunk-ZZSHGCRC.js} +3 -3
  61. package/dist/bundle/{command-contract-Y3GIKCPB.js → command-contract-Y4ZQAJEC.js} +14 -13
  62. package/dist/bundle/{decode-WVIDLK4E.js → decode-BIOOL5E4.js} +2 -2
  63. package/dist/bundle/{dist-KGQWS3XL.js → dist-TJVIRLE5.js} +79 -17
  64. package/dist/bundle/{echarts-VMKACZBF.js → echarts-ECPGMKXO.js} +2 -2
  65. package/dist/bundle/{embed-EQINOOST.js → embed-F7JFSLHN.js} +3 -3
  66. package/dist/bundle/{embedder-LM52TDRN.js → embedder-U4G74HV3.js} +6 -6
  67. package/dist/bundle/{first-run-H4VXZAAF.js → first-run-JTYPUYQP.js} +5 -5
  68. package/dist/bundle/first-screen-W6RWTAU7.js +33 -0
  69. package/dist/bundle/{instructions-NLSME663.js → instructions-WNCGZ7OJ.js} +1 -1
  70. package/dist/bundle/mail.js +2 -2
  71. package/dist/bundle/{node-FGMSXLTA.js → node-UIRGGMGT.js} +2 -2
  72. package/dist/bundle/{node-sqlite-K3T3ZRBY.js → node-sqlite-4ZM7OPRF.js} +3 -3
  73. package/dist/bundle/{oauth-OJKJ6JLH.js → oauth-5RAJZPBW.js} +4 -4
  74. package/dist/bundle/{open-DCYIXHXS.js → open-7ORCHOAI.js} +2 -2
  75. package/dist/bundle/{openai-C4H4W57J.js → openai-XSJNXJA7.js} +10 -10
  76. package/dist/bundle/{process-MN4NSYGA.js → process-ZLO72UVZ.js} +1 -1
  77. package/dist/bundle/{program-ZZZOKWCX.js → program-PFVJDKM4.js} +1911 -1655
  78. package/dist/bundle/{prompt-ELEJUDAU.js → prompt-IDUPCUGM.js} +2 -2
  79. package/dist/bundle/{recognize-G2FVMI5M.js → recognize-OS3EZKIM.js} +1 -1
  80. package/dist/bundle/{remote-F4YVSEYM.js → remote-PF4LZR65.js} +4 -4
  81. package/dist/bundle/{rerank-7VM5R5N6.js → rerank-CQNZF3JI.js} +4 -4
  82. package/dist/bundle/{serve-A7NRFPRN.js → serve-Y2DDLGBT.js} +6 -6
  83. package/dist/bundle/server-I3IALQMC.js +65 -0
  84. package/dist/bundle/{server-7R2BEIRY.js → server-TVRT7YEY.js} +33 -32
  85. package/dist/bundle/{sqlite-runtime-4SKUB4EN.js → sqlite-runtime-5343C3OE.js} +3 -3
  86. package/dist/bundle/{state-S2FKK2XB.js → state-4GBTMPIV.js} +3 -3
  87. package/dist/bundle/{store-4HAARQVR.js → store-OLBLTQPT.js} +56 -13
  88. package/dist/bundle/{store-FLHO3UMA.js → store-QA6QJ5BB.js} +20 -11
  89. package/dist/bundle/store-maintenance-command-LB6CMGP4.js +55 -0
  90. package/dist/commands/login.d.ts.map +1 -1
  91. package/dist/commands/login.js +19 -4
  92. package/dist/commands/login.js.map +1 -1
  93. package/dist/commands/session-start.d.ts.map +1 -1
  94. package/dist/commands/session-start.js +86 -11
  95. package/dist/commands/session-start.js.map +1 -1
  96. package/dist/mail/imap/errors.d.ts.map +1 -1
  97. package/dist/mail/imap/errors.js +14 -1
  98. package/dist/mail/imap/errors.js.map +1 -1
  99. package/dist/providers.d.ts +7 -0
  100. package/dist/providers.d.ts.map +1 -1
  101. package/dist/providers.js +5 -0
  102. package/dist/providers.js.map +1 -1
  103. package/dist/reasons.d.ts.map +1 -1
  104. package/dist/reasons.js +3 -0
  105. package/dist/reasons.js.map +1 -1
  106. package/dist/version.d.ts +1 -1
  107. package/dist/version.js +1 -1
  108. package/package.json +3 -3
  109. package/dist/bundle/chunk-KVSC657S.js +0 -656
  110. package/dist/bundle/first-screen-ZP74TJLK.js +0 -32
  111. package/dist/bundle/server-DFJA2HBO.js +0 -64
  112. package/dist/bundle/store-maintenance-command-BINJIQ6F.js +0 -54
@@ -13,31 +13,26 @@ import {
13
13
  permissionOverrides,
14
14
  projectFields,
15
15
  resolveOutput
16
- } from "./chunk-L3YX7A5M.js";
16
+ } from "./chunk-HRRSTIGP.js";
17
17
  import {
18
18
  currentCaller,
19
19
  endpointTemplate,
20
20
  errorDetailOf,
21
21
  framesOf,
22
- isCliFailure,
23
22
  keepsSuccess,
24
23
  providerErrorKey,
25
24
  renderEvent,
26
25
  runContextOf
27
- } from "./chunk-U43HUE35.js";
26
+ } from "./chunk-B74SOC4R.js";
28
27
  import {
29
28
  permissionCeiling
30
- } from "./chunk-ACLILULA.js";
29
+ } from "./chunk-VDUGE6TH.js";
31
30
  import {
32
31
  carries
33
- } from "./chunk-ITUC5WAV.js";
34
- import {
35
- filesPresent,
36
- sharedModelsDirectory
37
- } from "./chunk-MCR43SWG.js";
32
+ } from "./chunk-T3DTYJTG.js";
38
33
  import {
39
34
  note
40
- } from "./chunk-SMS5YNPB.js";
35
+ } from "./chunk-566MEXK5.js";
41
36
  import {
42
37
  FACT_STATUSES,
43
38
  LINK_KINDS,
@@ -46,7 +41,6 @@ import {
46
41
  MEMORY_SCOPES,
47
42
  MEMORY_STATUSES,
48
43
  PRIORITY_LABELS,
49
- RELATION_KINDS,
50
44
  TASK_KINDS,
51
45
  TASK_ORIGINS,
52
46
  TASK_STATES,
@@ -57,6 +51,7 @@ import {
57
51
  count,
58
52
  evidenceSource,
59
53
  id,
54
+ markStoreDamaged,
60
55
  organization,
61
56
  project,
62
57
  providerMetadata,
@@ -64,8 +59,9 @@ import {
64
59
  text,
65
60
  time,
66
61
  untrusted
67
- } from "./chunk-N5VEJ3E7.js";
62
+ } from "./chunk-HJ2CXDKJ.js";
68
63
  import {
64
+ DEAL_ROLES,
69
65
  FACT_TYPES,
70
66
  FIELD_TYPES,
71
67
  INVOICE_DIRECTIONS,
@@ -74,6 +70,8 @@ import {
74
70
  ORDER_PURPOSES,
75
71
  ORDER_STATUSES,
76
72
  QUERY_BACKENDS,
73
+ RELATION_KINDS,
74
+ STANDINGS,
77
75
  TAG_TYPES,
78
76
  describeQuery,
79
77
  event,
@@ -90,13 +88,21 @@ import {
90
88
  meetingStats,
91
89
  meetingSummary,
92
90
  meetingTranscript
93
- } from "./chunk-2NWOYXPJ.js";
91
+ } from "./chunk-I2SDXWLR.js";
92
+ import {
93
+ isCliFailure,
94
+ storeDamaged
95
+ } from "./chunk-SYEICLTR.js";
94
96
  import {
95
97
  sharedConfigPath
96
- } from "./chunk-QPF4LTK5.js";
98
+ } from "./chunk-3HDQVTND.js";
99
+ import {
100
+ filesPresent,
101
+ sharedModelsDirectory
102
+ } from "./chunk-O3M2S62X.js";
97
103
  import {
98
104
  storePath
99
- } from "./chunk-HTFBXGJF.js";
105
+ } from "./chunk-RPCKBXKN.js";
100
106
  import {
101
107
  configFilePath,
102
108
  createRecordLog,
@@ -168,7 +174,7 @@ import {
168
174
  __name
169
175
  } from "./chunk-ZVVMGPBJ.js";
170
176
 
171
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/ports/app.js
177
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/ports/app.js
172
178
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
173
179
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
174
180
  const name = envName(app, "READ_ONLY");
@@ -3881,7 +3887,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3881
3887
  }
3882
3888
  }, "refuseJoinedPath");
3883
3889
 
3884
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/sends/guarded.js
3890
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/sends/guarded.js
3885
3891
  import { AsyncLocalStorage } from "node:async_hooks";
3886
3892
  var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
3887
3893
  messageId: message2.id,
@@ -3987,7 +3993,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
3987
3993
  }, "guardedWrite");
3988
3994
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
3989
3995
 
3990
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/execution.js
3996
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/execution.js
3991
3997
  var DEFAULT_COMMAND_MS = 3e4;
3992
3998
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
3993
3999
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4170,7 +4176,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4170
4176
  }
4171
4177
  }, "withAbort");
4172
4178
 
4173
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4179
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4174
4180
  import { existsSync, readdirSync, readFileSync } from "node:fs";
4175
4181
  import { join } from "node:path";
4176
4182
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4192,7 +4198,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4192
4198
  }, "profilesWithAccounts");
4193
4199
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4194
4200
 
4195
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/background/budget.js
4201
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/background/budget.js
4196
4202
  var DEADLINE_MARGIN_MS = 5e3;
4197
4203
  var DEADLINE_MARGIN_SHARE = 0.15;
4198
4204
  var DEFAULT_REQUEST_MS = 2e3;
@@ -4235,7 +4241,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
4235
4241
  };
4236
4242
  }, "runBudget");
4237
4243
 
4238
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4244
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4239
4245
  var CORE_LOG_EVENTS = defineLogEvents([
4240
4246
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
4241
4247
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -4269,7 +4275,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
4269
4275
  cache: "cache.answered"
4270
4276
  };
4271
4277
 
4272
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
4278
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
4273
4279
  var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
4274
4280
  var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
4275
4281
  var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
@@ -4282,13 +4288,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
4282
4288
  error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
4283
4289
  }), "snakeLogger");
4284
4290
 
4285
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/run.js
4291
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/run.js
4286
4292
  import { randomUUID } from "node:crypto";
4287
4293
  import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
4288
4294
  import { userInfo } from "node:os";
4289
4295
  import { join as join2, sep } from "node:path";
4290
4296
 
4291
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
4297
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
4292
4298
  var diagnostic = {
4293
4299
  event: true,
4294
4300
  operation: true,
@@ -4358,7 +4364,7 @@ var LOG_ATTRIBUTES = [
4358
4364
  ...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
4359
4365
  ].sort();
4360
4366
 
4361
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/run.js
4367
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/run.js
4362
4368
  var KEEP_RUNS_FOR_DAYS = 30;
4363
4369
  var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
4364
4370
  var RUNS_SIZE_LIMIT_MB = 200;
@@ -4711,7 +4717,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
4711
4717
  };
4712
4718
  }, "metadataOf");
4713
4719
 
4714
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/scope.js
4720
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/scope.js
4715
4721
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
4716
4722
  import { randomBytes } from "node:crypto";
4717
4723
  var scopes = new AsyncLocalStorage2();
@@ -4749,7 +4755,7 @@ var attempts = new AsyncLocalStorage2();
4749
4755
  var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
4750
4756
  var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
4751
4757
 
4752
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/recording.js
4758
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/recording.js
4753
4759
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
4754
4760
  const recording = startRecording(options);
4755
4761
  try {
@@ -4840,7 +4846,14 @@ var startRecording = /* @__PURE__ */ __name((options) => {
4840
4846
  ...partial2 ? { partial: partial2 } : {}
4841
4847
  });
4842
4848
  }, "succeed"),
4843
- fail: /* @__PURE__ */ __name(async (error) => {
4849
+ fail: /* @__PURE__ */ __name(async (thrown) => {
4850
+ const error = storeDamaged(thrown);
4851
+ markStoreDamaged(thrown, {
4852
+ store: storePath(options.env),
4853
+ command: `${options.app.command} ${options.command}`,
4854
+ version: options.app.version,
4855
+ runId
4856
+ });
4844
4857
  const failed = run ?? (held ? keep(open({ startedAt })) : void 0);
4845
4858
  if (failed) {
4846
4859
  if (!isCliFailure(error))
@@ -4855,8 +4868,8 @@ var startRecording = /* @__PURE__ */ __name((options) => {
4855
4868
  ...run ? {} : { keptBecauseFailed: true }
4856
4869
  });
4857
4870
  }
4858
- if (typeof error === "object" && error !== null)
4859
- settled.add(error);
4871
+ if (typeof thrown === "object" && thrown !== null)
4872
+ settled.add(thrown);
4860
4873
  }, "fail")
4861
4874
  };
4862
4875
  }, "startRecording");
@@ -4934,7 +4947,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
4934
4947
  return void 0;
4935
4948
  }, "partialOutcome");
4936
4949
 
4937
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4950
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4938
4951
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4939
4952
  if (ms2 === void 0)
4940
4953
  return body();
@@ -4960,7 +4973,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4960
4973
  }
4961
4974
  }, "withDeadline");
4962
4975
 
4963
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/profile.js
4976
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/profile.js
4964
4977
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
4965
4978
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
4966
4979
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -5029,10 +5042,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
5029
5042
  return void 0;
5030
5043
  }, "sampleCommand");
5031
5044
 
5032
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/settings.js
5045
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/settings.js
5033
5046
  import { existsSync as existsSync4 } from "node:fs";
5034
5047
 
5035
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/models/endpoint.js
5048
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/models/endpoint.js
5036
5049
  var endpoint = /* @__PURE__ */ __name((value) => {
5037
5050
  try {
5038
5051
  const url2 = new URL(value);
@@ -5042,7 +5055,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
5042
5055
  }
5043
5056
  }, "endpoint");
5044
5057
 
5045
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/models/settings.js
5058
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/models/settings.js
5046
5059
  var MODEL_FIELDS = ["provider", "model", "base_url"];
5047
5060
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
5048
5061
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -5111,7 +5124,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
5111
5124
  };
5112
5125
  }, "modelTarget");
5113
5126
 
5114
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5127
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5115
5128
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
5116
5129
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
5117
5130
  var AI_FIELDS = {
@@ -5155,7 +5168,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
5155
5168
  };
5156
5169
  }, "resolveAISettings");
5157
5170
 
5158
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/domain/duration.js
5171
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/duration.js
5159
5172
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
5160
5173
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
5161
5174
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -5169,7 +5182,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
5169
5182
  return ms2;
5170
5183
  }, "parseDuration");
5171
5184
 
5172
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/embeddings/models.js
5185
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/embeddings/models.js
5173
5186
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
5174
5187
  var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
5175
5188
  var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
@@ -5328,7 +5341,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
5328
5341
  var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
5329
5342
  var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
5330
5343
 
5331
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5344
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5332
5345
  var HISTORY_MAX_DAYS = 1095;
5333
5346
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
5334
5347
  var DAY_MS2 = 24 * 60 * 60 * 1e3;
@@ -5375,7 +5388,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
5375
5388
  return { batch: { ...batch, messages }, skipped };
5376
5389
  }, "limitBatch");
5377
5390
 
5378
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
5391
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
5379
5392
  import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
5380
5393
  import { join as join3 } from "node:path";
5381
5394
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -5464,10 +5477,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
5464
5477
  return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
5465
5478
  }, "registryProfiles");
5466
5479
 
5467
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5480
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5468
5481
  import { readFileSync as readFileSync4 } from "node:fs";
5469
5482
 
5470
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
5483
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
5471
5484
  var REPAIR_WORDS = {
5472
5485
  byte_order_mark: "an invisible byte-order mark at the start",
5473
5486
  comment: "a comment, which JSON does not allow",
@@ -5708,7 +5721,7 @@ ${parts.join(",\n")}
5708
5721
  ${indent}${close}`;
5709
5722
  }, "serialise");
5710
5723
 
5711
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5724
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5712
5725
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5713
5726
  var SECTIONS = ["personal", "bot"];
5714
5727
  var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
@@ -6002,7 +6015,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
6002
6015
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
6003
6016
  }, "readConfigFile");
6004
6017
 
6005
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/default-config.js
6018
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/default-config.js
6006
6019
  import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
6007
6020
  import { dirname, join as join4 } from "node:path";
6008
6021
  var DEFAULT_CONFIG = {
@@ -6031,7 +6044,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
6031
6044
  }
6032
6045
  __name(ensureDefaultConfig, "ensureDefaultConfig");
6033
6046
 
6034
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
6047
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
6035
6048
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
6036
6049
  var parentOf = /* @__PURE__ */ __name((config, key) => {
6037
6050
  const path2 = key.split(".");
@@ -6053,7 +6066,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
6053
6066
  return { config, added };
6054
6067
  }, "withSettingDefaults");
6055
6068
 
6056
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/settings.js
6069
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/settings.js
6057
6070
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
6058
6071
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
6059
6072
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -6563,7 +6576,7 @@ var given = /* @__PURE__ */ __name((value) => {
6563
6576
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
6564
6577
  }, "given");
6565
6578
 
6566
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/context.js
6579
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/context.js
6567
6580
  var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
6568
6581
  const { deadline, signal, app } = environmentOf(command);
6569
6582
  const now = deadline?.();
@@ -6681,6 +6694,13 @@ var baseContext = /* @__PURE__ */ __name((command, resolveSettings) => {
6681
6694
  }, "track")
6682
6695
  };
6683
6696
  }, "baseContext");
6697
+ var inCommandRun = /* @__PURE__ */ __name((command, body) => {
6698
+ const { resolveSettings } = environmentOf(command);
6699
+ if (!resolveSettings)
6700
+ return body(() => {
6701
+ });
6702
+ return baseContext(command, (flags, options) => resolveSettings(flags, { ...options, needsProfile: false })).run(body);
6703
+ }, "inCommandRun");
6684
6704
  var commandPath = /* @__PURE__ */ __name((command) => {
6685
6705
  const words = [];
6686
6706
  for (let current2 = command; current2?.parent; current2 = current2.parent)
@@ -6688,7 +6708,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
6688
6708
  return words.join(" ");
6689
6709
  }, "commandPath");
6690
6710
 
6691
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/effects.js
6711
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/effects.js
6692
6712
  var REMOTE_READ = { remote: "read", local: "read" };
6693
6713
  var FETCH = { remote: "read", local: "write" };
6694
6714
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -6816,7 +6836,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6816
6836
  throw readOnlyRefusal(lock, what);
6817
6837
  }, "refuseUnderReadOnly");
6818
6838
 
6819
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/account.js
6839
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/account.js
6820
6840
  var account = strictObject({
6821
6841
  provider: text,
6822
6842
  id,
@@ -6826,7 +6846,7 @@ var account = strictObject({
6826
6846
  scope: optional(picklist(["personal", "work"]))
6827
6847
  });
6828
6848
 
6829
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6849
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6830
6850
  var accountSession = strictObject({
6831
6851
  current: boolean(),
6832
6852
  client: nullable(text),
@@ -6836,7 +6856,7 @@ var accountSession = strictObject({
6836
6856
  created_at: optional(nullable(time))
6837
6857
  });
6838
6858
 
6839
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6859
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6840
6860
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
6841
6861
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
6842
6862
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -6854,7 +6874,7 @@ var accountPrivacy = strictObject({
6854
6874
  });
6855
6875
  var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
6856
6876
 
6857
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6877
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6858
6878
  var accountProfile = strictObject({
6859
6879
  profile: id,
6860
6880
  current: boolean(),
@@ -6866,7 +6886,7 @@ var accountProfile = strictObject({
6866
6886
  bot: optional(literal(true))
6867
6887
  });
6868
6888
 
6869
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6889
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6870
6890
  var milliseconds = pipe(number(), minValue(0));
6871
6891
  var counterReading = strictObject({
6872
6892
  counter: picklist(["views", "reactions", "comments"]),
@@ -6878,7 +6898,7 @@ var counterReading = strictObject({
6878
6898
  });
6879
6899
  var selection = record(string(), unknown());
6880
6900
 
6881
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6901
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6882
6902
  var adminRow = strictObject({
6883
6903
  ref: reference,
6884
6904
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -6931,7 +6951,7 @@ var adminReport = strictObject({
6931
6951
  rows: array(adminRow)
6932
6952
  });
6933
6953
 
6934
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/task.js
6954
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/task.js
6935
6955
  var closeSuggestion = strictObject({
6936
6956
  as: picklist(["done", "dismissed"]),
6937
6957
  /** The agent's name. */
@@ -6993,7 +7013,7 @@ var task = strictObject({
6993
7013
  updated_at: optional(time)
6994
7014
  });
6995
7015
 
6996
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/agenda.js
7016
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6997
7017
  var agendaChat = strictObject({
6998
7018
  chat: reference,
6999
7019
  title: nullable(text),
@@ -7063,11 +7083,11 @@ var agenda = strictObject({
7063
7083
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
7064
7084
  });
7065
7085
 
7066
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
7086
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
7067
7087
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
7068
7088
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
7069
7089
 
7070
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/attachment.js
7090
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/attachment.js
7071
7091
  var attachment = strictObject({
7072
7092
  /** The message it came with, as a locator; absent inside that message. */
7073
7093
  message: optional(reference),
@@ -7105,7 +7125,7 @@ var attachment = strictObject({
7105
7125
  });
7106
7126
  var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
7107
7127
 
7108
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
7128
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
7109
7129
  var actionableError = objectWithRest({
7110
7130
  code: text,
7111
7131
  message: text,
@@ -7122,7 +7142,7 @@ var batchResult = strictObject({
7122
7142
  max_error_percent: count
7123
7143
  });
7124
7144
 
7125
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
7145
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
7126
7146
  var extractionItem = strictObject({
7127
7147
  ref: reference,
7128
7148
  attachment: count,
@@ -7155,7 +7175,7 @@ var extractionReport = strictObject({
7155
7175
  cursor: optional(text)
7156
7176
  });
7157
7177
 
7158
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
7178
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
7159
7179
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
7160
7180
  var attachmentBytes = strictObject({
7161
7181
  ref: reference,
@@ -7183,7 +7203,7 @@ var attachmentTextChange = strictObject({
7183
7203
  replaced: nullable(picklist(["extracted", "agent"]))
7184
7204
  });
7185
7205
 
7186
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chart.js
7206
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chart.js
7187
7207
  var chart = strictObject({
7188
7208
  version: literal(1),
7189
7209
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -7198,7 +7218,7 @@ var chart = strictObject({
7198
7218
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
7199
7219
  });
7200
7220
 
7201
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/member.js
7221
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/member.js
7202
7222
  var member = strictObject({
7203
7223
  id,
7204
7224
  name: nullable(text),
@@ -7221,7 +7241,7 @@ var member = strictObject({
7221
7241
  check: optional(record(string(), unknown()))
7222
7242
  });
7223
7243
 
7224
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat.js
7244
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat.js
7225
7245
  var setting = optional(nullable(boolean()));
7226
7246
  var chat = strictObject({
7227
7247
  ref: reference,
@@ -7262,7 +7282,7 @@ var chat = strictObject({
7262
7282
  members: optional(array(member))
7263
7283
  });
7264
7284
 
7265
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/folder.js
7285
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/folder.js
7266
7286
  var named = strictObject({
7267
7287
  id,
7268
7288
  title: nullable(text),
@@ -7285,7 +7305,7 @@ var folder = strictObject({
7285
7305
  excluded_chats: optional(array(named))
7286
7306
  });
7287
7307
 
7288
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7308
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7289
7309
  var inviteLink = strictObject({
7290
7310
  link: text,
7291
7311
  /** Who joins by it asks first, and an admin lets them in. */
@@ -7301,7 +7321,7 @@ var inviteLink = strictObject({
7301
7321
  joined_count: optional(count)
7302
7322
  });
7303
7323
 
7304
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7324
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7305
7325
  var operated = { operation_id: id, chat_id: id };
7306
7326
  var group = strictObject({
7307
7327
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -7381,7 +7401,7 @@ var chatFolderOrder = strictObject({
7381
7401
  folders: array(strictObject({ id, title: text }))
7382
7402
  });
7383
7403
 
7384
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7404
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7385
7405
  var operated2 = { operation_id: id, chat_id: id };
7386
7406
  var chatRemoval = strictObject(operated2);
7387
7407
  var chatMuting = strictObject({
@@ -7392,7 +7412,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
7392
7412
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
7393
7413
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
7394
7414
 
7395
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7415
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7396
7416
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
7397
7417
  var chatEvent = strictObject({
7398
7418
  chat_id: id,
@@ -7409,7 +7429,7 @@ var chatEvent = strictObject({
7409
7429
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
7410
7430
  });
7411
7431
 
7412
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7432
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7413
7433
  var chatMetadata = strictObject({
7414
7434
  chat_id: id,
7415
7435
  title: nullable(text),
@@ -7424,7 +7444,7 @@ var chatMetadataRefresh = strictObject({
7424
7444
  has_more: boolean()
7425
7445
  });
7426
7446
 
7427
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7447
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7428
7448
  var action = picklist(["report", "delete", "remove"]);
7429
7449
  var level = picklist(["deny", "readonly", "ask", "allow"]);
7430
7450
  var chatRules = strictObject({
@@ -7461,7 +7481,7 @@ var chatModeration = strictObject({
7461
7481
  }))
7462
7482
  });
7463
7483
 
7464
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7484
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7465
7485
  var optionalCount = optional(count);
7466
7486
  var minutes = nullable(number());
7467
7487
  var chatStats = strictObject({
@@ -7535,7 +7555,7 @@ var taskStats = strictObject({
7535
7555
  }))
7536
7556
  });
7537
7557
 
7538
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7558
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7539
7559
  var memberCount = strictObject({
7540
7560
  day: pipe(text, isoDate()),
7541
7561
  participants: nullable(count),
@@ -7558,7 +7578,7 @@ var chatTracking = strictObject({
7558
7578
  tracked: boolean()
7559
7579
  });
7560
7580
 
7561
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7581
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7562
7582
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
7563
7583
  var contactSync = strictObject({ added: count, changed: count, known: count });
7564
7584
  var profileFields = {
@@ -7596,7 +7616,7 @@ var profileFields = {
7596
7616
  }))
7597
7617
  };
7598
7618
 
7599
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/contact.js
7619
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/contact.js
7600
7620
  var contact = strictObject({
7601
7621
  ref: reference,
7602
7622
  id,
@@ -7627,7 +7647,7 @@ var contact = strictObject({
7627
7647
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
7628
7648
  });
7629
7649
 
7630
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
7650
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
7631
7651
  var WEIGHTS = {
7632
7652
  bot: 3,
7633
7653
  scam: 3,
@@ -7652,7 +7672,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
7652
7672
  var DIGITS = /\d{5,}/;
7653
7673
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
7654
7674
 
7655
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
7675
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
7656
7676
  var linkedIdentity = strictObject({
7657
7677
  provider: text,
7658
7678
  id,
@@ -7660,6 +7680,7 @@ var linkedIdentity = strictObject({
7660
7680
  username: nullable(text),
7661
7681
  is_bot: nullable(boolean()),
7662
7682
  accounts: array(id),
7683
+ seen_in: array(strictObject({ account: id, scope: picklist(["personal", "work"]) })),
7663
7684
  method: text,
7664
7685
  linked_by: text,
7665
7686
  linked_at: time
@@ -7693,7 +7714,7 @@ var contactCheck = strictObject({
7693
7714
  checked_at: time
7694
7715
  });
7695
7716
 
7696
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message.js
7717
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message.js
7697
7718
  var quoted = strictObject({
7698
7719
  id,
7699
7720
  sender_id: nullable(id),
@@ -7812,7 +7833,7 @@ var message = strictObject({
7812
7833
  provider_metadata: providerMetadata
7813
7834
  });
7814
7835
 
7815
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7836
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7816
7837
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
7817
7838
  var contextMessage = strictObject({
7818
7839
  locator: reference,
@@ -7846,6 +7867,8 @@ var contextEvent = strictObject({
7846
7867
  });
7847
7868
  var context = strictObject({
7848
7869
  person: contextPerson,
7870
+ /** The accounts read: only those of the scopes the caller may read. */
7871
+ accounts: array(strictObject({ provider: text, account: id, scope: picklist(["personal", "work"]) })),
7849
7872
  shared: array(sharedChat),
7850
7873
  last: strictObject({
7851
7874
  from_them: nullable(contextMessage),
@@ -8010,7 +8033,7 @@ var contactPreparation = strictObject({
8010
8033
  })
8011
8034
  });
8012
8035
 
8013
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8036
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8014
8037
  var contactNote = strictObject({
8015
8038
  id,
8016
8039
  /** The contact, as a `contact:` reference. */
@@ -8022,13 +8045,13 @@ var contactNote = strictObject({
8022
8045
  updated_at: time
8023
8046
  });
8024
8047
 
8025
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8048
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8026
8049
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
8027
8050
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
8028
8051
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
8029
8052
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
8030
8053
 
8031
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8054
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8032
8055
  var conversation = strictObject({
8033
8056
  id,
8034
8057
  chat: reference,
@@ -8043,7 +8066,7 @@ var conversation = strictObject({
8043
8066
  rules_version: count
8044
8067
  });
8045
8068
 
8046
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
8069
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
8047
8070
  var conversationBuild = strictObject({
8048
8071
  chat: id,
8049
8072
  messages: count,
@@ -8068,7 +8091,7 @@ var catchUpPreparation = strictObject({
8068
8091
  prepared: optional(conversationPreparation)
8069
8092
  });
8070
8093
 
8071
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8094
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8072
8095
  var conversationDetails = union([
8073
8096
  strictObject({ ...conversation.entries, messages: array(message) }),
8074
8097
  message
@@ -8158,7 +8181,7 @@ var conversationHit = strictObject({
8158
8181
  stale: boolean()
8159
8182
  });
8160
8183
 
8161
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/counters.js
8184
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/counters.js
8162
8185
  var counters = strictObject({
8163
8186
  cutoff: time,
8164
8187
  max_age_ms: milliseconds,
@@ -8188,7 +8211,7 @@ var counterRefresh = strictObject({
8188
8211
  complete: optional(boolean())
8189
8212
  });
8190
8213
 
8191
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/deal.js
8214
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/deal.js
8192
8215
  var nullableText = nullable(text);
8193
8216
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
8194
8217
  var outcome = picklist(["open", "won", "lost"]);
@@ -8225,7 +8248,7 @@ var deal = strictObject({
8225
8248
  value: unknown(),
8226
8249
  option_id: optional(union([string(), array(string())]))
8227
8250
  })),
8228
- people: array(strictObject({ ...party.entries, role: picklist(["owner", "contact", "decision-maker"]) })),
8251
+ people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
8229
8252
  author: strictObject({
8230
8253
  type: picklist(["person", "bot"]),
8231
8254
  id,
@@ -8252,7 +8275,10 @@ var pipelineStage = strictObject({
8252
8275
  open: count,
8253
8276
  /** With a funnel: rows that got this far, and the share of them that reached the next stage. */
8254
8277
  reached: optional(count),
8255
- conversion: optional(nullable(number()))
8278
+ conversion: optional(nullable(number())),
8279
+ /** With a funnel: rows standing in it now, and their sum per currency, never converted. */
8280
+ items: optional(count),
8281
+ amounts: optional(array(strictObject({ amount: text, currency: text, items: count })))
8256
8282
  });
8257
8283
  var pipeline = strictObject({
8258
8284
  id,
@@ -8275,7 +8301,7 @@ var stage = strictObject({
8275
8301
  untrusted
8276
8302
  });
8277
8303
 
8278
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/document.js
8304
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/document.js
8279
8305
  var document = strictObject({
8280
8306
  ref: reference,
8281
8307
  id,
@@ -8290,7 +8316,7 @@ var document = strictObject({
8290
8316
  owners: optional(array(text))
8291
8317
  });
8292
8318
 
8293
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8319
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8294
8320
  var documentLink = strictObject({
8295
8321
  ref: reference,
8296
8322
  url: text,
@@ -8301,7 +8327,7 @@ var documentLink = strictObject({
8301
8327
  sender: strictObject({ id: nullable(id), name: nullable(text) })
8302
8328
  });
8303
8329
 
8304
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8330
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8305
8331
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
8306
8332
  var contribution = strictObject({
8307
8333
  message: evidenceMessage,
@@ -8331,7 +8357,7 @@ var retentionStay = strictObject({
8331
8357
  });
8332
8358
  var evidence = union([contribution, retentionStay]);
8333
8359
 
8334
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/fact.js
8360
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/fact.js
8335
8361
  var fact = strictObject({
8336
8362
  ref: reference,
8337
8363
  id,
@@ -8361,7 +8387,7 @@ var fact = strictObject({
8361
8387
  updated_at: time
8362
8388
  });
8363
8389
 
8364
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/hit.js
8390
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/hit.js
8365
8391
  var hit = strictObject({
8366
8392
  kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
8367
8393
  ref: reference,
@@ -8399,7 +8425,7 @@ var hit = strictObject({
8399
8425
  untrusted
8400
8426
  });
8401
8427
 
8402
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/identity.js
8428
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/identity.js
8403
8429
  var identity = strictObject({
8404
8430
  ref: reference,
8405
8431
  provider: text,
@@ -8412,7 +8438,7 @@ var identity = strictObject({
8412
8438
  person: optional(nullable(reference))
8413
8439
  });
8414
8440
 
8415
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8441
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8416
8442
  var imageEmbedding = strictObject({
8417
8443
  model: text,
8418
8444
  embedded: count,
@@ -8421,13 +8447,13 @@ var imageEmbedding = strictObject({
8421
8447
  more: boolean()
8422
8448
  });
8423
8449
 
8424
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8450
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8425
8451
  import { spawn } from "node:child_process";
8426
8452
  import { randomBytes as randomBytes2 } from "node:crypto";
8427
8453
  import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
8428
8454
  import { dirname as dirname2, join as join5 } from "node:path";
8429
8455
 
8430
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8456
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8431
8457
  var progressOf = /* @__PURE__ */ __name((input) => {
8432
8458
  const total = input.total ?? null;
8433
8459
  const updated = input.updatedAt ?? null;
@@ -8443,7 +8469,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
8443
8469
  };
8444
8470
  }, "progressOf");
8445
8471
 
8446
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8472
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8447
8473
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
8448
8474
  const run = currentRun();
8449
8475
  const trace = traceId ?? run.traceId;
@@ -8457,7 +8483,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
8457
8483
  }));
8458
8484
  }, "recordLogFor");
8459
8485
 
8460
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8486
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8461
8487
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
8462
8488
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
8463
8489
  const out = openSync(log, "a", 384);
@@ -8612,7 +8638,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
8612
8638
  return { job: id6, pid, chat: input.chat, log };
8613
8639
  }, "startArchiveJob");
8614
8640
 
8615
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/job.js
8641
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/job.js
8616
8642
  var problem = strictObject({ code: text, message: text });
8617
8643
  var job = strictObject({
8618
8644
  id,
@@ -8635,7 +8661,7 @@ var job = strictObject({
8635
8661
  error: optional(problem)
8636
8662
  });
8637
8663
 
8638
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8664
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8639
8665
  var joinRequest = strictObject({
8640
8666
  person_id: id,
8641
8667
  name: nullable(text),
@@ -8646,7 +8672,7 @@ var joinRequest = strictObject({
8646
8672
  about: optional(text)
8647
8673
  });
8648
8674
 
8649
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8675
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8650
8676
  var botProfile = strictObject({
8651
8677
  name: text,
8652
8678
  token: text,
@@ -8739,7 +8765,7 @@ var stickerInventory = strictObject({
8739
8765
  url: optional(nullable(text))
8740
8766
  });
8741
8767
 
8742
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8768
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8743
8769
  var pollVote = strictObject({
8744
8770
  person_id: id,
8745
8771
  name: nullable(text),
@@ -8749,7 +8775,7 @@ var pollVote = strictObject({
8749
8775
  voted_at: time
8750
8776
  });
8751
8777
 
8752
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/listener.js
8778
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/listener.js
8753
8779
  var reactions = unwrap(unwrap(message.entries.reactions));
8754
8780
  var observation = strictObject({
8755
8781
  value: pipe(number(), minValue(0)),
@@ -8791,7 +8817,7 @@ var serveSummary = strictObject({
8791
8817
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
8792
8818
  });
8793
8819
 
8794
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8820
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8795
8821
  var mailCounts = strictObject({
8796
8822
  by: picklist(["day", "week", "sender"]),
8797
8823
  received: count,
@@ -8806,7 +8832,7 @@ var mailCounts = strictObject({
8806
8832
  }))
8807
8833
  });
8808
8834
 
8809
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8835
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8810
8836
  var evidence2 = strictObject({ reference, fingerprint: text });
8811
8837
  var base = { id, evidence: array(evidence2) };
8812
8838
  var finding = variant("kind", [
@@ -8950,7 +8976,7 @@ var mailFindings = strictObject({
8950
8976
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
8951
8977
  });
8952
8978
 
8953
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8979
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8954
8980
  var mediaArchive = strictObject({
8955
8981
  directory: text,
8956
8982
  chats: count,
@@ -8982,7 +9008,7 @@ var mediaArchiveTimer = union([
8982
9008
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
8983
9009
  ]);
8984
9010
 
8985
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
9011
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8986
9012
  var preparationId = pipe(string(), minLength(1));
8987
9013
  var preparationCount = pipe(number(), integer(), minValue(0));
8988
9014
  var preparationTime = nullable(isoTime);
@@ -9074,7 +9100,7 @@ var preparationMeeting = strictObject({
9074
9100
  updated_at: isoTime
9075
9101
  });
9076
9102
 
9077
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9103
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9078
9104
  var meetingEvidence = preparationEvidence;
9079
9105
  var meetingPersonContext = strictObject({
9080
9106
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -9096,7 +9122,7 @@ var meetingPersonContext = strictObject({
9096
9122
  })
9097
9123
  });
9098
9124
 
9099
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9125
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9100
9126
  var evidence3 = strictObject({ reference, fingerprint: text });
9101
9127
  var base2 = { id, project: reference, evidence: array(evidence3) };
9102
9128
  var finding2 = variant("kind", [
@@ -9134,7 +9160,7 @@ var meetingFindings = strictObject({
9134
9160
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
9135
9161
  });
9136
9162
 
9137
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9163
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9138
9164
  var communicationCoverage = strictObject({
9139
9165
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
9140
9166
  query: string(),
@@ -9179,7 +9205,7 @@ var preparationCommunications = strictObject({
9179
9205
  }))
9180
9206
  });
9181
9207
 
9182
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9208
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9183
9209
  var meetingPreparation = strictObject({
9184
9210
  communications: optional(preparationCommunications),
9185
9211
  schema_version: literal(1),
@@ -9292,7 +9318,7 @@ var meetingPreparation = strictObject({
9292
9318
  })
9293
9319
  });
9294
9320
 
9295
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9321
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9296
9322
  var count4 = pipe(number(), integer(), minValue(0));
9297
9323
  var id3 = pipe(string(), minLength(1));
9298
9324
  var text3 = string();
@@ -9356,7 +9382,7 @@ var meetingProjectCandidates = strictObject({
9356
9382
  })
9357
9383
  });
9358
9384
 
9359
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9385
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9360
9386
  var count5 = pipe(number(), integer(), minValue(0));
9361
9387
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
9362
9388
  var meetingSeriesInventory = strictObject({
@@ -9386,7 +9412,7 @@ var meetingSeriesInventory = strictObject({
9386
9412
  })
9387
9413
  });
9388
9414
 
9389
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9415
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9390
9416
  var text4 = string();
9391
9417
  var id5 = pipe(number(), integer(), minValue(1));
9392
9418
  var revision = picklist(["current", "superseded"]);
@@ -9403,7 +9429,7 @@ var meetingTaskProposal = strictObject({
9403
9429
  persistence: literal("proposal-only")
9404
9430
  });
9405
9431
 
9406
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/memory.js
9432
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/memory.js
9407
9433
  var memory = strictObject({
9408
9434
  ref: reference,
9409
9435
  id,
@@ -9430,7 +9456,7 @@ var memory = strictObject({
9430
9456
  updated_at: time
9431
9457
  });
9432
9458
 
9433
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/mention.js
9459
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/mention.js
9434
9460
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
9435
9461
  var status = picklist(["found", "linked", "dismissed"]);
9436
9462
  var mention = strictObject({
@@ -9473,13 +9499,13 @@ var mentionRebuild = strictObject({
9473
9499
  mentions: count
9474
9500
  });
9475
9501
 
9476
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9502
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9477
9503
  var operated3 = { operation_id: id, chat_id: id };
9478
9504
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
9479
9505
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
9480
9506
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
9481
9507
 
9482
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9508
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9483
9509
  var messageTranscript = strictObject({
9484
9510
  message_id: id,
9485
9511
  text,
@@ -9537,7 +9563,7 @@ var evidencePacket = strictObject({
9537
9563
  }))
9538
9564
  });
9539
9565
 
9540
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9566
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9541
9567
  var messageThread = strictObject({
9542
9568
  ref: reference,
9543
9569
  chat: id,
@@ -9554,7 +9580,7 @@ var messageThread = strictObject({
9554
9580
  });
9555
9581
  var messageContext = union([message, messageThread]);
9556
9582
 
9557
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9583
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9558
9584
  var messageCounts = strictObject({
9559
9585
  by: picklist(["chat", "sender", "day", "hour"]),
9560
9586
  total: count,
@@ -9567,7 +9593,7 @@ var messageCounts = strictObject({
9567
9593
  }))
9568
9594
  });
9569
9595
 
9570
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9596
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9571
9597
  var messageLink = strictObject({
9572
9598
  ref: reference,
9573
9599
  url: nullable(text),
@@ -9584,7 +9610,7 @@ var messageLink = strictObject({
9584
9610
  })))
9585
9611
  });
9586
9612
 
9587
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9613
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9588
9614
  var savedMessageFile = strictObject({
9589
9615
  kind: text,
9590
9616
  path: text,
@@ -9671,7 +9697,7 @@ var messageSyncAll = strictObject({
9671
9697
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
9672
9698
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
9673
9699
 
9674
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9700
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9675
9701
  var messageWrite = strictObject({
9676
9702
  operation_id: id,
9677
9703
  message,
@@ -9686,7 +9712,7 @@ var draftWrite = strictObject({
9686
9712
  });
9687
9713
  var messageSend = union([messageWrite, draftWrite]);
9688
9714
 
9689
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/model.js
9715
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/model.js
9690
9716
  var model2 = strictObject({
9691
9717
  id,
9692
9718
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -9703,7 +9729,7 @@ var model2 = strictObject({
9703
9729
  path: text
9704
9730
  });
9705
9731
 
9706
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9732
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9707
9733
  var source = picklist(["environment", "keyring", "file"]);
9708
9734
  var modelKey = strictObject({
9709
9735
  provider: text,
@@ -9713,7 +9739,7 @@ var modelKey = strictObject({
9713
9739
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
9714
9740
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
9715
9741
 
9716
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9742
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9717
9743
  var versus = strictObject({ current: number(), previous: number() });
9718
9744
  var person = { person_ref: reference, name: nullable(text) };
9719
9745
  var graph = strictObject({
@@ -9747,14 +9773,14 @@ var officialStats = strictObject({
9747
9773
  graphs: record(string(), union([graph, strictObject({ error: text })]))
9748
9774
  });
9749
9775
 
9750
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/person.js
9776
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/person.js
9751
9777
  var person2 = strictObject({
9752
9778
  ref: reference,
9753
9779
  name: nullable(text),
9754
9780
  identities: optional(array(identity))
9755
9781
  });
9756
9782
 
9757
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/poll.js
9783
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/poll.js
9758
9784
  var poll = strictObject({
9759
9785
  chat_id: id,
9760
9786
  message_id: id,
@@ -9770,11 +9796,11 @@ var poll = strictObject({
9770
9796
  });
9771
9797
  var pollChange = strictObject({ operation_id: id, poll });
9772
9798
 
9773
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9799
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9774
9800
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
9775
9801
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
9776
9802
 
9777
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9803
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9778
9804
  var figures = record(string(), number());
9779
9805
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
9780
9806
  var rankingRow = strictObject({
@@ -9821,7 +9847,7 @@ var ranking = strictObject({
9821
9847
  rows: array(rankingRow)
9822
9848
  });
9823
9849
 
9824
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9850
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9825
9851
  var reaction = strictObject({
9826
9852
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
9827
9853
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -9829,7 +9855,7 @@ var reaction = strictObject({
9829
9855
  reacted_at: time
9830
9856
  });
9831
9857
 
9832
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9858
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9833
9859
  var reactionChange = strictObject({
9834
9860
  operation_id: id,
9835
9861
  chat_id: id,
@@ -9837,7 +9863,7 @@ var reactionChange = strictObject({
9837
9863
  reaction: nullable(text)
9838
9864
  });
9839
9865
 
9840
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9866
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9841
9867
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
9842
9868
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
9843
9869
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -9848,7 +9874,7 @@ var recipientChange = strictObject({
9848
9874
  ...partial(recipientOff).entries
9849
9875
  });
9850
9876
 
9851
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9877
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9852
9878
  var events = array(record(string(), unknown()));
9853
9879
  var recordedRun = strictObject({
9854
9880
  run_id: id,
@@ -9920,7 +9946,7 @@ var runHit = strictObject({
9920
9946
  });
9921
9947
  var runLocation = strictObject({ path: text });
9922
9948
 
9923
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9949
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9924
9950
  var relationship = strictObject({
9925
9951
  id,
9926
9952
  from: reference,
@@ -9934,10 +9960,16 @@ var relationship = strictObject({
9934
9960
  confirmed: boolean(),
9935
9961
  provenance: nullable(text),
9936
9962
  confidence_category: picklist(["owner-confirmed", "weak"]),
9963
+ /** `reported`: a CRM account says so and nobody confirmed it; `ended`: it no longer holds. */
9964
+ standing: picklist(STANDINGS),
9965
+ /** A job title beside it, never its role. */
9966
+ position: nullable(text),
9967
+ starts_at: nullable(time),
9968
+ ends_at: nullable(time),
9937
9969
  created_at: time
9938
9970
  });
9939
9971
 
9940
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9972
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9941
9973
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
9942
9974
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
9943
9975
  var responseTimes = strictObject({
@@ -9954,7 +9986,7 @@ var waitingChats = strictObject({
9954
9986
  by_kind: strictObject({ private: count, group: count })
9955
9987
  });
9956
9988
 
9957
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/retention.js
9989
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/retention.js
9958
9990
  var retentionCohort = strictObject({
9959
9991
  /** The first day of the joining day or week. */
9960
9992
  cohort: text,
@@ -10002,7 +10034,7 @@ var retention = strictObject({
10002
10034
  rows: array(retentionCohort)
10003
10035
  });
10004
10036
 
10005
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10037
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10006
10038
  var savedSearch = strictObject({
10007
10039
  id,
10008
10040
  /** `null` for a run in the history. */
@@ -10019,7 +10051,7 @@ var savedSearch = strictObject({
10019
10051
  });
10020
10052
  var searchHistoryClear = strictObject({ cleared: count });
10021
10053
 
10022
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10054
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10023
10055
  var sendAttempt = strictObject({
10024
10056
  at: time,
10025
10057
  profile: text,
@@ -10047,7 +10079,7 @@ var sendAttempt = strictObject({
10047
10079
  error_code: optional(text)
10048
10080
  });
10049
10081
 
10050
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10082
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10051
10083
  var absent = strictObject({ path: text, exists: literal(false) });
10052
10084
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
10053
10085
  var infoSchema = strictObject({
@@ -10268,7 +10300,7 @@ var storeRepair = union([
10268
10300
  ]);
10269
10301
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
10270
10302
 
10271
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10303
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10272
10304
  var range = strictObject({ from: number(), to: number() });
10273
10305
  var storeChatStatus = strictObject({
10274
10306
  chat_id: id,
@@ -10366,7 +10398,7 @@ var storeJobRetry = union([
10366
10398
  ]);
10367
10399
  var storeJobClear = strictObject({ cleared: array(id) });
10368
10400
 
10369
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10401
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10370
10402
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
10371
10403
  var storeTable = strictObject({
10372
10404
  name: text,
@@ -10375,7 +10407,7 @@ var storeTable = strictObject({
10375
10407
  bytes: optional(nullable(count))
10376
10408
  });
10377
10409
 
10378
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10410
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10379
10411
  var tagTarget = variant("type", [
10380
10412
  strictObject({ type: literal("chat"), chat_id: id }),
10381
10413
  strictObject({ type: literal("contact"), person_id: id }),
@@ -10406,7 +10438,7 @@ var automaticTags = strictObject({
10406
10438
  dry_run: boolean()
10407
10439
  });
10408
10440
 
10409
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10441
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10410
10442
  var tagging = strictObject({
10411
10443
  tag: text,
10412
10444
  type: picklist(TAG_TYPES),
@@ -10419,7 +10451,7 @@ var tagging = strictObject({
10419
10451
  created_at: time
10420
10452
  });
10421
10453
 
10422
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10454
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10423
10455
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
10424
10456
  var taskPair = strictObject({
10425
10457
  task: nullable(side),
@@ -10442,7 +10474,7 @@ var taskPair = strictObject({
10442
10474
  created_at: time
10443
10475
  });
10444
10476
 
10445
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10477
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10446
10478
  var nullableTime = nullable(time);
10447
10479
  var link = strictObject({
10448
10480
  id,
@@ -10616,7 +10648,7 @@ var taskReview = strictObject({
10616
10648
  untrusted
10617
10649
  });
10618
10650
 
10619
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/topic.js
10651
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/topic.js
10620
10652
  var topic = strictObject({
10621
10653
  id,
10622
10654
  title: text,
@@ -10630,7 +10662,7 @@ var topic = strictObject({
10630
10662
  untrusted
10631
10663
  });
10632
10664
 
10633
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/entities/index.js
10665
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/index.js
10634
10666
  var ENTITIES = {
10635
10667
  sync_progress: progress,
10636
10668
  deal,
@@ -10916,7 +10948,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
10916
10948
  return [name, definition];
10917
10949
  })), "entityDefinitions");
10918
10950
 
10919
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10951
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10920
10952
  var schemas = /* @__PURE__ */ new WeakMap();
10921
10953
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
10922
10954
  if (Object.hasOwn(ENTITIES, name))
@@ -10950,7 +10982,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
10950
10982
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
10951
10983
  }, "answerRow");
10952
10984
 
10953
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/images/picture/models.js
10985
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/images/picture/models.js
10954
10986
  import { join as join6 } from "node:path";
10955
10987
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
10956
10988
  var IMAGE_MODELS = [
@@ -11004,7 +11036,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
11004
11036
  var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
11005
11037
  var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
11006
11038
 
11007
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/steps.js
11039
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/steps.js
11008
11040
  var STEPS2 = defineSteps([
11009
11041
  ...STEPS,
11010
11042
  {
@@ -11218,6 +11250,12 @@ var STEPS2 = defineSteps([
11218
11250
  ],
11219
11251
  why: "once the tasks these {shown} messages hold are opened, updated or closed, so the next review starts after them"
11220
11252
  },
11253
+ {
11254
+ id: "store.recover",
11255
+ command: "store recover",
11256
+ args: [],
11257
+ why: "the store file is damaged; this says what is lost and the commands that recover it"
11258
+ },
11221
11259
  {
11222
11260
  id: "search.meetings",
11223
11261
  command: "*",
@@ -11256,7 +11294,7 @@ var failureSteps = /* @__PURE__ */ __name((root, error) => {
11256
11294
  nextStep(IMAGE_MODELS.some((one) => one.id === model3) ? "models.download-image" : "models.download", {
11257
11295
  args: { model: model3 }
11258
11296
  })
11259
- ] : [];
11297
+ ] : error.reason === "store.damaged" ? [nextStep("store.recover", {})] : [];
11260
11298
  return runnable(root, [...error.next ?? [], ...own]);
11261
11299
  }, "failureSteps");
11262
11300
  var withSafety = /* @__PURE__ */ __name((steps, targets) => steps.map((step2) => {
@@ -11285,7 +11323,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11285
11323
  ].join(" ");
11286
11324
  }, "stepLine");
11287
11325
 
11288
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11326
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11289
11327
  var where = [{ field: "ref" }];
11290
11328
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
11291
11329
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -11377,7 +11415,7 @@ var STATUS_ROWS = {
11377
11415
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
11378
11416
  };
11379
11417
 
11380
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/compact.js
11418
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/compact.js
11381
11419
  var TEXT_CHARS = 400;
11382
11420
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
11383
11421
  var messageRow = {
@@ -11743,7 +11781,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
11743
11781
  return lines.concat(footerOf(body)).join("\n");
11744
11782
  }, "compactText");
11745
11783
 
11746
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11784
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11747
11785
  var SOFT_OUTPUT_BYTES = 256 * 1024;
11748
11786
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
11749
11787
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -11801,7 +11839,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
11801
11839
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
11802
11840
  }, "largeAnswerSteps");
11803
11841
 
11804
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11842
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11805
11843
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
11806
11844
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
11807
11845
  var strip = /* @__PURE__ */ __name((value) => {
@@ -11815,7 +11853,7 @@ var strip = /* @__PURE__ */ __name((value) => {
11815
11853
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
11816
11854
  }, "strip");
11817
11855
 
11818
- // node_modules/.pnpm/@wirecat+cli-core@0.600.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_b9e89c8ee4e42a523b0faff8db1d3e1d/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11856
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11819
11857
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
11820
11858
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
11821
11859
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -11970,19 +12008,6 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
11970
12008
  export {
11971
12009
  endpoint,
11972
12010
  modelTarget,
11973
- parseDuration,
11974
- member,
11975
- chat,
11976
- botProfile,
11977
- botSeenChat,
11978
- botAdmin,
11979
- botMenuEntry,
11980
- topicIcon,
11981
- botWebhook,
11982
- scheduledJob,
11983
- callRecord,
11984
- stickerInventory,
11985
- progressOf,
11986
12011
  envName,
11987
12012
  readOnlyLockOf,
11988
12013
  mailHolderVariable,
@@ -12009,6 +12034,19 @@ export {
12009
12034
  withAttempt,
12010
12035
  currentAttempt,
12011
12036
  recordLogFor,
12037
+ parseDuration,
12038
+ member,
12039
+ chat,
12040
+ botProfile,
12041
+ botSeenChat,
12042
+ botAdmin,
12043
+ botMenuEntry,
12044
+ topicIcon,
12045
+ botWebhook,
12046
+ scheduledJob,
12047
+ callRecord,
12048
+ stickerInventory,
12049
+ progressOf,
12012
12050
  spawnDetached,
12013
12051
  jobsDir,
12014
12052
  saveJob,
@@ -12105,6 +12143,7 @@ export {
12105
12143
  secretInputOf,
12106
12144
  outputFor,
12107
12145
  baseContext,
12146
+ inCommandRun,
12108
12147
  REMOTE_READ,
12109
12148
  FETCH,
12110
12149
  REMOTE_WRITE,