@wirecat/notion-cli 0.6.0 → 0.7.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 (186) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/bin/notion.js +2 -2
  3. package/dist/bundle/agent-AILW4JPO.js +42 -0
  4. package/dist/bundle/{all-profiles-AELHUTFU.js → all-profiles-CKOACXTW.js} +11 -11
  5. package/dist/bundle/{anthropic-3CCYAGO3.js → anthropic-DWBBVTU3.js} +5 -5
  6. package/dist/bundle/{app-server-DJ6P4NY4.js → app-server-BHFYNCDE.js} +72 -72
  7. package/dist/bundle/{bun-2FLR4IV4.js → bun-ICK2XT7J.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-QB6CU6TH.js → bun-sqlite-LU5V5Y4A.js} +6 -6
  9. package/dist/bundle/{chunk-4RFR4J2O.js → chunk-2OZVCNU5.js} +2 -2
  10. package/dist/bundle/{chunk-6EJCI47L.js → chunk-2RNJ2JP3.js} +4 -4
  11. package/dist/bundle/{chunk-F5ZAN7OC.js → chunk-364ET7LV.js} +1 -1
  12. package/dist/bundle/{chunk-WAGADES3.js → chunk-3AKMIKND.js} +17 -17
  13. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-3DGHBXH2.js} +1 -1
  14. package/dist/bundle/{chunk-VH7526NL.js → chunk-3KOJNZH3.js} +3 -3
  15. package/dist/bundle/{chunk-T37TAXVL.js → chunk-3T3OAYL4.js} +2 -2
  16. package/dist/bundle/{chunk-XYQVVW4R.js → chunk-3YXYA6HB.js} +1 -1
  17. package/dist/bundle/{chunk-3MYN2RMG.js → chunk-3ZSUVFR7.js} +8 -8
  18. package/dist/bundle/{chunk-STTO2MSY.js → chunk-46JBCXLI.js} +6 -6
  19. package/dist/bundle/{chunk-HM6AMYHR.js → chunk-4FHKSSXQ.js} +2 -2
  20. package/dist/bundle/{chunk-RD7BKTWV.js → chunk-5NFIUY2P.js} +4 -4
  21. package/dist/bundle/{chunk-3UX4VJWD.js → chunk-63SW4UXG.js} +3 -4
  22. package/dist/bundle/{chunk-2XUV7HNE.js → chunk-64IK7JFO.js} +2 -2
  23. package/dist/bundle/{chunk-2Z7UOXFC.js → chunk-6MQSBWWF.js} +1 -1
  24. package/dist/bundle/{chunk-SAPP2LEH.js → chunk-6UZ5D2WP.js} +7 -7
  25. package/dist/bundle/{chunk-CL3YNUCC.js → chunk-7COTHS6G.js} +6 -6
  26. package/dist/bundle/{chunk-3LMW7U7F.js → chunk-A3RJ6FD5.js} +21 -8
  27. package/dist/bundle/{chunk-ZDYEOE7L.js → chunk-ADCAWRRX.js} +48 -48
  28. package/dist/bundle/{chunk-IJVTN5L3.js → chunk-ALAPDLCP.js} +2 -2
  29. package/dist/bundle/{chunk-DGMTSDKB.js → chunk-B6DJQBZI.js} +5 -5
  30. package/dist/bundle/{chunk-BAXNAOOL.js → chunk-BFCRGLOF.js} +3 -3
  31. package/dist/bundle/{chunk-YYQ5GKAI.js → chunk-BFHPT67P.js} +655 -565
  32. package/dist/bundle/{chunk-6YOMPW7Y.js → chunk-BQ6CXCLP.js} +8 -8
  33. package/dist/bundle/{chunk-BEV5LO4D.js → chunk-BXXHUO7Y.js} +13 -13
  34. package/dist/bundle/{chunk-W2VQDIU5.js → chunk-DCSPCOPB.js} +9 -9
  35. package/dist/bundle/{chunk-KB35BVTG.js → chunk-EMIJVLOA.js} +2 -2
  36. package/dist/bundle/{chunk-FMMYBVCH.js → chunk-EUF5JNPG.js} +1 -1
  37. package/dist/bundle/{chunk-Q7EIL6VU.js → chunk-EWXMIKZN.js} +28 -28
  38. package/dist/bundle/{chunk-LC6WE6JS.js → chunk-FHYV4VWY.js} +14 -7
  39. package/dist/bundle/{chunk-GPRJXJC7.js → chunk-FNESLLZS.js} +15 -1
  40. package/dist/bundle/{chunk-JFSVAOA7.js → chunk-FO3XY2Y2.js} +2 -2
  41. package/dist/bundle/{chunk-7L2XOKDZ.js → chunk-HJDQTM3T.js} +8 -8
  42. package/dist/bundle/{chunk-FV4WTZCU.js → chunk-HOO53OYK.js} +16 -16
  43. package/dist/bundle/{chunk-T6XIBULH.js → chunk-HSVKU4OJ.js} +45 -31
  44. package/dist/bundle/{chunk-OEQNP56V.js → chunk-IEY7KS6Q.js} +1 -1
  45. package/dist/bundle/{chunk-QGGRFRMP.js → chunk-ITW26OBI.js} +38 -38
  46. package/dist/bundle/{chunk-IURYZSG3.js → chunk-ITWINZ6R.js} +12 -12
  47. package/dist/bundle/{chunk-WAU5LSHP.js → chunk-IYZWHCZJ.js} +90 -11
  48. package/dist/bundle/{chunk-YUDVRFXN.js → chunk-J3DZVB67.js} +1 -1
  49. package/dist/bundle/{chunk-GCAJW4SR.js → chunk-JEZJFQQW.js} +1 -1
  50. package/dist/bundle/{chunk-AE4VW4NB.js → chunk-JPGN473W.js} +3 -3
  51. package/dist/bundle/{chunk-NSR43UEW.js → chunk-JVRBW5LH.js} +5 -5
  52. package/dist/bundle/{chunk-DIU2QJJF.js → chunk-KBY42GKW.js} +23 -23
  53. package/dist/bundle/{chunk-WGZH2M64.js → chunk-KWBLDSRV.js} +16 -3
  54. package/dist/bundle/{chunk-P27NDZQR.js → chunk-LBRTLZHI.js} +171 -157
  55. package/dist/bundle/{chunk-WB2KSQIP.js → chunk-LEPPRULN.js} +20 -6
  56. package/dist/bundle/{chunk-ERN53B3Z.js → chunk-LVAFTQ45.js} +18 -18
  57. package/dist/bundle/{chunk-PHKED7AG.js → chunk-MB4HXDBT.js} +5 -5
  58. package/dist/bundle/{chunk-BQBC2WIG.js → chunk-N3NJPHZB.js} +1 -1
  59. package/dist/bundle/{chunk-DHVVXQEL.js → chunk-NCCRLAAI.js} +3 -3
  60. package/dist/bundle/{chunk-HOVHE3A3.js → chunk-NV7NNL5T.js} +7 -7
  61. package/dist/bundle/{chunk-TFT4FVRU.js → chunk-OALFRUMI.js} +2 -2
  62. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-OCGNOJYD.js} +1 -1
  63. package/dist/bundle/{chunk-2CMLY2X3.js → chunk-OFMCU3BH.js} +5 -5
  64. package/dist/bundle/{chunk-FRB2L7OE.js → chunk-OP2BH55P.js} +3 -3
  65. package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-OS4WPXPZ.js} +4 -4
  66. package/dist/bundle/{chunk-ESZHGC4Q.js → chunk-OW5HW3TD.js} +6 -6
  67. package/dist/bundle/{chunk-5OJLUUOJ.js → chunk-PDVXG3T3.js} +6 -6
  68. package/dist/bundle/{chunk-4VXXOJ2F.js → chunk-PSMRUOII.js} +3 -3
  69. package/dist/bundle/{chunk-EHW45LLT.js → chunk-QK52ARAU.js} +3 -3
  70. package/dist/bundle/{chunk-AZLDR36U.js → chunk-QMNEDK7Z.js} +3 -3
  71. package/dist/bundle/{chunk-RXU5T5NM.js → chunk-R4JV3VLU.js} +12 -12
  72. package/dist/bundle/{chunk-5XPHFV7H.js → chunk-REOBWSGV.js} +8 -8
  73. package/dist/bundle/{chunk-LECMHK2F.js → chunk-RNVYNPXT.js} +1 -1
  74. package/dist/bundle/{chunk-JVESLS7B.js → chunk-RXGX2CZX.js} +63 -63
  75. package/dist/bundle/{chunk-KNCPBX5P.js → chunk-S35UJBFZ.js} +19 -19
  76. package/dist/bundle/{chunk-LQVDFD65.js → chunk-S5P7THM5.js} +2 -2
  77. package/dist/bundle/{chunk-A42T4YX7.js → chunk-SRVTGI3M.js} +2 -2
  78. package/dist/bundle/{chunk-CHPWBQUK.js → chunk-TWY543BS.js} +1 -1
  79. package/dist/bundle/{chunk-EZMG5QXB.js → chunk-UO4O6WQ4.js} +8 -8
  80. package/dist/bundle/{chunk-KGAUINBO.js → chunk-UQVUXG7H.js} +10 -10
  81. package/dist/bundle/{chunk-GUIQJUJV.js → chunk-UYEDQGMI.js} +6 -6
  82. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-VRBEYOJL.js} +1 -1
  83. package/dist/bundle/{chunk-YDDI4QIT.js → chunk-VXKD533R.js} +575 -447
  84. package/dist/bundle/{chunk-KZJQPJK5.js → chunk-VYZ2J7DT.js} +4 -4
  85. package/dist/bundle/{chunk-G4ZU73SD.js → chunk-WJFQMOVM.js} +75 -60
  86. package/dist/bundle/{chunk-YXYZAWWW.js → chunk-WUNEJRLJ.js} +6 -6
  87. package/dist/bundle/{chunk-HHEWTLAT.js → chunk-X5LUHN62.js} +2 -2
  88. package/dist/bundle/{chunk-UOC52GCB.js → chunk-X737FHZP.js} +4 -4
  89. package/dist/bundle/{chunk-K5IC4FZN.js → chunk-YSF5JBRA.js} +1 -1
  90. package/dist/bundle/{chunk-SEAGUFBX.js → chunk-ZGUUP2T3.js} +12 -12
  91. package/dist/bundle/{chunk-QEJFBORC.js → chunk-ZMKAI3F3.js} +3 -3
  92. package/dist/bundle/command-contract-C2CF4QAH.js +41 -0
  93. package/dist/bundle/{command-server-entry-VUR6WL77.js → command-server-entry-F3B2KSPO.js} +29 -29
  94. package/dist/bundle/{decode-I64PF2RM.js → decode-FDHFF7GC.js} +5 -5
  95. package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-IXKG5Z5Y.js} +8 -8
  96. package/dist/bundle/{echarts-YRRVLEX3.js → echarts-PGJPVPA4.js} +2 -2
  97. package/dist/bundle/{embed-BLXLKMK2.js → embed-U6X7CNNK.js} +6 -6
  98. package/dist/bundle/{embedder-JYGF6R7I.js → embedder-3ROL6ROQ.js} +9 -9
  99. package/dist/bundle/{failure-I6AAF5R5.js → failure-IYMRXM2X.js} +2 -2
  100. package/dist/bundle/{first-run-YLDOZGY6.js → first-run-PNVNHGR7.js} +12 -12
  101. package/dist/bundle/first-screen-DEDD64YH.js +41 -0
  102. package/dist/bundle/{instructions-AG7SRWTR.js → instructions-MJQWRI2D.js} +1 -1
  103. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-JNHOSK4L.js} +2 -2
  104. package/dist/bundle/meeting-combined-HEC25QPY.js +25 -0
  105. package/dist/bundle/meeting-model-R7QPDNZZ.js +27 -0
  106. package/dist/bundle/{meeting-semantic-3DZPHM7L.js → meeting-semantic-7WPLMBNT.js} +6 -6
  107. package/dist/bundle/{node-GJQYN4FT.js → node-3UXNV3CD.js} +2 -2
  108. package/dist/bundle/{node-sqlite-7VXIRQPH.js → node-sqlite-ULWDWM3I.js} +7 -7
  109. package/dist/bundle/notes-search-7PE3E3C7.js +64 -0
  110. package/dist/bundle/notion.js +13 -13
  111. package/dist/bundle/{oauth-N67CH2TK.js → oauth-LNUZMA72.js} +7 -7
  112. package/dist/bundle/{open-JGXVHIKO.js → open-HGHC35M4.js} +5 -5
  113. package/dist/bundle/{openai-PFQJTF4H.js → openai-ISSP57MV.js} +18 -18
  114. package/dist/bundle/{process-MEKCZMX3.js → process-PB2WCOR2.js} +1 -1
  115. package/dist/bundle/{program-DUJYLJH5.js → program-GASBJRMG.js} +1987 -1245
  116. package/dist/bundle/{prompt-FW44QDHD.js → prompt-3VGQVX2B.js} +5 -5
  117. package/dist/bundle/{recognize-62TDQ6A7.js → recognize-7Q2P3NME.js} +4 -4
  118. package/dist/bundle/{remote-7ONFD7GG.js → remote-BBAWKVIT.js} +11 -11
  119. package/dist/bundle/{rerank-YOHQQJS4.js → rerank-H4PUS4HV.js} +7 -7
  120. package/dist/bundle/{schemas-IIGJ7DOP.js → schemas-TTVUADHT.js} +1 -1
  121. package/dist/bundle/{serve-ZCXGT5RB.js → serve-FZNSKY7R.js} +9 -9
  122. package/dist/bundle/{server-RQ74M637.js → server-BRRNDW6L.js} +64 -64
  123. package/dist/bundle/server-CQJ4LKAZ.js +90 -0
  124. package/dist/bundle/{services-FWBRZ57M.js → services-PEU557KZ.js} +51 -51
  125. package/dist/bundle/{sqlite-runtime-ZZBNGV5L.js → sqlite-runtime-4IZJ4YUM.js} +6 -6
  126. package/dist/bundle/{state-GDDFO62Y.js → state-MX3JVT5Q.js} +6 -6
  127. package/dist/bundle/{store-D2LRIWEI.js → store-JUT34REM.js} +23 -23
  128. package/dist/bundle/{store-KQCLR57N.js → store-PP4BPADZ.js} +21 -21
  129. package/dist/bundle/store-maintenance-command-GRFTJBSB.js +77 -0
  130. package/dist/bundle/surface-FPWES3NY.js +76 -0
  131. package/dist/commands/api.d.ts.map +1 -1
  132. package/dist/commands/api.js +3 -25
  133. package/dist/commands/api.js.map +1 -1
  134. package/dist/commands/library.d.ts.map +1 -1
  135. package/dist/commands/library.js +8 -6
  136. package/dist/commands/library.js.map +1 -1
  137. package/dist/context.d.ts +11 -3
  138. package/dist/context.d.ts.map +1 -1
  139. package/dist/context.js +20 -7
  140. package/dist/context.js.map +1 -1
  141. package/dist/generated/wirecat-config.d.ts +13 -0
  142. package/dist/generated/wirecat-config.d.ts.map +1 -0
  143. package/dist/generated/wirecat-config.js +82 -0
  144. package/dist/generated/wirecat-config.js.map +1 -0
  145. package/dist/library.d.ts +0 -5
  146. package/dist/library.d.ts.map +1 -1
  147. package/dist/library.js +0 -13
  148. package/dist/library.js.map +1 -1
  149. package/dist/notion/client.d.ts +2 -6
  150. package/dist/notion/client.d.ts.map +1 -1
  151. package/dist/notion/client.js +7 -8
  152. package/dist/notion/client.js.map +1 -1
  153. package/dist/notion/errors.d.ts +5 -0
  154. package/dist/notion/errors.d.ts.map +1 -1
  155. package/dist/notion/errors.js +21 -1
  156. package/dist/notion/errors.js.map +1 -1
  157. package/dist/notion/port.d.ts +10 -0
  158. package/dist/notion/port.d.ts.map +1 -1
  159. package/dist/notion/port.js +19 -0
  160. package/dist/notion/port.js.map +1 -1
  161. package/dist/sync/files.d.ts +3 -3
  162. package/dist/sync/files.d.ts.map +1 -1
  163. package/dist/sync/from-config.d.ts +13 -0
  164. package/dist/sync/from-config.d.ts.map +1 -0
  165. package/dist/sync/from-config.js +32 -0
  166. package/dist/sync/from-config.js.map +1 -0
  167. package/dist/sync/source.d.ts +2 -1
  168. package/dist/sync/source.d.ts.map +1 -1
  169. package/dist/sync/source.js +4 -20
  170. package/dist/sync/source.js.map +1 -1
  171. package/dist/sync/users.d.ts +1 -11
  172. package/dist/sync/users.d.ts.map +1 -1
  173. package/dist/sync/users.js +0 -33
  174. package/dist/sync/users.js.map +1 -1
  175. package/dist/version.d.ts +1 -1
  176. package/dist/version.js +1 -1
  177. package/package.json +7 -7
  178. package/dist/bundle/agent-ILG6AH7S.js +0 -42
  179. package/dist/bundle/command-contract-L2FASWD6.js +0 -41
  180. package/dist/bundle/first-screen-GZH3LMLZ.js +0 -41
  181. package/dist/bundle/meeting-combined-OFQSGKBG.js +0 -25
  182. package/dist/bundle/meeting-model-K6NSX3O5.js +0 -27
  183. package/dist/bundle/notes-search-ACDOPTNH.js +0 -64
  184. package/dist/bundle/server-XMZF57WM.js +0 -90
  185. package/dist/bundle/store-maintenance-command-CK2MU5M6.js +0 -77
  186. package/dist/bundle/surface-K4TPIQW7.js +0 -76
