@wirecat/mail-cli 0.13.0 → 0.15.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 (164) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/README.md +9 -4
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-EEOMFTKE.js → all-profiles-PKXL5TKP.js} +10 -9
  5. package/dist/bundle/{anthropic-FPSVNB3F.js → anthropic-DFDNZU7C.js} +6 -6
  6. package/dist/bundle/{app-server-3T6UVR7B.js → app-server-WOZAOCKX.js} +47 -46
  7. package/dist/bundle/{bun-MSNAKMDK.js → bun-DKZAL6ML.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-GIBBI5DV.js → bun-sqlite-2A7FS5GD.js} +5 -5
  9. package/dist/bundle/{chunk-7D7AKYQ2.js → chunk-2A4Z3WOC.js} +3132 -1229
  10. package/dist/bundle/{chunk-AXWTELO4.js → chunk-2BHY4GFP.js} +2 -2
  11. package/dist/bundle/{chunk-XLCFCOT4.js → chunk-3MKCLPQV.js} +14 -14
  12. package/dist/bundle/{chunk-3BC2XSNX.js → chunk-4DGOI6JB.js} +68 -34
  13. package/dist/bundle/chunk-4HVY3QPF.js +91 -0
  14. package/dist/bundle/{chunk-NHVOJHHD.js → chunk-4TPNRJER.js} +7 -7
  15. package/dist/bundle/{chunk-6O6CM2ML.js → chunk-4XRIALMN.js} +2 -2
  16. package/dist/bundle/{chunk-VSHQITKC.js → chunk-4YECCESG.js} +2 -2
  17. package/dist/bundle/{chunk-YMNF4QLY.js → chunk-5C3L2QER.js} +26 -25
  18. package/dist/bundle/{chunk-XPBRNJ2V.js → chunk-5W7D5H2R.js} +1 -1
  19. package/dist/bundle/{chunk-HANGU5HI.js → chunk-6AYJDBHT.js} +6 -6
  20. package/dist/bundle/{chunk-CSJYZEFR.js → chunk-6Z7VBDFR.js} +2 -3
  21. package/dist/bundle/{chunk-BZBNBPCR.js → chunk-73SQQXSU.js} +10 -10
  22. package/dist/bundle/{chunk-H5XCD6OG.js → chunk-A6O3WHBD.js} +3 -3
  23. package/dist/bundle/{chunk-6KDFUPBT.js → chunk-BIKMEGC7.js} +8 -8
  24. package/dist/bundle/{chunk-OHDDGTCH.js → chunk-BKF7XIJ5.js} +10 -10
  25. package/dist/bundle/{chunk-GQGJV53E.js → chunk-BY5S3JEZ.js} +47 -47
  26. package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
  27. package/dist/bundle/{chunk-7FCPLSSM.js → chunk-EDJQDR5X.js} +4 -4
  28. package/dist/bundle/{chunk-2Y3RKROM.js → chunk-ENZTLYTS.js} +53 -8
  29. package/dist/bundle/{chunk-VMLGER4M.js → chunk-FEWWBU2I.js} +295 -177
  30. package/dist/bundle/{chunk-M7JREJFC.js → chunk-G6RG2AZV.js} +27 -8
  31. package/dist/bundle/{chunk-V25TCQ3Z.js → chunk-HGOYQUT7.js} +1 -1
  32. package/dist/bundle/{chunk-ZSS22YHM.js → chunk-IA6U76ZY.js} +2 -2
  33. package/dist/bundle/{chunk-UFWCJUGA.js → chunk-JQTIB4WJ.js} +7 -7
  34. package/dist/bundle/{chunk-SOCALLW5.js → chunk-K4N5UG64.js} +6 -6
  35. package/dist/bundle/{chunk-URC4ATBD.js → chunk-KJYCA6IC.js} +4 -4
  36. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  37. package/dist/bundle/{chunk-3QEYHTCQ.js → chunk-LARQTWIL.js} +1 -1
  38. package/dist/bundle/{chunk-YHSXNUFQ.js → chunk-LRBAQSU3.js} +3 -3
  39. package/dist/bundle/{chunk-JYZCISN7.js → chunk-M5DF6QNT.js} +13 -13
  40. package/dist/bundle/{chunk-7L26RKOS.js → chunk-M5VHTDJZ.js} +17 -17
  41. package/dist/bundle/{chunk-7CSK47S2.js → chunk-NDZK466U.js} +4 -4
  42. package/dist/bundle/{chunk-FVZST7ZH.js → chunk-NNLYS4IR.js} +12 -89
  43. package/dist/bundle/{chunk-GIZILLRJ.js → chunk-OJEIUOMW.js} +12 -12
  44. package/dist/bundle/chunk-OZVGHHFZ.js +35 -0
  45. package/dist/bundle/{chunk-MBWVZINS.js → chunk-P4SV3VKP.js} +2 -2
  46. package/dist/bundle/{chunk-OHFSAYZG.js → chunk-PI5P457W.js} +4 -4
  47. package/dist/bundle/{chunk-TBG3FRS6.js → chunk-PXLVTHMH.js} +3 -3
  48. package/dist/bundle/{chunk-Y2O3DACO.js → chunk-QCNK3YUZ.js} +95 -36
  49. package/dist/bundle/{chunk-3CBK26T2.js → chunk-QJQV6KG2.js} +2 -2
  50. package/dist/bundle/{chunk-UGXTDYUY.js → chunk-QSGT4ZH4.js} +1 -1
  51. package/dist/bundle/{chunk-VNBQHV5H.js → chunk-QTD3BVS5.js} +6 -6
  52. package/dist/bundle/{chunk-UUBAWUUI.js → chunk-R6UG66IM.js} +807 -464
  53. package/dist/bundle/{chunk-XV66LQXV.js → chunk-RBNL3DBQ.js} +3 -3
  54. package/dist/bundle/{chunk-EFA7FRFJ.js → chunk-RFDP45QO.js} +3 -3
  55. package/dist/bundle/{chunk-5XTJUQZ5.js → chunk-SPQY3PJX.js} +542 -235
  56. package/dist/bundle/{chunk-CJPEL2N5.js → chunk-SRHKHE4C.js} +47 -28
  57. package/dist/bundle/{chunk-WBI7J5B7.js → chunk-U3VX3UUC.js} +5 -5
  58. package/dist/bundle/{chunk-ZXLJ5EKZ.js → chunk-VQQFOA4O.js} +8 -8
  59. package/dist/bundle/{chunk-LO66SLGD.js → chunk-WIU733D2.js} +1 -1
  60. package/dist/bundle/{chunk-JBLZ5XQG.js → chunk-WOV3ABQR.js} +4 -4
  61. package/dist/bundle/{chunk-H3XWM2VA.js → chunk-WTDYN3TQ.js} +28 -28
  62. package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
  63. package/dist/bundle/{chunk-VD5UJUNR.js → chunk-XGNC5OJG.js} +1 -1
  64. package/dist/bundle/{chunk-VNXCWZDW.js → chunk-XKUAEYJV.js} +249 -8
  65. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  66. package/dist/bundle/{chunk-H6Y2A4JA.js → chunk-YRHXVXLQ.js} +2 -2
  67. package/dist/bundle/{chunk-IGSHWMWC.js → chunk-YWIU4HOT.js} +1 -1
  68. package/dist/bundle/command-contract-4E4NYRR7.js +34 -0
  69. package/dist/bundle/{decode-YRTMNHC6.js → decode-LX4FPSI7.js} +5 -5
  70. package/dist/bundle/{dispatch-BCS2RDF4.js → dispatch-3ILCYZ4Q.js} +8 -8
  71. package/dist/bundle/{dist-NOBSXRL2.js → dist-HQIZDYNQ.js} +42 -13
  72. package/dist/bundle/{echarts-5UKZVIF6.js → echarts-BGBPRGR5.js} +2 -2
  73. package/dist/bundle/{embed-G62XY6BJ.js → embed-ASAE3H5I.js} +6 -6
  74. package/dist/bundle/{embedder-SCHGLA74.js → embedder-QYDZRKBX.js} +9 -9
  75. package/dist/bundle/{failure-N5S6ZS62.js → failure-UDL5QZRZ.js} +2 -2
  76. package/dist/bundle/{first-run-DPF2BBQN.js → first-run-EFNNGFCB.js} +11 -11
  77. package/dist/bundle/first-screen-XHM3TT6G.js +32 -0
  78. package/dist/bundle/{instructions-7RP5OKLE.js → instructions-6LPDSKAD.js} +1 -1
  79. package/dist/bundle/mail.js +12 -12
  80. package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
  81. package/dist/bundle/{node-ENCKD6SS.js → node-IB246NCQ.js} +2 -2
  82. package/dist/bundle/{node-sqlite-4ICXMPYY.js → node-sqlite-UROXM4VR.js} +6 -6
  83. package/dist/bundle/{oauth-CX2WYMGN.js → oauth-VSCKHS4T.js} +7 -7
  84. package/dist/bundle/{open-HQZYHMVE.js → open-R4LVB63T.js} +5 -5
  85. package/dist/bundle/{openai-3ONJIA3F.js → openai-MKCEOFKL.js} +14 -14
  86. package/dist/bundle/{process-OK3HRPMD.js → process-SWPJGPQC.js} +1 -1
  87. package/dist/bundle/{program-FLKUE6LL.js → program-CJ2YDRUY.js} +11741 -10648
  88. package/dist/bundle/{prompt-ZWKUQ42Y.js → prompt-TWWJ5VAM.js} +5 -5
  89. package/dist/bundle/{recognize-PHDYO6DC.js → recognize-XMO5ETQU.js} +4 -4
  90. package/dist/bundle/{remote-4CX7GFMU.js → remote-N6VAWJWE.js} +7 -7
  91. package/dist/bundle/{rerank-ZCZTGXDQ.js → rerank-XNAMC6FH.js} +7 -7
  92. package/dist/bundle/{serve-3LBS7CPR.js → serve-IJ32WEBH.js} +9 -9
  93. package/dist/bundle/server-CRVR4L2E.js +64 -0
  94. package/dist/bundle/{server-2BKI2OQP.js → server-KEYSE5OL.js} +39 -38
  95. package/dist/bundle/{sqlite-runtime-J5T7SR5W.js → sqlite-runtime-NFBRN7OF.js} +6 -6
  96. package/dist/bundle/{state-TIRNYVEL.js → state-7WPJEW2Z.js} +6 -6
  97. package/dist/bundle/{store-F7ZXMIAP.js → store-KHVHOGQR.js} +27 -18
  98. package/dist/bundle/{store-NGE2E7KZ.js → store-PKQCNACC.js} +15 -14
  99. package/dist/bundle/store-maintenance-command-5MODJN6R.js +54 -0
  100. package/dist/commands/account.d.ts.map +1 -1
  101. package/dist/commands/account.js +149 -3
  102. package/dist/commands/account.js.map +1 -1
  103. package/dist/commands/context.d.ts +2 -0
  104. package/dist/commands/context.d.ts.map +1 -1
  105. package/dist/commands/context.js +2 -2
  106. package/dist/commands/context.js.map +1 -1
  107. package/dist/commands/import.d.ts +3 -0
  108. package/dist/commands/import.d.ts.map +1 -0
  109. package/dist/commands/import.js +92 -0
  110. package/dist/commands/import.js.map +1 -0
  111. package/dist/commands/read.d.ts.map +1 -1
  112. package/dist/commands/read.js +29 -3
  113. package/dist/commands/read.js.map +1 -1
  114. package/dist/commands/session-start.d.ts.map +1 -1
  115. package/dist/commands/session-start.js +9 -7
  116. package/dist/commands/session-start.js.map +1 -1
  117. package/dist/commands/stats.d.ts.map +1 -1
  118. package/dist/commands/stats.js +49 -2
  119. package/dist/commands/stats.js.map +1 -1
  120. package/dist/commands/sync.d.ts +2 -0
  121. package/dist/commands/sync.d.ts.map +1 -1
  122. package/dist/commands/sync.js +38 -4
  123. package/dist/commands/sync.js.map +1 -1
  124. package/dist/config.d.ts +11 -0
  125. package/dist/config.d.ts.map +1 -1
  126. package/dist/config.js +17 -0
  127. package/dist/config.js.map +1 -1
  128. package/dist/mail/doctor.d.ts +3 -2
  129. package/dist/mail/doctor.d.ts.map +1 -1
  130. package/dist/mail/doctor.js +14 -16
  131. package/dist/mail/doctor.js.map +1 -1
  132. package/dist/mail/domain-age.d.ts +29 -0
  133. package/dist/mail/domain-age.d.ts.map +1 -0
  134. package/dist/mail/domain-age.js +157 -0
  135. package/dist/mail/domain-age.js.map +1 -0
  136. package/dist/mail/mbox.d.ts +9 -0
  137. package/dist/mail/mbox.d.ts.map +1 -0
  138. package/dist/mail/mbox.js +230 -0
  139. package/dist/mail/mbox.js.map +1 -0
  140. package/dist/oauth.d.ts +13 -9
  141. package/dist/oauth.d.ts.map +1 -1
  142. package/dist/oauth.js +12 -25
  143. package/dist/oauth.js.map +1 -1
  144. package/dist/profile.d.ts +4 -1
  145. package/dist/profile.d.ts.map +1 -1
  146. package/dist/profile.js +6 -1
  147. package/dist/profile.js.map +1 -1
  148. package/dist/program.d.ts.map +1 -1
  149. package/dist/program.js +10 -1
  150. package/dist/program.js.map +1 -1
  151. package/dist/reasons.d.ts +1 -1
  152. package/dist/reasons.d.ts.map +1 -1
  153. package/dist/reasons.js +0 -1
  154. package/dist/reasons.js.map +1 -1
  155. package/dist/version.d.ts +1 -1
  156. package/dist/version.js +1 -1
  157. package/package.json +4 -4
  158. package/skills/mail-cli/SKILL.md +2 -0
  159. package/dist/bundle/chunk-72CGQMAZ.js +0 -18
  160. package/dist/bundle/command-contract-6QSZ5QHQ.js +0 -33
  161. package/dist/bundle/first-screen-4MRKF6RQ.js +0 -31
  162. package/dist/bundle/server-X5F7VD2E.js +0 -63
  163. package/dist/bundle/store-maintenance-command-QZV76KAH.js +0 -53
  164. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
