@wirecat/drive-cli 0.62.0 → 0.64.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 (150) hide show
  1. package/README.md +2 -1
  2. package/dist/bin/drive.js +2 -2
  3. package/dist/bundle/{all-profiles-CKD2DWUK.js → all-profiles-BPPT2AK5.js} +13 -14
  4. package/dist/bundle/{anthropic-E3T4USLA.js → anthropic-JW6GOJUD.js} +13 -11
  5. package/dist/bundle/{app-server-JB2AEWWL.js → app-server-KAQIOJMZ.js} +53 -54
  6. package/dist/bundle/{bun-CC44AAND.js → bun-UT7GNTPV.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-AUMFKYVR.js → bun-sqlite-2OIVV3LS.js} +8 -8
  8. package/dist/bundle/{chunk-EOOGWUTP.js → chunk-2FEZ24DK.js} +10 -10
  9. package/dist/bundle/{chunk-N7OZPKU7.js → chunk-2W464HAE.js} +4 -4
  10. package/dist/bundle/{chunk-UGXN5D7U.js → chunk-34BIDKF4.js} +332 -430
  11. package/dist/bundle/{chunk-WZKEU7WR.js → chunk-36GPBPWM.js} +1 -1
  12. package/dist/bundle/{chunk-LQKD257P.js → chunk-3J5KAFNA.js} +2255 -1125
  13. package/dist/bundle/{chunk-7W5HYGVW.js → chunk-3NULZGQU.js} +2 -2
  14. package/dist/bundle/{chunk-XFRRKZHQ.js → chunk-46CD64J2.js} +155 -36
  15. package/dist/bundle/{chunk-DWJHL6DV.js → chunk-4CNTID2X.js} +4 -4
  16. package/dist/bundle/{chunk-LWE4JGRN.js → chunk-4YRENUB5.js} +2 -2
  17. package/dist/bundle/{chunk-SW4I5BR7.js → chunk-5HSRQ53R.js} +2 -2
  18. package/dist/bundle/{chunk-IR4SQLBR.js → chunk-5OFA5EXE.js} +2 -2
  19. package/dist/bundle/{chunk-R347FPYU.js → chunk-5ZBR55US.js} +1 -1
  20. package/dist/bundle/{chunk-Q2LRPOKL.js → chunk-66AF4FBW.js} +4 -4
  21. package/dist/bundle/{chunk-RWSXVCSG.js → chunk-6B37XO6B.js} +23 -5
  22. package/dist/bundle/{chunk-ZMOUUOT2.js → chunk-6G53ZFUT.js} +1 -1
  23. package/dist/bundle/{chunk-HCNQT3QE.js → chunk-AHB4OJCI.js} +1951 -580
  24. package/dist/bundle/{chunk-JK3U25QZ.js → chunk-B67BLRAI.js} +59 -1
  25. package/dist/bundle/{chunk-7ZXIWZQ6.js → chunk-B7XBIOMR.js} +12 -12
  26. package/dist/bundle/{chunk-FEZF3TII.js → chunk-BDYWZ7JE.js} +50 -6
  27. package/dist/bundle/{chunk-SVPCHFKI.js → chunk-BEUAICUD.js} +2 -2
  28. package/dist/bundle/{chunk-TDX4GZFO.js → chunk-BEZJA44H.js} +7 -7
  29. package/dist/bundle/{chunk-RIDQNVZM.js → chunk-BZ2ZKILM.js} +3 -3
  30. package/dist/bundle/{chunk-FUITWY7O.js → chunk-C7WBNOYW.js} +1 -1
  31. package/dist/bundle/{chunk-CJHY5YIF.js → chunk-CPMRM3GQ.js} +489 -210
  32. package/dist/bundle/{chunk-FNWIJ6EJ.js → chunk-DD7EFG6B.js} +2 -2
  33. package/dist/bundle/{chunk-W4RTIL7S.js → chunk-E2LBCCTG.js} +5 -5
  34. package/dist/bundle/{chunk-O2XOX4HB.js → chunk-EC2XGDKJ.js} +50 -34
  35. package/dist/bundle/{chunk-4OSSOWDM.js → chunk-EJ4PNHPP.js} +1 -1
  36. package/dist/bundle/{chunk-XS5POQST.js → chunk-EQEGJVO2.js} +1 -1
  37. package/dist/bundle/{chunk-U2BFYSQV.js → chunk-EWGVDFPT.js} +8983 -3343
  38. package/dist/bundle/{chunk-OBH5BA62.js → chunk-EZ6O3ST3.js} +3 -3
  39. package/dist/bundle/{chunk-HG6CAYJH.js → chunk-F2VDAG32.js} +3 -3
  40. package/dist/bundle/{chunk-RPMKG63Z.js → chunk-G3NULXOM.js} +4 -4
  41. package/dist/bundle/{chunk-OD4U7GUY.js → chunk-G4KEKKDE.js} +20 -20
  42. package/dist/bundle/{chunk-OTROVC4E.js → chunk-GSMYXGFR.js} +1 -1
  43. package/dist/bundle/{chunk-XZUS7XRO.js → chunk-GW3U6OLD.js} +1 -1
  44. package/dist/bundle/{chunk-6EY46GAN.js → chunk-HW4UPST2.js} +2 -2
  45. package/dist/bundle/{chunk-2HF2MRXI.js → chunk-IDAK4DDK.js} +1 -1
  46. package/dist/bundle/{chunk-27YUUGXQ.js → chunk-IK6KH3RE.js} +1 -1
  47. package/dist/bundle/{chunk-QTI6IVHZ.js → chunk-IX7NQJLY.js} +8 -8
  48. package/dist/bundle/{chunk-YMWENGKH.js → chunk-J62DI53V.js} +1 -1
  49. package/dist/bundle/{chunk-AH5C3D3D.js → chunk-JRXFW7HE.js} +5 -5
  50. package/dist/bundle/{chunk-KLFSRKHB.js → chunk-K6BSB53R.js} +1 -1
  51. package/dist/bundle/{chunk-ONP2IBHY.js → chunk-KE4XPPRQ.js} +98 -81
  52. package/dist/bundle/{chunk-UQLWMGSD.js → chunk-KG2XKEHL.js} +5 -5
  53. package/dist/bundle/{chunk-T5NWWXS2.js → chunk-KIN6PDFE.js} +24 -2
  54. package/dist/bundle/{chunk-QH7DOVO3.js → chunk-KVW4XNKB.js} +45 -29
  55. package/dist/bundle/{chunk-PEQA6LA5.js → chunk-LOMW6F2E.js} +230 -236
  56. package/dist/bundle/{chunk-4SIZEJ3M.js → chunk-M73NNJ3X.js} +2 -2
  57. package/dist/bundle/{chunk-QCKZ3GAA.js → chunk-N622LRPM.js} +4 -4
  58. package/dist/bundle/{chunk-YPFUYQDP.js → chunk-O2QO5UZC.js} +13 -13
  59. package/dist/bundle/{chunk-QCX6XZLA.js → chunk-OEVHZOHC.js} +12 -12
  60. package/dist/bundle/{chunk-VAYB52HF.js → chunk-OH3K2E7X.js} +402 -184
  61. package/dist/bundle/{chunk-YXYTY4GF.js → chunk-P7DEGRZA.js} +21 -21
  62. package/dist/bundle/{chunk-YUWPNG7B.js → chunk-PBMSBCVB.js} +1 -1
  63. package/dist/bundle/{chunk-67ZQCWBV.js → chunk-QEAD2LF4.js} +3 -3
  64. package/dist/bundle/{chunk-JN5TVEEL.js → chunk-QXCKJUZY.js} +124 -22
  65. package/dist/bundle/{chunk-T7X53FCJ.js → chunk-SIOIMO62.js} +37 -37
  66. package/dist/bundle/{chunk-O7ALBI2I.js → chunk-TNV2FXVK.js} +5 -5
  67. package/dist/bundle/chunk-UD55VB2N.js +87 -0
  68. package/dist/bundle/{chunk-L7K2MOIC.js → chunk-UIEA6FIV.js} +22 -22
  69. package/dist/bundle/{chunk-EW7PKB4M.js → chunk-UJR272CP.js} +29 -29
  70. package/dist/bundle/{chunk-YALI4C7C.js → chunk-USLZE36C.js} +6 -6
  71. package/dist/bundle/{chunk-YOJDGAPT.js → chunk-VIJ6ACYB.js} +8 -8
  72. package/dist/bundle/{chunk-MN4VXU3M.js → chunk-VPLFD5RJ.js} +4 -4
  73. package/dist/bundle/{chunk-VQDD64A4.js → chunk-VT2UFYPJ.js} +8 -10
  74. package/dist/bundle/{chunk-CZ2GJHLL.js → chunk-WWCYTMAV.js} +2 -2
  75. package/dist/bundle/{chunk-DJOAMGF4.js → chunk-XPXKD63J.js} +13 -13
  76. package/dist/bundle/{chunk-E43ENLJJ.js → chunk-ZF6GUZCE.js} +1 -1
  77. package/dist/bundle/{chunk-XEW2EN6F.js → chunk-ZRZ4HTCK.js} +60 -34
  78. package/dist/bundle/{chunk-2KN35F32.js → chunk-ZSZJLJIA.js} +10 -10
  79. package/dist/bundle/command-contract-H5OYJOPF.js +38 -0
  80. package/dist/bundle/{decode-WIIX3Y2X.js → decode-HTOQ6S3V.js} +8 -8
  81. package/dist/bundle/{dispatch-GEFIXA6X.js → dispatch-SH5SP6LA.js} +11 -11
  82. package/dist/bundle/drive.js +11 -11
  83. package/dist/bundle/{echarts-OYINM4C4.js → echarts-KFHB6SLX.js} +2 -2
  84. package/dist/bundle/{embed-DWZIYMBX.js → embed-YATFB2PN.js} +9 -9
  85. package/dist/bundle/{embedder-ILWH7ZRM.js → embedder-MQPDFGTJ.js} +12 -12
  86. package/dist/bundle/entry-YZBB647C.js +22 -0
  87. package/dist/bundle/{failure-GV77W3CD.js → failure-4FQL4XJI.js} +4 -4
  88. package/dist/bundle/first-run-5JT3UQZB.js +30 -0
  89. package/dist/bundle/first-screen-BEMDEWO7.js +36 -0
  90. package/dist/bundle/{google-KLZSUAVY.js → google-DVADVICN.js} +13 -13
  91. package/dist/bundle/{google-api-HZQ5R4ZO.js → google-api-QMFGCXBM.js} +55 -57
  92. package/dist/bundle/grants-WKB2E4TA.js +103 -0
  93. package/dist/bundle/{identity-J2DON4IO.js → identity-FYVDK4M2.js} +6 -6
  94. package/dist/bundle/{instructions-HGOJ23AJ.js → instructions-D3GF3B7M.js} +1 -1
  95. package/dist/bundle/{login-BD2TS4GY.js → login-COFZ2IWP.js} +61 -63
  96. package/dist/bundle/{mcp-GWDA3HOA.js → mcp-RKJG22KM.js} +2 -2
  97. package/dist/bundle/{node-CPKTDPH7.js → node-OFICOKX3.js} +2 -2
  98. package/dist/bundle/{node-sqlite-IXDCRLSX.js → node-sqlite-DNBTDOXD.js} +9 -9
  99. package/dist/bundle/oauth-PDQHWFBF.js +22 -0
  100. package/dist/bundle/{open-O7P3ZV3Y.js → open-PTPR2YWX.js} +8 -8
  101. package/dist/bundle/{openai-RCFQKCXC.js → openai-2KV5LUW4.js} +17 -17
  102. package/dist/bundle/{process-KXDRJO22.js → process-EAW6NST2.js} +1 -1
  103. package/dist/bundle/{program-UCHFC7JQ.js → program-6UV5Q5YN.js} +310 -279
  104. package/dist/bundle/prompt-634TPMJK.js +19 -0
  105. package/dist/bundle/{reasons-57J2D77K.js → reasons-DDWCEYSQ.js} +5 -5
  106. package/dist/bundle/{recognize-MRCYGP2J.js → recognize-SJO6QUDW.js} +7 -7
  107. package/dist/bundle/{remote-L3L4PHKF.js → remote-6JXZITKF.js} +10 -10
  108. package/dist/bundle/{rerank-PSOE6XFT.js → rerank-MD5VOPQ6.js} +10 -10
  109. package/dist/bundle/{serve-72OGS3BF.js → serve-LZTROA2M.js} +12 -12
  110. package/dist/bundle/server-GT7X666D.js +69 -0
  111. package/dist/bundle/{server-SCXKYHBO.js → server-NSA3UAFY.js} +43 -44
  112. package/dist/bundle/{services-YAFTELBI.js → services-F5A6XQCV.js} +69 -34
  113. package/dist/bundle/{sqlite-runtime-DLK4SU33.js → sqlite-runtime-7YF6REKS.js} +9 -9
  114. package/dist/bundle/{start-AFFA3LKM.js → start-MUFLE6FA.js} +30 -8
  115. package/dist/bundle/{state-T5VNAJSZ.js → state-UC54F3YZ.js} +9 -9
  116. package/dist/bundle/{store-4OFK7PKQ.js → store-F5FJGWMR.js} +58 -20
  117. package/dist/bundle/{store-R6MSY2IM.js → store-J53YNAH6.js} +43 -18
  118. package/dist/bundle/store-maintenance-command-GJVXLBAB.js +58 -0
  119. package/dist/bundle/tokens-H2EJKGA5.js +101 -0
  120. package/dist/commands/account.d.ts +4 -0
  121. package/dist/commands/account.d.ts.map +1 -0
  122. package/dist/commands/account.js +33 -0
  123. package/dist/commands/account.js.map +1 -0
  124. package/dist/commands/config.d.ts.map +1 -1
  125. package/dist/commands/config.js +5 -1
  126. package/dist/commands/config.js.map +1 -1
  127. package/dist/profile-lock.d.ts +1 -0
  128. package/dist/profile-lock.d.ts.map +1 -1
  129. package/dist/profile-lock.js +1 -0
  130. package/dist/profile-lock.js.map +1 -1
  131. package/dist/program.d.ts.map +1 -1
  132. package/dist/program.js +2 -0
  133. package/dist/program.js.map +1 -1
  134. package/dist/version.d.ts +1 -1
  135. package/dist/version.js +1 -1
  136. package/package.json +3 -3
  137. package/dist/bundle/chunk-AQVUEZEP.js +0 -22
  138. package/dist/bundle/chunk-DRZZBN3V.js +0 -33
  139. package/dist/bundle/chunk-UOXOLGNG.js +0 -42
  140. package/dist/bundle/command-contract-OB5BRABN.js +0 -39
  141. package/dist/bundle/entry-V5V3TOTY.js +0 -22
  142. package/dist/bundle/first-run-V3VVLQF4.js +0 -30
  143. package/dist/bundle/first-screen-Y3RIN7FU.js +0 -37
  144. package/dist/bundle/grants-L7XLHLUT.js +0 -105
  145. package/dist/bundle/oauth-HOGY4YBB.js +0 -22
  146. package/dist/bundle/prompt-EVPPBN5W.js +0 -17
  147. package/dist/bundle/server-C5TGNFXW.js +0 -70
  148. package/dist/bundle/store-maintenance-command-QDMCXGV6.js +0 -60
  149. package/dist/bundle/tokens-HIG36RNS.js +0 -103
  150. /package/dist/bundle/{chunk-ZQ3GWKDQ.js → chunk-SW6C6WH5.js} +0 -0