@@ -9,10 +9,10 @@ import {
9
9
  providerErrorKey,
10
10
  renderEvent,
11
11
  runContextOf
12
- } from "./chunk-6YOMPW7Y.js";
12
+ } from "./chunk-BQ6CXCLP.js";
13
13
  import {
14
14
  permissionCeiling
15
- } from "./chunk-QEJFBORC.js";
15
+ } from "./chunk-ZMKAI3F3.js";
16
16
  import {
17
17
  IMAGE_MODELS,
18
18
  ancestorValue,
@@ -24,17 +24,17 @@ import {
24
24
  runBudget,
25
25
  stopWrites,
26
26
  withWriteScope
27
- } from "./chunk-3MYN2RMG.js";
27
+ } from "./chunk-3ZSUVFR7.js";
28
28
  import {
29
29
  DEFAULT_RERANK_MODEL,
30
30
  RERANK_MODELS
31
- } from "./chunk-DGMTSDKB.js";
31
+ } from "./chunk-B6DJQBZI.js";
32
32
  import {
33
33
  carries
34
- } from "./chunk-YUDVRFXN.js";
34
+ } from "./chunk-J3DZVB67.js";
35
35
  import {
36
36
  note
37
- } from "./chunk-DHVVXQEL.js";
37
+ } from "./chunk-NCCRLAAI.js";
38
38
  import {
39
39
  BUSINESS_KINDS,
40
40
  CATEGORIES,
@@ -76,7 +76,7 @@ import {
76
76
  text,
77
77
  time,
78
78
  untrusted
79
- } from "./chunk-DIU2QJJF.js";
79
+ } from "./chunk-KBY42GKW.js";
80
80
  import {
81
81
  KEEP_STORE_RUNS_FOR_DAYS,
82
82
  KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
@@ -94,14 +94,14 @@ import {
94
94
  traceOf,
95
95
  typedCommand,
96
96
  useAsProcessRun
97
- } from "./chunk-BEV5LO4D.js";
97
+ } from "./chunk-BXXHUO7Y.js";
98
98
  import {
99
99
  isCliFailure,
100
100
  storeDamaged
101
- } from "./chunk-LQVDFD65.js";
101
+ } from "./chunk-S5P7THM5.js";
102
102
  import {
103
103
  TAG_TYPES
104
- } from "./chunk-T37TAXVL.js";
104
+ } from "./chunk-3T3OAYL4.js";
105
105
  import {
106
106
  FACT_TYPES,
107
107
  FIELD_TYPES,
@@ -129,17 +129,17 @@ import {
129
129
  parseLucene,
130
130
  readsZone,
131
131
  timezoneOf
132
- } from "./chunk-JVESLS7B.js";
132
+ } from "./chunk-RXGX2CZX.js";
133
133
  import {
134
134
  endpoint
135
- } from "./chunk-FRB2L7OE.js";
135
+ } from "./chunk-OP2BH55P.js";
136
136
  import {
137
137
  repairConfigText,
138
138
  sharedConfigPath
139
- } from "./chunk-HOVHE3A3.js";
139
+ } from "./chunk-NV7NNL5T.js";
140
140
  import {
141
141
  storePath
142
- } from "./chunk-HHEWTLAT.js";
142
+ } from "./chunk-X5LUHN62.js";
143
143
  import {
144
144
  configFilePath,
145
145
  createRecordLog,
@@ -151,7 +151,7 @@ import {
151
151
  resolvePaths,
152
152
  saveConfigFile,
153
153
  writeSecurely
154
- } from "./chunk-KNCPBX5P.js";
154
+ } from "./chunk-S35UJBFZ.js";
155
155
  import {
156
156
  COMPACT_FLAG,
157
157
  MAX_NEXT_STEPS,
@@ -168,7 +168,7 @@ import {
168
168
  reference,
169
169
  stepOf,
170
170
  writes
171
- } from "./chunk-3LMW7U7F.js";
171
+ } from "./chunk-A3RJ6FD5.js";
172
172
  import {
173
173
  array,
174
174
  boolean,
@@ -209,12 +209,12 @@ import {
209
209
  CliError,
210
210
  singleLine,
211
211
  visibleControls
212
- } from "./chunk-HM6AMYHR.js";
212
+ } from "./chunk-4FHKSSXQ.js";
213
213
  import {
214
214
  __name
215
215
  } from "./chunk-ZVVMGPBJ.js";