@@ -13,7 +13,7 @@ import {
13
13
  permissionOverrides,
14
14
  projectFields,
15
15
  resolveOutput
16
- } from "./chunk-UFWCJUGA.js";
16
+ } from "./chunk-JQTIB4WJ.js";
17
17
  import {
18
18
  currentCaller,
19
19
  endpointTemplate,
@@ -24,17 +24,17 @@ import {
24
24
  providerErrorKey,
25
25
  renderEvent,
26
26
  runContextOf
27
- } from "./chunk-FVZST7ZH.js";
27
+ } from "./chunk-NNLYS4IR.js";
28
28
  import {
29
29
  permissionCeiling
30
- } from "./chunk-H5XCD6OG.js";
30
+ } from "./chunk-A6O3WHBD.js";
31
31
  import {
32
32
  carries
33
- } from "./chunk-LO66SLGD.js";
33
+ } from "./chunk-WIU733D2.js";
34
34
  import {
35
35
  filesPresent,
36
36
  sharedModelsDirectory
37
- } from "./chunk-JBLZ5XQG.js";
37
+ } from "./chunk-WOV3ABQR.js";
38
38
  import {
39
39
  author,
40
40
  count,
@@ -48,7 +48,7 @@ import {
48
48
  text,
49
49
  time,
50
50
  untrusted
51
- } from "./chunk-URC4ATBD.js";
51
+ } from "./chunk-KJYCA6IC.js";
52
52
  import {
53
53
  FACT_STATUSES,
54
54
  LINK_KINDS,
@@ -64,18 +64,17 @@ import {
64
64
  TASK_TYPES,
65
65
  TASK_VERDICTS,
66
66
  WORK_TASK_TYPES
67
- } from "./chunk-NHVOJHHD.js";
67
+ } from "./chunk-4TPNRJER.js";
68
68
  import {
69
69
  FACT_TYPES,
70
70
  FIELD_TYPES,
71
71
  MEETING_RESULT_ENTITIES,
72
- PAYMENT_DIRECTIONS,
73
- PAYMENT_STATES,
74
72
  QUERY_BACKENDS,
75
73
  TAG_TYPES,
76
74
  describeQuery,
77
75
  event,
78
76
  meeting,
77
+ meetingCounts,
79
78
  meetingDetails,
80
79
  meetingHit,
81
80
  meetingLink,
@@ -87,13 +86,13 @@ import {
87
86
  meetingStats,
88
87
  meetingSummary,
89
88
  meetingTranscript
90
- } from "./chunk-VMLGER4M.js";
89
+ } from "./chunk-FEWWBU2I.js";
91
90
  import {
92
91
  sharedConfigPath
93
- } from "./chunk-SOCALLW5.js";
92
+ } from "./chunk-K4N5UG64.js";
94
93
  import {
95
94
  storePath
96
- } from "./chunk-72CGQMAZ.js";
95
+ } from "./chunk-OZVGHHFZ.js";
97
96
  import {
98
97
  configFilePath,
99
98
  createRecordLog,
@@ -103,7 +102,7 @@ import {
103
102
  saveConfigFile,
104
103
  traceIdOf,
105
104
  writeSecurely
106
- } from "./chunk-Y2O3DACO.js";
105
+ } from "./chunk-QCNK3YUZ.js";
107
106
  import {
108
107
  COMPACT_FLAG,
109
108
  MAX_NEXT_STEPS,
@@ -155,17 +154,17 @@ import {
155
154
  unwrap,
156
155
  variant,
157
156
  writes
158
- } from "./chunk-M7JREJFC.js";
157
+ } from "./chunk-G6RG2AZV.js";
159
158
  import {
160
159
  CliError,
161
160
  isCliError,
162
161
  visibleControls
163
- } from "./chunk-CCHHEMPM.js";
162
+ } from "./chunk-EB2IULWB.js";
164
163
  import {
165
164
  __name
166
165
  } from "./chunk-ZVVMGPBJ.js";
167
166
 
168
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/ports/app.js
167
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/ports/app.js
169
168
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
170
169
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
171
170
  const name = envName(app, "READ_ONLY");
@@ -175,7 +174,7 @@ var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
175
174
  var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
176
175
  var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
177
176
 
178
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
177
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
179
178
  var labels = /* @__PURE__ */ new WeakMap();
180
179
  var annotate = /* @__PURE__ */ __name((command, meta) => {
181
180
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3676,7 +3675,7 @@ __name(useColor, "useColor");
3676
3675
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3677
3676
  var program = new Command();
3678
3677
 
3679
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
3678
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
3680
3679
  var argumentInfoSchema = object({
3681
3680
  name: string(),
3682
3681
  required: boolean(),
@@ -3750,7 +3749,7 @@ var commandsDocumentSchema = strictObject({
3750
3749
  exit_codes: record(string(), pipe(number(), integer()))
3751
3750
  });
3752
3751
 
3753
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
3752
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
3754
3753
  import { isDeepStrictEqual } from "node:util";
3755
3754
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3756
3755
  var hidden = /* @__PURE__ */ __name((command) => Boolean(command._hidden), "hidden");
@@ -3859,7 +3858,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
3859
3858
  return result;
3860
3859
  }, "sharedCommand");
3861
3860
 
3862
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
3861
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
3863
3862
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3864
3863
  let command = root;
3865
3864
  const path2 = [];
@@ -3877,11 +3876,11 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3877
3876
  }
3878
3877
  }, "refuseJoinedPath");
3879
3878
 
3880
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/sends/guarded.js
3879
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/guarded.js
3881
3880
  import { AsyncLocalStorage } from "node:async_hooks";
3882
- var sentIds = /* @__PURE__ */ __name((typed, message2) => ({
3881
+ var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
3883
3882
  messageId: message2.id,
3884
- ...message2.chatId && message2.chatId !== typed ? { resultChatId: message2.chatId } : {}
3883
+ ...message2.chatId && message2.chatId !== typed2 ? { resultChatId: message2.chatId } : {}
3885
3884
  }), "sentIds");
3886
3885
  var current = new AsyncLocalStorage();
3887
3886
  var writesInFlight = new AsyncLocalStorage();
@@ -3983,7 +3982,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
3983
3982
  }, "guardedWrite");
3984
3983
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
3985
3984
 
3986
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/execution.js
3985
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/execution.js
3987
3986
  var DEFAULT_COMMAND_MS = 3e4;
3988
3987
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
3989
3988
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4089,6 +4088,7 @@ var execution = /* @__PURE__ */ __name((streams, { timeoutMs, fields, maxOutputB
4089
4088
  reason: "output.too-large",
4090
4089
  max_bytes: maxOutputBytes,
4091
4090
  emitted_bytes: bytes,
4091
+ needed_bytes: bytes + size,
4092
4092
  partial_output: bytes > 0
4093
4093
  });
4094
4094
  bytes += size;
@@ -4165,7 +4165,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4165
4165
  }
4166
4166
  }, "withAbort");
4167
4167
 
4168
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4168
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4169
4169
  import { existsSync, readdirSync, readFileSync } from "node:fs";
4170
4170
  import { join } from "node:path";
4171
4171
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4187,7 +4187,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4187
4187
  }, "profilesWithAccounts");
4188
4188
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4189
4189
 
4190
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/background/budget.js
4190
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/background/budget.js
4191
4191
  var DEADLINE_MARGIN_MS = 5e3;
4192
4192
  var DEADLINE_MARGIN_SHARE = 0.15;
4193
4193
  var DEFAULT_REQUEST_MS = 2e3;
@@ -4230,7 +4230,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
4230
4230
  };
4231
4231
  }, "runBudget");
4232
4232
 
4233
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4233
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4234
4234
  var CORE_LOG_EVENTS = defineLogEvents([
4235
4235
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
4236
4236
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -4264,7 +4264,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
4264
4264
  cache: "cache.answered"
4265
4265
  };
4266
4266
 
4267
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
4267
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
4268
4268
  var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
4269
4269
  var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
4270
4270
  var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
@@ -4277,13 +4277,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
4277
4277
  error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
4278
4278
  }), "snakeLogger");
4279
4279
 
4280
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/runs/run.js
4280
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/run.js
4281
4281
  import { randomUUID } from "node:crypto";
4282
4282
  import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
4283
4283
  import { userInfo } from "node:os";
4284
4284
  import { join as join2, sep } from "node:path";
4285
4285
 
4286
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
4286
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
4287
4287
  var diagnostic = {
4288
4288
  event: true,
4289
4289
  operation: true,
@@ -4353,7 +4353,7 @@ var LOG_ATTRIBUTES = [
4353
4353
  ...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
4354
4354
  ].sort();
4355
4355
 
4356
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/runs/run.js
4356
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/run.js
4357
4357
  var KEEP_RUNS_FOR_DAYS = 30;
4358
4358
  var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
4359
4359
  var RUNS_SIZE_LIMIT_MB = 200;
@@ -4706,7 +4706,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
4706
4706
  };
4707
4707
  }, "metadataOf");
4708
4708
 
4709
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/runs/scope.js
4709
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/scope.js
4710
4710
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
4711
4711
  import { randomBytes } from "node:crypto";
4712
4712
  var scopes = new AsyncLocalStorage2();
@@ -4724,6 +4724,7 @@ var currentRun = /* @__PURE__ */ __name(() => {
4724
4724
  return processScope;
4725
4725
  }, "currentRun");
4726
4726
  var inRun = /* @__PURE__ */ __name((scope, body) => scopes.run(scope, body), "inRun");
4727
+ var runEvent = /* @__PURE__ */ __name((event2) => scopes.getStore()?.events?.(event2), "runEvent");
4727
4728
  var typedCommand = /* @__PURE__ */ __name((tool, words, profile = currentRun().profile) => [tool, profile, words].filter((part) => part !== void 0 && part !== "").join(" "), "typedCommand");
4728
4729
  var useAsProcessRun = /* @__PURE__ */ __name((scope) => {
4729
4730
  processScope = scope;
@@ -4741,8 +4742,9 @@ var childTrace = /* @__PURE__ */ __name(() => {
4741
4742
  }, "childTrace");
4742
4743
  var attempts = new AsyncLocalStorage2();
4743
4744
  var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
4745
+ var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
4744
4746
 
4745
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/runs/recording.js
4747
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/recording.js
4746
4748
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
4747
4749
  const recording = startRecording(options);
4748
4750
  try {
@@ -4927,9 +4929,9 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
4927
4929
  return void 0;
4928
4930
  }, "partialOutcome");
4929
4931
 
4930
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4931
- var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
4932
- if (ms === void 0)
4932
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4933
+ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4934
+ if (ms2 === void 0)
4933
4935
  return body();
4934
4936
  let timer2;
4935
4937
  let timedOut;
@@ -4938,10 +4940,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
4938
4940
  timer2 = setTimeout(() => {
4939
4941
  const pending = [...writes2];
4940
4942
  const cut2 = pending.filter((write) => !write.preparing);
4941
- timedOut = cut2.length > 0 ? new CliError("outcome_unknown", `\`--timeout\` ended the command after ${ms}ms with ${cut2.length === 1 ? "a write" : `${cut2.length} writes`} in flight; the messenger may or may not have carried it out \u2014 check before repeating it`, { operation_ids: cut2.map((write) => write.operationId), retryable: false }) : new CliError("timeout", `the command did not finish within ${ms}ms \u2014 \`--timeout\` ended it`);
4943
+ timedOut = cut2.length > 0 ? new CliError("outcome_unknown", `\`--timeout\` ended the command after ${ms2}ms with ${cut2.length === 1 ? "a write" : `${cut2.length} writes`} in flight; the messenger may or may not have carried it out \u2014 check before repeating it`, { operation_ids: cut2.map((write) => write.operationId), retryable: false }) : new CliError("timeout", `the command did not finish within ${ms2}ms \u2014 \`--timeout\` ended it`);
4942
4944
  stopWrites(writes2, timedOut);
4943
4945
  void Promise.allSettled(closeables.map((closeable) => closeable.close())).then(() => reject(timedOut));
4944
- }, ms);
4946
+ }, ms2);
4945
4947
  });