@@ -9,18 +9,13 @@ import {
9
9
  providerErrorKey,
10
10
  renderEvent,
11
11
  runContextOf
12
- } from "./chunk-VQDD64A4.js";
12
+ } from "./chunk-VT2UFYPJ.js";
13
13
  import {
14
14
  permissionCeiling
15
- } from "./chunk-MN4VXU3M.js";
16
- import {
17
- envName,
18
- readOnlyLockOf,
19
- readOnlyRefusal
20
- } from "./chunk-7W5HYGVW.js";
15
+ } from "./chunk-VPLFD5RJ.js";
21
16
  import {
22
17
  carries
23
- } from "./chunk-YMWENGKH.js";
18
+ } from "./chunk-J62DI53V.js";
24
19
  import {
25
20
  CEILING_KEY,
26
21
  COMMAND_PATH_KEY,
@@ -44,14 +39,17 @@ import {
44
39
  conversation,
45
40
  currentRun,
46
41
  enclosingTraceId,
42
+ endpoint,
47
43
  hitFile,
48
44
  inRun,
49
45
  keyForCommand,
50
46
  layerPermissions,
51
47
  logAttributes,
48
+ modelSettingsShape,
52
49
  newRunId,
53
50
  parseDuration,
54
51
  permissionOverrides,
52
+ resolveModelSettings,
55
53
  runsDirFor,
56
54
  snakeLogger,
57
55
  startRun,
@@ -62,14 +60,18 @@ import {
62
60
  typedCommand,
63
61
  useAsProcessRun,
64
62
  withWriteScope
65
- } from "./chunk-VAYB52HF.js";
63
+ } from "./chunk-OH3K2E7X.js";
66
64
  import {
67
- isCliFailure
68
- } from "./chunk-AQVUEZEP.js";
65
+ envName,
66
+ readOnlyLockOf,
67
+ readOnlyRefusal
68
+ } from "./chunk-3NULZGQU.js";
69
69
  import {
70
70
  note
71
- } from "./chunk-RIDQNVZM.js";
71
+ } from "./chunk-BZ2ZKILM.js";
72
72
  import {
73
+ BUSINESS_KINDS,
74
+ DEAL_ROLES,
73
75
  FACT_STATUSES,
74
76
  FACT_TYPES,
75
77
  INVOICE_DIRECTIONS,
@@ -84,6 +86,7 @@ import {
84
86
  ORDER_STATUSES,
85
87
  PRIORITY_LABELS,
86
88
  RELATION_KINDS,
89
+ STANDINGS,
87
90
  TASK_KINDS,
88
91
  TASK_ORIGINS,
89
92
  TASK_STATES,
@@ -95,6 +98,7 @@ import {
95
98
  event,
96
99
  evidenceSource,
97
100
  id,
101
+ markStoreDamaged,
98
102
  meeting,
99
103
  meetingCounts,
100
104
  meetingDetails,
@@ -115,18 +119,22 @@ import {
115
119
  text,
116
120
  time,
117
121
  untrusted
118
- } from "./chunk-CJHY5YIF.js";
122
+ } from "./chunk-CPMRM3GQ.js";
119
123
  import {
120
124
  FIELD_TYPES,
121
125
  QUERY_BACKENDS,
122
126
  describeQuery
123
- } from "./chunk-EOOGWUTP.js";
127
+ } from "./chunk-2FEZ24DK.js";
128
+ import {
129
+ isCliFailure,
130
+ storeDamaged
131
+ } from "./chunk-B67BLRAI.js";
124
132
  import {
125
133
  sharedConfigPath
126
- } from "./chunk-TDX4GZFO.js";
134
+ } from "./chunk-BEZJA44H.js";
127
135
  import {
128
136
  storePath
129
- } from "./chunk-FNWIJ6EJ.js";
137
+ } from "./chunk-DD7EFG6B.js";
130
138
  import {
131
139
  configFilePath,
132
140
  createRecordLog,
@@ -137,19 +145,19 @@ import {
137
145
  resolvePaths,
138
146
  saveConfigFile,
139
147
  writeSecurely
140
- } from "./chunk-OD4U7GUY.js";
148
+ } from "./chunk-G4KEKKDE.js";
141
149
  import {
142
150
  EXIT_CODES,
143
151
  GENERIC_FAILURE,
144
152
  exitCodeOfAnswer
145
- } from "./chunk-UQLWMGSD.js";
153
+ } from "./chunk-KG2XKEHL.js";
146
154
  import {
147
155
  singleLine,
148
156
  visibleControls
149
- } from "./chunk-2HF2MRXI.js";
157
+ } from "./chunk-IDAK4DDK.js";
150
158
  import {
151
159
  defineLogEvents
152
- } from "./chunk-6EY46GAN.js";
160
+ } from "./chunk-HW4UPST2.js";
153
161
  import {
154
162
  COMPACT_FLAG,
155
163
  MAX_NEXT_STEPS,
@@ -159,7 +167,6 @@ import {
159
167
  check,
160
168
  defineSteps,
161
169
  effectsSchema,
162
- getDotPath,
163
170
  integer,
164
171
  isoDate,
165
172
  isoTime,
@@ -200,15 +207,15 @@ import {
200
207
  unwrap,
201
208
  variant,
202
209
  writes
203
- } from "./chunk-FEZF3TII.js";
210
+ } from "./chunk-BDYWZ7JE.js";
204
211
  import {
205
212
  CliError
206
- } from "./chunk-4OSSOWDM.js";
213
+ } from "./chunk-EJ4PNHPP.js";
207
214
  import {
208
215
  __name
209
216
  } from "./chunk-ZVVMGPBJ.js";