216
216
 
217
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
217
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.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
218
218
  var labels = /* @__PURE__ */ new WeakMap();
219
219
  var annotate = /* @__PURE__ */ __name((command, meta) => {
220
220
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3715,7 +3715,7 @@ __name(useColor, "useColor");
3715
3715
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3716
3716
  var program = new Command();
3717
3717
 
3718
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
3718
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.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
3719
3719
  var argumentInfoSchema = object({
3720
3720
  name: string(),
3721
3721
  required: boolean(),
@@ -3789,7 +3789,7 @@ var commandsDocumentSchema = strictObject({
3789
3789
  exit_codes: record(string(), pipe(number(), integer()))
3790
3790
  });
3791
3791
 
3792
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
3792
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.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
3793
3793
  import { isDeepStrictEqual } from "node:util";
3794
3794
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3795
3795
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3899,7 +3899,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
3899
3899
  return result;
3900
3900
  }, "sharedCommand");
3901
3901
 
3902
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
3902
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.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
3903
3903
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3904
3904
  let command = root;
3905
3905
  const path2 = [];
@@ -3917,7 +3917,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3917
3917
  }
3918
3918
  }, "refuseJoinedPath");
3919
3919
 
3920
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/sends/permissions.js
3920
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/sends/permissions.js
3921
3921
  var LEVELS = ["deny", "readonly", "ask", "allow"];
3922
3922
  var DANGEROUS = /* @__PURE__ */ new Set([
3923
3923
  "messages.delete",
@@ -4353,7 +4353,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
4353
4353
  }
4354
4354
  }, "assertRetentionEvidenceRead");
4355
4355
 
4356
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
4356
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
4357
4357
  import { AsyncLocalStorage } from "node:async_hooks";
4358
4358
  var requests = new AsyncLocalStorage();
4359
4359
  var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
@@ -4368,7 +4368,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
4368
4368
  return direct;
4369
4369
  }, "exitCodeSet");
4370
4370
 
4371
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
4371
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
4372
4372
  var named = /* @__PURE__ */ __name((work) => {
4373
4373
  try {
4374
4374
  return work();
@@ -4395,7 +4395,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
4395
4395
  return projectFields(value, fields);
4396
4396
  }), "projectFields");
4397
4397
 
4398
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/execution.js
4398
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/execution.js
4399
4399
  var DEFAULT_COMMAND_MS = 3e4;
4400
4400
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
4401
4401
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4578,7 +4578,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4578
4578
  }