4946
4948
  try {
4947
4949
  return await Promise.race([withWriteScope(writes2, body), expired]);
@@ -4953,7 +4955,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
4953
4955
  }
4954
4956
  }, "withDeadline");
4955
4957
 
4956
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/profile.js
4958
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/profile.js
4957
4959
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
4958
4960
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
4959
4961
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -5022,10 +5024,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
5022
5024
  return void 0;
5023
5025
  }, "sampleCommand");
5024
5026
 
5025
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/settings.js
5027
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/settings.js
5026
5028
  import { existsSync as existsSync3 } from "node:fs";
5027
5029
 
5028
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/models/endpoint.js
5030
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/models/endpoint.js
5029
5031
  var endpoint = /* @__PURE__ */ __name((value) => {
5030
5032
  try {
5031
5033
  const url2 = new URL(value);
@@ -5035,7 +5037,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
5035
5037
  }
5036
5038
  }, "endpoint");
5037
5039
 
5038
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/models/settings.js
5040
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/models/settings.js
5039
5041
  var MODEL_FIELDS = ["provider", "model", "base_url"];
5040
5042
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
5041
5043
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -5104,7 +5106,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
5104
5106
  };
5105
5107
  }, "modelTarget");
5106
5108
 
5107
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5109
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5108
5110
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
5109
5111
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
5110
5112
  var AI_FIELDS = {
@@ -5148,7 +5150,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
5148
5150
  };
5149
5151
  }, "resolveAISettings");
5150
5152
 
5151
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/domain/duration.js
5153
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/duration.js
5152
5154
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
5153
5155
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
5154
5156
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -5156,13 +5158,13 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
5156
5158
  if (!match?.[1] || !match[2]) {
5157
5159
  throw new CliError("validation_error", `${source2} takes a duration with a unit \u2014 500ms, 30s, 2m, 4h or 1d \u2014 not "${value}"`);
5158
5160
  }
5159
- const ms = Number(match[1]) * (UNIT_MS[match[2]] ?? 0);
5160
- if (ms <= 0)
5161
+ const ms2 = Number(match[1]) * (UNIT_MS[match[2]] ?? 0);
5162
+ if (ms2 <= 0)
5161
5163
  throw new CliError("validation_error", `${source2} has to be more than zero, and "${value}" is not`);
5162
- return ms;
5164
+ return ms2;
5163
5165
  }, "parseDuration");
5164
5166
 
5165
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/embeddings/models.js
5167
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/embeddings/models.js
5166
5168
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
5167
5169
  var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
5168
5170
  var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
@@ -5321,7 +5323,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
5321
5323
  var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
5322
5324
  var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
5323
5325
 
5324
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5326
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5325
5327
  var HISTORY_MAX_DAYS = 1095;
5326
5328
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
5327
5329
  var DAY_MS2 = 24 * 60 * 60 * 1e3;
@@ -5368,10 +5370,10 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
5368
5370
  return { batch: { ...batch, messages }, skipped };
5369
5371
  }, "limitBatch");
5370
5372
 
5371
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5373
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5372
5374
  import { readFileSync as readFileSync3 } from "node:fs";
5373
5375
 
5374
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
5376
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
5375
5377
  var REPAIR_WORDS = {
5376
5378
  byte_order_mark: "an invisible byte-order mark at the start",
5377
5379
  comment: "a comment, which JSON does not allow",
@@ -5612,7 +5614,7 @@ ${parts.join(",\n")}
5612
5614
  ${indent}${close}`;
5613
5615
  }, "serialise");
5614
5616
 
5615
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5617
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5616
5618
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5617
5619
  var SECTIONS = ["personal", "bot"];
5618
5620
  var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
@@ -5866,11 +5868,11 @@ var issueMessage = /* @__PURE__ */ __name((issues, doctor = "doctor") => {
5866
5868
  const more = issues.length - 1;
5867
5869
  return `${first2.file}: ${first2.what}` + (first2.fix ? ` \u2014 ${fixVerb(first2)} it with \`${first2.fix}\`` : "") + (more === 0 ? "" : ` (and ${more} more problem${more === 1 ? "" : "s"} \u2014 \`${doctor}\` lists them all)`);
5868
5870
  }, "issueMessage");
5869
- var checkConfigText = /* @__PURE__ */ __name((text5, { file, tool, schema: schema2, knownPermissions }) => {
5871
+ var checkConfigText = /* @__PURE__ */ __name((text5, { file, tool, schema: schema2, knownPermissions, repair = true }) => {
5870
5872
  const parsed = parseConfigText(text5, file);
5871
5873
  if ("issue" in parsed) {
5872
5874
  const issue = publicIssue(parsed.issue);
5873
- if (repairConfigText(text5).state === "repaired")
5875
+ if (repair && repairConfigText(text5).state === "repaired")
5874
5876
  issue.fix = `${tool} config repair`;
5875
5877
  return { issues: [issue], config: void 0 };
5876
5878
  }
@@ -5906,7 +5908,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
5906
5908
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
5907
5909
  }, "readConfigFile");
5908
5910
 
5909
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5911
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5910
5912
  import { existsSync as existsSync2, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
5911
5913
  import { dirname, join as join3 } from "node:path";
5912
5914
  var DEFAULT_CONFIG = {
@@ -5935,7 +5937,29 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
5935
5937
  }
5936
5938
  __name(ensureDefaultConfig, "ensureDefaultConfig");
5937
5939
 
5938
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/settings.js
5940
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5941
+ var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5942
+ var parentOf = /* @__PURE__ */ __name((config, key) => {
5943
+ const path2 = key.split(".");
5944
+ const leaf = path2.pop();
5945
+ return { node: path2.reduce((node, part) => isNode2(node) ? node[part] : void 0, config), leaf };
5946
+ }, "parentOf");
5947
+ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
5948
+ if (raw !== void 0 && !isNode2(raw))
5949
+ return { config: raw, added: [] };
5950
+ const config = raw === void 0 ? {} : structuredClone(raw);
5951
+ const added = [];
5952
+ for (const setting2 of declared) {
5953
+ const { node, leaf } = parentOf(config, setting2.key);
5954
+ if (!isNode2(node) || Object.hasOwn(node, leaf))
5955
+ continue;
5956
+ node[leaf] = setting2.default;
5957
+ added.push(setting2.key);
5958
+ }
5959
+ return { config, added };
5960
+ }, "withSettingDefaults");
5961
+
5962
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/settings.js
5939
5963
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
5940
5964
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
5941
5965
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -5999,12 +6023,73 @@ var MESSENGER_ONLY_SETTINGS = [
5999
6023
  "history_dialog_days",
6000
6024
  "history_group_days",
6001
6025
  "history_group_members_max",
6002
- "read_other_bots"
6026
+ "read_other_bots",
6027
+ "speech_model",
6028
+ "picture_search"
6003
6029
  ];
6004
6030
  var SHARED_DEFAULTS_ONLY = {
6005
6031
  update_check: optional(flag),
6006
6032
  skill_hint: optional(flag)
6007
6033
  };
6034
+ var SHARED_SETTINGS = [
6035
+ { key: "limit", default: DEFAULT_LIMIT, description: "how many items a list shows at once" },
6036
+ { key: "keep_runs_for_days", default: DEFAULT_KEEP_RUNS_FOR_DAYS, description: "days a run is kept" },
6037
+ {
6038
+ key: "sends_per_hour",
6039
+ default: DEFAULT_SENDS_PER_HOUR,
6040
+ description: "the most messages an account sends in an hour; a bot has none unless its section sets one"
6041
+ },
6042
+ { key: "update_check", default: true, description: "check once a day for a newer version" },
6043
+ {
6044
+ key: "skill_hint",
6045
+ default: true,
6046
+ description: "tell an agent once a day that `skill install` would give it this tool's guide"
6047
+ },
6048
+ { key: "record", default: true, description: "keep every run in runs list; false keeps failed runs only" },
6049
+ {
6050
+ key: "record_input",
6051
+ default: true,
6052
+ description: `keep what was typed in a run's command line: true, false, or "failed" for failed runs only`
6053
+ },
6054
+ {
6055
+ key: "keep_successful_runs_for_days",
6056
+ default: KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
6057
+ description: "days a successful run is kept"
6058
+ },
6059
+ { key: "runs_size_limit_mb", default: RUNS_SIZE_LIMIT_MB, description: "the most megabytes all runs may take" },
6060
+ { key: "sender_colors", default: false, description: "color each sender's name in a conversation" },
6061
+ { key: "search_catch_up", default: false, description: "prepare local search after a gaps repair" },
6062
+ {
6063
+ key: "history_dialog_days",
6064
+ default: DEFAULT_HISTORY_LIMITS.dialogDays,
6065
+ description: "days of a one-to-one chat's pushed history the store keeps"
6066
+ },
6067
+ {
6068
+ key: "history_group_days",
6069
+ default: DEFAULT_HISTORY_LIMITS.groupDays,
6070
+ description: "days of a group's pushed history the store keeps"
6071
+ },
6072
+ {
6073
+ key: "history_group_members_max",
6074
+ default: DEFAULT_HISTORY_LIMITS.groupMembersMax,
6075
+ description: "a group with more people than this keeps no pushed history"
6076
+ },
6077
+ {
6078
+ key: "picture_search",
6079
+ default: false,
6080
+ description: "search and images embed read the pictures themselves, with a model on this computer"
6081
+ },
6082
+ {
6083
+ key: "search_reranker",
6084
+ default: DEFAULT_RERANK_MODEL,
6085
+ description: "the reranker that orders search's first hits, or off"
6086
+ },
6087
+ {
6088
+ key: "embedding_provider",
6089
+ default: AI_DEFAULTS.embeddingProvider,
6090
+ description: "local or openai: what turns text into vectors for search by meaning"
6091
+ }
6092
+ ];
6008
6093
  var NONE_NAMED = "none named";
6009
6094
  var NO_PROFILE = "default";
6010
6095
  var namedProfile = /* @__PURE__ */ __name((settings) => settings.sources?.profile === NONE_NAMED ? void 0 : settings.profile, "namedProfile");
@@ -6057,12 +6142,14 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
6057
6142
  const defaultsOnlyKeys = Object.keys(defaultsOnly);
6058
6143
  const botOnlyKeys = Object.keys(BOT_ONLY_ENTRIES);
6059
6144
  const allSettings = [...Object.keys(profileEntries), ...botOnlyKeys, ...defaultsOnlyKeys].filter((setting2) => app.messenger !== false || !MESSENGER_ONLY_SETTINGS.includes(setting2) || app.sends === true && setting2 === "sends_per_hour");
6145
+ const readSchema = extension.schema ?? schema2;
6146
+ const declaredSettings = [...SHARED_SETTINGS, ...extension.settings ?? []].filter(({ key, default: value }) => allSettings.includes(key) && safeParse(readSchema, { defaults: { [key]: value } }).success).map((setting2) => ({ ...setting2, key: `defaults.${setting2.key}` }));
6147
+ const withDefaults = /* @__PURE__ */ __name((raw, except = []) => withSettingDefaults(isScope(raw) && !Object.hasOwn(raw, "defaults") ? { ...raw, defaults: {} } : raw, declaredSettings.filter(({ key }) => !except.includes(key))), "withDefaults");
6060
6148
  const PROFILE = envName(app, "PROFILE");
6061
6149
  const PROFILE_LOCK = envName(app, "PROFILE_LOCK");
6062
6150
  const TIMEOUT = envName(app, "TIMEOUT");
6063
6151
  const REQUESTS_PER_MINUTE = envName(app, "REQUESTS_PER_MINUTE");
6064
6152
  const configPathFor = /* @__PURE__ */ __name(({ env = process.env, configDir }) => configFilePath(configDir ?? resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).config), "configPathFor");
6065
- const readSchema = extension.schema ?? schema2;
6066
6153
  const context2 = /* @__PURE__ */ __name((file) => ({ file, tool: app.command }), "context");
6067
6154
  const loadConfig = /* @__PURE__ */ __name((path2) => {
6068
6155
  const read = readConfigText(path2);
@@ -6070,7 +6157,12 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
6070
6157
  return { config: { profiles: {} }, issues: [read.issue] };
6071
6158
  if (read.text === void 0)
6072
6159
  return { config: { profiles: {} }, issues: [] };
6073
- const { config, issues } = checkConfigText(read.text, { file: path2, tool: app.command, schema: readSchema });
6160
+ const { config, issues } = checkConfigText(read.text, {
6161
+ file: path2,
6162
+ tool: app.command,
6163
+ schema: readSchema,
6164
+ repair: extension.configRepair !== false
6165
+ });
6074
6166
  return { config: config ?? { profiles: {} }, issues };
6075
6167
  }, "loadConfig");