210
217
 
211
- // node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
+ // node_modules/.pnpm/@wirecat+cli-base@0.82.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
212
219
  var labels = /* @__PURE__ */ new WeakMap();
213
220
  var annotate = /* @__PURE__ */ __name((command, meta) => {
214
221
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3709,7 +3716,7 @@ __name(useColor, "useColor");
3709
3716
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3710
3717
  var program = new Command();
3711
3718
 
3712
- // node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
3719
+ // node_modules/.pnpm/@wirecat+cli-base@0.82.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
3713
3720
  import { isDeepStrictEqual } from "node:util";
3714
3721
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3715
3722
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3911,7 +3918,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
3911
3918
  return command;
3912
3919
  }, "customizeSharedCommand");
3913
3920
 
3914
- // node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
3921
+ // node_modules/.pnpm/@wirecat+cli-base@0.82.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
3915
3922
  var argumentInfoSchema = object({
3916
3923
  name: string(),
3917
3924
  required: boolean(),
@@ -3994,7 +4001,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
3994
4001
  exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
3995
4002
  }), "commandsDocument");
3996
4003
 
3997
- // node_modules/.pnpm/@wirecat+cli-base@0.80.9_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
4004
+ // node_modules/.pnpm/@wirecat+cli-base@0.82.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
3998
4005
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3999
4006
  let command = root;
4000
4007
  const path2 = [];
@@ -4012,7 +4019,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
4012
4019
  }
4013
4020
  }, "refuseJoinedPath");
4014
4021
 
4015
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
4022
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
4016
4023
  var named = /* @__PURE__ */ __name((work) => {
4017
4024
  try {
4018
4025
  return work();
@@ -4039,7 +4046,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
4039
4046
  return projectFields(value, fields);
4040
4047
  }), "projectFields");
4041
4048
 
4042
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/execution.js
4049
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/execution.js
4043
4050
  var DEFAULT_COMMAND_MS = 3e4;
4044
4051
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
4045
4052
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4222,7 +4229,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4222
4229
  }
4223
4230
  }, "withAbort");
4224
4231
 
4225
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/profile.js
4232
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/profile.js
4226
4233
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
4227
4234
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
4228
4235
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -4291,7 +4298,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
4291
4298
  return void 0;
4292
4299
  }, "sampleCommand");
4293
4300
 
4294
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4301
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4295
4302
  import { existsSync, readdirSync, readFileSync } from "node:fs";
4296
4303
  import { join } from "node:path";
4297
4304
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4313,7 +4320,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4313
4320
  }, "profilesWithAccounts");
4314
4321
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4315
4322
 
4316
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/output-detail.js
4323
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/output-detail.js
4317
4324
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
4318
4325
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
4319
4326
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -4349,7 +4356,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
4349
4356
  return value;
4350
4357
  }, "atDetail");
4351
4358
 
4352
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/output.js
4359
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/output.js
4353
4360
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
4354
4361
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
4355
4362
  if (other)
@@ -4413,7 +4420,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
4413
4420
  }, "warn")
4414
4421
  }), "silence");
4415
4422
 
4416
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4423
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4417
4424
  var CORE_LOG_EVENTS = defineLogEvents([
4418
4425
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
4419
4426
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -4447,7 +4454,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
4447
4454
  cache: "cache.answered"
4448
4455
  };
4449
4456
 
4450
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/runs/recording.js
4457
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/runs/recording.js
4451
4458
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
4452
4459
  const recording = startRecording(options);
4453
4460
  try {
@@ -4538,7 +4545,14 @@ var startRecording = /* @__PURE__ */ __name((options) => {
4538
4545
  ...partial2 ? { partial: partial2 } : {}
4539
4546
  });
4540
4547
  }, "succeed"),
4541
- fail: /* @__PURE__ */ __name(async (error) => {
4548
+ fail: /* @__PURE__ */ __name(async (thrown) => {
4549
+ const error = storeDamaged(thrown);
4550
+ markStoreDamaged(thrown, {
4551
+ store: storePath(options.env),
4552
+ command: `${options.app.command} ${options.command}`,
4553
+ version: options.app.version,
4554
+ runId
4555
+ });
4542
4556
  const failed = run ?? (held ? keep(open({ startedAt })) : void 0);
4543
4557
  if (failed) {
4544
4558
  if (!isCliFailure(error))
@@ -4553,8 +4567,8 @@ var startRecording = /* @__PURE__ */ __name((options) => {
4553
4567
  ...run ? {} : { keptBecauseFailed: true }
4554
4568
  });
4555
4569
  }
4556
- if (typeof error === "object" && error !== null)
4557
- settled.add(error);
4570
+ if (typeof thrown === "object" && thrown !== null)
4571
+ settled.add(thrown);
4558
4572
  }, "fail")
4559
4573
  };
4560
4574
  }, "startRecording");
@@ -4632,7 +4646,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
4632
4646
  return void 0;
4633
4647
  }, "partialOutcome");
4634
4648
 
4635
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4649
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4636
4650
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4637
4651
  if (ms2 === void 0)
4638
4652
  return body();
@@ -4658,89 +4672,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4658
4672
  }
4659
4673
  }, "withDeadline");
4660
4674
 
4661
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/settings.js
4675
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/settings.js
4662
4676
  import { existsSync as existsSync4 } from "node:fs";
4663
4677
 