4579
4579
  }, "withAbort");
4580
4580
 
4581
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4581
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4582
4582
  import { existsSync, readdirSync, readFileSync } from "node:fs";
4583
4583
  import { join } from "node:path";
4584
4584
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4600,7 +4600,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4600
4600
  }, "profilesWithAccounts");
4601
4601
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4602
4602
 
4603
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/output-detail.js
4603
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/output-detail.js
4604
4604
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
4605
4605
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
4606
4606
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -4636,7 +4636,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
4636
4636
  return value;
4637
4637
  }, "atDetail");
4638
4638
 
4639
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/output.js
4639
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/output.js
4640
4640
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
4641
4641
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
4642
4642
  if (other)
@@ -4700,7 +4700,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
4700
4700
  }, "warn")
4701
4701
  }), "silence");
4702
4702
 
4703
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4703
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4704
4704
  var CORE_LOG_EVENTS = defineLogEvents([
4705
4705
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
4706
4706
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -4738,7 +4738,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
4738
4738
  progress: "sync.progress"
4739
4739
  };
4740
4740
 
4741
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/runs/recording.js
4741
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/runs/recording.js
4742
4742
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
4743
4743
  const recording = startRecording(options);
4744
4744
  try {
@@ -4953,7 +4953,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
4953
4953
  return void 0;
4954
4954
  }, "partialOutcome");
4955
4955
 
4956
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4956
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4957
4957
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4958
4958
  if (ms2 === void 0)
4959
4959
  return body();
@@ -4979,7 +4979,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4979
4979
  }
4980
4980
  }, "withDeadline");
4981
4981
 
4982
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/profile.js
4982
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/profile.js
4983
4983
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
4984
4984
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
4985
4985
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -5048,10 +5048,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
5048
5048
  return void 0;
5049
5049
  }, "sampleCommand");
5050
5050
 
5051
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/settings.js
5051
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/settings.js
5052
5052
  import { existsSync as existsSync4 } from "node:fs";
5053
5053
 
5054
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5054
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/analysis/settings.js
5055
5055
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
5056
5056
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
5057
5057
  var AI_FIELDS = {
@@ -5095,7 +5095,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
5095
5095
  };
5096
5096
  }, "resolveAISettings");
5097
5097
 
5098
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/domain/duration.js
5098
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/domain/duration.js
5099
5099
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
5100
5100
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
5101
5101
  var parseDuration = /* @__PURE__ */ __name((value, source2) => {
@@ -5109,7 +5109,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
5109
5109
  return ms2;
5110
5110
  }, "parseDuration");
5111
5111
 
5112
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5112
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/services/history-limits.js
5113
5113
  var HISTORY_MAX_DAYS = 1095;
5114
5114
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
5115
5115
  var DAY_MS = 24 * 60 * 60 * 1e3;
@@ -5156,7 +5156,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
5156
5156
  return { batch: { ...batch, messages }, skipped };
5157
5157
  }, "limitBatch");
5158
5158
 
5159
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
5159
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
5160
5160
  import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
5161
5161
  import { join as join2 } from "node:path";
5162
5162
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -5245,7 +5245,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
5245
5245
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
5246
5246
  }, "registryProfiles");
5247
5247
 
5248
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5248
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5249
5249
  import { readFileSync as readFileSync3 } from "node:fs";
5250
5250
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5251
5251
  var SECTIONS = ["personal", "bot"];
@@ -5540,7 +5540,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
5540
5540
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
5541
5541
  }, "readConfigFile");
5542
5542
 
5543
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5543
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5544
5544
  import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
5545
5545
  import { dirname, join as join3 } from "node:path";
5546
5546
  var DEFAULT_CONFIG = {
@@ -5569,7 +5569,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
5569
5569
  }
5570
5570
  __name(ensureDefaultConfig, "ensureDefaultConfig");
5571
5571
 
5572
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5572
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5573
5573
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5574
5574
  var parentOf = /* @__PURE__ */ __name((config, key) => {
5575
5575
  const path2 = key.split(".");
@@ -5591,7 +5591,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
5591
5591
  return { config, added };
5592
5592
  }, "withSettingDefaults");
5593
5593
 
5594
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/settings.js
5594
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/settings.js
5595
5595
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
5596
5596
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
5597
5597
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -6119,7 +6119,7 @@ var given = /* @__PURE__ */ __name((value) => {
6119
6119
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
6120
6120
  }, "given");
6121
6121
 
6122
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/context.js
6122
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/context.js
6123
6123
  var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
6124
6124
  const { deadline, signal, app } = environmentOf(command);
6125
6125
  const now = deadline?.();
@@ -6273,7 +6273,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
6273
6273
  return words.join(" ");
6274
6274
  }, "commandPath");
6275
6275
 
6276
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/effects.js
6276
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/effects.js
6277
6277
  var REMOTE_READ = { remote: "read", local: "read" };
6278
6278
  var FETCH = { remote: "read", local: "write" };
6279
6279
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -6309,7 +6309,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
6309
6309
  KEPT_UNDER_LOCK.add(command);
6310
6310
  return command;
6311
6311
  }, "destroysNothing");
6312
- var PROPOSE_COMMANDS = ["messages acknowledge", "mail findings add"];
6312
+ var PROPOSE_COMMANDS = [
6313
+ "messages acknowledge",
6314
+ "mail findings add",
6315
+ "projects actions add",
6316
+ "meetings actions add"
6317
+ ];
6313
6318
  var PROPOSES = /* @__PURE__ */ new WeakSet();
6314
6319
  var isProposal = /* @__PURE__ */ __name((command) => {
6315
6320
  if (!PROPOSES.has(command))
@@ -6409,7 +6414,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6409
6414
  throw readOnlyRefusal(lock, what);
6410
6415
  }, "refuseUnderReadOnly");
6411
6416
 