6076
6168
  const locked = /* @__PURE__ */ __name((profile, lock) => {
@@ -6098,7 +6190,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
6098
6190
  const configPath = configPathFor(options);
6099
6191
  try {
6100
6192
  if (!options.readOnly)
6101
- ensureDefaultConfig(configPath);
6193
+ ensureDefaultConfig(configPath, withDefaults(DEFAULT_CONFIG).config);
6102
6194
  } catch (error) {
6103
6195
  throw new CliError("configuration_error", error instanceof Error ? error.message : String(error));
6104
6196
  }
@@ -6276,7 +6368,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
6276
6368
  throw new CliError("validation_error", `${setting2} has no problem to remove \u2014 name the profile, or add --defaults, to unset a setting`);
6277
6369
  if (!known && valueAt(raw, at2) === void 0)
6278
6370
  throw new CliError("validation_error", `no setting called "${setting2}" \u2014 one of: ${allSettings.join(", ")}`);
6279
- saveConfigFile(path2, withoutPath(raw, at2).config);
6371
+ saveConfigFile(path2, withDefaults(withoutPath(raw, at2).config, [at2.join(".")]).config);
6280
6372
  return null;
6281
6373
  }
6282
6374
  if (!known)
@@ -6297,13 +6389,24 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
6297
6389
  if (added)
6298
6390
  throw new CliError("validation_error", `${setting2} cannot be "${value}": ${added.what}`);
6299
6391
  const checked = safeParse(readSchema, changed);
6300
- saveConfigFile(path2, checked.success ? checked.output : changed);
6392
+ saveConfigFile(path2, withDefaults(checked.success ? checked.output : changed).config);
6301
6393
  return valueAt(checked.success ? checked.output : changed, at2) ?? null;
6302
6394
  }, "changeSetting");
6395
+ const migrate = /* @__PURE__ */ __name((path2) => {
6396
+ const read = readConfigFile(path2);
6397
+ if ("issue" in read)
6398
+ throw new CliError("configuration_error", issueMessage([read.issue]));
6399
+ const { config, added } = withDefaults(read.raw);
6400
+ if (added.length > 0)
6401
+ saveConfigFile(path2, config);
6402
+ return added;
6403
+ }, "migrate");
6303
6404
  return {
6304
6405
  resolveSettings,
6305
6406
  configuredProfiles,
6306
6407
  changeSetting,
6408
+ migrate,
6409
+ declaredSettings,
6307
6410
  allSettings,
6308
6411
  defaultsOnlyKeys,
6309
6412
  schema: schema2,
@@ -6344,7 +6447,7 @@ var given = /* @__PURE__ */ __name((value) => {
6344
6447
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
6345
6448
  }, "given");
6346
6449
 
6347
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/context.js
6450
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/context.js
6348
6451
  var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
6349
6452
  const { deadline, signal, app } = environmentOf(command);
6350
6453
  const now = deadline?.();
@@ -6467,7 +6570,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
6467
6570
  return words.join(" ");
6468
6571
  }, "commandPath");
6469
6572
 
6470
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/effects.js
6573
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/effects.js
6471
6574
  var REMOTE_READ = { remote: "read", local: "read" };
6472
6575
  var FETCH = { remote: "read", local: "write" };
6473
6576
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -6503,6 +6606,18 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
6503
6606
  KEPT_UNDER_LOCK.add(command);
6504
6607
  return command;
6505
6608
  }, "destroysNothing");
6609
+ var PROPOSE_COMMANDS = ["messages acknowledge", "mail findings add"];
6610
+ var PROPOSES = /* @__PURE__ */ new WeakSet();
6611
+ var proposesOnly = /* @__PURE__ */ __name((command) => {
6612
+ PROPOSES.add(command);
6613
+ return command;
6614
+ }, "proposesOnly");
6615
+ var isProposal = /* @__PURE__ */ __name((command) => {
6616
+ if (!PROPOSES.has(command))
6617
+ return false;
6618
+ const path2 = pathOf2(command).join(" ");
6619
+ return PROPOSE_COMMANDS.some((listed) => path2 === listed || path2.endsWith(` ${listed}`));
6620
+ }, "isProposal");
6506
6621
  var STORE_WRITES = /* @__PURE__ */ new WeakSet();
6507
6622
  var changesStore = /* @__PURE__ */ __name((command) => {
6508
6623
  STORE_WRITES.add(command);
@@ -6527,7 +6642,7 @@ var readsOverMcpAt = /* @__PURE__ */ __name((root) => (path2) => {
6527
6642
  }, "readsOverMcpAt");
6528
6643
  var isStoreChange = /* @__PURE__ */ __name((command) => {
6529
6644
  const effects = metaOf(command).effects;
6530
- return (effects?.remote === "none" || STORE_WRITES.has(command)) && effects?.local === "write" && !KEPT_UNDER_LOCK.has(command) && !changesAuthority(command) && writesFileNow(command);
6645
+ return (effects?.remote === "none" || STORE_WRITES.has(command)) && effects?.local === "write" && !KEPT_UNDER_LOCK.has(command) && !isProposal(command) && !changesAuthority(command) && writesFileNow(command);
6531
6646
  }, "isStoreChange");
6532
6647
  var STORE_CHANGE_REFUSAL = "change the message store";
6533
6648
  var previewFlag = /* @__PURE__ */ __name((program2) => program2.options.some((option) => option.long === "--dry-run") ? " --dry-run" : "", "previewFlag");
@@ -6575,7 +6690,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6575
6690
  throw readOnlyRefusal(lock, what);
6576
6691
  }, "refuseUnderReadOnly");
6577
6692
 