4664
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/models/endpoint.js
4665
- var endpoint = /* @__PURE__ */ __name((value) => {
4666
- try {
4667
- const url2 = new URL(value);
4668
- return ["https:", "http:"].includes(url2.protocol) && !url2.username && !url2.password && !url2.search && !url2.hash;
4669
- } catch {
4670
- return false;
4671
- }
4672
- }, "endpoint");
4673
-
4674
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/models/settings.js
4675
- var MODEL_FIELDS = ["provider", "model", "base_url"];
4676
- var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
4677
- provider: optional(picklist(["off", "openai", "anthropic"])),
4678
- model: optional(pipe(string(), trim(), minLength(1), maxLength(200))),
4679
- base_url: optional(pipe(string(), check((value) => endpoint(value), "use an HTTP/S endpoint without credentials, query or fragment")))
4680
- }));
4681
- var resolveModelSettings = /* @__PURE__ */ __name((prefix, layers, env) => {
4682
- const configured = layers.map(([from, scope]) => [from, scope?.models ?? {}]);
4683
- const purposes = /* @__PURE__ */ new Set([
4684
- "default",
4685
- "analysis",
4686
- "replies",
4687
- ...configured.flatMap(([, models2]) => Object.keys(models2))
4688
- ]);
4689
- for (const name of Object.keys(env)) {
4690
- const match = new RegExp(`^${prefix}_MODELS_([A-Z][A-Z0-9_]*)_(PROVIDER|MODEL|BASE_URL)$`).exec(name);
4691
- if (match?.[1])
4692
- purposes.add(match[1].toLowerCase().replaceAll("_", "-"));
4693
- }
4694
- const models = {};
4695
- const sources = {};
4696
- for (const purpose of purposes) {
4697
- const resolved = {};
4698
- for (const field of MODEL_FIELDS) {
4699
- const variable = `${prefix}_MODELS_${purpose.replaceAll("-", "_").toUpperCase()}_${field.toUpperCase()}`;
4700
- const candidates = [
4701
- [variable, env[variable]?.trim() || void 0],
4702
- ...configured.map(([from, model3]) => [
4703
- `${from}: models.${purpose}.${field}`,
4704
- model3[purpose]?.[field]
4705
- ]),
4706
- ...purpose === "default" ? [] : [
4707
- [
4708
- `${prefix}_MODELS_DEFAULT_${field.toUpperCase()}`,
4709
- env[`${prefix}_MODELS_DEFAULT_${field.toUpperCase()}`]?.trim() || void 0
4710
- ],
4711
- ...configured.map(([from, model3]) => [
4712
- `${from}: models.default.${field}`,
4713
- model3.default?.[field]
4714
- ])
4715
- ]
4716
- ];
4717
- const selected = candidates.find(([, value]) => value !== void 0);
4718
- if (selected)
4719
- resolved[field] = selected[1];
4720
- sources[`models.${purpose}.${field}`] = selected?.[0] ?? "default";
4721
- }
4722
- if (Object.keys(resolved).length)
4723
- models[purpose] = resolved;
4724
- }
4725
- const checked = safeParse(modelSettingsShape, models);
4726
- if (!checked.success)
4727
- throw new CliError("configuration_error", `models.${getDotPath(checked.issues[0]) ?? "settings"} is invalid`);
4728
- return { models: checked.output, sources };
4729
- }, "resolveModelSettings");
4730
- var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
4731
- const configured = { ...settings.models?.default, ...settings.models?.[purpose] };
4732
- if (configured.provider === void 0 || configured.provider === "off")
4733
- return void 0;
4734
- if (!configured.model)
4735
- throw new CliError("configuration_error", `set models.${purpose}.model before calling its provider`);
4736
- return {
4737
- provider: configured.provider,
4738
- model: configured.model,
4739
- ...configured.base_url === void 0 ? {} : { baseUrl: configured.base_url }
4740
- };
4741
- }, "modelTarget");
4742
-
4743
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/analysis/settings.js
4678
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/analysis/settings.js
4744
4679
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
4745
4680
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
4746
4681
  var AI_FIELDS = {
@@ -4784,7 +4719,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
4784
4719
  };
4785
4720
  }, "resolveAISettings");
4786
4721
 
4787
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
4722
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
4788
4723
  import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
4789
4724
  import { join as join2 } from "node:path";
4790
4725
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -4873,10 +4808,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
4873
4808
  return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
4874
4809
  }, "registryProfiles");
4875
4810
 
4876
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
4811
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
4877
4812
  import { readFileSync as readFileSync3 } from "node:fs";
4878
4813
 