6412
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/account.js
6417
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/account.js
6413
6418
  var account = strictObject({
6414
6419
  provider: text,
6415
6420
  id,
@@ -6419,7 +6424,7 @@ var account = strictObject({
6419
6424
  scope: optional(picklist(["personal", "work"]))
6420
6425
  });
6421
6426
 
6422
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6427
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6423
6428
  var accountSession = strictObject({
6424
6429
  current: boolean(),
6425
6430
  client: nullable(text),
@@ -6429,7 +6434,7 @@ var accountSession = strictObject({
6429
6434
  created_at: optional(nullable(time))
6430
6435
  });
6431
6436
 
6432
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6437
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6433
6438
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
6434
6439
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
6435
6440
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -6458,7 +6463,7 @@ var accountRemoval = strictObject({
6458
6463
  kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
6459
6464
  });
6460
6465
 
6461
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6466
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6462
6467
  var accountProfile = strictObject({
6463
6468
  profile: id,
6464
6469
  current: boolean(),
@@ -6470,7 +6475,7 @@ var accountProfile = strictObject({
6470
6475
  bot: optional(literal(true))
6471
6476
  });
6472
6477
 
6473
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6478
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6474
6479
  var milliseconds = pipe(number(), minValue(0));
6475
6480
  var counterReading = strictObject({
6476
6481
  counter: picklist(["views", "reactions", "comments"]),
@@ -6482,7 +6487,7 @@ var counterReading = strictObject({
6482
6487
  });
6483
6488
  var selection = record(string(), unknown());
6484
6489
 
6485
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6490
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6486
6491
  var adminRow = strictObject({
6487
6492
  ref: reference,
6488
6493
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -6535,7 +6540,7 @@ var adminReport = strictObject({
6535
6540
  rows: array(adminRow)
6536
6541
  });
6537
6542
 
6538
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/task.js
6543
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/task.js
6539
6544
  var closeSuggestion = strictObject({
6540
6545
  as: picklist(["done", "dismissed"]),
6541
6546
  /** The agent's name. */
@@ -6597,7 +6602,7 @@ var task = strictObject({
6597
6602
  updated_at: optional(time)
6598
6603
  });
6599
6604
 
6600
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6605
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/agenda.js
6601
6606
  var agendaChat = strictObject({
6602
6607
  chat: reference,
6603
6608
  title: nullable(text),
@@ -6667,11 +6672,11 @@ var agenda = strictObject({
6667
6672
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
6668
6673
  });
6669
6674
 
6670
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6675
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6671
6676
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6672
6677
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6673
6678
 
6674
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6679
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/attachment.js
6675
6680
  var attachment = strictObject({
6676
6681
  /** The message it came with, as a locator; absent inside that message. */
6677
6682
  message: optional(reference),
@@ -6716,7 +6721,7 @@ var hitFile = strictObject({
6716
6721
  local_path: optional(text)
6717
6722
  });
6718
6723
 
6719
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6724
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6720
6725
  var actionableError = objectWithRest({
6721
6726
  code: text,
6722
6727
  message: text,
@@ -6733,7 +6738,7 @@ var batchResult = strictObject({
6733
6738
  max_error_percent: count
6734
6739
  });
6735
6740
 
6736
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6741
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6737
6742
  var extractionItem = strictObject({
6738
6743
  ref: reference,
6739
6744
  attachment: count,
@@ -6766,7 +6771,7 @@ var extractionReport = strictObject({
6766
6771
  cursor: optional(text)
6767
6772
  });
6768
6773
 
6769
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6774
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6770
6775
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
6771
6776
  var attachmentBytes = strictObject({
6772
6777
  ref: reference,
@@ -6797,7 +6802,7 @@ var attachmentTextChange = strictObject({
6797
6802
  text: optional(text)
6798
6803
  });
6799
6804
 
6800
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
6805
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
6801
6806
  var WEIGHTS = {
6802
6807
  bot: 3,
6803
6808
  scam: 3,
@@ -6822,7 +6827,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
6822
6827
  var DIGITS = /\d{5,}/;
6823
6828
  var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
6824
6829
 
6825
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
6830
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
6826
6831
  var linkedIdentity = strictObject({
6827
6832
  provider: text,
6828
6833
  id,
@@ -6877,7 +6882,7 @@ var contactCheck = strictObject({
6877
6882
  checked_at: time
6878
6883
  });
6879
6884
 
6880
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/member.js
6885
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/member.js
6881
6886
  var member = strictObject({
6882
6887
  id,
6883
6888
  name: nullable(text),
@@ -6900,7 +6905,7 @@ var member = strictObject({
6900
6905
  check: optional(record(string(), unknown()))
6901
6906
  });
6902
6907
 
6903
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat.js
6908
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat.js
6904
6909
  var setting = optional(nullable(boolean()));
6905
6910
  var chat = strictObject({
6906
6911
  ref: reference,
@@ -6941,7 +6946,7 @@ var chat = strictObject({
6941
6946
  members: optional(array(member))
6942
6947
  });
6943
6948
 
6944
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message.js
6949
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message.js
6945
6950
  var quoted = strictObject({
6946
6951
  id,
6947
6952
  sender_id: nullable(id),
@@ -7055,12 +7060,14 @@ var message = strictObject({
7055
7060
  /** Mail `review`: no earlier stored email, in any account, came from this address. */
7056
7061
  new_sender: optional(boolean()),
7057
7062
  /** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
7058
- sender_identities: optional(number())
7063
+ sender_identities: optional(number()),
7064
+ /** Mail `review`: how `inbox` sorted the thread, by the AI model; the reason is untrusted. */
7065
+ inbox: optional(strictObject({ bucket: picklist(["answer", "read", "later"]), reason: text }))
7059
7066
  })),
7060
7067
  provider_metadata: providerMetadata
7061
7068
  });
7062
7069
 
7063
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
7070
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
7064
7071
  var recordedMeeting = strictObject({
7065
7072
  ref: reference,
7066
7073
  meeting_id: count,
@@ -7077,7 +7084,7 @@ var recordedMeeting = strictObject({
7077
7084
  call: optional(meetingCall)
7078
7085
  });
7079
7086
 
7080
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7087
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7081
7088
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
7082
7089
  var contextMessage = strictObject({
7083
7090
  locator: reference,
@@ -7283,7 +7290,7 @@ var contactPreparation = strictObject({
7283
7290
  })
7284
7291
  });
7285
7292
 
7286
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/deal.js
7293
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/deal.js
7287
7294
  var nullableText = nullable(text);
7288
7295
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
7289
7296
  var outcome = picklist(["open", "won", "lost"]);
@@ -7439,7 +7446,7 @@ var stage = strictObject({
7439
7446
  untrusted
7440
7447
  });
7441
7448
 
7442
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7449
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/business-context.js
7443
7450
  var nullableText2 = nullable(text);
7444
7451
  var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
7445
7452
  var standing = picklist(STANDINGS);
@@ -7618,7 +7625,7 @@ var dealBrief = strictObject({
7618
7625
  not_read: coverage2.entries.not_read
7619
7626
  });
7620
7627
 
7621
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chart.js
7628
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chart.js
7622
7629
  var chart = strictObject({
7623
7630
  version: literal(1),
7624
7631
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -7633,7 +7640,7 @@ var chart = strictObject({
7633
7640
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
7634
7641
  });
7635
7642
 
7636
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/folder.js
7643
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/folder.js
7637
7644
  var named2 = strictObject({
7638
7645
  id,
7639
7646
  title: nullable(text),
@@ -7656,7 +7663,7 @@ var folder = strictObject({
7656
7663
  excluded_chats: optional(array(named2))
7657
7664
  });
7658
7665
 
7659
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7666
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7660
7667
  var inviteLink = strictObject({
7661
7668
  link: text,
7662
7669
  /** Who joins by it asks first, and an admin lets them in. */
@@ -7672,7 +7679,7 @@ var inviteLink = strictObject({
7672
7679
  joined_count: optional(count)
7673
7680
  });
7674
7681
 
7675
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7682
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7676
7683
  var operated = { operation_id: id, chat_id: id };
7677
7684
  var group = strictObject({
7678
7685
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -7752,7 +7759,7 @@ var chatFolderOrder = strictObject({
7752
7759
  folders: array(strictObject({ id, title: text }))
7753
7760
  });
7754
7761
 
7755
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7762
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7756
7763
  var operated2 = { operation_id: id, chat_id: id };
7757
7764
  var chatRemoval = strictObject(operated2);
7758
7765
  var chatMuting = strictObject({
@@ -7763,7 +7770,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
7763
7770
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
7764
7771
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
7765
7772
 
7766
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7773
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7767
7774
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
7768
7775
  var chatEvent = strictObject({
7769
7776
  chat_id: id,
@@ -7780,7 +7787,7 @@ var chatEvent = strictObject({
7780
7787
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
7781
7788
  });
7782
7789
 
7783
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7790
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7784
7791
  var chatMetadata = strictObject({
7785
7792
  chat_id: id,
7786
7793
  title: nullable(text),
@@ -7795,7 +7802,7 @@ var chatMetadataRefresh = strictObject({
7795
7802
  has_more: boolean()
7796
7803
  });
7797
7804
 
7798
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7805
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7799
7806
  var action = picklist(["report", "delete", "remove"]);
7800
7807
  var level = picklist(["deny", "readonly", "ask", "allow"]);
7801
7808
  var chatRules = strictObject({
@@ -7832,7 +7839,7 @@ var chatModeration = strictObject({
7832
7839
  }))
7833
7840
  });
7834
7841
 
7835
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
7842
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
7836
7843
  var chatSending = strictObject({
7837
7844
  mode: picklist(["allowed", "ask", "denied"]),
7838
7845
  meaning: text,
@@ -7842,7 +7849,7 @@ var chatSending = strictObject({
7842
7849
  changed: optional(boolean())
7843
7850
  });
7844
7851
 
7845
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7852
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7846
7853
  var optionalCount = optional(count);
7847
7854
  var minutes = nullable(number());
7848
7855
  var chatStats = strictObject({
@@ -7918,7 +7925,7 @@ var taskStats = strictObject({
7918
7925
  }))
7919
7926
  });
7920
7927
 
7921
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7928
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7922
7929
  var memberCount = strictObject({
7923
7930
  day: pipe(text, isoDate()),
7924
7931
  participants: nullable(count),
@@ -7941,7 +7948,7 @@ var chatTracking = strictObject({
7941
7948
  tracked: boolean()
7942
7949
  });
7943
7950
 
7944
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7951
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7945
7952
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
7946
7953
  var contactSync = strictObject({ added: count, changed: count, known: count });
7947
7954
  var profileFields = {
@@ -7979,7 +7986,7 @@ var profileFields = {
7979
7986
  }))
7980
7987
  };
7981
7988
 
7982
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact.js
7989
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/contact.js
7983
7990
  var contact = strictObject({
7984
7991
  ref: reference,
7985
7992
  id,
@@ -8010,7 +8017,7 @@ var contact = strictObject({
8010
8017
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
8011
8018
  });
8012
8019
 
8013
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8020
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
8014
8021
  var contactNote = strictObject({
8015
8022
  id,
8016
8023
  /** The contact, as a `contact:` reference. */
@@ -8022,13 +8029,13 @@ var contactNote = strictObject({
8022
8029
  updated_at: time
8023
8030
  });
8024
8031
 
8025
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8032
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
8026
8033
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
8027
8034
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
8028
8035
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
8029
8036
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
8030
8037
 
8031
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8038
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/conversation.js
8032
8039
  var conversation = strictObject({
8033
8040
  id,
8034
8041
  chat: reference,
@@ -8043,7 +8050,7 @@ var conversation = strictObject({
8043
8050
  rules_version: count
8044
8051
  });
8045
8052
 
8046
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
8053
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
8047
8054
  var conversationBuild = strictObject({
8048
8055
  chat: id,
8049
8056
  messages: count,
@@ -8068,7 +8075,7 @@ var catchUpPreparation = strictObject({
8068
8075
  prepared: optional(conversationPreparation)
8069
8076
  });
8070
8077
 
8071
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8078
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
8072
8079
  var conversationDetails = union([
8073
8080
  strictObject({ ...conversation.entries, messages: array(message) }),
8074
8081
  message
@@ -8155,10 +8162,15 @@ var conversationHit = strictObject({
8155
8162
  score: nullable(number()),
8156
8163
  matched_in: optional(literal("context")),
8157
8164
  by: array(picklist(["meaning", "words"])),
8158
- stale: boolean()
8165
+ stale: boolean(),
8166
+ /** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
8167
+ lines: optional(array(text)),
8168
+ /** In the block of the owner's own conversations, which the hits before it left out. */
8169
+ from_owner: optional(literal(true)),
8170
+ untrusted
8159
8171
  });
8160
8172
 
8161
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/counters.js
8173
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/counters.js
8162
8174
  var counters = strictObject({
8163
8175
  cutoff: time,
8164
8176
  max_age_ms: milliseconds,
@@ -8188,7 +8200,7 @@ var counterRefresh = strictObject({
8188
8200
  complete: optional(boolean())
8189
8201
  });
8190
8202
 
8191
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/document.js
8203
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/document.js
8192
8204
  var document = strictObject({
8193
8205
  ref: reference,
8194
8206
  id,
@@ -8203,7 +8215,7 @@ var document = strictObject({
8203
8215
  owners: optional(array(text))
8204
8216
  });
8205
8217
 
8206
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8218
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/document-link.js
8207
8219
  var documentLink = strictObject({
8208
8220
  ref: reference,
8209
8221
  url: text,
@@ -8214,7 +8226,7 @@ var documentLink = strictObject({
8214
8226
  sender: strictObject({ id: nullable(id), name: nullable(text) })
8215
8227
  });
8216
8228
 
8217
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8229
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/evidence.js
8218
8230
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
8219
8231
  var contribution = strictObject({
8220
8232
  message: evidenceMessage,
@@ -8244,7 +8256,7 @@ var retentionStay = strictObject({
8244
8256
  });
8245
8257
  var evidence = union([contribution, retentionStay]);
8246
8258
 
8247
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/fact.js
8259
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/fact.js
8248
8260
  var fact = strictObject({
8249
8261
  ref: reference,
8250
8262
  id,
@@ -8275,7 +8287,7 @@ var fact = strictObject({
8275
8287
  updated_at: time
8276
8288
  });
8277
8289
 
8278
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/hit.js
8290
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/hit.js
8279
8291
  var hit = strictObject({
8280
8292
  kind: picklist([
8281
8293
  "message",
@@ -8334,7 +8346,7 @@ var hit = strictObject({
8334
8346
  untrusted
8335
8347
  });
8336
8348
 
8337
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/identity.js
8349
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/identity.js
8338
8350
  var identity = strictObject({
8339
8351
  ref: reference,
8340
8352
  provider: text,
@@ -8350,7 +8362,7 @@ var identity = strictObject({
8350
8362
  person: optional(nullable(reference))
8351
8363
  });
8352
8364
 
8353
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8365
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8354
8366
  var imageEmbedding = strictObject({
8355
8367
  model: text,
8356
8368
  embedded: count,
@@ -8359,13 +8371,13 @@ var imageEmbedding = strictObject({
8359
8371
  more: boolean()
8360
8372
  });
8361
8373
 
8362
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8374
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8363
8375
  import { spawn } from "node:child_process";
8364
8376
  import { randomBytes } from "node:crypto";
8365
8377
  import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync2 } from "node:fs";
8366
8378
  import { dirname as dirname2, join as join4 } from "node:path";
8367
8379
 
8368
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8380
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
8369
8381
  var progressOf = /* @__PURE__ */ __name((input) => {
8370
8382
  const total = input.total ?? null;
8371
8383
  const updated = input.updatedAt ?? null;
@@ -8381,7 +8393,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
8381
8393
  };
8382
8394
  }, "progressOf");
8383
8395
 
8384
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8396
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/runs/record-log.js
8385
8397
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
8386
8398
  const run = currentRun();
8387
8399
  const trace = traceId ?? run.traceId;
@@ -8395,7 +8407,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
8395
8407
  }));
8396
8408
  }, "recordLogFor");
8397
8409
 
8398
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8410
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
8399
8411
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
8400
8412
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
8401
8413
  const out = openSync(log, "a", 384);
@@ -8550,7 +8562,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
8550
8562
  return { job: id6, pid, chat: input.chat, log };
8551
8563
  }, "startArchiveJob");
8552
8564
 
8553
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/job.js
8565
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/job.js
8554
8566
  var problem = strictObject({ code: text, message: text });
8555
8567
  var job = strictObject({
8556
8568
  id,
@@ -8573,7 +8585,7 @@ var job = strictObject({
8573
8585
  error: optional(problem)
8574
8586
  });
8575
8587
 
8576
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8588
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8577
8589
  var joinRequest = strictObject({
8578
8590
  person_id: id,
8579
8591
  name: nullable(text),
@@ -8584,7 +8596,7 @@ var joinRequest = strictObject({
8584
8596
  about: optional(text)
8585
8597
  });
8586
8598
 
8587
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8599
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/list-results.js
8588
8600
  var botProfile = strictObject({
8589
8601
  name: text,
8590
8602
  token: text,
@@ -8708,7 +8720,7 @@ var stickerInventory = strictObject({
8708
8720
  url: optional(nullable(text))
8709
8721
  });
8710
8722
 
8711
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8723
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8712
8724
  var pollVote = strictObject({
8713
8725
  person_id: id,
8714
8726
  name: nullable(text),
@@ -8718,7 +8730,7 @@ var pollVote = strictObject({
8718
8730
  voted_at: time
8719
8731
  });
8720
8732
 
8721
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/listener.js
8733
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/listener.js
8722
8734
  var reactions = unwrap(unwrap(message.entries.reactions));
8723
8735
  var observation = strictObject({
8724
8736
  value: pipe(number(), minValue(0)),
@@ -8760,7 +8772,7 @@ var serveSummary = strictObject({
8760
8772
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
8761
8773
  });
8762
8774
 
8763
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8775
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8764
8776
  var mailCounts = strictObject({
8765
8777
  by: picklist(["day", "week", "sender"]),
8766
8778
  received: count,
@@ -8775,7 +8787,7 @@ var mailCounts = strictObject({
8775
8787
  }))
8776
8788
  });
8777
8789
 
8778
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8790
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8779
8791
  var evidence2 = strictObject({ reference, fingerprint: text });
8780
8792
  var base = { id, evidence: array(evidence2) };
8781
8793
  var finding = variant("kind", [
@@ -8919,7 +8931,7 @@ var mailFindings = strictObject({
8919
8931
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
8920
8932
  });
8921
8933
 
8922
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8934
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8923
8935
  var mediaArchive = strictObject({
8924
8936
  directory: text,
8925
8937
  chats: count,
@@ -8951,7 +8963,7 @@ var mediaArchiveTimer = union([
8951
8963
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
8952
8964
  ]);
8953
8965
 
8954
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8966
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8955
8967
  var preparationId = pipe(string(), minLength(1));
8956
8968
  var preparationCount = pipe(number(), integer(), minValue(0));
8957
8969
  var preparationTime = nullable(isoTime);
@@ -9043,7 +9055,7 @@ var preparationMeeting = strictObject({
9043
9055
  updated_at: isoTime
9044
9056
  });
9045
9057
 
9046
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9058
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
9047
9059
  var meetingEvidence = preparationEvidence;
9048
9060
  var meetingPersonContext = strictObject({
9049
9061
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -9065,7 +9077,7 @@ var meetingPersonContext = strictObject({
9065
9077
  })
9066
9078
  });
9067
9079
 
9068
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9080
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
9069
9081
  var evidence3 = strictObject({ reference, fingerprint: text });
9070
9082
  var base2 = { id, project: reference, evidence: array(evidence3) };
9071
9083
  var finding2 = variant("kind", [
@@ -9103,7 +9115,7 @@ var meetingFindings = strictObject({
9103
9115
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
9104
9116
  });
9105
9117
 
9106
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9118
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
9107
9119
  var communicationCoverage = strictObject({
9108
9120
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
9109
9121
  query: string(),
@@ -9148,7 +9160,7 @@ var preparationCommunications = strictObject({
9148
9160
  }))
9149
9161
  });
9150
9162
 
9151
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9163
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
9152
9164
  var meetingPreparation = strictObject({
9153
9165
  communications: optional(preparationCommunications),
9154
9166
  schema_version: literal(1),
@@ -9261,7 +9273,7 @@ var meetingPreparation = strictObject({
9261
9273
  })
9262
9274
  });
9263
9275
 
9264
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9276
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
9265
9277
  var count4 = pipe(number(), integer(), minValue(0));
9266
9278
  var id3 = pipe(string(), minLength(1));
9267
9279
  var text3 = string();
@@ -9325,7 +9337,7 @@ var meetingProjectCandidates = strictObject({
9325
9337
  })
9326
9338
  });
9327
9339
 
9328
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9340
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
9329
9341
  var count5 = pipe(number(), integer(), minValue(0));
9330
9342
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
9331
9343
  var meetingSeriesInventory = strictObject({
@@ -9355,7 +9367,7 @@ var meetingSeriesInventory = strictObject({
9355
9367
  })
9356
9368
  });
9357
9369
 
9358
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9370
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
9359
9371
  var text4 = string();
9360
9372
  var id5 = pipe(number(), integer(), minValue(1));
9361
9373
  var revision = picklist(["current", "superseded"]);
@@ -9372,7 +9384,7 @@ var meetingTaskProposal = strictObject({
9372
9384
  persistence: literal("proposal-only")
9373
9385
  });
9374
9386
 
9375
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/memory.js
9387
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/memory.js
9376
9388
  var memory = strictObject({
9377
9389
  ref: reference,
9378
9390
  id,
@@ -9400,7 +9412,7 @@ var memory = strictObject({
9400
9412
  updated_at: time
9401
9413
  });
9402
9414
 
9403
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/mention.js
9415
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/mention.js
9404
9416
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
9405
9417
  var status = picklist(["found", "linked", "proposed", "dismissed"]);
9406
9418
  var mention = strictObject({
@@ -9444,7 +9456,7 @@ var mentionRebuild = strictObject({
9444
9456
  mentions: count
9445
9457
  });
9446
9458
 
9447
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9459
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-change.js
9448
9460
  var operated3 = { operation_id: id, chat_id: id };
9449
9461
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
9450
9462
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
@@ -9453,7 +9465,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
9453
9465
  var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
9454
9466
  var scheduledSend = strictObject(scheduledSendEntries);
9455
9467
 
9456
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9468
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-read.js
9457
9469
  var messageTranscript = strictObject({
9458
9470
  message_id: id,
9459
9471
  text,
@@ -9511,7 +9523,7 @@ var evidencePacket = strictObject({
9511
9523
  }))
9512
9524
  });
9513
9525
 
9514
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9526
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-context.js
9515
9527
  var messageThread = strictObject({
9516
9528
  ref: reference,
9517
9529
  chat: id,
@@ -9528,7 +9540,7 @@ var messageThread = strictObject({
9528
9540
  });
9529
9541
  var messageContext = union([message, messageThread]);
9530
9542
 
9531
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9543
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
9532
9544
  var messageCounts = strictObject({
9533
9545
  by: picklist(["chat", "sender", "day", "hour"]),
9534
9546
  total: count,
@@ -9541,7 +9553,7 @@ var messageCounts = strictObject({
9541
9553
  }))
9542
9554
  });
9543
9555
 
9544
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9556
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-link.js
9545
9557
  var messageLink = strictObject({
9546
9558
  ref: reference,
9547
9559
  url: nullable(text),
@@ -9558,7 +9570,7 @@ var messageLink = strictObject({
9558
9570
  })))
9559
9571
  });
9560
9572
 
9561
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9573
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
9562
9574
  var savedMessageFile = strictObject({
9563
9575
  kind: text,
9564
9576
  path: text,
@@ -9645,7 +9657,7 @@ var messageSyncAll = strictObject({
9645
9657
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
9646
9658
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
9647
9659
 
9648
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9660
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/message-write.js
9649
9661
  var messageWrite = strictObject({
9650
9662
  operation_id: id,
9651
9663
  message,
@@ -9660,7 +9672,7 @@ var draftWrite = strictObject({
9660
9672
  });
9661
9673
  var messageSend = union([messageWrite, draftWrite]);
9662
9674
 
9663
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/model.js
9675
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/model.js
9664
9676
  var model2 = strictObject({
9665
9677
  id,
9666
9678
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -9695,7 +9707,7 @@ var chosenModel = strictObject({
9695
9707
  estimate_seconds: nullable(count)
9696
9708
  });
9697
9709
 
9698
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9710
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/model-key.js
9699
9711
  var source = picklist(["environment", "keyring", "file"]);
9700
9712
  var modelKey = strictObject({
9701
9713
  provider: text,
@@ -9705,7 +9717,7 @@ var modelKey = strictObject({
9705
9717
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
9706
9718
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
9707
9719
 
9708
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9720
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
9709
9721
  var versus = strictObject({ current: number(), previous: number() });
9710
9722
  var person = { person_ref: reference, name: nullable(text) };
9711
9723
  var graph = strictObject({
@@ -9739,14 +9751,14 @@ var officialStats = strictObject({
9739
9751
  graphs: record(string(), union([graph, strictObject({ error: text })]))
9740
9752
  });
9741
9753
 
9742
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/person.js
9754
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/person.js
9743
9755
  var person2 = strictObject({
9744
9756
  ref: reference,
9745
9757
  name: nullable(text),
9746
9758
  identities: optional(array(identity))
9747
9759
  });
9748
9760
 
9749
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/poll.js
9761
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/poll.js
9750
9762
  var poll = strictObject({
9751
9763
  chat_id: id,
9752
9764
  message_id: id,
@@ -9762,11 +9774,11 @@ var poll = strictObject({
9762
9774
  });
9763
9775
  var pollChange = strictObject({ operation_id: id, poll });
9764
9776
 
9765
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9777
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9766
9778
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
9767
9779
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
9768
9780
 
9769
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9781
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9770
9782
  var figures = record(string(), number());
9771
9783
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
9772
9784
  var rankingRow = strictObject({
@@ -9813,7 +9825,7 @@ var ranking = strictObject({
9813
9825
  rows: array(rankingRow)
9814
9826
  });
9815
9827
 
9816
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9828
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9817
9829
  var reaction = strictObject({
9818
9830
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
9819
9831
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -9821,7 +9833,7 @@ var reaction = strictObject({
9821
9833
  reacted_at: time
9822
9834
  });
9823
9835
 
9824
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9836
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9825
9837
  var reactionChange = strictObject({
9826
9838
  operation_id: id,
9827
9839
  chat_id: id,
@@ -9829,7 +9841,7 @@ var reactionChange = strictObject({
9829
9841
  reaction: nullable(text)
9830
9842
  });
9831
9843
 
9832
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9844
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9833
9845
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
9834
9846
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
9835
9847
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -9840,7 +9852,7 @@ var recipientChange = strictObject({
9840
9852
  ...partial(recipientOff).entries
9841
9853
  });
9842
9854
 
9843
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9855
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9844
9856
  var events = array(record(string(), unknown()));
9845
9857
  var recordedRun = strictObject({
9846
9858
  run_id: id,
@@ -9912,7 +9924,7 @@ var runHit = strictObject({
9912
9924
  });
9913
9925
  var runLocation = strictObject({ path: text });
9914
9926
 
9915
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9927
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9916
9928
  var relationship = strictObject({
9917
9929
  id,
9918
9930
  from: reference,
@@ -9939,7 +9951,7 @@ var relationship = strictObject({
9939
9951
  created_at: time
9940
9952
  });
9941
9953
 
9942
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9954
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9943
9955
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
9944
9956
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
9945
9957
  var responseTimes = strictObject({
@@ -9956,7 +9968,7 @@ var waitingChats = strictObject({
9956
9968
  by_kind: strictObject({ private: count, group: count })
9957
9969
  });
9958
9970
 
9959
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/retention.js
9971
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/retention.js
9960
9972
  var retentionCohort = strictObject({
9961
9973
  /** The first day of the joining day or week. */
9962
9974
  cohort: text,
@@ -10004,7 +10016,7 @@ var retention = strictObject({
10004
10016
  rows: array(retentionCohort)
10005
10017
  });
10006
10018
 
10007
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10019
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
10008
10020
  var savedSearch = strictObject({
10009
10021
  id,
10010
10022
  /** `null` for a run in the history. */
@@ -10021,7 +10033,7 @@ var savedSearch = strictObject({
10021
10033
  });
10022
10034
  var searchHistoryClear = strictObject({ cleared: count });
10023
10035
 
10024
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10036
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
10025
10037
  var sendAttempt = strictObject({
10026
10038
  at: time,
10027
10039
  profile: text,
@@ -10049,7 +10061,7 @@ var sendAttempt = strictObject({
10049
10061
  error_code: optional(text)
10050
10062
  });
10051
10063
 
10052
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10064
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
10053
10065
  var absent = strictObject({ path: text, exists: literal(false) });
10054
10066
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
10055
10067
  var infoSchema = strictObject({
@@ -10279,7 +10291,7 @@ var storeRepair = union([
10279
10291
  ]);
10280
10292
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
10281
10293
 
10282
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10294
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/store-records.js
10283
10295
  var range = strictObject({ from: number(), to: number() });
10284
10296
  var storeChatStatus = strictObject({
10285
10297
  chat_id: id,
@@ -10377,7 +10389,7 @@ var storeJobRetry = union([
10377
10389
  ]);
10378
10390
  var storeJobClear = strictObject({ cleared: array(id) });
10379
10391
 
10380
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10392
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/store-table.js
10381
10393
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
10382
10394
  var storeTable = strictObject({
10383
10395
  name: text,
@@ -10386,7 +10398,7 @@ var storeTable = strictObject({
10386
10398
  bytes: optional(nullable(count))
10387
10399
  });
10388
10400
 
10389
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10401
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
10390
10402
  var tagTarget = variant("type", [
10391
10403
  strictObject({ type: literal("chat"), chat_id: id }),
10392
10404
  strictObject({ type: literal("contact"), person_id: id }),
@@ -10417,7 +10429,7 @@ var automaticTags = strictObject({
10417
10429
  dry_run: boolean()
10418
10430
  });
10419
10431
 
10420
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10432
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/tagging.js
10421
10433
  var tagging = strictObject({
10422
10434
  tag: text,
10423
10435
  type: picklist(TAG_TYPES),
@@ -10430,7 +10442,7 @@ var tagging = strictObject({
10430
10442
  created_at: time
10431
10443
  });
10432
10444
 
10433
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10445
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
10434
10446
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
10435
10447
  var taskPair = strictObject({
10436
10448
  task: nullable(side),
@@ -10453,7 +10465,7 @@ var taskPair = strictObject({
10453
10465
  created_at: time
10454
10466
  });
10455
10467
 
10456
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10468
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/task-results.js
10457
10469
  var nullableTime = nullable(time);
10458
10470
  var link = strictObject({
10459
10471
  id,
@@ -10627,7 +10639,7 @@ var taskReview = strictObject({
10627
10639
  untrusted
10628
10640
  });
10629
10641
 
10630
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/template.js
10642
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/template.js
10631
10643
  var template = strictObject({
10632
10644
  key: text,
10633
10645
  channel: picklist(["telegram", "email", "text"]),
@@ -10639,7 +10651,7 @@ var template = strictObject({
10639
10651
  updated_by: nullable(text)
10640
10652
  });
10641
10653
 
10642
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/topic.js
10654
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/topic.js
10643
10655
  var topic = strictObject({
10644
10656
  id,
10645
10657
  title: text,
@@ -10653,7 +10665,7 @@ var topic = strictObject({
10653
10665
  untrusted
10654
10666
  });
10655
10667
 
10656
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/entities/index.js
10668
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/entities/index.js
10657
10669
  var ENTITIES = {
10658
10670
  sync_progress: progress,
10659
10671
  deal,
@@ -10687,6 +10699,7 @@ var ENTITIES = {
10687
10699
  attachments: optional(array(hitFile)),
10688
10700
  untrusted
10689
10701
  }),
10702
+ // Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
10690
10703
  "message.summary": strictObject({
10691
10704
  ...pick(message, [
10692
10705
  "ref",
@@ -10954,7 +10967,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
10954
10967
  return [name, definition];
10955
10968
  })), "entityDefinitions");
10956
10969
 
10957
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10970
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10958
10971
  var schemas = /* @__PURE__ */ new WeakMap();
10959
10972
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
10960
10973
  if (Object.hasOwn(ENTITIES, name))
@@ -10988,7 +11001,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
10988
11001
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
10989
11002
  }, "answerRow");
10990
11003
 
10991
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/steps.js
11004
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/steps.js
10992
11005
  var STEPS2 = defineSteps([
10993
11006
  ...STEPS,
10994
11007
  {
@@ -11278,7 +11291,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
11278
11291
  ].join(" ");
11279
11292
  }, "stepLine");
11280
11293
 
11281
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11294
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
11282
11295
  var where = [{ field: "ref" }];
11283
11296
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
11284
11297
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -11370,7 +11383,7 @@ var STATUS_ROWS = {
11370
11383
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
11371
11384
  };
11372
11385
 
11373
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/compact.js
11386
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/compact.js
11374
11387
  var TEXT_CHARS = 400;
11375
11388
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
11376
11389
  var messageRow = {
@@ -11738,7 +11751,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
11738
11751
  return lines.concat(footerOf(body)).join("\n");
11739
11752
  }, "compactText");
11740
11753
 
11741
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11754
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
11742
11755
  var SOFT_OUTPUT_BYTES = 256 * 1024;
11743
11756
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
11744
11757
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -11796,7 +11809,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
11796
11809
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
11797
11810
  }, "largeAnswerSteps");
11798
11811
 
11799
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11812
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
11800
11813
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
11801
11814
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
11802
11815
  var strip = /* @__PURE__ */ __name((value) => {
@@ -11810,7 +11823,7 @@ var strip = /* @__PURE__ */ __name((value) => {
11810
11823
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
11811
11824
  }, "strip");
11812
11825
 
11813
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11826
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
11814
11827
  var OPEN = "\u27E6";
11815
11828
  var CLOSE = "\u27E7";
11816
11829
  var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
@@ -11898,7 +11911,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
11898
11911
  return result;
11899
11912
  }, "withFieldsMarked");
11900
11913
 
11901
- // node_modules/.pnpm/@wirecat+cli-core@0.707.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_1ab7200af0919d16d129ae0ece32d37f/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11914
+ // node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/envelope.js
11902
11915
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
11903
11916
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
11904
11917
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -12280,6 +12293,7 @@ export {
12280
12293
  tooLargeSteps,
12281
12294
  withoutProviderRefs,
12282
12295
  runMarkOf,
12296
+ marked,
12283
12297
  withUntrustedMarked,
12284
12298
  marksUntrusted,
12285
12299
  answerSchema,