6578
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/account.js
6693
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/account.js
6579
6694
  var account = strictObject({
6580
6695
  provider: text,
6581
6696
  id,
@@ -6585,7 +6700,7 @@ var account = strictObject({
6585
6700
  scope: optional(picklist(["personal", "work"]))
6586
6701
  });
6587
6702
 
6588
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6703
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6589
6704
  var accountSession = strictObject({
6590
6705
  current: boolean(),
6591
6706
  client: nullable(text),
@@ -6595,7 +6710,7 @@ var accountSession = strictObject({
6595
6710
  created_at: optional(nullable(time))
6596
6711
  });
6597
6712
 
6598
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6713
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6599
6714
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
6600
6715
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
6601
6716
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -6613,7 +6728,7 @@ var accountPrivacy = strictObject({
6613
6728
  });
6614
6729
  var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
6615
6730
 
6616
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6731
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6617
6732
  var accountProfile = strictObject({
6618
6733
  profile: id,
6619
6734
  current: boolean(),
@@ -6623,7 +6738,7 @@ var accountProfile = strictObject({
6623
6738
  signed_in: optional(boolean())
6624
6739
  });
6625
6740
 
6626
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6741
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6627
6742
  var milliseconds = pipe(number(), minValue(0));
6628
6743
  var counterReading = strictObject({
6629
6744
  counter: picklist(["views", "reactions", "comments"]),
@@ -6635,7 +6750,7 @@ var counterReading = strictObject({
6635
6750
  });
6636
6751
  var selection = record(string(), unknown());
6637
6752
 
6638
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6753
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6639
6754
  var adminRow = strictObject({
6640
6755
  ref: reference,
6641
6756
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -6688,7 +6803,7 @@ var adminReport = strictObject({
6688
6803
  rows: array(adminRow)
6689
6804
  });
6690
6805
 
6691
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/task.js
6806
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/task.js
6692
6807
  var closeSuggestion = strictObject({
6693
6808
  as: picklist(["done", "dismissed"]),
6694
6809
  /** The agent's name. */
@@ -6746,7 +6861,7 @@ var task = strictObject({
6746
6861
  updated_at: optional(time)
6747
6862
  });
6748
6863
 
6749
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6864
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6750
6865
  var agendaChat = strictObject({
6751
6866
  chat: reference,
6752
6867
  title: nullable(text),
@@ -6816,11 +6931,11 @@ var agenda = strictObject({
6816
6931
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
6817
6932
  });
6818
6933
 
6819
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6934
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6820
6935
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6821
6936
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6822
6937
 
6823
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6938
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6824
6939
  var attachment = strictObject({
6825
6940
  /** The message it came with, as a locator; absent inside that message. */
6826
6941
  message: optional(reference),
@@ -6858,7 +6973,7 @@ var attachment = strictObject({
6858
6973
  });
6859
6974
  var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
6860
6975
 
6861
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6976
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6862
6977
  var actionableError = objectWithRest({
6863
6978
  code: text,
6864
6979
  message: text,
@@ -6875,7 +6990,7 @@ var batchResult = strictObject({
6875
6990
  max_error_percent: count
6876
6991
  });
6877
6992
 
6878
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6993
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6879
6994
  var extractionItem = strictObject({
6880
6995
  ref: reference,
6881
6996
  attachment: count,
@@ -6908,7 +7023,7 @@ var extractionReport = strictObject({
6908
7023
  cursor: optional(text)
6909
7024
  });
6910
7025
 
6911
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
7026
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6912
7027
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
6913
7028
  var attachmentBytes = strictObject({
6914
7029
  ref: reference,
@@ -6936,7 +7051,7 @@ var attachmentTextChange = strictObject({
6936
7051
  replaced: nullable(picklist(["extracted", "agent"]))
6937
7052
  });
6938
7053
 
6939
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/chart.js
7054
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chart.js
6940
7055
  var chart = strictObject({
6941
7056
  version: literal(1),
6942
7057
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -6951,7 +7066,7 @@ var chart = strictObject({
6951
7066
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
6952
7067
  });
6953
7068
 
6954
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/member.js
7069
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/member.js
6955
7070
  var member = strictObject({
6956
7071
  id,
6957
7072
  name: nullable(text),
@@ -6974,7 +7089,7 @@ var member = strictObject({
6974
7089
  check: optional(record(string(), unknown()))
6975
7090
  });
6976
7091
 
6977
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/chat.js
7092
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat.js
6978
7093
  var setting = optional(nullable(boolean()));
6979
7094
  var chat = strictObject({
6980
7095
  ref: reference,
@@ -7015,7 +7130,7 @@ var chat = strictObject({
7015
7130
  members: optional(array(member))
7016
7131
  });
7017
7132
 
7018
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/folder.js
7133
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/folder.js
7019
7134
  var named = strictObject({
7020
7135
  id,
7021
7136
  title: nullable(text),
@@ -7038,7 +7153,7 @@ var folder = strictObject({
7038
7153
  excluded_chats: optional(array(named))
7039
7154
  });
7040
7155
 
7041
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7156
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7042
7157
  var inviteLink = strictObject({
7043
7158
  link: text,
7044
7159
  /** Who joins by it asks first, and an admin lets them in. */
@@ -7054,7 +7169,7 @@ var inviteLink = strictObject({
7054
7169
  joined_count: optional(count)
7055
7170
  });
7056
7171
 
7057
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7172
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7058
7173
  var operated = { operation_id: id, chat_id: id };
7059
7174
  var group = strictObject({
7060
7175
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -7134,7 +7249,7 @@ var chatFolderOrder = strictObject({
7134
7249
  folders: array(strictObject({ id, title: text }))
7135
7250
  });
7136
7251
 
7137
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7252
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7138
7253
  var operated2 = { operation_id: id, chat_id: id };
7139
7254
  var chatRemoval = strictObject(operated2);
7140
7255
  var chatMuting = strictObject({
@@ -7145,7 +7260,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
7145
7260
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
7146
7261
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
7147
7262
 
7148
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7263
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7149
7264
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
7150
7265
  var chatEvent = strictObject({
7151
7266
  chat_id: id,
@@ -7162,7 +7277,7 @@ var chatEvent = strictObject({
7162
7277
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
7163
7278
  });
7164
7279
 
7165
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7280
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7166
7281
  var chatMetadata = strictObject({
7167
7282
  chat_id: id,
7168
7283
  title: nullable(text),
@@ -7177,7 +7292,7 @@ var chatMetadataRefresh = strictObject({
7177
7292
  has_more: boolean()
7178
7293
  });
7179
7294
 
7180
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7295
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7181
7296
  var action = picklist(["report", "delete", "remove"]);
7182
7297
  var level = picklist(["deny", "readonly", "ask", "allow"]);
7183
7298
  var chatRules = strictObject({
@@ -7214,7 +7329,7 @@ var chatModeration = strictObject({
7214
7329
  }))
7215
7330
  });
7216
7331
 
7217
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7332
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7218
7333
  var optionalCount = optional(count);
7219
7334
  var minutes = nullable(number());
7220
7335
  var chatStats = strictObject({
@@ -7265,18 +7380,30 @@ var chatStats = strictObject({
7265
7380
  })),
7266
7381
  series: optional(array(strictObject({ key: text, messages: count, senders: count, joined: optionalCount, left: optionalCount })))
7267
7382
  });
7383
+ var ms = nullable(pipe(number(), minValue(0)));
7268
7384
  var taskStats = strictObject({
7269
7385
  /** Open tasks across every row. */
7270
7386
  open: count,
7387
+ created: count,
7388
+ closed: count,
7389
+ median_close_ms: ms,
7390
+ mean_open_age_ms: ms,
7271
7391
  rows: array(strictObject({
7272
- chat: reference,
7392
+ /** Rows of `--by chat` only. */
7393
+ chat: optional(reference),
7394
+ /** The chat reference, `meeting:<account>/<meeting>` or `project:<id>`. */
7395
+ key: text,
7396
+ name: nullable(text),
7273
7397
  open: count,
7398
+ created: count,
7399
+ closed: count,
7274
7400
  oldest_open_at: nullable(time),
7275
- median_close_ms: nullable(pipe(number(), minValue(0)))
7401
+ median_close_ms: ms,
7402
+ mean_open_age_ms: ms
7276
7403
  }))
7277
7404
  });
7278
7405
 
7279
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7406
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7280
7407
  var memberCount = strictObject({
7281
7408
  day: pipe(text, isoDate()),
7282
7409
  participants: nullable(count),
@@ -7299,7 +7426,7 @@ var chatTracking = strictObject({
7299
7426
  tracked: boolean()
7300
7427
  });
7301
7428
 
7302
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7429
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7303
7430
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
7304
7431
  var contactSync = strictObject({ added: count, changed: count, known: count });
7305
7432
  var profileFields = {
@@ -7337,7 +7464,7 @@ var profileFields = {
7337
7464
  }))
7338
7465
  };
7339
7466
 
7340
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/contact.js
7467
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/contact.js
7341
7468
  var contact = strictObject({
7342
7469
  ref: reference,
7343
7470
  id,
@@ -7368,7 +7495,7 @@ var contact = strictObject({
7368
7495
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
7369
7496
  });
7370
7497
 
7371
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
7498
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
7372
7499
  var WEIGHTS = {
7373
7500
  bot: 3,
7374
7501
  scam: 3,
@@ -7393,7 +7520,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
7393
7520
  var DIGITS = /\d{5,}/;
7394
7521
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
7395
7522
 
7396
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
7523
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
7397
7524
  var linkedIdentity = strictObject({
7398
7525
  provider: text,
7399
7526
  id,
@@ -7434,7 +7561,7 @@ var contactCheck = strictObject({
7434
7561
  checked_at: time
7435
7562
  });
7436
7563
 
7437
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/message.js
7564
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message.js
7438
7565
  var quoted = strictObject({
7439
7566
  id,
7440
7567
  sender_id: nullable(id),
@@ -7542,12 +7669,18 @@ var message = strictObject({
7542
7669
  /** Mail `review`: its List-Id, `null` when it has none. */
7543
7670
  list_id: optional(nullable(text)),
7544
7671
  /** Mail `review`: the mail rule that decided how it is stored, by its id in `rules list`; `null` when none. */
7545
- rule_id: optional(nullable(number()))
7672
+ rule_id: optional(nullable(number())),
7673
+ /** Mail `review`: the evidence fingerprint a finding cites this email by. */
7674
+ fingerprint: optional(pipe(text, regex(/^[a-f0-9]{64}$/))),
7675
+ /** Mail `review`: no earlier stored email, in any account, came from this address. */
7676
+ new_sender: optional(boolean()),
7677
+ /** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
7678
+ sender_identities: optional(number())
7546
7679
  })),
7547
7680
  provider_metadata: providerMetadata
7548
7681
  });
7549
7682
 
7550
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7683
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7551
7684
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
7552
7685
  var contextMessage = strictObject({
7553
7686
  locator: reference,
@@ -7745,7 +7878,7 @@ var contactPreparation = strictObject({
7745
7878
  })
7746
7879
  });
7747
7880
 
7748
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
7881
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
7749
7882
  var contactNote = strictObject({
7750
7883
  id,
7751
7884
  /** The contact, as a `contact:` reference. */
@@ -7757,13 +7890,13 @@ var contactNote = strictObject({
7757
7890
  updated_at: time
7758
7891
  });
7759
7892
 
7760
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
7893
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
7761
7894
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
7762
7895
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
7763
7896
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
7764
7897
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
7765
7898
 
7766
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/conversation.js
7899
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/conversation.js
7767
7900
  var conversation = strictObject({
7768
7901
  id,
7769
7902
  chat: reference,
@@ -7778,7 +7911,7 @@ var conversation = strictObject({
7778
7911
  rules_version: count
7779
7912
  });
7780
7913
 
7781
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
7914
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
7782
7915
  var conversationBuild = strictObject({
7783
7916
  chat: id,
7784
7917
  messages: count,
@@ -7803,7 +7936,7 @@ var catchUpPreparation = strictObject({
7803
7936
  prepared: optional(conversationPreparation)
7804
7937
  });
7805
7938
 
7806
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
7939
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
7807
7940
  var conversationDetails = union([
7808
7941
  strictObject({ ...conversation.entries, messages: array(message) }),
7809
7942
  message
@@ -7893,7 +8026,7 @@ var conversationHit = strictObject({
7893
8026
  stale: boolean()
7894
8027
  });
7895
8028
 
7896
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/counters.js
8029
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/counters.js
7897
8030
  var counters = strictObject({
7898
8031
  cutoff: time,
7899
8032
  max_age_ms: milliseconds,
@@ -7923,7 +8056,7 @@ var counterRefresh = strictObject({
7923
8056
  complete: optional(boolean())
7924
8057
  });
7925
8058
 
7926
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/document.js
8059
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/document.js
7927
8060
  var document = strictObject({
7928
8061
  ref: reference,
7929
8062
  id,
@@ -7938,7 +8071,7 @@ var document = strictObject({
7938
8071
  owners: optional(array(text))
7939
8072
  });
7940
8073
 
7941
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8074
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/document-link.js
7942
8075
  var documentLink = strictObject({
7943
8076
  ref: reference,
7944
8077
  url: text,
@@ -7949,7 +8082,7 @@ var documentLink = strictObject({
7949
8082
  sender: strictObject({ id: nullable(id), name: nullable(text) })
7950
8083
  });
7951
8084
 
7952
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8085
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/evidence.js
7953
8086
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
7954
8087
  var contribution = strictObject({
7955
8088
  message: evidenceMessage,
@@ -7979,17 +8112,7 @@ var retentionStay = strictObject({
7979
8112
  });
7980
8113
  var evidence = union([contribution, retentionStay]);
7981
8114
 
7982
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/fact.js
7983
- var payment = strictObject({
7984
- amount: text,
7985
- currency: text,
7986
- direction: picklist(PAYMENT_DIRECTIONS),
7987
- counterparty: nullable(reference),
7988
- counterparty_name: nullable(text),
7989
- due_at: nullable(text),
7990
- state: picklist(PAYMENT_STATES),
7991
- item: nullable(text)
7992
- });
8115
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/fact.js
7993
8116
  var fact = strictObject({
7994
8117
  ref: reference,
7995
8118
  id,
@@ -8013,15 +8136,13 @@ var fact = strictObject({
8013
8136
  /** Who recorded it: the owner, or an agent whose fact waits as proposed. */
8014
8137
  origin: picklist(["owner", "agent"]),
8015
8138
  evidence: array(reference),
8016
- /** A `payment` fact's fields. */
8017
- payment: optional(nullable(payment)),
8018
8139
  /** With `--sources`: each piece of evidence read back. */
8019
8140
  sources: optional(array(evidenceSource)),
8020
8141
  created_at: time,
8021
8142
  updated_at: time
8022
8143
  });
8023
8144
 
8024
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/hit.js
8145
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/hit.js
8025
8146
  var hit = strictObject({
8026
8147
  kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
8027
8148
  ref: reference,
@@ -8059,7 +8180,7 @@ var hit = strictObject({
8059
8180
  untrusted
8060
8181
  });
8061
8182
 
8062
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/identity.js
8183
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/identity.js
8063
8184
  var identity = strictObject({
8064
8185
  ref: reference,
8065
8186
  provider: text,
@@ -8072,7 +8193,7 @@ var identity = strictObject({
8072
8193
  person: optional(nullable(reference))
8073
8194
  });
8074
8195
 
8075
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8196
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8076
8197
  var imageEmbedding = strictObject({
8077
8198
  model: text,
8078
8199
  embedded: count,
@@ -8081,13 +8202,13 @@ var imageEmbedding = strictObject({
8081
8202
  more: boolean()
8082
8203
  });
8083
8204
 
8084
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8205
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8085
8206
  import { spawn } from "node:child_process";
8086
8207
  import { randomBytes as randomBytes2 } from "node:crypto";
8087
8208
  import { closeSync, existsSync as existsSync4, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync3 } from "node:fs";
8088
8209
  import { dirname as dirname2, join as join4 } from "node:path";
8089
8210
 
8090
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8211
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8091
8212
  var progressOf = /* @__PURE__ */ __name((input) => {
8092
8213
  const total = input.total ?? null;
8093
8214
  const updated = input.updatedAt ?? null;
@@ -8103,7 +8224,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
8103
8224
  };
8104
8225
  }, "progressOf");
8105
8226
 
8106
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8227
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8107
8228
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
8108
8229
  const run = currentRun();
8109
8230
  const trace = traceId ?? run.traceId;
@@ -8117,7 +8238,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
8117
8238
  }));
8118
8239
  }, "recordLogFor");
8119
8240
 
8120
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8241
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8121
8242
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
8122
8243
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
8123
8244
  const out = openSync(log, "a", 384);
@@ -8167,11 +8288,11 @@ var finishJob = /* @__PURE__ */ __name((app, dir, id6, change) => {
8167
8288
  const job2 = readJob(dir, id6);
8168
8289
  if (!job2)
8169
8290
  return;
8170
- const outcome2 = stateOf(job2);
8291
+ const outcome3 = stateOf(job2);
8171
8292
  recordLogFor(recordsPath(dir, id6), app, job2.traceId ? { traceId: job2.traceId } : {})[job2.error ? "error" : "info"]({
8172
8293
  event: "job.exit",
8173
8294
  job: id6,
8174
- outcome: outcome2,
8295
+ outcome: outcome3,
8175
8296
  ...job2.error ? { errorCode: job2.error.code } : {}
8176
8297
  });
8177
8298
  }, "finishJob");
@@ -8272,7 +8393,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
8272
8393
  return { job: id6, pid, chat: input.chat, log };
8273
8394
  }, "startArchiveJob");
8274
8395
 
8275
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/job.js
8396
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/job.js
8276
8397
  var problem = strictObject({ code: text, message: text });
8277
8398
  var job = strictObject({
8278
8399
  id,
@@ -8295,7 +8416,7 @@ var job = strictObject({
8295
8416
  error: optional(problem)
8296
8417
  });
8297
8418
 
8298
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8419
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8299
8420
  var joinRequest = strictObject({
8300
8421
  person_id: id,
8301
8422
  name: nullable(text),
@@ -8306,7 +8427,7 @@ var joinRequest = strictObject({
8306
8427
  about: optional(text)
8307
8428
  });
8308
8429
 
8309
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8430
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8310
8431
  var botProfile = strictObject({
8311
8432
  name: text,
8312
8433
  token: text,
@@ -8374,7 +8495,7 @@ var stickerInventory = strictObject({
8374
8495
  url: optional(nullable(text))
8375
8496
  });
8376
8497
 
8377
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8498
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8378
8499
  var pollVote = strictObject({
8379
8500
  person_id: id,
8380
8501
  name: nullable(text),
@@ -8384,7 +8505,7 @@ var pollVote = strictObject({
8384
8505
  voted_at: time
8385
8506
  });
8386
8507
 
8387
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/listener.js
8508
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/listener.js
8388
8509
  var reactions = unwrap(unwrap(message.entries.reactions));
8389
8510
  var observation = strictObject({
8390
8511
  value: pipe(number(), minValue(0)),
@@ -8426,7 +8547,88 @@ var serveSummary = strictObject({
8426
8547
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
8427
8548
  });
8428
8549
 
8429
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8550
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8551
+ var mailCounts = strictObject({
8552
+ by: picklist(["day", "week", "sender"]),
8553
+ received: count,
8554
+ sent: count,
8555
+ rows: array(strictObject({
8556
+ /** `YYYY-MM-DD`, or the sender's address. */
8557
+ key: text,
8558
+ name: nullable(text),
8559
+ received: count,
8560
+ /** Always 0 by sender: the owner sends that mail. */
8561
+ sent: count
8562
+ }))
8563
+ });
8564
+
8565
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8566
+ var evidence2 = strictObject({ reference, fingerprint: text });
8567
+ var base = { id, evidence: array(evidence2) };
8568
+ var finding = variant("kind", [
8569
+ strictObject({
8570
+ ...base,
8571
+ kind: literal("task"),
8572
+ project: optional(reference),
8573
+ type: picklist(WORK_TASK_TYPES),
8574
+ title: text,
8575
+ reason: text,
8576
+ commitment: picklist(["explicit", "inferred"]),
8577
+ due_at: optional(time),
8578
+ due_evidence: optional(array(reference)),
8579
+ assignee: optional(reference),
8580
+ assignee_evidence: optional(array(reference))
8581
+ }),
8582
+ strictObject({
8583
+ ...base,
8584
+ kind: literal("fact"),
8585
+ project: optional(reference),
8586
+ subject: optional(reference),
8587
+ type: picklist(FACT_TYPES),
8588
+ statement: text
8589
+ }),
8590
+ strictObject({
8591
+ ...base,
8592
+ kind: literal("task_update"),
8593
+ task: reference,
8594
+ change: picklist(["close", "due", "detail"]),
8595
+ due_at: optional(time),
8596
+ detail: optional(text),
8597
+ reason: text
8598
+ }),
8599
+ strictObject({
8600
+ ...base,
8601
+ kind: literal("memory"),
8602
+ memory_kind: picklist(MEMORY_KINDS),
8603
+ scope: picklist(MEMORY_SCOPES),
8604
+ body: text,
8605
+ subject: optional(reference),
8606
+ project: optional(reference)
8607
+ }),
8608
+ strictObject({ ...base, kind: literal("link"), from: reference, to: reference, reason: text }),
8609
+ strictObject({ ...base, kind: literal("new_contact"), address: text, name: text, reason: optional(text) })
8610
+ ]);
8611
+ var outcome = strictObject({
8612
+ id,
8613
+ fingerprint: text,
8614
+ status: picklist(["accepted", "rejected"]),
8615
+ reference: nullable(reference),
8616
+ reused: boolean()
8617
+ });
8618
+ var mailFindings = strictObject({
8619
+ id,
8620
+ account: strictObject({ provider: text, account: text }),
8621
+ input: strictObject({ schema_version: literal(1), key: text, extractor: text, findings: array(finding) }),
8622
+ fingerprint: text,
8623
+ status: picklist(["proposed", "reviewed"]),
8624
+ author,
8625
+ decided_by: nullable(strictObject({ type: picklist(["person", "bot"]), id })),
8626
+ decided_at: nullable(time),
8627
+ previous: array(outcome),
8628
+ receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
8629
+ });
8630
+
8631
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8430
8632
  var mediaArchive = strictObject({
8431
8633
  directory: text,
8432
8634
  chats: count,
@@ -8458,7 +8660,7 @@ var mediaArchiveTimer = union([
8458
8660
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
8459
8661
  ]);
8460
8662
 
8461
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8663
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8462
8664
  var preparationId = pipe(string(), minLength(1));
8463
8665
  var preparationCount = pipe(number(), integer(), minValue(0));
8464
8666
  var preparationTime = nullable(isoTime);
@@ -8550,7 +8752,7 @@ var preparationMeeting = strictObject({
8550
8752
  updated_at: isoTime
8551
8753
  });
8552
8754
 
8553
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
8755
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
8554
8756
  var meetingEvidence = preparationEvidence;
8555
8757
  var meetingPersonContext = strictObject({
8556
8758
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -8572,13 +8774,13 @@ var meetingPersonContext = strictObject({
8572
8774
  })
8573
8775
  });
8574
8776
 
8575
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
8576
- var evidence2 = strictObject({ reference, fingerprint: text });
8577
- var base = { id, project: reference, evidence: array(evidence2) };
8578
- var finding = variant("kind", [
8579
- strictObject({ ...base, kind: literal("fact"), type: picklist(FACT_TYPES), statement: text }),
8777
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
8778
+ var evidence3 = strictObject({ reference, fingerprint: text });
8779
+ var base2 = { id, project: reference, evidence: array(evidence3) };
8780
+ var finding2 = variant("kind", [
8781
+ strictObject({ ...base2, kind: literal("fact"), type: picklist(FACT_TYPES), statement: text }),
8580
8782
  strictObject({
8581
- ...base,
8783
+ ...base2,
8582
8784
  kind: literal("task"),
8583
8785
  type: picklist(WORK_TASK_TYPES),
8584
8786
  title: text,
@@ -8590,7 +8792,7 @@ var finding = variant("kind", [
8590
8792
  assignee_evidence: optional(array(reference))
8591
8793
  })
8592
8794
  ]);
8593
- var outcome = strictObject({
8795
+ var outcome2 = strictObject({
8594
8796
  id,
8595
8797
  fingerprint: text,
8596
8798
  status: picklist(["accepted", "rejected"]),
@@ -8600,17 +8802,17 @@ var outcome = strictObject({
8600
8802
  var meetingFindings = strictObject({
8601
8803
  id,
8602
8804
  account: strictObject({ provider: text, account: text }),
8603
- input: strictObject({ schema_version: literal(1), key: text, extractor: text, findings: array(finding) }),
8805
+ input: strictObject({ schema_version: literal(1), key: text, extractor: text, findings: array(finding2) }),
8604
8806
  fingerprint: text,
8605
8807
  status: picklist(["proposed", "reviewed"]),
8606
8808
  author,
8607
8809
  decided_by: nullable(strictObject({ type: picklist(["person", "bot"]), id })),
8608
8810
  decided_at: nullable(time),
8609
- previous: array(outcome),
8610
- receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
8811
+ previous: array(outcome2),
8812
+ receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
8611
8813
  });
8612
8814
 
8613
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
8815
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
8614
8816
  var communicationCoverage = strictObject({
8615
8817
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
8616
8818
  query: string(),
@@ -8655,7 +8857,7 @@ var preparationCommunications = strictObject({
8655
8857
  }))
8656
8858
  });
8657
8859
 
8658
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
8860
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
8659
8861
  var meetingPreparation = strictObject({
8660
8862
  communications: optional(preparationCommunications),
8661
8863
  schema_version: literal(1),
@@ -8768,7 +8970,7 @@ var meetingPreparation = strictObject({
8768
8970
  })
8769
8971
  });
8770
8972
 
8771
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
8973
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
8772
8974
  var count4 = pipe(number(), integer(), minValue(0));
8773
8975
  var id3 = pipe(string(), minLength(1));
8774
8976
  var text3 = string();
@@ -8832,7 +9034,7 @@ var meetingProjectCandidates = strictObject({
8832
9034
  })
8833
9035
  });
8834
9036
 
8835
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9037
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
8836
9038
  var count5 = pipe(number(), integer(), minValue(0));
8837
9039
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
8838
9040
  var meetingSeriesInventory = strictObject({
@@ -8862,7 +9064,7 @@ var meetingSeriesInventory = strictObject({
8862
9064
  })
8863
9065
  });
8864
9066
 
8865
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9067
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
8866
9068
  var text4 = string();
8867
9069
  var id5 = pipe(number(), integer(), minValue(1));
8868
9070
  var revision = picklist(["current", "superseded"]);
@@ -8879,7 +9081,7 @@ var meetingTaskProposal = strictObject({
8879
9081
  persistence: literal("proposal-only")
8880
9082
  });
8881
9083
 
8882
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/memory.js
9084
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/memory.js
8883
9085
  var memory = strictObject({
8884
9086
  ref: reference,
8885
9087
  id,
@@ -8906,7 +9108,7 @@ var memory = strictObject({
8906
9108
  updated_at: time
8907
9109
  });
8908
9110
 
8909
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/mention.js
9111
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/mention.js
8910
9112
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
8911
9113
  var status = picklist(["found", "linked", "dismissed"]);
8912
9114
  var mention = strictObject({
@@ -8949,13 +9151,13 @@ var mentionRebuild = strictObject({
8949
9151
  mentions: count
8950
9152
  });
8951
9153
 
8952
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9154
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-change.js
8953
9155
  var operated3 = { operation_id: id, chat_id: id };
8954
9156
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
8955
9157
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
8956
9158
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
8957
9159
 
8958
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9160
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-read.js
8959
9161
  var messageTranscript = strictObject({
8960
9162
  message_id: id,
8961
9163
  text,
@@ -9013,7 +9215,7 @@ var evidencePacket = strictObject({
9013
9215
  }))
9014
9216
  });
9015
9217
 
9016
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9218
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9017
9219
  var messageThread = strictObject({
9018
9220
  ref: reference,
9019
9221
  chat: id,
@@ -9030,7 +9232,7 @@ var messageThread = strictObject({
9030
9232
  });
9031
9233
  var messageContext = union([message, messageThread]);
9032
9234
 
9033
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9235
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9034
9236
  var messageCounts = strictObject({
9035
9237
  by: picklist(["chat", "sender", "day", "hour"]),
9036
9238
  total: count,
@@ -9043,7 +9245,7 @@ var messageCounts = strictObject({
9043
9245
  }))
9044
9246
  });
9045
9247
 
9046
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9248
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9047
9249
  var messageLink = strictObject({
9048
9250
  ref: reference,
9049
9251
  url: nullable(text),
@@ -9060,7 +9262,7 @@ var messageLink = strictObject({
9060
9262
  })))
9061
9263
  });
9062
9264
 
9063
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9265
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9064
9266
  var savedMessageFile = strictObject({
9065
9267
  kind: text,
9066
9268
  path: text,
@@ -9147,7 +9349,7 @@ var messageSyncAll = strictObject({
9147
9349
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
9148
9350
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
9149
9351
 
9150
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9352
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9151
9353
  var messageWrite = strictObject({
9152
9354
  operation_id: id,
9153
9355
  message,
@@ -9162,7 +9364,7 @@ var draftWrite = strictObject({
9162
9364
  });
9163
9365
  var messageSend = union([messageWrite, draftWrite]);
9164
9366
 
9165
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/model.js
9367
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/model.js
9166
9368
  var model2 = strictObject({
9167
9369
  id,
9168
9370
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -9179,7 +9381,7 @@ var model2 = strictObject({
9179
9381
  path: text
9180
9382
  });
9181
9383
 
9182
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9384
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9183
9385
  var source = picklist(["environment", "keyring", "file"]);
9184
9386
  var modelKey = strictObject({
9185
9387
  provider: text,
@@ -9189,7 +9391,7 @@ var modelKey = strictObject({
9189
9391
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
9190
9392
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
9191
9393
 
9192
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9394
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9193
9395
  var versus = strictObject({ current: number(), previous: number() });
9194
9396
  var person = { person_ref: reference, name: nullable(text) };
9195
9397
  var graph = strictObject({
@@ -9223,14 +9425,14 @@ var officialStats = strictObject({
9223
9425
  graphs: record(string(), union([graph, strictObject({ error: text })]))
9224
9426
  });
9225
9427
 
9226
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/person.js
9428
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/person.js
9227
9429
  var person2 = strictObject({
9228
9430
  ref: reference,
9229
9431
  name: nullable(text),
9230
9432
  identities: optional(array(identity))
9231
9433
  });
9232
9434
 
9233
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/poll.js
9435
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/poll.js
9234
9436
  var poll = strictObject({
9235
9437
  chat_id: id,
9236
9438
  message_id: id,
@@ -9246,11 +9448,11 @@ var poll = strictObject({
9246
9448
  });
9247
9449
  var pollChange = strictObject({ operation_id: id, poll });
9248
9450
 
9249
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9451
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9250
9452
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
9251
9453
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
9252
9454
 
9253
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9455
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9254
9456
  var figures = record(string(), number());
9255
9457
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
9256
9458
  var rankingRow = strictObject({
@@ -9297,7 +9499,7 @@ var ranking = strictObject({
9297
9499
  rows: array(rankingRow)
9298
9500
  });
9299
9501
 
9300
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9502
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9301
9503
  var reaction = strictObject({
9302
9504
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
9303
9505
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -9305,7 +9507,7 @@ var reaction = strictObject({
9305
9507
  reacted_at: time
9306
9508
  });
9307
9509
 
9308
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9510
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9309
9511
  var reactionChange = strictObject({
9310
9512
  operation_id: id,
9311
9513
  chat_id: id,
@@ -9313,7 +9515,7 @@ var reactionChange = strictObject({
9313
9515
  reaction: nullable(text)
9314
9516
  });
9315
9517
 
9316
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9518
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9317
9519
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
9318
9520
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
9319
9521
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -9324,7 +9526,7 @@ var recipientChange = strictObject({
9324
9526
  ...partial(recipientOff).entries
9325
9527
  });
9326
9528
 
9327
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9529
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9328
9530
  var events = array(record(string(), unknown()));
9329
9531
  var recordedRun = strictObject({
9330
9532
  run_id: id,
@@ -9396,7 +9598,7 @@ var runHit = strictObject({
9396
9598
  });
9397
9599
  var runLocation = strictObject({ path: text });
9398
9600
 
9399
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9601
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9400
9602
  var relationship = strictObject({
9401
9603
  id,
9402
9604
  from: reference,
@@ -9413,7 +9615,24 @@ var relationship = strictObject({
9413
9615
  created_at: time
9414
9616
  });
9415
9617
 
9416
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/retention.js
9618
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9619
+ var milliseconds2 = nullable(pipe(number(), minValue(0)));
9620
+ var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
9621
+ var responseTimes = strictObject({
9622
+ who: picklist(["me", "others"]),
9623
+ ...figures2,
9624
+ buckets: strictObject({ under_5m: count, under_1h: count, under_1d: count, over_1d: count }),
9625
+ /** One row per calendar day of the reply; empty with `--by total`. */
9626
+ rows: array(strictObject({ key: text, ...figures2 }))
9627
+ });
9628
+ var waitingChats = strictObject({
9629
+ chats: count,
9630
+ messages: count,
9631
+ oldest_at: nullable(time),
9632
+ by_kind: strictObject({ private: count, group: count })
9633
+ });
9634
+
9635
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/retention.js
9417
9636
  var retentionCohort = strictObject({
9418
9637
  /** The first day of the joining day or week. */
9419
9638
  cohort: text,
@@ -9461,7 +9680,7 @@ var retention = strictObject({
9461
9680
  rows: array(retentionCohort)
9462
9681
  });
9463
9682
 
9464
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
9683
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
9465
9684
  var savedSearch = strictObject({
9466
9685
  id,
9467
9686
  /** `null` for a run in the history. */
@@ -9478,7 +9697,7 @@ var savedSearch = strictObject({
9478
9697
  });
9479
9698
  var searchHistoryClear = strictObject({ cleared: count });
9480
9699
 
9481
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
9700
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
9482
9701
  var sendAttempt = strictObject({
9483
9702
  at: time,
9484
9703
  profile: text,
@@ -9506,7 +9725,7 @@ var sendAttempt = strictObject({
9506
9725
  error_code: optional(text)
9507
9726
  });
9508
9727
 
9509
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
9728
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
9510
9729
  var absent = strictObject({ path: text, exists: literal(false) });
9511
9730
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
9512
9731
  var infoSchema = strictObject({
@@ -9714,7 +9933,7 @@ var storeRepair = union([
9714
9933
  ]);
9715
9934
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
9716
9935
 
9717
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/store-records.js
9936
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/store-records.js
9718
9937
  var range = strictObject({ from: number(), to: number() });
9719
9938
  var storeChatStatus = strictObject({
9720
9939
  chat_id: id,
@@ -9726,6 +9945,13 @@ var storeChatStatus = strictObject({
9726
9945
  last_stored_at: nullable(time),
9727
9946
  held: array(range)
9728
9947
  });
9948
+ var chatCoverage = strictObject({
9949
+ chats: count,
9950
+ fetched: count,
9951
+ partial: count,
9952
+ never: count,
9953
+ oldest_message_at: nullable(time)
9954
+ });
9729
9955
  var storeClear = strictObject({
9730
9956
  cleared: boolean(),
9731
9957
  dry_run: optional(literal(true)),
@@ -9805,7 +10031,7 @@ var storeJobRetry = union([
9805
10031
  ]);
9806
10032
  var storeJobClear = strictObject({ cleared: array(id) });
9807
10033
 
9808
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10034
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/store-table.js
9809
10035
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
9810
10036
  var storeTable = strictObject({
9811
10037
  name: text,
@@ -9814,7 +10040,7 @@ var storeTable = strictObject({
9814
10040
  bytes: optional(nullable(count))
9815
10041
  });
9816
10042
 
9817
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10043
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
9818
10044
  var tagTarget = variant("type", [
9819
10045
  strictObject({ type: literal("chat"), chat_id: id }),
9820
10046
  strictObject({ type: literal("contact"), person_id: id }),
@@ -9845,7 +10071,7 @@ var automaticTags = strictObject({
9845
10071
  dry_run: boolean()
9846
10072
  });
9847
10073
 
9848
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10074
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/tagging.js
9849
10075
  var tagging = strictObject({
9850
10076
  tag: text,
9851
10077
  type: picklist(TAG_TYPES),
@@ -9858,7 +10084,7 @@ var tagging = strictObject({
9858
10084
  created_at: time
9859
10085
  });
9860
10086
 
9861
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10087
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
9862
10088
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
9863
10089
  var taskPair = strictObject({
9864
10090
  task: nullable(side),
@@ -9881,7 +10107,7 @@ var taskPair = strictObject({
9881
10107
  created_at: time
9882
10108
  });
9883
10109
 
9884
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10110
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/task-results.js
9885
10111
  var nullableTime = nullable(time);
9886
10112
  var link = strictObject({
9887
10113
  id,
@@ -10051,7 +10277,7 @@ var taskReview = strictObject({
10051
10277
  untrusted
10052
10278
  });
10053
10279
 
10054
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/topic.js
10280
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/topic.js
10055
10281
  var topic = strictObject({
10056
10282
  id,
10057
10283
  title: text,
@@ -10065,7 +10291,7 @@ var topic = strictObject({
10065
10291
  untrusted
10066
10292
  });
10067
10293
 
10068
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/index.js
10294
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/index.js
10069
10295
  var ENTITIES = {
10070
10296
  sync_progress: progress,
10071
10297
  ...MEETING_RESULT_ENTITIES,
@@ -10095,19 +10321,22 @@ var ENTITIES = {
10095
10321
  attachments: optional(array(hitFile)),
10096
10322
  untrusted
10097
10323
  }),
10098
- "message.summary": pick(message, [
10099
- "ref",
10100
- "chat_id",
10101
- "chat_title",
10102
- "timestamp",
10103
- "sender_name",
10104
- "sender_is_me",
10105
- "outgoing",
10106
- "text",
10107
- "transcript",
10108
- "attachments",
10109
- "email"
10110
- ]),
10324
+ "message.summary": strictObject({
10325
+ ...pick(message, [
10326
+ "ref",
10327
+ "chat_id",
10328
+ "chat_title",
10329
+ "timestamp",
10330
+ "sender_name",
10331
+ "sender_is_me",
10332
+ "outgoing",
10333
+ "text",
10334
+ "transcript",
10335
+ "attachments",
10336
+ "email"
10337
+ ]).entries,
10338
+ untrusted
10339
+ }),
10111
10340
  message_link: messageLink,
10112
10341
  message_write: messageWrite,
10113
10342
  message_send: messageSend,
@@ -10217,6 +10446,7 @@ var ENTITIES = {
10217
10446
  meeting_project_evidence: meetingProjectEvidence,
10218
10447
  meeting_preparation: meetingPreparation,
10219
10448
  meeting_findings: meetingFindings,
10449
+ mail_findings: mailFindings,
10220
10450
  meeting_transcript: meetingTranscript,
10221
10451
  meeting_summary: meetingSummary,
10222
10452
  meeting_evidence: meetingEvidence,
@@ -10225,6 +10455,7 @@ var ENTITIES = {
10225
10455
  meeting_review: meetingReview,
10226
10456
  meeting_link: meetingLink,
10227
10457
  meeting_stats: meetingStats,
10458
+ meeting_counts: meetingCounts,
10228
10459
  meeting_speaker: meetingSpeaker,
10229
10460
  meeting_participants: meetingParticipants,
10230
10461
  meeting_passage: meetingPassage,
@@ -10262,6 +10493,7 @@ var ENTITIES = {
10262
10493
  job,
10263
10494
  store_chat_status: storeChatStatus,
10264
10495
  store_clear: storeClear,
10496
+ chat_coverage: chatCoverage,
10265
10497
  store_export: storeExport,
10266
10498
  store_gap_plan: storeGapPlan,
10267
10499
  store_gap_repair: storeGapRepair,
@@ -10317,6 +10549,9 @@ var ENTITIES = {
10317
10549
  topic,
10318
10550
  folder,
10319
10551
  message_counts: messageCounts,
10552
+ response_times: responseTimes,
10553
+ waiting_chats: waitingChats,
10554
+ mail_counts: mailCounts,
10320
10555
  ranking,
10321
10556
  admin_report: adminReport,
10322
10557
  analysis_consent: analysisConsent,
@@ -10338,7 +10573,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
10338
10573
  return [name, definition];
10339
10574
  })), "entityDefinitions");
10340
10575
 
10341
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10576
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10342
10577
  var schemas = /* @__PURE__ */ new WeakMap();
10343
10578
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
10344
10579
  if (Object.hasOwn(ENTITIES, name))
@@ -10372,7 +10607,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
10372
10607
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
10373
10608
  }, "answerRow");
10374
10609
 
10375
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/images/picture/models.js
10610
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/images/picture/models.js
10376
10611
  import { join as join5 } from "node:path";
10377
10612
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
10378
10613
  var IMAGE_MODELS = [
@@ -10426,7 +10661,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
10426
10661
  var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
10427
10662
  var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
10428
10663
 
10429
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/steps.js
10664
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/steps.js
10430
10665
  var STEPS2 = defineSteps([
10431
10666
  ...STEPS,
10432
10667
  {
@@ -10648,7 +10883,7 @@ var STEPS2 = defineSteps([
10648
10883
  }
10649
10884
  ]);
10650
10885
  var nextStep = /* @__PURE__ */ __name((id6, input) => {
10651
- const definition = STEPS2.find((step) => step.id === id6);
10886
+ const definition = STEPS2.find((step2) => step2.id === id6);
10652
10887
  if (!definition)
10653
10888
  throw new Error(`no step "${id6}"`);
10654
10889
  const args = Object.fromEntries(Object.entries(input.args ?? {}).filter(([, value]) => value !== void 0));
@@ -10671,7 +10906,7 @@ var commandAt = /* @__PURE__ */ __name((root, path2) => {
10671
10906
  at2 = at2?.commands.find((one) => one.name() === word || one.aliases().includes(word));
10672
10907
  return at2 === root ? void 0 : at2;
10673
10908
  }, "commandAt");
10674
- var runnable = /* @__PURE__ */ __name((root, steps) => withSafety((steps ?? []).filter((step) => step.kind === "user_action" || commandAt(root, step.command) !== void 0).slice(0, MAX_NEXT_STEPS), judgedTargets(root)), "runnable");
10909
+ var runnable = /* @__PURE__ */ __name((root, steps) => withSafety((steps ?? []).filter((step2) => step2.kind === "user_action" || commandAt(root, step2.command) !== void 0).slice(0, MAX_NEXT_STEPS), judgedTargets(root)), "runnable");
10675
10910
  var failureSteps = /* @__PURE__ */ __name((root, error) => {
10676
10911
  const model3 = error.details?.model;
10677
10912
  const own = error.reason === "model.not-downloaded" && typeof model3 === "string" ? [
@@ -10681,33 +10916,33 @@ var failureSteps = /* @__PURE__ */ __name((root, error) => {
10681
10916
  ] : [];
10682
10917
  return runnable(root, [...error.next ?? [], ...own]);
10683
10918
  }, "failureSteps");
10684
- var withSafety = /* @__PURE__ */ __name((steps, targets) => steps.map((step) => {
10685
- if (step.kind === "user_action")
10686
- return step;
10687
- const effects = targets(step.command)?.effects;
10688
- return { ...step, safe_to_auto_execute: effects !== void 0 && !writes(effects) };
10919
+ var withSafety = /* @__PURE__ */ __name((steps, targets) => steps.map((step2) => {
10920
+ if (step2.kind === "user_action")
10921
+ return step2;
10922
+ const effects = targets(step2.command)?.effects;
10923
+ return { ...step2, safe_to_auto_execute: effects !== void 0 && !writes(effects) };
10689
10924
  }), "withSafety");
10690
- var withLines = /* @__PURE__ */ __name((root, steps) => steps.map((step) => step.kind === "command" ? { ...step, line: stepLine(root, step) } : step), "withLines");
10925
+ var withLines = /* @__PURE__ */ __name((root, steps) => steps.map((step2) => step2.kind === "command" ? { ...step2, line: stepLine(root, step2) } : step2), "withLines");
10691
10926
  var kebab = /* @__PURE__ */ __name((name) => name.replaceAll("_", "-"), "kebab");
10692
10927
  var quoted2 = /* @__PURE__ */ __name((value) => {
10693
10928
  const text5 = String(value);
10694
10929
  return /^[\w@:./+-]+$/.test(text5) ? text5 : JSON.stringify(text5);
10695
10930
  }, "quoted");
10696
- var stepLine = /* @__PURE__ */ __name((root, step) => {
10697
- const command = commandAt(root, step.command);
10931
+ var stepLine = /* @__PURE__ */ __name((root, step2) => {
10932
+ const command = commandAt(root, step2.command);
10698
10933
  const positional = new Set(command?.registeredArguments.map((argument) => argument.name()) ?? []);
10699
- const args = Object.entries(step.args).filter(([, value]) => value !== void 0 && value !== false);
10934
+ const args = Object.entries(step2.args).filter(([, value]) => value !== void 0 && value !== false);
10700
10935
  const profile = root.getOptionValue("profile");
10701
10936
  return [
10702
10937
  root.name(),
10703
10938
  ...typeof profile === "string" && profile !== "" ? [quoted2(profile)] : [],
10704
- step.command,
10705
- ...(command?.registeredArguments ?? []).flatMap((argument) => step.args[argument.name()] === void 0 ? [] : [quoted2(step.args[argument.name()])]),
10939
+ step2.command,
10940
+ ...(command?.registeredArguments ?? []).flatMap((argument) => step2.args[argument.name()] === void 0 ? [] : [quoted2(step2.args[argument.name()])]),
10706
10941
  ...args.filter(([name]) => !positional.has(name)).map(([name, value]) => value === true ? `--${kebab(name)}` : `--${kebab(name)} ${quoted2(value)}`)
10707
10942
  ].join(" ");
10708
10943
  }, "stepLine");
10709
10944
 
10710
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
10945
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
10711
10946
  var where = [{ field: "ref" }, { field: ["chat_title", "chat"] }];
10712
10947
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
10713
10948
  var STATUS_SIGNAL_ROWS = {
@@ -10816,7 +11051,7 @@ var STATUS_ROWS = {
10816
11051
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
10817
11052
  };
10818
11053
 
10819
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/compact.js
11054
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/compact.js
10820
11055
  var TEXT_CHARS = 400;
10821
11056
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
10822
11057
  var messageRow = {
@@ -10969,10 +11204,10 @@ var clockFor = /* @__PURE__ */ __name((zone) => {
10969
11204
  return {
10970
11205
  zone,
10971
11206
  parts: /* @__PURE__ */ __name((iso) => {
10972
- const ms = Date.parse(iso);
10973
- if (Number.isNaN(ms))
11207
+ const ms2 = Date.parse(iso);
11208
+ if (Number.isNaN(ms2))
10974
11209
  return void 0;
10975
- const part = Object.fromEntries(format.formatToParts(ms).map(({ type, value }) => [type, value]));
11210
+ const part = Object.fromEntries(format.formatToParts(ms2).map(({ type, value }) => [type, value]));
10976
11211
  return { date: `${part.year}-${part.month}-${part.day}`, time: `${part.hour}:${part.minute}` };
10977
11212
  }, "parts")
10978
11213
  };
@@ -11096,20 +11331,20 @@ var blockOf = /* @__PURE__ */ __name((fields, chars, indent = "", whole = []) =>
11096
11331
  var footerOf = /* @__PURE__ */ __name((body) => {
11097
11332
  const lines = [];
11098
11333
  const steps = body.next ?? [];
11099
- const lineOf2 = /* @__PURE__ */ __name((step) => step.kind === "command" ? step.line ?? step.command : void 0, "lineOf");
11334
+ const lineOf2 = /* @__PURE__ */ __name((step2) => step2.kind === "command" ? step2.line ?? step2.command : void 0, "lineOf");
11100
11335
  if ("items" in body && body.page.has_more) {
11101
- const more = steps.find((step) => step.step === "page.next");
11336
+ const more = steps.find((step2) => step2.step === "page.next");
11102
11337
  const line = more?.kind === "command" ? more.line : void 0;
11103
11338
  const page2 = body.page;
11104
11339
  lines.push(`# more: ${clean(line ?? (page2.mode === "cursor" && page2.next_cursor ? `--cursor ${page2.next_cursor}` : page2.mode === "page" && page2.next_page ? `--page ${page2.next_page}` : "raise --limit"))}`);
11105
11340
  }
11106
11341
  for (const missing of body.missing ?? [])
11107
11342
  lines.push(`# missing: ${clean(missing.field)}: ${clean(missing.why)}`);
11108
- for (const step of steps) {
11109
- if (step.step === "page.next" && "items" in body)
11343
+ for (const step2 of steps) {
11344
+ if (step2.step === "page.next" && "items" in body)
11110
11345
  continue;
11111
- const line = lineOf2(step);
11112
- lines.push(`# next: ${clean(step.why)}${line ? `: ${clean(line)}` : ""}`);
11346
+ const line = lineOf2(step2);
11347
+ lines.push(`# next: ${clean(step2.why)}${line ? `: ${clean(line)}` : ""}`);
11113
11348
  }
11114
11349
  if (body.meta?.complete === false) {
11115
11350
  const issues = (body.meta.issues ?? []).map((issue) => `${clean(issue.source)}: ${clean(String(issue.code))}`);
@@ -11152,7 +11387,65 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
11152
11387
  return lines.concat(footerOf(body)).join("\n");
11153
11388
  }, "compactText");
11154
11389
 
11155
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11390
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11391
+ var SOFT_OUTPUT_BYTES = 256 * 1024;
11392
+ var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
11393
+ var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
11394
+ var snake3 = /* @__PURE__ */ __name((name) => name.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
11395
+ var typed = /* @__PURE__ */ __name((command, key) => command.getOptionValueSource(key) === "cli", "typed");
11396
+ var typedArgs = /* @__PURE__ */ __name((command) => {
11397
+ const root = rootOf2(command);
11398
+ if (root.getOptionValue("fields") !== void 0)
11399
+ return void 0;
11400
+ if (command.options.some((option) => option.negate && typed(command, option.attributeName())))
11401
+ return void 0;
11402
+ const positional = command.registeredArguments.flatMap((argument, index) => {
11403
+ const value = command.processedArgs[index];
11404
+ const word = Array.isArray(value) ? value.join(" ") : value;
11405
+ return word === void 0 || word === "" ? [] : [[argument.name(), word]];
11406
+ });
11407
+ const own = command.options.map((option) => option.attributeName()).filter((key) => typed(command, key)).map((key) => [snake3(key), command.getOptionValue(key)]);
11408
+ const global = CARRIED.filter((key) => typed(root, key)).map((key) => [snake3(key), root.getOptionValue(key)]);
11409
+ return Object.fromEntries([...positional, ...own, ...global]);
11410
+ }, "typedArgs");
11411
+ var declaresRow = /* @__PURE__ */ __name((command) => {
11412
+ const { rows: rows2 } = environmentOf(command);
11413
+ return rowShapeOf(command, rows2 && entityRows(rows2)) !== GENERIC_ROW;
11414
+ }, "declaresRow");
11415
+ var pathOf3 = /* @__PURE__ */ __name((command) => {
11416
+ const words = [];
11417
+ for (let at2 = command; at2.parent; at2 = at2.parent)
11418
+ words.unshift(at2.name());
11419
+ return words.join(" ");
11420
+ }, "pathOf");
11421
+ var step = /* @__PURE__ */ __name((command, id6, args, why) => ({
11422
+ kind: "command",
11423
+ step: id6,
11424
+ command: pathOf3(command),
11425
+ args,
11426
+ why,
11427
+ safe_to_auto_execute: true
11428
+ }), "step");
11429
+ var compactStep = /* @__PURE__ */ __name((command, args, why) => rootOf2(command).getOptionValue("compact") === true || !declaresRow(command) ? [] : [
11430
+ step(command, "output.compact", { ...Object.fromEntries(Object.entries(args).filter(([key]) => !NOT_WITH_COMPACT.has(key))), compact: true }, why)
11431
+ ], "compactStep");
11432
+ var tooLargeSteps = /* @__PURE__ */ __name((command, { maxBytes, neededBytes }) => {
11433
+ const args = typedArgs(command);
11434
+ if (!args)
11435
+ return [];
11436
+ const limit = Number(command.getOptionValue("limit"));
11437
+ const fits = Math.floor(limit * maxBytes / neededBytes * 0.9);
11438
+ return [
11439
+ ...compactStep(command, args, "the answer is over the output cap as JSON; one line per item keeps every ref"),
11440
+ ...Number.isSafeInteger(limit) && fits >= 1 && fits < limit ? [step(command, "output.limit", { ...args, limit: fits }, `about ${fits} items fit under the output cap`)] : []
11441
+ ];
11442
+ }, "tooLargeSteps");
11443
+ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
11444
+ const args = typedArgs(command);
11445
+ return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
11446
+ }, "largeAnswerSteps");
11447
+
11448
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11156
11449
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
11157
11450
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
11158
11451
  var strip = /* @__PURE__ */ __name((value) => {
@@ -11166,7 +11459,7 @@ var strip = /* @__PURE__ */ __name((value) => {
11166
11459
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
11167
11460
  }, "strip");
11168
11461
 
11169
- // node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11462
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11170
11463
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
11171
11464
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
11172
11465
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -11209,7 +11502,7 @@ var itemOf = /* @__PURE__ */ __name((item, { next = [], missing, meta } = {}) =>
11209
11502
  };
11210
11503
  return body;
11211
11504
  }, "itemOf");
11212
- var snake3 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
11505
+ var snake4 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
11213
11506
  var snakeKeysKeeping = /* @__PURE__ */ __name((verbatim) => {
11214
11507
  const kept = new Set(verbatim);
11215
11508
  const convert = /* @__PURE__ */ __name((value) => {
@@ -11220,7 +11513,7 @@ var snakeKeysKeeping = /* @__PURE__ */ __name((verbatim) => {
11220
11513
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => {
11221
11514
  if (inner === void 0)
11222
11515
  return [];
11223
- const name = snake3(key);
11516
+ const name = snake4(key);
11224
11517
  return [[name, kept.has(key) || kept.has(name) ? inner : convert(inner)]];
11225
11518
  }));
11226
11519
  }, "convert");
@@ -11260,7 +11553,16 @@ var sealed = /* @__PURE__ */ __name((value) => {
11260
11553
  const { meta, ...rest } = withoutProviderRefs(value);
11261
11554
  return { ...rest, meta: metaNow(meta) };
11262
11555
  }, "sealed");
11263
- var compactSteps = /* @__PURE__ */ __name((root, steps) => steps.map((step) => step.kind === "command" ? { ...step, line: `${step.line ?? stepLine(root, step)} ${COMPACT_FLAG}` } : step), "compactSteps");
11556
+ var compactSteps = /* @__PURE__ */ __name((root, steps) => steps.map((step2) => step2.kind === "command" ? { ...step2, line: `${step2.line ?? stepLine(root, step2)} ${COMPACT_FLAG}` } : step2), "compactSteps");
11557
+ var withLargeAnswerStep = /* @__PURE__ */ __name((command, body) => {
11558
+ if ((body.next?.length ?? 0) >= MAX_NEXT_STEPS)
11559
+ return body;
11560
+ const added = largeAnswerSteps(command);
11561
+ if (added.length === 0 || Buffer.byteLength(JSON.stringify(body)) <= SOFT_OUTPUT_BYTES)
11562
+ return body;
11563
+ const root = rootOf2(command);
11564
+ return { ...body, next: [...body.next ?? [], ...withLines(root, runnable(root, added))] };
11565
+ }, "withLargeAnswerStep");
11264
11566
  var linesOf = /* @__PURE__ */ __name((body) => jsonlOf("items" in body ? body : { items: [body.item], page: { mode: "page", limit: 1, has_more: false }, meta: body.meta }), "linesOf");
11265
11567
  var jsonlRecords = /* @__PURE__ */ __name((body) => linesOf(sealed(body)).split("\n").map((line) => JSON.parse(line)), "jsonlRecords");
11266
11568
  var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams, compact, full }, body, view) => {
@@ -11272,9 +11574,10 @@ var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams,
11272
11574
  const kept = withoutProviderRefs({ ...body, ...next.length > 0 ? { next } : {} });
11273
11575
  if (next.length === 0)
11274
11576
  delete kept.next;
11275
- const whole = sealed(kept);
11577
+ const sealedBody = sealed(kept);
11276
11578
  const environment = environmentOf(command);
11277
11579
  const drawn = compact && !environment.agent;
11580
+ const whole = format === "json" && !drawn && !environment.agent ? withLargeAnswerStep(command, sealedBody) : sealedBody;
11278
11581
  if (drawn) {
11279
11582
  const lined = whole.next ? { ...whole, next: compactSteps(root, whole.next) } : whole;
11280
11583
  const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -11294,8 +11597,8 @@ var renderAnswer = /* @__PURE__ */ __name((command, { renderer, format, streams,
11294
11597
  setExitCode(command, code);
11295
11598
  if (drawn || format === "json")
11296
11599
  return;
11297
- for (const step of next)
11298
- renderer.note(step.kind === "command" ? `\u2192 ${step.why}: ${stepLine(root, step)}` : `\u2192 ${step.why}`);
11600
+ for (const step2 of next)
11601
+ renderer.note(step2.kind === "command" ? `\u2192 ${step2.why}: ${stepLine(root, step2)}` : `\u2192 ${step2.why}`);
11299
11602
  }, "renderAnswer");
11300
11603
  var renderDocument = /* @__PURE__ */ __name(({ renderer }, document2) => renderer.result(document2), "renderDocument");
11301
11604
  var itemAnswer = /* @__PURE__ */ __name((item) => sealed(itemOf(item)), "itemAnswer");
@@ -11339,6 +11642,7 @@ export {
11339
11642
  readEvents,
11340
11643
  currentRun,
11341
11644
  inRun,
11645
+ runEvent,
11342
11646
  typedCommand,
11343
11647
  useAsProcessRun,
11344
11648
  processRun,
@@ -11346,6 +11650,7 @@ export {
11346
11650
  traceOf,
11347
11651
  childTrace,
11348
11652
  withAttempt,
11653
+ currentAttempt,
11349
11654
  recordLogFor,
11350
11655
  spawnDetached,
11351
11656
  jobsDir,
@@ -11452,6 +11757,7 @@ export {
11452
11757
  logsInOrOut,
11453
11758
  isLogin,
11454
11759
  destroysNothing,
11760
+ proposesOnly,
11455
11761
  changesStore,
11456
11762
  readsOverMcpAt,
11457
11763
  isStoreChange,
@@ -11507,7 +11813,6 @@ export {
11507
11813
  answerProjectionSchema,
11508
11814
  STATUS_SIGNAL_ROWS,
11509
11815
  entityRows,
11510
- withoutProviderRefs,
11511
11816
  nextStep,
11512
11817
  lineOf,
11513
11818
  rootOf2,
@@ -11516,6 +11821,8 @@ export {
11516
11821
  failureSteps,
11517
11822
  withLines,
11518
11823
  stepLine,
11824
+ tooLargeSteps,
11825
+ withoutProviderRefs,
11519
11826
  answerSchema,
11520
11827
  listOf,
11521
11828
  itemOf,