4879
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
4814
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
4880
4815
  var REPAIR_WORDS = {
4881
4816
  byte_order_mark: "an invisible byte-order mark at the start",
4882
4817
  comment: "a comment, which JSON does not allow",
@@ -5117,7 +5052,7 @@ ${parts.join(",\n")}
5117
5052
  ${indent}${close}`;
5118
5053
  }, "serialise");
5119
5054
 
5120
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5055
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
5121
5056
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5122
5057
  var SECTIONS = ["personal", "bot"];
5123
5058
  var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
@@ -5411,7 +5346,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
5411
5346
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
5412
5347
  }, "readConfigFile");
5413
5348
 
5414
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5349
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5415
5350
  import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
5416
5351
  import { dirname, join as join3 } from "node:path";
5417
5352
  var DEFAULT_CONFIG = {
@@ -5440,7 +5375,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
5440
5375
  }
5441
5376
  __name(ensureDefaultConfig, "ensureDefaultConfig");
5442
5377
 
5443
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5378
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5444
5379
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5445
5380
  var parentOf = /* @__PURE__ */ __name((config, key) => {
5446
5381
  const path2 = key.split(".");
@@ -5473,7 +5408,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
5473
5408
  };
5474
5409
  }), "settingRows");
5475
5410
 
5476
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/settings.js
5411
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/settings.js
5477
5412
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
5478
5413
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
5479
5414
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -5983,7 +5918,7 @@ var given = /* @__PURE__ */ __name((value) => {
5983
5918
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
5984
5919
  }, "given");
5985
5920
 
5986
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/context.js
5921
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/context.js
5987
5922
  var setExitCode = /* @__PURE__ */ __name((command, code) => {
5988
5923
  const slot = environmentOf(command).exit;
5989
5924
  if (slot)
@@ -6105,7 +6040,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
6105
6040
  return words.join(" ");
6106
6041
  }, "commandPath");
6107
6042
 
6108
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/effects.js
6043
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/effects.js
6109
6044
  var REMOTE_READ = { remote: "read", local: "read" };
6110
6045
  var FETCH = { remote: "read", local: "write" };
6111
6046
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -6131,6 +6066,10 @@ var changesAuthorityNow = /* @__PURE__ */ __name((command) => {
6131
6066
  return unless === void 0 || command.opts()[unless] !== true;
6132
6067
  }, "changesAuthorityNow");
6133
6068
  var LOGIN = /* @__PURE__ */ new WeakSet();
6069
+ var logsInOrOut = /* @__PURE__ */ __name((command) => {
6070
+ LOGIN.add(command);
6071
+ return command;
6072
+ }, "logsInOrOut");
6134
6073
  var isLogin = /* @__PURE__ */ __name((command) => LOGIN.has(command), "isLogin");
6135
6074
  var KEPT_UNDER_LOCK = /* @__PURE__ */ new WeakSet();
6136
6075
  var destroysNothing = /* @__PURE__ */ __name((command) => {
@@ -6233,7 +6172,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6233
6172
  throw readOnlyRefusal(lock, what);
6234
6173
  }, "refuseUnderReadOnly");
6235
6174
 
6236
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/account.js
6175
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/account.js
6237
6176
  var account = strictObject({
6238
6177
  provider: text,
6239
6178
  id,
@@ -6243,7 +6182,7 @@ var account = strictObject({
6243
6182
  scope: optional(picklist(["personal", "work"]))
6244
6183
  });
6245
6184
 
6246
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6185
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6247
6186
  var accountSession = strictObject({
6248
6187
  current: boolean(),
6249
6188
  client: nullable(text),
@@ -6253,7 +6192,7 @@ var accountSession = strictObject({
6253
6192
  created_at: optional(nullable(time))
6254
6193
  });
6255
6194
 
6256
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6195
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6257
6196
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
6258
6197
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
6259
6198
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -6270,8 +6209,19 @@ var accountPrivacy = strictObject({
6270
6209
  last_seen: optional(shownAudience)
6271
6210
  });
6272
6211
  var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
6212
+ var removalKind = picklist(["sign_in", "keyring", "config", "file", "store", "unit", "schedule"]);
6213
+ var accountRemoval = strictObject({
6214
+ profile: text,
6215
+ data: picklist(["kept", "deleted"]),
6216
+ dry_run: boolean(),
6217
+ account: nullable(strictObject({ provider: text, account: text })),
6218
+ revoked: nullable(boolean()),
6219
+ config_file: text,
6220
+ removed: array(strictObject({ kind: removalKind, target: text })),
6221
+ kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
6222
+ });
6273
6223
 
6274
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6224
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6275
6225
  var accountProfile = strictObject({
6276
6226
  profile: id,
6277
6227
  current: boolean(),
@@ -6283,7 +6233,7 @@ var accountProfile = strictObject({
6283
6233
  bot: optional(literal(true))
6284
6234
  });
6285
6235
 
6286
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6236
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6287
6237
  var milliseconds = pipe(number(), minValue(0));
6288
6238
  var counterReading = strictObject({
6289
6239
  counter: picklist(["views", "reactions", "comments"]),
@@ -6295,7 +6245,7 @@ var counterReading = strictObject({
6295
6245
  });
6296
6246
  var selection = record(string(), unknown());
6297
6247
 
6298
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6248
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
6299
6249
  var adminRow = strictObject({
6300
6250
  ref: reference,
6301
6251
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -6348,11 +6298,11 @@ var adminReport = strictObject({
6348
6298
  rows: array(adminRow)
6349
6299
  });
6350
6300
 
6351
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6301
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
6352
6302
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6353
6303
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6354
6304
 
6355
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6305
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6356
6306
  var actionableError = objectWithRest({
6357
6307
  code: text,
6358
6308
  message: text,
@@ -6369,7 +6319,7 @@ var batchResult = strictObject({
6369
6319
  max_error_percent: count
6370
6320
  });
6371
6321
 
6372
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6322
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6373
6323
  var extractionItem = strictObject({
6374
6324
  ref: reference,
6375
6325
  attachment: count,
@@ -6402,7 +6352,7 @@ var extractionReport = strictObject({
6402
6352
  cursor: optional(text)
6403
6353
  });
6404
6354
 
6405
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6355
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
6406
6356
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
6407
6357
  var attachmentBytes = strictObject({
6408
6358
  ref: reference,
@@ -6430,7 +6380,7 @@ var attachmentTextChange = strictObject({
6430
6380
  replaced: nullable(picklist(["extracted", "agent"]))
6431
6381
  });
6432
6382
 
6433
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/chart.js
6383
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/chart.js
6434
6384
  var chart = strictObject({
6435
6385
  version: literal(1),
6436
6386
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -6445,7 +6395,7 @@ var chart = strictObject({
6445
6395
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
6446
6396
  });
6447
6397
 
6448
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/member.js
6398
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/member.js
6449
6399
  var member = strictObject({
6450
6400
  id,
6451
6401
  name: nullable(text),
@@ -6468,7 +6418,7 @@ var member = strictObject({
6468
6418
  check: optional(record(string(), unknown()))
6469
6419
  });
6470
6420
 
6471
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/chat.js
6421
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/chat.js
6472
6422
  var setting = optional(nullable(boolean()));
6473
6423
  var chat = strictObject({
6474
6424
  ref: reference,
@@ -6509,7 +6459,7 @@ var chat = strictObject({
6509
6459
  members: optional(array(member))
6510
6460
  });
6511
6461
 
6512
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/folder.js
6462
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/folder.js
6513
6463
  var named2 = strictObject({
6514
6464
  id,
6515
6465
  title: nullable(text),
@@ -6532,7 +6482,7 @@ var folder = strictObject({
6532
6482
  excluded_chats: optional(array(named2))
6533
6483
  });
6534
6484
 
6535
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
6485
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
6536
6486
  var inviteLink = strictObject({
6537
6487
  link: text,
6538
6488
  /** Who joins by it asks first, and an admin lets them in. */
@@ -6548,7 +6498,7 @@ var inviteLink = strictObject({
6548
6498
  joined_count: optional(count)
6549
6499
  });
6550
6500
 
6551
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
6501
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
6552
6502
  var operated = { operation_id: id, chat_id: id };
6553
6503
  var group = strictObject({
6554
6504
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -6628,7 +6578,7 @@ var chatFolderOrder = strictObject({
6628
6578
  folders: array(strictObject({ id, title: text }))
6629
6579
  });
6630
6580
 
6631
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
6581
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
6632
6582
  var operated2 = { operation_id: id, chat_id: id };
6633
6583
  var chatRemoval = strictObject(operated2);
6634
6584
  var chatMuting = strictObject({
@@ -6639,7 +6589,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
6639
6589
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
6640
6590
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
6641
6591
 
6642
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
6592
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
6643
6593
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
6644
6594
  var chatEvent = strictObject({
6645
6595
  chat_id: id,
@@ -6656,7 +6606,7 @@ var chatEvent = strictObject({
6656
6606
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
6657
6607
  });
6658
6608
 
6659
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
6609
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
6660
6610
  var chatMetadata = strictObject({
6661
6611
  chat_id: id,
6662
6612
  title: nullable(text),
@@ -6671,7 +6621,7 @@ var chatMetadataRefresh = strictObject({
6671
6621
  has_more: boolean()
6672
6622
  });
6673
6623
 
6674
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
6624
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
6675
6625
  var action = picklist(["report", "delete", "remove"]);
6676
6626
  var level = picklist(["deny", "readonly", "ask", "allow"]);
6677
6627
  var chatRules = strictObject({
@@ -6708,7 +6658,7 @@ var chatModeration = strictObject({
6708
6658
  }))
6709
6659
  });
6710
6660
 
6711
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
6661
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
6712
6662
  var optionalCount = optional(count);
6713
6663
  var minutes = nullable(number());
6714
6664
  var chatStats = strictObject({
@@ -6782,7 +6732,7 @@ var taskStats = strictObject({
6782
6732
  }))
6783
6733
  });
6784
6734
 
6785
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
6735
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
6786
6736
  var memberCount = strictObject({
6787
6737
  day: pipe(text, isoDate()),
6788
6738
  participants: nullable(count),
@@ -6805,7 +6755,7 @@ var chatTracking = strictObject({
6805
6755
  tracked: boolean()
6806
6756
  });
6807
6757
 
6808
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
6758
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
6809
6759
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
6810
6760
  var contactSync = strictObject({ added: count, changed: count, known: count });
6811
6761
  var profileFields = {
@@ -6843,7 +6793,7 @@ var profileFields = {
6843
6793
  }))
6844
6794
  };
6845
6795
 
6846
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/contact.js
6796
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/contact.js
6847
6797
  var contact = strictObject({
6848
6798
  ref: reference,
6849
6799
  id,
@@ -6874,7 +6824,7 @@ var contact = strictObject({
6874
6824
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
6875
6825
  });
6876
6826
 
6877
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
6827
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
6878
6828
  var linkedIdentity = strictObject({
6879
6829
  provider: text,
6880
6830
  id,
@@ -6882,6 +6832,7 @@ var linkedIdentity = strictObject({
6882
6832
  username: nullable(text),
6883
6833
  is_bot: nullable(boolean()),
6884
6834
  accounts: array(id),
6835
+ seen_in: array(strictObject({ account: id, scope: picklist(["personal", "work"]) })),
6885
6836
  method: text,
6886
6837
  linked_by: text,
6887
6838
  linked_at: time
@@ -6915,7 +6866,7 @@ var contactCheck = strictObject({
6915
6866
  checked_at: time
6916
6867
  });
6917
6868
 
6918
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/message.js
6869
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/message.js
6919
6870
  var quoted = strictObject({
6920
6871
  id,
6921
6872
  sender_id: nullable(id),
@@ -7034,7 +6985,7 @@ var message = strictObject({
7034
6985
  provider_metadata: providerMetadata
7035
6986
  });
7036
6987
 
7037
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
6988
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7038
6989
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
7039
6990
  var contextMessage = strictObject({
7040
6991
  locator: reference,
@@ -7068,6 +7019,8 @@ var contextEvent = strictObject({
7068
7019
  });
7069
7020
  var context = strictObject({
7070
7021
  person: contextPerson,
7022
+ /** The accounts read: only those of the scopes the caller may read. */
7023
+ accounts: array(strictObject({ provider: text, account: id, scope: picklist(["personal", "work"]) })),
7071
7024
  shared: array(sharedChat),
7072
7025
  last: strictObject({
7073
7026
  from_them: nullable(contextMessage),
@@ -7232,7 +7185,7 @@ var contactPreparation = strictObject({
7232
7185
  })
7233
7186
  });
7234
7187
 
7235
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
7188
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
7236
7189
  var contactNote = strictObject({
7237
7190
  id,
7238
7191
  /** The contact, as a `contact:` reference. */
@@ -7244,13 +7197,13 @@ var contactNote = strictObject({
7244
7197
  updated_at: time
7245
7198
  });
7246
7199
 
7247
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
7200
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
7248
7201
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
7249
7202
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
7250
7203
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
7251
7204
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
7252
7205
 
7253
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
7206
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
7254
7207
  var conversationBuild = strictObject({
7255
7208
  chat: id,
7256
7209
  messages: count,
@@ -7275,7 +7228,7 @@ var catchUpPreparation = strictObject({
7275
7228
  prepared: optional(conversationPreparation)
7276
7229
  });
7277
7230
 
7278
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
7231
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
7279
7232
  var conversationDetails = union([
7280
7233
  strictObject({ ...conversation.entries, messages: array(message) }),
7281
7234
  message
@@ -7365,7 +7318,7 @@ var conversationHit = strictObject({
7365
7318
  stale: boolean()
7366
7319
  });
7367
7320
 
7368
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/counters.js
7321
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/counters.js
7369
7322
  var counters = strictObject({
7370
7323
  cutoff: time,
7371
7324
  max_age_ms: milliseconds,
@@ -7395,7 +7348,7 @@ var counterRefresh = strictObject({
7395
7348
  complete: optional(boolean())
7396
7349
  });
7397
7350
 
7398
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/deal.js
7351
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/deal.js
7399
7352
  var nullableText = nullable(text);
7400
7353
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
7401
7354
  var outcome = picklist(["open", "won", "lost"]);
@@ -7432,7 +7385,7 @@ var deal = strictObject({
7432
7385
  value: unknown(),
7433
7386
  option_id: optional(union([string(), array(string())]))
7434
7387
  })),
7435
- people: array(strictObject({ ...party.entries, role: picklist(["owner", "contact", "decision-maker"]) })),
7388
+ people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
7436
7389
  author: strictObject({
7437
7390
  type: picklist(["person", "bot"]),
7438
7391
  id,
@@ -7459,7 +7412,10 @@ var pipelineStage = strictObject({
7459
7412
  open: count,
7460
7413
  /** With a funnel: rows that got this far, and the share of them that reached the next stage. */
7461
7414
  reached: optional(count),
7462
- conversion: optional(nullable(number()))
7415
+ conversion: optional(nullable(number())),
7416
+ /** With a funnel: rows standing in it now, and their sum per currency, never converted. */
7417
+ items: optional(count),
7418
+ amounts: optional(array(strictObject({ amount: text, currency: text, items: count })))
7463
7419
  });
7464
7420
  var pipeline = strictObject({
7465
7421
  id,
@@ -7482,7 +7438,7 @@ var stage = strictObject({
7482
7438
  untrusted
7483
7439
  });
7484
7440
 
7485
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/document.js
7441
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/document.js
7486
7442
  var document = strictObject({
7487
7443
  ref: reference,
7488
7444
  id,
@@ -7497,7 +7453,7 @@ var document = strictObject({
7497
7453
  owners: optional(array(text))
7498
7454
  });
7499
7455
 
7500
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/document-link.js
7456
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/document-link.js
7501
7457
  var documentLink = strictObject({
7502
7458
  ref: reference,
7503
7459
  url: text,
@@ -7508,7 +7464,7 @@ var documentLink = strictObject({
7508
7464
  sender: strictObject({ id: nullable(id), name: nullable(text) })
7509
7465
  });
7510
7466
 
7511
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/evidence.js
7467
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/evidence.js
7512
7468
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
7513
7469
  var contribution = strictObject({
7514
7470
  message: evidenceMessage,
@@ -7538,7 +7494,7 @@ var retentionStay = strictObject({
7538
7494
  });
7539
7495
  var evidence = union([contribution, retentionStay]);
7540
7496
 
7541
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/fact.js
7497
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/fact.js
7542
7498
  var fact = strictObject({
7543
7499
  ref: reference,
7544
7500
  id,
@@ -7568,9 +7524,9 @@ var fact = strictObject({
7568
7524
  updated_at: time
7569
7525
  });
7570
7526
 
7571
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/hit.js
7527
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/hit.js
7572
7528
  var hit = strictObject({
7573
- kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
7529
+ kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
7574
7530
  ref: reference,
7575
7531
  provider: text,
7576
7532
  url: optional(text),
@@ -7600,13 +7556,17 @@ var hit = strictObject({
7600
7556
  lines_total: optional(count),
7601
7557
  /** A meeting passage's stored line, so two passages of one meeting stay apart; `search meetings` gives the same. */
7602
7558
  id: optional(pipe(string(), minLength(1))),
7559
+ /** A business hit's: `proposed` waits for the owner; a product or a wallet has no review and is `confirmed`. */
7560
+ review: optional(picklist(["proposed", "confirmed"])),
7561
+ /** A business hit's record in the import that made it; absent for one the owner or an agent wrote. */
7562
+ source_record: optional(strictObject({ provider: text, account: text, external_id: text })),
7603
7563
  /** A message's files; absent when it has none. */
7604
7564
  attachments: optional(array(hitFile)),
7605
7565
  /** Absent on a note hit: the owner wrote it. */
7606
7566
  untrusted
7607
7567
  });
7608
7568
 
7609
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/identity.js
7569
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/identity.js
7610
7570
  var identity = strictObject({
7611
7571
  ref: reference,
7612
7572
  provider: text,
@@ -7619,7 +7579,7 @@ var identity = strictObject({
7619
7579
  person: optional(nullable(reference))
7620
7580
  });
7621
7581
 
7622
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
7582
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
7623
7583
  var imageEmbedding = strictObject({
7624
7584
  model: text,
7625
7585
  embedded: count,
@@ -7628,13 +7588,13 @@ var imageEmbedding = strictObject({
7628
7588
  more: boolean()
7629
7589
  });
7630
7590
 
7631
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
7591
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
7632
7592
  import { spawn } from "node:child_process";
7633
7593
  import { randomBytes } from "node:crypto";
7634
7594
  import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync2 } from "node:fs";
7635
7595
  import { dirname as dirname2, join as join4 } from "node:path";
7636
7596
 
7637
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
7597
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
7638
7598
  var progressOf = /* @__PURE__ */ __name((input) => {
7639
7599
  const total = input.total ?? null;
7640
7600
  const updated = input.updatedAt ?? null;
@@ -7650,7 +7610,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
7650
7610
  };
7651
7611
  }, "progressOf");
7652
7612
 
7653
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/runs/record-log.js
7613
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/runs/record-log.js
7654
7614
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
7655
7615
  const run = currentRun();
7656
7616
  const trace = traceId ?? run.traceId;
@@ -7664,7 +7624,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
7664
7624
  }));
7665
7625
  }, "recordLogFor");
7666
7626
 
7667
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
7627
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
7668
7628
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
7669
7629
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
7670
7630
  const out = openSync(log, "a", 384);
@@ -7819,7 +7779,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
7819
7779
  return { job: id6, pid, chat: input.chat, log };
7820
7780
  }, "startArchiveJob");
7821
7781
 
7822
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/job.js
7782
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/job.js
7823
7783
  var problem = strictObject({ code: text, message: text });
7824
7784
  var job = strictObject({
7825
7785
  id,
@@ -7842,7 +7802,7 @@ var job = strictObject({
7842
7802
  error: optional(problem)
7843
7803
  });
7844
7804
 
7845
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/join-request.js
7805
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/join-request.js
7846
7806
  var joinRequest = strictObject({
7847
7807
  person_id: id,
7848
7808
  name: nullable(text),
@@ -7853,7 +7813,7 @@ var joinRequest = strictObject({
7853
7813
  about: optional(text)
7854
7814
  });
7855
7815
 
7856
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/list-results.js
7816
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/list-results.js
7857
7817
  var botProfile = strictObject({
7858
7818
  name: text,
7859
7819
  token: text,
@@ -7946,7 +7906,7 @@ var stickerInventory = strictObject({
7946
7906
  url: optional(nullable(text))
7947
7907
  });
7948
7908
 
7949
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
7909
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
7950
7910
  var pollVote = strictObject({
7951
7911
  person_id: id,
7952
7912
  name: nullable(text),
@@ -7956,7 +7916,7 @@ var pollVote = strictObject({
7956
7916
  voted_at: time
7957
7917
  });
7958
7918
 
7959
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/listener.js
7919
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/listener.js
7960
7920
  var reactions = unwrap(unwrap(message.entries.reactions));
7961
7921
  var observation = strictObject({
7962
7922
  value: pipe(number(), minValue(0)),
@@ -7998,7 +7958,7 @@ var serveSummary = strictObject({
7998
7958
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
7999
7959
  });
8000
7960
 
8001
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
7961
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8002
7962
  var mailCounts = strictObject({
8003
7963
  by: picklist(["day", "week", "sender"]),
8004
7964
  received: count,
@@ -8013,7 +7973,7 @@ var mailCounts = strictObject({
8013
7973
  }))
8014
7974
  });
8015
7975
 
8016
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
7976
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8017
7977
  var evidence2 = strictObject({ reference, fingerprint: text });
8018
7978
  var base = { id, evidence: array(evidence2) };
8019
7979
  var finding = variant("kind", [
@@ -8157,7 +8117,7 @@ var mailFindings = strictObject({
8157
8117
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
8158
8118
  });
8159
8119
 
8160
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8120
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8161
8121
  var mediaArchive = strictObject({
8162
8122
  directory: text,
8163
8123
  chats: count,
@@ -8189,7 +8149,7 @@ var mediaArchiveTimer = union([
8189
8149
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
8190
8150
  ]);
8191
8151
 
8192
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8152
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8193
8153
  var preparationId = pipe(string(), minLength(1));
8194
8154
  var preparationCount = pipe(number(), integer(), minValue(0));
8195
8155
  var preparationTime = nullable(isoTime);
@@ -8281,7 +8241,7 @@ var preparationMeeting = strictObject({
8281
8241
  updated_at: isoTime
8282
8242
  });
8283
8243
 
8284
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
8244
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
8285
8245
  var meetingEvidence = preparationEvidence;
8286
8246
  var meetingPersonContext = strictObject({
8287
8247
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -8303,7 +8263,7 @@ var meetingPersonContext = strictObject({
8303
8263
  })
8304
8264
  });
8305
8265
 
8306
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
8266
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
8307
8267
  var evidence3 = strictObject({ reference, fingerprint: text });
8308
8268
  var base2 = { id, project: reference, evidence: array(evidence3) };
8309
8269
  var finding2 = variant("kind", [
@@ -8341,7 +8301,7 @@ var meetingFindings = strictObject({
8341
8301
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
8342
8302
  });
8343
8303
 
8344
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
8304
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
8345
8305
  var communicationCoverage = strictObject({
8346
8306
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
8347
8307
  query: string(),
@@ -8386,7 +8346,7 @@ var preparationCommunications = strictObject({
8386
8346
  }))
8387
8347
  });
8388
8348
 
8389
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
8349
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
8390
8350
  var meetingPreparation = strictObject({
8391
8351
  communications: optional(preparationCommunications),
8392
8352
  schema_version: literal(1),
@@ -8499,7 +8459,7 @@ var meetingPreparation = strictObject({
8499
8459
  })
8500
8460
  });
8501
8461
 
8502
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
8462
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
8503
8463
  var count4 = pipe(number(), integer(), minValue(0));
8504
8464
  var id3 = pipe(string(), minLength(1));
8505
8465
  var text3 = string();
@@ -8563,7 +8523,7 @@ var meetingProjectCandidates = strictObject({
8563
8523
  })
8564
8524
  });
8565
8525
 
8566
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
8526
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
8567
8527
  var count5 = pipe(number(), integer(), minValue(0));
8568
8528
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
8569
8529
  var meetingSeriesInventory = strictObject({
@@ -8593,7 +8553,7 @@ var meetingSeriesInventory = strictObject({
8593
8553
  })
8594
8554
  });
8595
8555
 
8596
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
8556
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
8597
8557
  var text4 = string();
8598
8558
  var id5 = pipe(number(), integer(), minValue(1));
8599
8559
  var revision = picklist(["current", "superseded"]);
@@ -8610,7 +8570,7 @@ var meetingTaskProposal = strictObject({
8610
8570
  persistence: literal("proposal-only")
8611
8571
  });
8612
8572
 
8613
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/memory.js
8573
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/memory.js
8614
8574
  var memory = strictObject({
8615
8575
  ref: reference,
8616
8576
  id,
@@ -8637,7 +8597,7 @@ var memory = strictObject({
8637
8597
  updated_at: time
8638
8598
  });
8639
8599
 
8640
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/mention.js
8600
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/mention.js
8641
8601
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
8642
8602
  var status = picklist(["found", "linked", "dismissed"]);
8643
8603
  var mention = strictObject({
@@ -8680,13 +8640,13 @@ var mentionRebuild = strictObject({
8680
8640
  mentions: count
8681
8641
  });
8682
8642
 
8683
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/message-change.js
8643
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/message-change.js
8684
8644
  var operated3 = { operation_id: id, chat_id: id };
8685
8645
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
8686
8646
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
8687
8647
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
8688
8648
 
8689
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/message-read.js
8649
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/message-read.js
8690
8650
  var messageTranscript = strictObject({
8691
8651
  message_id: id,
8692
8652
  text,
@@ -8744,7 +8704,7 @@ var evidencePacket = strictObject({
8744
8704
  }))
8745
8705
  });
8746
8706
 
8747
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/message-context.js
8707
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/message-context.js
8748
8708
  var messageThread = strictObject({
8749
8709
  ref: reference,
8750
8710
  chat: id,
@@ -8761,7 +8721,7 @@ var messageThread = strictObject({
8761
8721
  });
8762
8722
  var messageContext = union([message, messageThread]);
8763
8723
 
8764
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
8724
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
8765
8725
  var messageCounts = strictObject({
8766
8726
  by: picklist(["chat", "sender", "day", "hour"]),
8767
8727
  total: count,
@@ -8774,7 +8734,7 @@ var messageCounts = strictObject({
8774
8734
  }))
8775
8735
  });
8776
8736
 
8777
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/message-link.js
8737
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/message-link.js
8778
8738
  var messageLink = strictObject({
8779
8739
  ref: reference,
8780
8740
  url: nullable(text),
@@ -8791,7 +8751,7 @@ var messageLink = strictObject({
8791
8751
  })))
8792
8752
  });
8793
8753
 
8794
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
8754
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
8795
8755
  var savedMessageFile = strictObject({
8796
8756
  kind: text,
8797
8757
  path: text,
@@ -8878,7 +8838,7 @@ var messageSyncAll = strictObject({
8878
8838
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
8879
8839
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
8880
8840
 
8881
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/message-write.js
8841
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/message-write.js
8882
8842
  var messageWrite = strictObject({
8883
8843
  operation_id: id,
8884
8844
  message,
@@ -8893,7 +8853,7 @@ var draftWrite = strictObject({
8893
8853
  });
8894
8854
  var messageSend = union([messageWrite, draftWrite]);
8895
8855
 
8896
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/model.js
8856
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/model.js
8897
8857
  var model2 = strictObject({
8898
8858
  id,
8899
8859
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -8901,16 +8861,34 @@ var model2 = strictObject({
8901
8861
  /** Which languages it reads, in words. */
8902
8862
  languages: text,
8903
8863
  licence: optional(text),
8864
+ /** A text model's licence terms to accept with `models download --accept-terms`. */
8865
+ terms: optional(text),
8866
+ /** A text model's size next to the others: small is fastest, large reads best. */
8867
+ size: optional(picklist(["small", "medium", "large"])),
8868
+ /** A text model's vector length. */
8869
+ dims: optional(count),
8870
+ /** About how many chunks a second a text model embeds here, when measured. */
8871
+ chunks_per_second: optional(number()),
8872
+ /** A text model the owner added with `models add`. */
8873
+ custom: optional(boolean()),
8904
8874
  /** What its files take on disk once downloaded. */
8905
8875
  size_bytes: count,
8906
8876
  downloaded: boolean(),
8907
- /** The one used when no model is named. */
8877
+ /** The one used when no model is named: for text, the one `models use` chose. */
8908
8878
  default: boolean(),
8909
8879
  /** The folder its files are in once downloaded, so an agent can place them by hand. */
8910
8880
  path: text
8911
8881
  });
8882
+ var chosenModel = strictObject({
8883
+ ...model2.entries,
8884
+ previous: id,
8885
+ /** Chunk texts the previous model has vectors for and this one has not; `null` when no store is there to count. */
8886
+ to_embed: nullable(count),
8887
+ /** Embedding time alone at the model's speed, done a part per sync; `null` when the speed or the count is unknown. */
8888
+ estimate_seconds: nullable(count)
8889
+ });
8912
8890
 
8913
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/model-key.js
8891
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/model-key.js
8914
8892
  var source = picklist(["environment", "keyring", "file"]);
8915
8893
  var modelKey = strictObject({
8916
8894
  provider: text,
@@ -8920,7 +8898,7 @@ var modelKey = strictObject({
8920
8898
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
8921
8899
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
8922
8900
 
8923
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
8901
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
8924
8902
  var versus = strictObject({ current: number(), previous: number() });
8925
8903
  var person = { person_ref: reference, name: nullable(text) };
8926
8904
  var graph = strictObject({
@@ -8954,14 +8932,14 @@ var officialStats = strictObject({
8954
8932
  graphs: record(string(), union([graph, strictObject({ error: text })]))
8955
8933
  });
8956
8934
 
8957
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/person.js
8935
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/person.js
8958
8936
  var person2 = strictObject({
8959
8937
  ref: reference,
8960
8938
  name: nullable(text),
8961
8939
  identities: optional(array(identity))
8962
8940
  });
8963
8941
 
8964
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/poll.js
8942
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/poll.js
8965
8943
  var poll = strictObject({
8966
8944
  chat_id: id,
8967
8945
  message_id: id,
@@ -8977,11 +8955,11 @@ var poll = strictObject({
8977
8955
  });
8978
8956
  var pollChange = strictObject({ operation_id: id, poll });
8979
8957
 
8980
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
8958
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
8981
8959
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
8982
8960
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
8983
8961
 
8984
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/ranking.js
8962
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/ranking.js
8985
8963
  var figures = record(string(), number());
8986
8964
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
8987
8965
  var rankingRow = strictObject({
@@ -9028,7 +9006,7 @@ var ranking = strictObject({
9028
9006
  rows: array(rankingRow)
9029
9007
  });
9030
9008
 
9031
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9009
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9032
9010
  var reaction = strictObject({
9033
9011
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
9034
9012
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -9036,7 +9014,7 @@ var reaction = strictObject({
9036
9014
  reacted_at: time
9037
9015
  });
9038
9016
 
9039
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9017
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9040
9018
  var reactionChange = strictObject({
9041
9019
  operation_id: id,
9042
9020
  chat_id: id,
@@ -9044,7 +9022,7 @@ var reactionChange = strictObject({
9044
9022
  reaction: nullable(text)
9045
9023
  });
9046
9024
 
9047
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9025
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9048
9026
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
9049
9027
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
9050
9028
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -9055,7 +9033,7 @@ var recipientChange = strictObject({
9055
9033
  ...partial(recipientOff).entries
9056
9034
  });
9057
9035
 
9058
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9036
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9059
9037
  var events = array(record(string(), unknown()));
9060
9038
  var recordedRun = strictObject({
9061
9039
  run_id: id,
@@ -9127,7 +9105,7 @@ var runHit = strictObject({
9127
9105
  });
9128
9106
  var runLocation = strictObject({ path: text });
9129
9107
 
9130
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9108
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9131
9109
  var relationship = strictObject({
9132
9110
  id,
9133
9111
  from: reference,
@@ -9141,10 +9119,16 @@ var relationship = strictObject({
9141
9119
  confirmed: boolean(),
9142
9120
  provenance: nullable(text),
9143
9121
  confidence_category: picklist(["owner-confirmed", "weak"]),
9122
+ /** `reported`: a CRM account says so and nobody confirmed it; `ended`: it no longer holds. */
9123
+ standing: picklist(STANDINGS),
9124
+ /** A job title beside it, never its role. */
9125
+ position: nullable(text),
9126
+ starts_at: nullable(time),
9127
+ ends_at: nullable(time),
9144
9128
  created_at: time
9145
9129
  });
9146
9130
 
9147
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9131
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9148
9132
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
9149
9133
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
9150
9134
  var responseTimes = strictObject({
@@ -9161,7 +9145,7 @@ var waitingChats = strictObject({
9161
9145
  by_kind: strictObject({ private: count, group: count })
9162
9146
  });
9163
9147
 
9164
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/retention.js
9148
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/retention.js
9165
9149
  var retentionCohort = strictObject({
9166
9150
  /** The first day of the joining day or week. */
9167
9151
  cohort: text,
@@ -9209,7 +9193,7 @@ var retention = strictObject({
9209
9193
  rows: array(retentionCohort)
9210
9194
  });
9211
9195
 
9212
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
9196
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
9213
9197
  var savedSearch = strictObject({
9214
9198
  id,
9215
9199
  /** `null` for a run in the history. */
@@ -9226,7 +9210,7 @@ var savedSearch = strictObject({
9226
9210
  });
9227
9211
  var searchHistoryClear = strictObject({ cleared: count });
9228
9212
 
9229
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
9213
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
9230
9214
  var sendAttempt = strictObject({
9231
9215
  at: time,
9232
9216
  profile: text,
@@ -9254,7 +9238,7 @@ var sendAttempt = strictObject({
9254
9238
  error_code: optional(text)
9255
9239
  });
9256
9240
 
9257
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
9241
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
9258
9242
  var absent = strictObject({ path: text, exists: literal(false) });
9259
9243
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
9260
9244
  var infoSchema = strictObject({
@@ -9475,7 +9459,7 @@ var storeRepair = union([
9475
9459
  ]);
9476
9460
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
9477
9461
 
9478
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/store-records.js
9462
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/store-records.js
9479
9463
  var range = strictObject({ from: number(), to: number() });
9480
9464
  var storeChatStatus = strictObject({
9481
9465
  chat_id: id,
@@ -9573,7 +9557,7 @@ var storeJobRetry = union([
9573
9557
  ]);
9574
9558
  var storeJobClear = strictObject({ cleared: array(id) });
9575
9559
 
9576
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/store-table.js
9560
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/store-table.js
9577
9561
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
9578
9562
  var storeTable = strictObject({
9579
9563
  name: text,
@@ -9582,7 +9566,7 @@ var storeTable = strictObject({
9582
9566
  bytes: optional(nullable(count))
9583
9567
  });
9584
9568
 
9585
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
9569
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
9586
9570
  var tagTarget = variant("type", [
9587
9571
  strictObject({ type: literal("chat"), chat_id: id }),
9588
9572
  strictObject({ type: literal("contact"), person_id: id }),
@@ -9613,7 +9597,7 @@ var automaticTags = strictObject({
9613
9597
  dry_run: boolean()
9614
9598
  });
9615
9599
 
9616
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
9600
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
9617
9601
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
9618
9602
  var taskPair = strictObject({
9619
9603
  task: nullable(side),
@@ -9636,7 +9620,7 @@ var taskPair = strictObject({
9636
9620
  created_at: time
9637
9621
  });
9638
9622
 
9639
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/task-results.js
9623
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/task-results.js
9640
9624
  var nullableTime = nullable(time);
9641
9625
  var link = strictObject({
9642
9626
  id,
@@ -9810,7 +9794,7 @@ var taskReview = strictObject({
9810
9794
  untrusted
9811
9795
  });
9812
9796
 
9813
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/topic.js
9797
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/topic.js
9814
9798
  var topic = strictObject({
9815
9799
  id,
9816
9800
  title: text,
@@ -9824,7 +9808,7 @@ var topic = strictObject({
9824
9808
  untrusted
9825
9809
  });
9826
9810
 
9827
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/entities/index.js
9811
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/entities/index.js
9828
9812
  var ENTITIES = {
9829
9813
  sync_progress: progress,
9830
9814
  deal,
@@ -9912,6 +9896,7 @@ var ENTITIES = {
9912
9896
  account_session: accountSession,
9913
9897
  account_change: accountChange,
9914
9898
  ended_account_sessions: endedAccountSessions,
9899
+ account_removal: accountRemoval,
9915
9900
  account_privacy: accountPrivacy,
9916
9901
  account_privacy_change: accountPrivacyChange,
9917
9902
  account_profile: accountProfile,
@@ -10066,6 +10051,7 @@ var ENTITIES = {
10066
10051
  chat_folder_order: chatFolderOrder,
10067
10052
  chat_rules: chatRules,
10068
10053
  chat_moderation: chatModeration,
10054
+ "model.chosen": chosenModel,
10069
10055
  model_key: modelKey,
10070
10056
  "model_key.stored": storedModelKey,
10071
10057
  "model_key.removed": removedModelKey,
@@ -10110,7 +10096,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
10110
10096
  return [name, definition];
10111
10097
  })), "entityDefinitions");
10112
10098
 
10113
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10099
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10114
10100
  var schemas = /* @__PURE__ */ new WeakMap();
10115
10101
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
10116
10102
  if (Object.hasOwn(ENTITIES, name))
@@ -10144,7 +10130,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
10144
10130
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
10145
10131
  }, "answerRow");
10146
10132
 
10147
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/steps.js
10133
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/steps.js
10148
10134
  var STEPS2 = defineSteps([
10149
10135
  ...STEPS,
10150
10136
  {
@@ -10358,6 +10344,12 @@ var STEPS2 = defineSteps([
10358
10344
  ],
10359
10345
  why: "once the tasks these {shown} messages hold are opened, updated or closed, so the next review starts after them"
10360
10346
  },
10347
+ {
10348
+ id: "store.recover",
10349
+ command: "store recover",
10350
+ args: [],
10351
+ why: "the store file is damaged; this says what is lost and the commands that recover it"
10352
+ },
10361
10353
  {
10362
10354
  id: "search.meetings",
10363
10355
  command: "*",
@@ -10396,7 +10388,7 @@ var failureSteps = /* @__PURE__ */ __name((root, error) => {
10396
10388
  nextStep(IMAGE_MODELS.some((one) => one.id === model3) ? "models.download-image" : "models.download", {
10397
10389
  args: { model: model3 }
10398
10390
  })
10399
- ] : [];
10391
+ ] : error.reason === "store.damaged" ? [nextStep("store.recover", {})] : [];
10400
10392
  return runnable(root, [...error.next ?? [], ...own]);
10401
10393
  }, "failureSteps");
10402
10394
  var withSafety = /* @__PURE__ */ __name((steps, targets) => steps.map((step2) => {
@@ -10425,7 +10417,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
10425
10417
  ].join(" ");
10426
10418
  }, "stepLine");
10427
10419
 
10428
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
10420
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
10429
10421
  var where = [{ field: "ref" }];
10430
10422
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
10431
10423
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -10517,7 +10509,7 @@ var STATUS_ROWS = {
10517
10509
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
10518
10510
  };
10519
10511
 
10520
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/compact.js
10512
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/compact.js
10521
10513
  var TEXT_CHARS = 400;
10522
10514
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
10523
10515
  var messageRow = {
@@ -10883,7 +10875,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
10883
10875
  return lines.concat(footerOf(body)).join("\n");
10884
10876
  }, "compactText");
10885
10877
 
10886
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
10878
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
10887
10879
  var SOFT_OUTPUT_BYTES = 256 * 1024;
10888
10880
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
10889
10881
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -10941,7 +10933,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
10941
10933
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
10942
10934
  }, "largeAnswerSteps");
10943
10935
 
10944
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
10936
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
10945
10937
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
10946
10938
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
10947
10939
  var strip = /* @__PURE__ */ __name((value) => {
@@ -10955,7 +10947,7 @@ var strip = /* @__PURE__ */ __name((value) => {
10955
10947
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
10956
10948
  }, "strip");
10957
10949
 
10958
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/envelope.js
10950
+ // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/cli/envelope.js
10959
10951
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
10960
10952
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
10961
10953
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -11150,8 +11142,6 @@ export {
11150
11142
  refuseCommandName,
11151
11143
  rootOf,
11152
11144
  sampleCommand,
11153
- endpoint,
11154
- modelTarget,
11155
11145
  AI_ENTRIES,
11156
11146
  resolveAISettings,
11157
11147
  botFiles,
@@ -11160,10 +11150,13 @@ export {
11160
11150
  REPAIR_WORDS,
11161
11151
  repairConfigText,
11162
11152
  permissionIssues,
11153
+ withoutPath,
11163
11154
  publicIssue,
11164
11155
  fixVerb,
11165
11156
  issueMessage,
11166
11157
  checkConfigText,
11158
+ readConfigFile,
11159
+ accountFileFor,
11167
11160
  rememberAccount,
11168
11161
  recalledAccount,
11169
11162
  withSettingDefaults,
@@ -11191,6 +11184,7 @@ export {
11191
11184
  changesAuthority,
11192
11185
  changesAuthorityAt,
11193
11186
  changesAuthorityNow,
11187
+ logsInOrOut,
11194
11188
  isLogin,
11195
11189
  destroysNothing,
11196
11190
  admittedUnderLock,