@wirecat/drive-cli 0.63.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 (145) hide show
  1. package/README.md +2 -1
  2. package/dist/bin/drive.js +2 -2
  3. package/dist/bundle/{all-profiles-GZJS3UKC.js → all-profiles-BPPT2AK5.js} +13 -13
  4. package/dist/bundle/{anthropic-RGV3WXX5.js → anthropic-JW6GOJUD.js} +13 -11
  5. package/dist/bundle/{app-server-AA2PJ7PV.js → app-server-KAQIOJMZ.js} +53 -53
  6. package/dist/bundle/{bun-OXZYIA3R.js → bun-UT7GNTPV.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-D45NSDM3.js → bun-sqlite-2OIVV3LS.js} +8 -8
  8. package/dist/bundle/{chunk-EOOGWUTP.js → chunk-2FEZ24DK.js} +10 -10
  9. package/dist/bundle/{chunk-TWUH22Z5.js → chunk-2W464HAE.js} +4 -4
  10. package/dist/bundle/{chunk-YIP7ELON.js → chunk-34BIDKF4.js} +275 -419
  11. package/dist/bundle/{chunk-2NIC72HH.js → chunk-36GPBPWM.js} +1 -1
  12. package/dist/bundle/{chunk-44SBK6KB.js → chunk-3J5KAFNA.js} +1601 -877
  13. package/dist/bundle/{chunk-ZM5J6ZMB.js → chunk-3NULZGQU.js} +2 -2
  14. package/dist/bundle/{chunk-DJHLVUL6.js → chunk-46CD64J2.js} +152 -36
  15. package/dist/bundle/{chunk-2TFXK3R4.js → chunk-4CNTID2X.js} +4 -4
  16. package/dist/bundle/{chunk-WYGWWHZP.js → chunk-4YRENUB5.js} +2 -2
  17. package/dist/bundle/{chunk-L37LMMRJ.js → chunk-5HSRQ53R.js} +2 -2
  18. package/dist/bundle/{chunk-XR6ESRU6.js → chunk-5OFA5EXE.js} +2 -2
  19. package/dist/bundle/{chunk-3QINVLZI.js → chunk-5ZBR55US.js} +1 -1
  20. package/dist/bundle/{chunk-LMAVCYLQ.js → chunk-66AF4FBW.js} +4 -4
  21. package/dist/bundle/{chunk-Y6GNA7HE.js → chunk-6B37XO6B.js} +23 -5
  22. package/dist/bundle/{chunk-ZMOUUOT2.js → chunk-6G53ZFUT.js} +1 -1
  23. package/dist/bundle/{chunk-2TDUGC5D.js → chunk-AHB4OJCI.js} +1885 -565
  24. package/dist/bundle/{chunk-E4SDKMBJ.js → chunk-B67BLRAI.js} +3 -3
  25. package/dist/bundle/{chunk-YGU6ULU5.js → chunk-B7XBIOMR.js} +12 -12
  26. package/dist/bundle/{chunk-FEZF3TII.js → chunk-BDYWZ7JE.js} +50 -6
  27. package/dist/bundle/{chunk-BKYMKVHT.js → chunk-BEUAICUD.js} +2 -2
  28. package/dist/bundle/{chunk-ABYGSJZ4.js → chunk-BEZJA44H.js} +7 -7
  29. package/dist/bundle/{chunk-TF23BZW5.js → chunk-BZ2ZKILM.js} +3 -3
  30. package/dist/bundle/{chunk-FUITWY7O.js → chunk-C7WBNOYW.js} +1 -1
  31. package/dist/bundle/{chunk-V3NVXIQR.js → chunk-CPMRM3GQ.js} +231 -191
  32. package/dist/bundle/{chunk-AEX37ETW.js → chunk-DD7EFG6B.js} +2 -2
  33. package/dist/bundle/{chunk-PDCCYHCH.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-4S4JMW6I.js → chunk-EQEGJVO2.js} +1 -1
  37. package/dist/bundle/{chunk-XNVFKMVR.js → chunk-EWGVDFPT.js} +957 -533
  38. package/dist/bundle/{chunk-CE2TJBLP.js → chunk-EZ6O3ST3.js} +3 -3
  39. package/dist/bundle/{chunk-FRIJUILO.js → chunk-F2VDAG32.js} +3 -3
  40. package/dist/bundle/{chunk-HZZCEQTH.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-4CIZWCXV.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-DJ3SDJZY.js → chunk-IX7NQJLY.js} +8 -8
  48. package/dist/bundle/{chunk-534OBX5Y.js → chunk-J62DI53V.js} +1 -1
  49. package/dist/bundle/{chunk-PO5RQQIG.js → chunk-JRXFW7HE.js} +5 -5
  50. package/dist/bundle/{chunk-XIUDS3OK.js → chunk-K6BSB53R.js} +1 -1
  51. package/dist/bundle/{chunk-ND6LLYGF.js → chunk-KE4XPPRQ.js} +27 -27
  52. package/dist/bundle/{chunk-UQLWMGSD.js → chunk-KG2XKEHL.js} +5 -5
  53. package/dist/bundle/{chunk-MOTRI3SY.js → chunk-KIN6PDFE.js} +24 -2
  54. package/dist/bundle/{chunk-VAUMOZU5.js → chunk-KVW4XNKB.js} +16 -16
  55. package/dist/bundle/{chunk-33MGFUED.js → chunk-LOMW6F2E.js} +194 -229
  56. package/dist/bundle/{chunk-5PPL7JDM.js → chunk-M73NNJ3X.js} +2 -2
  57. package/dist/bundle/{chunk-QCKZ3GAA.js → chunk-N622LRPM.js} +4 -4
  58. package/dist/bundle/{chunk-3BZRKLJ6.js → chunk-O2QO5UZC.js} +13 -13
  59. package/dist/bundle/{chunk-SXM6MHRR.js → chunk-OEVHZOHC.js} +12 -12
  60. package/dist/bundle/{chunk-6MQSQ4LX.js → chunk-OH3K2E7X.js} +402 -184
  61. package/dist/bundle/{chunk-J24ZFCWM.js → chunk-P7DEGRZA.js} +21 -21
  62. package/dist/bundle/{chunk-YUWPNG7B.js → chunk-PBMSBCVB.js} +1 -1
  63. package/dist/bundle/{chunk-S4RXABDR.js → chunk-QEAD2LF4.js} +3 -3
  64. package/dist/bundle/{chunk-OXY6SSZG.js → chunk-QXCKJUZY.js} +33 -18
  65. package/dist/bundle/{chunk-LZEOQW7S.js → chunk-SIOIMO62.js} +36 -36
  66. package/dist/bundle/{chunk-RKELRWH7.js → chunk-TNV2FXVK.js} +5 -5
  67. package/dist/bundle/{chunk-UPOSDTPT.js → chunk-UD55VB2N.js} +3 -3
  68. package/dist/bundle/{chunk-6KQJSFYF.js → chunk-UIEA6FIV.js} +22 -22
  69. package/dist/bundle/{chunk-XDC3TWTL.js → chunk-UJR272CP.js} +28 -28
  70. package/dist/bundle/{chunk-3HK5WMI5.js → chunk-USLZE36C.js} +6 -6
  71. package/dist/bundle/{chunk-ZOJU7ZFI.js → chunk-VIJ6ACYB.js} +8 -8
  72. package/dist/bundle/{chunk-VKPCONDQ.js → chunk-VPLFD5RJ.js} +4 -4
  73. package/dist/bundle/{chunk-VJEOGKAN.js → chunk-VT2UFYPJ.js} +7 -7
  74. package/dist/bundle/{chunk-Q5DJTRKV.js → chunk-WWCYTMAV.js} +2 -2
  75. package/dist/bundle/{chunk-7EMQ26BA.js → chunk-XPXKD63J.js} +13 -13
  76. package/dist/bundle/{chunk-J4DIHPZ6.js → chunk-ZF6GUZCE.js} +1 -1
  77. package/dist/bundle/{chunk-Z42YYLTS.js → chunk-ZRZ4HTCK.js} +52 -34
  78. package/dist/bundle/{chunk-NEFSGCVA.js → chunk-ZSZJLJIA.js} +10 -10
  79. package/dist/bundle/command-contract-H5OYJOPF.js +38 -0
  80. package/dist/bundle/{decode-G5YEIPNC.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-W2CWHNXR.js → echarts-KFHB6SLX.js} +2 -2
  84. package/dist/bundle/{embed-OBFFPVF4.js → embed-YATFB2PN.js} +9 -9
  85. package/dist/bundle/{embedder-NGCBQHIG.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-CIWUVJ5C.js → google-DVADVICN.js} +13 -13
  91. package/dist/bundle/{google-api-Z3NSTBBR.js → google-api-QMFGCXBM.js} +55 -56
  92. package/dist/bundle/grants-WKB2E4TA.js +103 -0
  93. package/dist/bundle/{identity-OM6GFZ7T.js → identity-FYVDK4M2.js} +6 -6
  94. package/dist/bundle/{instructions-YQBQSYSS.js → instructions-D3GF3B7M.js} +1 -1
  95. package/dist/bundle/{login-7RYSDVN3.js → login-COFZ2IWP.js} +61 -62
  96. package/dist/bundle/{mcp-GWDA3HOA.js → mcp-RKJG22KM.js} +2 -2
  97. package/dist/bundle/{node-IVU33RL7.js → node-OFICOKX3.js} +2 -2
  98. package/dist/bundle/{node-sqlite-SIH5BEW2.js → node-sqlite-DNBTDOXD.js} +9 -9
  99. package/dist/bundle/oauth-PDQHWFBF.js +22 -0
  100. package/dist/bundle/{open-IAO2SNII.js → open-PTPR2YWX.js} +8 -8
  101. package/dist/bundle/{openai-SGOUBHXP.js → openai-2KV5LUW4.js} +17 -17
  102. package/dist/bundle/{process-BPBMV3AT.js → process-EAW6NST2.js} +1 -1
  103. package/dist/bundle/{program-MYKKJ4F6.js → program-6UV5Q5YN.js} +306 -276
  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-A5C5RPB3.js → recognize-SJO6QUDW.js} +7 -7
  107. package/dist/bundle/{remote-VWYFLRGO.js → remote-6JXZITKF.js} +10 -10
  108. package/dist/bundle/{rerank-4NGQWREA.js → rerank-MD5VOPQ6.js} +10 -10
  109. package/dist/bundle/{serve-Y6LQTFH5.js → serve-LZTROA2M.js} +12 -12
  110. package/dist/bundle/server-GT7X666D.js +69 -0
  111. package/dist/bundle/{server-6AUHIIUA.js → server-NSA3UAFY.js} +43 -43
  112. package/dist/bundle/{services-2W4J7EMW.js → services-F5A6XQCV.js} +63 -33
  113. package/dist/bundle/{sqlite-runtime-P6BBDX2H.js → sqlite-runtime-7YF6REKS.js} +9 -9
  114. package/dist/bundle/{start-AFFA3LKM.js → start-MUFLE6FA.js} +30 -8
  115. package/dist/bundle/{state-PXKKXR3R.js → state-UC54F3YZ.js} +9 -9
  116. package/dist/bundle/{store-IVV2BAGZ.js → store-F5FJGWMR.js} +28 -20
  117. package/dist/bundle/{store-CN6JEUC4.js → store-J53YNAH6.js} +35 -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/profile-lock.d.ts +1 -0
  125. package/dist/profile-lock.d.ts.map +1 -1
  126. package/dist/profile-lock.js +1 -0
  127. package/dist/profile-lock.js.map +1 -1
  128. package/dist/program.d.ts.map +1 -1
  129. package/dist/program.js +2 -0
  130. package/dist/program.js.map +1 -1
  131. package/dist/version.d.ts +1 -1
  132. package/dist/version.js +1 -1
  133. package/package.json +3 -3
  134. package/dist/bundle/chunk-Z5KC7XBR.js +0 -33
  135. package/dist/bundle/command-contract-BRW3AP44.js +0 -38
  136. package/dist/bundle/entry-ET6HGM7A.js +0 -22
  137. package/dist/bundle/first-run-JG52UZVO.js +0 -30
  138. package/dist/bundle/first-screen-CIL3GFAA.js +0 -36
  139. package/dist/bundle/grants-3S4RL3WB.js +0 -104
  140. package/dist/bundle/oauth-PT4JEHLL.js +0 -22
  141. package/dist/bundle/prompt-3ZM64DCB.js +0 -17
  142. package/dist/bundle/server-PFHI35HA.js +0 -69
  143. package/dist/bundle/store-maintenance-command-MSY2QNEH.js +0 -59
  144. package/dist/bundle/tokens-P4LPNUFW.js +0 -102
  145. /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-VJEOGKAN.js";
12
+ } from "./chunk-VT2UFYPJ.js";
13
13
  import {
14
14
  permissionCeiling
15
- } from "./chunk-VKPCONDQ.js";
16
- import {
17
- envName,
18
- readOnlyLockOf,
19
- readOnlyRefusal
20
- } from "./chunk-ZM5J6ZMB.js";
15
+ } from "./chunk-VPLFD5RJ.js";
21
16
  import {
22
17
  carries
23
- } from "./chunk-534OBX5Y.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,11 +60,17 @@ import {
62
60
  typedCommand,
63
61
  useAsProcessRun,
64
62
  withWriteScope
65
- } from "./chunk-6MQSQ4LX.js";
63
+ } from "./chunk-OH3K2E7X.js";
64
+ import {
65
+ envName,
66
+ readOnlyLockOf,
67
+ readOnlyRefusal
68
+ } from "./chunk-3NULZGQU.js";
66
69
  import {
67
70
  note
68
- } from "./chunk-TF23BZW5.js";
71
+ } from "./chunk-BZ2ZKILM.js";
69
72
  import {
73
+ BUSINESS_KINDS,
70
74
  DEAL_ROLES,
71
75
  FACT_STATUSES,
72
76
  FACT_TYPES,
@@ -115,22 +119,22 @@ import {
115
119
  text,
116
120
  time,
117
121
  untrusted
118
- } from "./chunk-V3NVXIQR.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";
124
128
  import {
125
129
  isCliFailure,
126
130
  storeDamaged
127
- } from "./chunk-E4SDKMBJ.js";
131
+ } from "./chunk-B67BLRAI.js";
128
132
  import {
129
133
  sharedConfigPath
130
- } from "./chunk-ABYGSJZ4.js";
134
+ } from "./chunk-BEZJA44H.js";
131
135
  import {
132
136
  storePath
133
- } from "./chunk-AEX37ETW.js";
137
+ } from "./chunk-DD7EFG6B.js";
134
138
  import {
135
139
  configFilePath,
136
140
  createRecordLog,
@@ -141,19 +145,19 @@ import {
141
145
  resolvePaths,
142
146
  saveConfigFile,
143
147
  writeSecurely
144
- } from "./chunk-OD4U7GUY.js";
148
+ } from "./chunk-G4KEKKDE.js";
145
149
  import {
146
150
  EXIT_CODES,
147
151
  GENERIC_FAILURE,
148
152
  exitCodeOfAnswer
149
- } from "./chunk-UQLWMGSD.js";
153
+ } from "./chunk-KG2XKEHL.js";
150
154
  import {
151
155
  singleLine,
152
156
  visibleControls
153
- } from "./chunk-2HF2MRXI.js";
157
+ } from "./chunk-IDAK4DDK.js";
154
158
  import {
155
159
  defineLogEvents
156
- } from "./chunk-6EY46GAN.js";
160
+ } from "./chunk-HW4UPST2.js";
157
161
  import {
158
162
  COMPACT_FLAG,
159
163
  MAX_NEXT_STEPS,
@@ -163,7 +167,6 @@ import {
163
167
  check,
164
168
  defineSteps,
165
169
  effectsSchema,
166
- getDotPath,
167
170
  integer,
168
171
  isoDate,
169
172
  isoTime,
@@ -204,15 +207,15 @@ import {
204
207
  unwrap,
205
208
  variant,
206
209
  writes
207
- } from "./chunk-FEZF3TII.js";
210
+ } from "./chunk-BDYWZ7JE.js";
208
211
  import {
209
212
  CliError
210
- } from "./chunk-4OSSOWDM.js";
213
+ } from "./chunk-EJ4PNHPP.js";
211
214
  import {
212
215
  __name
213
216
  } from "./chunk-ZVVMGPBJ.js";
214
217
 
215
- // 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
216
219
  var labels = /* @__PURE__ */ new WeakMap();
217
220
  var annotate = /* @__PURE__ */ __name((command, meta) => {
218
221
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3713,7 +3716,7 @@ __name(useColor, "useColor");
3713
3716
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3714
3717
  var program = new Command();
3715
3718
 
3716
- // 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
3717
3720
  import { isDeepStrictEqual } from "node:util";
3718
3721
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3719
3722
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3915,7 +3918,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference2, reason, build,
3915
3918
  return command;
3916
3919
  }, "customizeSharedCommand");
3917
3920
 
3918
- // 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
3919
3922
  var argumentInfoSchema = object({
3920
3923
  name: string(),
3921
3924
  required: boolean(),
@@ -3998,7 +4001,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
3998
4001
  exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
3999
4002
  }), "commandsDocument");
4000
4003
 
4001
- // 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
4002
4005
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
4003
4006
  let command = root;
4004
4007
  const path2 = [];
@@ -4016,7 +4019,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
4016
4019
  }
4017
4020
  }, "refuseJoinedPath");
4018
4021
 
4019
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4020
4023
  var named = /* @__PURE__ */ __name((work) => {
4021
4024
  try {
4022
4025
  return work();
@@ -4043,7 +4046,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
4043
4046
  return projectFields(value, fields);
4044
4047
  }), "projectFields");
4045
4048
 
4046
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4047
4050
  var DEFAULT_COMMAND_MS = 3e4;
4048
4051
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
4049
4052
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4226,7 +4229,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4226
4229
  }
4227
4230
  }, "withAbort");
4228
4231
 
4229
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4230
4233
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
4231
4234
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
4232
4235
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -4295,7 +4298,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
4295
4298
  return void 0;
4296
4299
  }, "sampleCommand");
4297
4300
 
4298
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4299
4302
  import { existsSync, readdirSync, readFileSync } from "node:fs";
4300
4303
  import { join } from "node:path";
4301
4304
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4317,7 +4320,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4317
4320
  }, "profilesWithAccounts");
4318
4321
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4319
4322
 
4320
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4321
4324
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
4322
4325
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
4323
4326
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -4353,7 +4356,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
4353
4356
  return value;
4354
4357
  }, "atDetail");
4355
4358
 
4356
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4357
4360
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
4358
4361
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
4359
4362
  if (other)
@@ -4417,7 +4420,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
4417
4420
  }, "warn")
4418
4421
  }), "silence");
4419
4422
 
4420
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4421
4424
  var CORE_LOG_EVENTS = defineLogEvents([
4422
4425
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
4423
4426
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -4451,7 +4454,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
4451
4454
  cache: "cache.answered"
4452
4455
  };
4453
4456
 
4454
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4455
4458
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
4456
4459
  const recording = startRecording(options);
4457
4460
  try {
@@ -4643,7 +4646,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
4643
4646
  return void 0;
4644
4647
  }, "partialOutcome");
4645
4648
 
4646
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4647
4650
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4648
4651
  if (ms2 === void 0)
4649
4652
  return body();
@@ -4669,89 +4672,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4669
4672
  }
4670
4673
  }, "withDeadline");
4671
4674
 
4672
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4673
4676
  import { existsSync as existsSync4 } from "node:fs";
4674
4677
 
4675
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/models/endpoint.js
4676
- var endpoint = /* @__PURE__ */ __name((value) => {
4677
- try {
4678
- const url2 = new URL(value);
4679
- return ["https:", "http:"].includes(url2.protocol) && !url2.username && !url2.password && !url2.search && !url2.hash;
4680
- } catch {
4681
- return false;
4682
- }
4683
- }, "endpoint");
4684
-
4685
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/node_modules/@wirecat/cli-core/dist/models/settings.js
4686
- var MODEL_FIELDS = ["provider", "model", "base_url"];
4687
- var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
4688
- provider: optional(picklist(["off", "openai", "anthropic"])),
4689
- model: optional(pipe(string(), trim(), minLength(1), maxLength(200))),
4690
- base_url: optional(pipe(string(), check((value) => endpoint(value), "use an HTTP/S endpoint without credentials, query or fragment")))
4691
- }));
4692
- var resolveModelSettings = /* @__PURE__ */ __name((prefix, layers, env) => {
4693
- const configured = layers.map(([from, scope]) => [from, scope?.models ?? {}]);
4694
- const purposes = /* @__PURE__ */ new Set([
4695
- "default",
4696
- "analysis",
4697
- "replies",
4698
- ...configured.flatMap(([, models2]) => Object.keys(models2))
4699
- ]);
4700
- for (const name of Object.keys(env)) {
4701
- const match = new RegExp(`^${prefix}_MODELS_([A-Z][A-Z0-9_]*)_(PROVIDER|MODEL|BASE_URL)$`).exec(name);
4702
- if (match?.[1])
4703
- purposes.add(match[1].toLowerCase().replaceAll("_", "-"));
4704
- }
4705
- const models = {};
4706
- const sources = {};
4707
- for (const purpose of purposes) {
4708
- const resolved = {};
4709
- for (const field of MODEL_FIELDS) {
4710
- const variable = `${prefix}_MODELS_${purpose.replaceAll("-", "_").toUpperCase()}_${field.toUpperCase()}`;
4711
- const candidates = [
4712
- [variable, env[variable]?.trim() || void 0],
4713
- ...configured.map(([from, model3]) => [
4714
- `${from}: models.${purpose}.${field}`,
4715
- model3[purpose]?.[field]
4716
- ]),
4717
- ...purpose === "default" ? [] : [
4718
- [
4719
- `${prefix}_MODELS_DEFAULT_${field.toUpperCase()}`,
4720
- env[`${prefix}_MODELS_DEFAULT_${field.toUpperCase()}`]?.trim() || void 0
4721
- ],
4722
- ...configured.map(([from, model3]) => [
4723
- `${from}: models.default.${field}`,
4724
- model3.default?.[field]
4725
- ])
4726
- ]
4727
- ];
4728
- const selected = candidates.find(([, value]) => value !== void 0);
4729
- if (selected)
4730
- resolved[field] = selected[1];
4731
- sources[`models.${purpose}.${field}`] = selected?.[0] ?? "default";
4732
- }
4733
- if (Object.keys(resolved).length)
4734
- models[purpose] = resolved;
4735
- }
4736
- const checked = safeParse(modelSettingsShape, models);
4737
- if (!checked.success)
4738
- throw new CliError("configuration_error", `models.${getDotPath(checked.issues[0]) ?? "settings"} is invalid`);
4739
- return { models: checked.output, sources };
4740
- }, "resolveModelSettings");
4741
- var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
4742
- const configured = { ...settings.models?.default, ...settings.models?.[purpose] };
4743
- if (configured.provider === void 0 || configured.provider === "off")
4744
- return void 0;
4745
- if (!configured.model)
4746
- throw new CliError("configuration_error", `set models.${purpose}.model before calling its provider`);
4747
- return {
4748
- provider: configured.provider,
4749
- model: configured.model,
4750
- ...configured.base_url === void 0 ? {} : { baseUrl: configured.base_url }
4751
- };
4752
- }, "modelTarget");
4753
-
4754
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4755
4679
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
4756
4680
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
4757
4681
  var AI_FIELDS = {
@@ -4795,7 +4719,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
4795
4719
  };
4796
4720
  }, "resolveAISettings");
4797
4721
 
4798
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4799
4723
  import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
4800
4724
  import { join as join2 } from "node:path";
4801
4725
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -4884,10 +4808,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
4884
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));
4885
4809
  }, "registryProfiles");
4886
4810
 
4887
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4888
4812
  import { readFileSync as readFileSync3 } from "node:fs";
4889
4813
 
4890
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
4891
4815
  var REPAIR_WORDS = {
4892
4816
  byte_order_mark: "an invisible byte-order mark at the start",
4893
4817
  comment: "a comment, which JSON does not allow",
@@ -5128,7 +5052,7 @@ ${parts.join(",\n")}
5128
5052
  ${indent}${close}`;
5129
5053
  }, "serialise");
5130
5054
 
5131
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
5132
5056
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5133
5057
  var SECTIONS = ["personal", "bot"];
5134
5058
  var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
@@ -5422,7 +5346,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
5422
5346
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
5423
5347
  }, "readConfigFile");
5424
5348
 
5425
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
5426
5350
  import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
5427
5351
  import { dirname, join as join3 } from "node:path";
5428
5352
  var DEFAULT_CONFIG = {
@@ -5451,7 +5375,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
5451
5375
  }
5452
5376
  __name(ensureDefaultConfig, "ensureDefaultConfig");
5453
5377
 
5454
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
5455
5379
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5456
5380
  var parentOf = /* @__PURE__ */ __name((config, key) => {
5457
5381
  const path2 = key.split(".");
@@ -5484,7 +5408,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
5484
5408
  };
5485
5409
  }), "settingRows");
5486
5410
 
5487
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
5488
5412
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
5489
5413
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
5490
5414
  var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
@@ -5994,7 +5918,7 @@ var given = /* @__PURE__ */ __name((value) => {
5994
5918
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
5995
5919
  }, "given");
5996
5920
 
5997
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
5998
5922
  var setExitCode = /* @__PURE__ */ __name((command, code) => {
5999
5923
  const slot = environmentOf(command).exit;
6000
5924
  if (slot)
@@ -6116,7 +6040,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
6116
6040
  return words.join(" ");
6117
6041
  }, "commandPath");
6118
6042
 
6119
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6120
6044
  var REMOTE_READ = { remote: "read", local: "read" };
6121
6045
  var FETCH = { remote: "read", local: "write" };
6122
6046
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -6142,6 +6066,10 @@ var changesAuthorityNow = /* @__PURE__ */ __name((command) => {
6142
6066
  return unless === void 0 || command.opts()[unless] !== true;
6143
6067
  }, "changesAuthorityNow");
6144
6068
  var LOGIN = /* @__PURE__ */ new WeakSet();
6069
+ var logsInOrOut = /* @__PURE__ */ __name((command) => {
6070
+ LOGIN.add(command);
6071
+ return command;
6072
+ }, "logsInOrOut");
6145
6073
  var isLogin = /* @__PURE__ */ __name((command) => LOGIN.has(command), "isLogin");
6146
6074
  var KEPT_UNDER_LOCK = /* @__PURE__ */ new WeakSet();
6147
6075
  var destroysNothing = /* @__PURE__ */ __name((command) => {
@@ -6244,7 +6172,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6244
6172
  throw readOnlyRefusal(lock, what);
6245
6173
  }, "refuseUnderReadOnly");
6246
6174
 
6247
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6248
6176
  var account = strictObject({
6249
6177
  provider: text,
6250
6178
  id,
@@ -6254,7 +6182,7 @@ var account = strictObject({
6254
6182
  scope: optional(picklist(["personal", "work"]))
6255
6183
  });
6256
6184
 
6257
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6258
6186
  var accountSession = strictObject({
6259
6187
  current: boolean(),
6260
6188
  client: nullable(text),
@@ -6264,7 +6192,7 @@ var accountSession = strictObject({
6264
6192
  created_at: optional(nullable(time))
6265
6193
  });
6266
6194
 
6267
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6268
6196
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
6269
6197
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
6270
6198
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -6281,8 +6209,19 @@ var accountPrivacy = strictObject({
6281
6209
  last_seen: optional(shownAudience)
6282
6210
  });
6283
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
+ });
6284
6223
 
6285
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6286
6225
  var accountProfile = strictObject({
6287
6226
  profile: id,
6288
6227
  current: boolean(),
@@ -6294,7 +6233,7 @@ var accountProfile = strictObject({
6294
6233
  bot: optional(literal(true))
6295
6234
  });
6296
6235
 
6297
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6298
6237
  var milliseconds = pipe(number(), minValue(0));
6299
6238
  var counterReading = strictObject({
6300
6239
  counter: picklist(["views", "reactions", "comments"]),
@@ -6306,7 +6245,7 @@ var counterReading = strictObject({
6306
6245
  });
6307
6246
  var selection = record(string(), unknown());
6308
6247
 
6309
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6310
6249
  var adminRow = strictObject({
6311
6250
  ref: reference,
6312
6251
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -6359,11 +6298,11 @@ var adminReport = strictObject({
6359
6298
  rows: array(adminRow)
6360
6299
  });
6361
6300
 
6362
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6363
6302
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
6364
6303
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
6365
6304
 
6366
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6367
6306
  var actionableError = objectWithRest({
6368
6307
  code: text,
6369
6308
  message: text,
@@ -6380,7 +6319,7 @@ var batchResult = strictObject({
6380
6319
  max_error_percent: count
6381
6320
  });
6382
6321
 
6383
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6384
6323
  var extractionItem = strictObject({
6385
6324
  ref: reference,
6386
6325
  attachment: count,
@@ -6413,7 +6352,7 @@ var extractionReport = strictObject({
6413
6352
  cursor: optional(text)
6414
6353
  });
6415
6354
 
6416
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6417
6356
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
6418
6357
  var attachmentBytes = strictObject({
6419
6358
  ref: reference,
@@ -6441,7 +6380,7 @@ var attachmentTextChange = strictObject({
6441
6380
  replaced: nullable(picklist(["extracted", "agent"]))
6442
6381
  });
6443
6382
 
6444
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6445
6384
  var chart = strictObject({
6446
6385
  version: literal(1),
6447
6386
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -6456,7 +6395,7 @@ var chart = strictObject({
6456
6395
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
6457
6396
  });
6458
6397
 
6459
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6460
6399
  var member = strictObject({
6461
6400
  id,
6462
6401
  name: nullable(text),
@@ -6479,7 +6418,7 @@ var member = strictObject({
6479
6418
  check: optional(record(string(), unknown()))
6480
6419
  });
6481
6420
 
6482
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6483
6422
  var setting = optional(nullable(boolean()));
6484
6423
  var chat = strictObject({
6485
6424
  ref: reference,
@@ -6520,7 +6459,7 @@ var chat = strictObject({
6520
6459
  members: optional(array(member))
6521
6460
  });
6522
6461
 
6523
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6524
6463
  var named2 = strictObject({
6525
6464
  id,
6526
6465
  title: nullable(text),
@@ -6543,7 +6482,7 @@ var folder = strictObject({
6543
6482
  excluded_chats: optional(array(named2))
6544
6483
  });
6545
6484
 
6546
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6547
6486
  var inviteLink = strictObject({
6548
6487
  link: text,
6549
6488
  /** Who joins by it asks first, and an admin lets them in. */
@@ -6559,7 +6498,7 @@ var inviteLink = strictObject({
6559
6498
  joined_count: optional(count)
6560
6499
  });
6561
6500
 
6562
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6563
6502
  var operated = { operation_id: id, chat_id: id };
6564
6503
  var group = strictObject({
6565
6504
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -6639,7 +6578,7 @@ var chatFolderOrder = strictObject({
6639
6578
  folders: array(strictObject({ id, title: text }))
6640
6579
  });
6641
6580
 
6642
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6643
6582
  var operated2 = { operation_id: id, chat_id: id };
6644
6583
  var chatRemoval = strictObject(operated2);
6645
6584
  var chatMuting = strictObject({
@@ -6650,7 +6589,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
6650
6589
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
6651
6590
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
6652
6591
 
6653
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6654
6593
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
6655
6594
  var chatEvent = strictObject({
6656
6595
  chat_id: id,
@@ -6667,7 +6606,7 @@ var chatEvent = strictObject({
6667
6606
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
6668
6607
  });
6669
6608
 
6670
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6671
6610
  var chatMetadata = strictObject({
6672
6611
  chat_id: id,
6673
6612
  title: nullable(text),
@@ -6682,7 +6621,7 @@ var chatMetadataRefresh = strictObject({
6682
6621
  has_more: boolean()
6683
6622
  });
6684
6623
 
6685
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6686
6625
  var action = picklist(["report", "delete", "remove"]);
6687
6626
  var level = picklist(["deny", "readonly", "ask", "allow"]);
6688
6627
  var chatRules = strictObject({
@@ -6719,7 +6658,7 @@ var chatModeration = strictObject({
6719
6658
  }))
6720
6659
  });
6721
6660
 
6722
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6723
6662
  var optionalCount = optional(count);
6724
6663
  var minutes = nullable(number());
6725
6664
  var chatStats = strictObject({
@@ -6793,7 +6732,7 @@ var taskStats = strictObject({
6793
6732
  }))
6794
6733
  });
6795
6734
 
6796
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6797
6736
  var memberCount = strictObject({
6798
6737
  day: pipe(text, isoDate()),
6799
6738
  participants: nullable(count),
@@ -6816,7 +6755,7 @@ var chatTracking = strictObject({
6816
6755
  tracked: boolean()
6817
6756
  });
6818
6757
 
6819
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6820
6759
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
6821
6760
  var contactSync = strictObject({ added: count, changed: count, known: count });
6822
6761
  var profileFields = {
@@ -6854,7 +6793,7 @@ var profileFields = {
6854
6793
  }))
6855
6794
  };
6856
6795
 
6857
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6858
6797
  var contact = strictObject({
6859
6798
  ref: reference,
6860
6799
  id,
@@ -6885,7 +6824,7 @@ var contact = strictObject({
6885
6824
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
6886
6825
  });
6887
6826
 
6888
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6889
6828
  var linkedIdentity = strictObject({
6890
6829
  provider: text,
6891
6830
  id,
@@ -6927,7 +6866,7 @@ var contactCheck = strictObject({
6927
6866
  checked_at: time
6928
6867
  });
6929
6868
 
6930
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
6931
6870
  var quoted = strictObject({
6932
6871
  id,
6933
6872
  sender_id: nullable(id),
@@ -7046,7 +6985,7 @@ var message = strictObject({
7046
6985
  provider_metadata: providerMetadata
7047
6986
  });
7048
6987
 
7049
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7050
6989
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
7051
6990
  var contextMessage = strictObject({
7052
6991
  locator: reference,
@@ -7246,7 +7185,7 @@ var contactPreparation = strictObject({
7246
7185
  })
7247
7186
  });
7248
7187
 
7249
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7250
7189
  var contactNote = strictObject({
7251
7190
  id,
7252
7191
  /** The contact, as a `contact:` reference. */
@@ -7258,13 +7197,13 @@ var contactNote = strictObject({
7258
7197
  updated_at: time
7259
7198
  });
7260
7199
 
7261
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7262
7201
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
7263
7202
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
7264
7203
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
7265
7204
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
7266
7205
 
7267
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7268
7207
  var conversationBuild = strictObject({
7269
7208
  chat: id,
7270
7209
  messages: count,
@@ -7289,7 +7228,7 @@ var catchUpPreparation = strictObject({
7289
7228
  prepared: optional(conversationPreparation)
7290
7229
  });
7291
7230
 
7292
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7293
7232
  var conversationDetails = union([
7294
7233
  strictObject({ ...conversation.entries, messages: array(message) }),
7295
7234
  message
@@ -7379,7 +7318,7 @@ var conversationHit = strictObject({
7379
7318
  stale: boolean()
7380
7319
  });
7381
7320
 
7382
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7383
7322
  var counters = strictObject({
7384
7323
  cutoff: time,
7385
7324
  max_age_ms: milliseconds,
@@ -7409,7 +7348,7 @@ var counterRefresh = strictObject({
7409
7348
  complete: optional(boolean())
7410
7349
  });
7411
7350
 
7412
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7413
7352
  var nullableText = nullable(text);
7414
7353
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
7415
7354
  var outcome = picklist(["open", "won", "lost"]);
@@ -7499,7 +7438,7 @@ var stage = strictObject({
7499
7438
  untrusted
7500
7439
  });
7501
7440
 
7502
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7503
7442
  var document = strictObject({
7504
7443
  ref: reference,
7505
7444
  id,
@@ -7514,7 +7453,7 @@ var document = strictObject({
7514
7453
  owners: optional(array(text))
7515
7454
  });
7516
7455
 
7517
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7518
7457
  var documentLink = strictObject({
7519
7458
  ref: reference,
7520
7459
  url: text,
@@ -7525,7 +7464,7 @@ var documentLink = strictObject({
7525
7464
  sender: strictObject({ id: nullable(id), name: nullable(text) })
7526
7465
  });
7527
7466
 
7528
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7529
7468
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
7530
7469
  var contribution = strictObject({
7531
7470
  message: evidenceMessage,
@@ -7555,7 +7494,7 @@ var retentionStay = strictObject({
7555
7494
  });
7556
7495
  var evidence = union([contribution, retentionStay]);
7557
7496
 
7558
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7559
7498
  var fact = strictObject({
7560
7499
  ref: reference,
7561
7500
  id,
@@ -7585,9 +7524,9 @@ var fact = strictObject({
7585
7524
  updated_at: time
7586
7525
  });
7587
7526
 
7588
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7589
7528
  var hit = strictObject({
7590
- kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
7529
+ kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
7591
7530
  ref: reference,
7592
7531
  provider: text,
7593
7532
  url: optional(text),
@@ -7617,13 +7556,17 @@ var hit = strictObject({
7617
7556
  lines_total: optional(count),
7618
7557
  /** A meeting passage's stored line, so two passages of one meeting stay apart; `search meetings` gives the same. */
7619
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 })),
7620
7563
  /** A message's files; absent when it has none. */
7621
7564
  attachments: optional(array(hitFile)),
7622
7565
  /** Absent on a note hit: the owner wrote it. */
7623
7566
  untrusted
7624
7567
  });
7625
7568
 
7626
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7627
7570
  var identity = strictObject({
7628
7571
  ref: reference,
7629
7572
  provider: text,
@@ -7636,7 +7579,7 @@ var identity = strictObject({
7636
7579
  person: optional(nullable(reference))
7637
7580
  });
7638
7581
 
7639
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7640
7583
  var imageEmbedding = strictObject({
7641
7584
  model: text,
7642
7585
  embedded: count,
@@ -7645,13 +7588,13 @@ var imageEmbedding = strictObject({
7645
7588
  more: boolean()
7646
7589
  });
7647
7590
 
7648
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7649
7592
  import { spawn } from "node:child_process";
7650
7593
  import { randomBytes } from "node:crypto";
7651
7594
  import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync2 } from "node:fs";
7652
7595
  import { dirname as dirname2, join as join4 } from "node:path";
7653
7596
 
7654
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7655
7598
  var progressOf = /* @__PURE__ */ __name((input) => {
7656
7599
  const total = input.total ?? null;
7657
7600
  const updated = input.updatedAt ?? null;
@@ -7667,7 +7610,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
7667
7610
  };
7668
7611
  }, "progressOf");
7669
7612
 
7670
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7671
7614
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
7672
7615
  const run = currentRun();
7673
7616
  const trace = traceId ?? run.traceId;
@@ -7681,7 +7624,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
7681
7624
  }));
7682
7625
  }, "recordLogFor");
7683
7626
 
7684
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7685
7628
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
7686
7629
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
7687
7630
  const out = openSync(log, "a", 384);
@@ -7836,7 +7779,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
7836
7779
  return { job: id6, pid, chat: input.chat, log };
7837
7780
  }, "startArchiveJob");
7838
7781
 
7839
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7840
7783
  var problem = strictObject({ code: text, message: text });
7841
7784
  var job = strictObject({
7842
7785
  id,
@@ -7859,7 +7802,7 @@ var job = strictObject({
7859
7802
  error: optional(problem)
7860
7803
  });
7861
7804
 
7862
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7863
7806
  var joinRequest = strictObject({
7864
7807
  person_id: id,
7865
7808
  name: nullable(text),
@@ -7870,7 +7813,7 @@ var joinRequest = strictObject({
7870
7813
  about: optional(text)
7871
7814
  });
7872
7815
 
7873
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7874
7817
  var botProfile = strictObject({
7875
7818
  name: text,
7876
7819
  token: text,
@@ -7963,7 +7906,7 @@ var stickerInventory = strictObject({
7963
7906
  url: optional(nullable(text))
7964
7907
  });
7965
7908
 
7966
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7967
7910
  var pollVote = strictObject({
7968
7911
  person_id: id,
7969
7912
  name: nullable(text),
@@ -7973,7 +7916,7 @@ var pollVote = strictObject({
7973
7916
  voted_at: time
7974
7917
  });
7975
7918
 
7976
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
7977
7920
  var reactions = unwrap(unwrap(message.entries.reactions));
7978
7921
  var observation = strictObject({
7979
7922
  value: pipe(number(), minValue(0)),
@@ -8015,7 +7958,7 @@ var serveSummary = strictObject({
8015
7958
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
8016
7959
  });
8017
7960
 
8018
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8019
7962
  var mailCounts = strictObject({
8020
7963
  by: picklist(["day", "week", "sender"]),
8021
7964
  received: count,
@@ -8030,7 +7973,7 @@ var mailCounts = strictObject({
8030
7973
  }))
8031
7974
  });
8032
7975
 
8033
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8034
7977
  var evidence2 = strictObject({ reference, fingerprint: text });
8035
7978
  var base = { id, evidence: array(evidence2) };
8036
7979
  var finding = variant("kind", [
@@ -8174,7 +8117,7 @@ var mailFindings = strictObject({
8174
8117
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
8175
8118
  });
8176
8119
 
8177
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8178
8121
  var mediaArchive = strictObject({
8179
8122
  directory: text,
8180
8123
  chats: count,
@@ -8206,7 +8149,7 @@ var mediaArchiveTimer = union([
8206
8149
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
8207
8150
  ]);
8208
8151
 
8209
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8210
8153
  var preparationId = pipe(string(), minLength(1));
8211
8154
  var preparationCount = pipe(number(), integer(), minValue(0));
8212
8155
  var preparationTime = nullable(isoTime);
@@ -8298,7 +8241,7 @@ var preparationMeeting = strictObject({
8298
8241
  updated_at: isoTime
8299
8242
  });
8300
8243
 
8301
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8302
8245
  var meetingEvidence = preparationEvidence;
8303
8246
  var meetingPersonContext = strictObject({
8304
8247
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -8320,7 +8263,7 @@ var meetingPersonContext = strictObject({
8320
8263
  })
8321
8264
  });
8322
8265
 
8323
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8324
8267
  var evidence3 = strictObject({ reference, fingerprint: text });
8325
8268
  var base2 = { id, project: reference, evidence: array(evidence3) };
8326
8269
  var finding2 = variant("kind", [
@@ -8358,7 +8301,7 @@ var meetingFindings = strictObject({
8358
8301
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
8359
8302
  });
8360
8303
 
8361
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8362
8305
  var communicationCoverage = strictObject({
8363
8306
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
8364
8307
  query: string(),
@@ -8403,7 +8346,7 @@ var preparationCommunications = strictObject({
8403
8346
  }))
8404
8347
  });
8405
8348
 
8406
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8407
8350
  var meetingPreparation = strictObject({
8408
8351
  communications: optional(preparationCommunications),
8409
8352
  schema_version: literal(1),
@@ -8516,7 +8459,7 @@ var meetingPreparation = strictObject({
8516
8459
  })
8517
8460
  });
8518
8461
 
8519
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8520
8463
  var count4 = pipe(number(), integer(), minValue(0));
8521
8464
  var id3 = pipe(string(), minLength(1));
8522
8465
  var text3 = string();
@@ -8580,7 +8523,7 @@ var meetingProjectCandidates = strictObject({
8580
8523
  })
8581
8524
  });
8582
8525
 
8583
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8584
8527
  var count5 = pipe(number(), integer(), minValue(0));
8585
8528
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
8586
8529
  var meetingSeriesInventory = strictObject({
@@ -8610,7 +8553,7 @@ var meetingSeriesInventory = strictObject({
8610
8553
  })
8611
8554
  });
8612
8555
 
8613
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8614
8557
  var text4 = string();
8615
8558
  var id5 = pipe(number(), integer(), minValue(1));
8616
8559
  var revision = picklist(["current", "superseded"]);
@@ -8627,7 +8570,7 @@ var meetingTaskProposal = strictObject({
8627
8570
  persistence: literal("proposal-only")
8628
8571
  });
8629
8572
 
8630
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8631
8574
  var memory = strictObject({
8632
8575
  ref: reference,
8633
8576
  id,
@@ -8654,7 +8597,7 @@ var memory = strictObject({
8654
8597
  updated_at: time
8655
8598
  });
8656
8599
 
8657
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8658
8601
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
8659
8602
  var status = picklist(["found", "linked", "dismissed"]);
8660
8603
  var mention = strictObject({
@@ -8697,13 +8640,13 @@ var mentionRebuild = strictObject({
8697
8640
  mentions: count
8698
8641
  });
8699
8642
 
8700
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8701
8644
  var operated3 = { operation_id: id, chat_id: id };
8702
8645
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
8703
8646
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
8704
8647
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
8705
8648
 
8706
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8707
8650
  var messageTranscript = strictObject({
8708
8651
  message_id: id,
8709
8652
  text,
@@ -8761,7 +8704,7 @@ var evidencePacket = strictObject({
8761
8704
  }))
8762
8705
  });
8763
8706
 
8764
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8765
8708
  var messageThread = strictObject({
8766
8709
  ref: reference,
8767
8710
  chat: id,
@@ -8778,7 +8721,7 @@ var messageThread = strictObject({
8778
8721
  });
8779
8722
  var messageContext = union([message, messageThread]);
8780
8723
 
8781
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8782
8725
  var messageCounts = strictObject({
8783
8726
  by: picklist(["chat", "sender", "day", "hour"]),
8784
8727
  total: count,
@@ -8791,7 +8734,7 @@ var messageCounts = strictObject({
8791
8734
  }))
8792
8735
  });
8793
8736
 
8794
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8795
8738
  var messageLink = strictObject({
8796
8739
  ref: reference,
8797
8740
  url: nullable(text),
@@ -8808,7 +8751,7 @@ var messageLink = strictObject({
8808
8751
  })))
8809
8752
  });
8810
8753
 
8811
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8812
8755
  var savedMessageFile = strictObject({
8813
8756
  kind: text,
8814
8757
  path: text,
@@ -8895,7 +8838,7 @@ var messageSyncAll = strictObject({
8895
8838
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
8896
8839
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
8897
8840
 
8898
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8899
8842
  var messageWrite = strictObject({
8900
8843
  operation_id: id,
8901
8844
  message,
@@ -8910,7 +8853,7 @@ var draftWrite = strictObject({
8910
8853
  });
8911
8854
  var messageSend = union([messageWrite, draftWrite]);
8912
8855
 
8913
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8914
8857
  var model2 = strictObject({
8915
8858
  id,
8916
8859
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -8918,16 +8861,34 @@ var model2 = strictObject({
8918
8861
  /** Which languages it reads, in words. */
8919
8862
  languages: text,
8920
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()),
8921
8874
  /** What its files take on disk once downloaded. */
8922
8875
  size_bytes: count,
8923
8876
  downloaded: boolean(),
8924
- /** The one used when no model is named. */
8877
+ /** The one used when no model is named: for text, the one `models use` chose. */
8925
8878
  default: boolean(),
8926
8879
  /** The folder its files are in once downloaded, so an agent can place them by hand. */
8927
8880
  path: text
8928
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
+ });
8929
8890
 
8930
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8931
8892
  var source = picklist(["environment", "keyring", "file"]);
8932
8893
  var modelKey = strictObject({
8933
8894
  provider: text,
@@ -8937,7 +8898,7 @@ var modelKey = strictObject({
8937
8898
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
8938
8899
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
8939
8900
 
8940
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8941
8902
  var versus = strictObject({ current: number(), previous: number() });
8942
8903
  var person = { person_ref: reference, name: nullable(text) };
8943
8904
  var graph = strictObject({
@@ -8971,14 +8932,14 @@ var officialStats = strictObject({
8971
8932
  graphs: record(string(), union([graph, strictObject({ error: text })]))
8972
8933
  });
8973
8934
 
8974
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8975
8936
  var person2 = strictObject({
8976
8937
  ref: reference,
8977
8938
  name: nullable(text),
8978
8939
  identities: optional(array(identity))
8979
8940
  });
8980
8941
 
8981
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8982
8943
  var poll = strictObject({
8983
8944
  chat_id: id,
8984
8945
  message_id: id,
@@ -8994,11 +8955,11 @@ var poll = strictObject({
8994
8955
  });
8995
8956
  var pollChange = strictObject({ operation_id: id, poll });
8996
8957
 
8997
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
8998
8959
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
8999
8960
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
9000
8961
 
9001
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9002
8963
  var figures = record(string(), number());
9003
8964
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
9004
8965
  var rankingRow = strictObject({
@@ -9045,7 +9006,7 @@ var ranking = strictObject({
9045
9006
  rows: array(rankingRow)
9046
9007
  });
9047
9008
 
9048
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9049
9010
  var reaction = strictObject({
9050
9011
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
9051
9012
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -9053,7 +9014,7 @@ var reaction = strictObject({
9053
9014
  reacted_at: time
9054
9015
  });
9055
9016
 
9056
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9057
9018
  var reactionChange = strictObject({
9058
9019
  operation_id: id,
9059
9020
  chat_id: id,
@@ -9061,7 +9022,7 @@ var reactionChange = strictObject({
9061
9022
  reaction: nullable(text)
9062
9023
  });
9063
9024
 
9064
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9065
9026
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
9066
9027
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
9067
9028
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -9072,7 +9033,7 @@ var recipientChange = strictObject({
9072
9033
  ...partial(recipientOff).entries
9073
9034
  });
9074
9035
 
9075
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9076
9037
  var events = array(record(string(), unknown()));
9077
9038
  var recordedRun = strictObject({
9078
9039
  run_id: id,
@@ -9144,7 +9105,7 @@ var runHit = strictObject({
9144
9105
  });
9145
9106
  var runLocation = strictObject({ path: text });
9146
9107
 
9147
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9148
9109
  var relationship = strictObject({
9149
9110
  id,
9150
9111
  from: reference,
@@ -9167,7 +9128,7 @@ var relationship = strictObject({
9167
9128
  created_at: time
9168
9129
  });
9169
9130
 
9170
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9171
9132
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
9172
9133
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
9173
9134
  var responseTimes = strictObject({
@@ -9184,7 +9145,7 @@ var waitingChats = strictObject({
9184
9145
  by_kind: strictObject({ private: count, group: count })
9185
9146
  });
9186
9147
 
9187
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9188
9149
  var retentionCohort = strictObject({
9189
9150
  /** The first day of the joining day or week. */
9190
9151
  cohort: text,
@@ -9232,7 +9193,7 @@ var retention = strictObject({
9232
9193
  rows: array(retentionCohort)
9233
9194
  });
9234
9195
 
9235
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9236
9197
  var savedSearch = strictObject({
9237
9198
  id,
9238
9199
  /** `null` for a run in the history. */
@@ -9249,7 +9210,7 @@ var savedSearch = strictObject({
9249
9210
  });
9250
9211
  var searchHistoryClear = strictObject({ cleared: count });
9251
9212
 
9252
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9253
9214
  var sendAttempt = strictObject({
9254
9215
  at: time,
9255
9216
  profile: text,
@@ -9277,7 +9238,7 @@ var sendAttempt = strictObject({
9277
9238
  error_code: optional(text)
9278
9239
  });
9279
9240
 
9280
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9281
9242
  var absent = strictObject({ path: text, exists: literal(false) });
9282
9243
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
9283
9244
  var infoSchema = strictObject({
@@ -9498,7 +9459,7 @@ var storeRepair = union([
9498
9459
  ]);
9499
9460
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
9500
9461
 
9501
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9502
9463
  var range = strictObject({ from: number(), to: number() });
9503
9464
  var storeChatStatus = strictObject({
9504
9465
  chat_id: id,
@@ -9596,7 +9557,7 @@ var storeJobRetry = union([
9596
9557
  ]);
9597
9558
  var storeJobClear = strictObject({ cleared: array(id) });
9598
9559
 
9599
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9600
9561
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
9601
9562
  var storeTable = strictObject({
9602
9563
  name: text,
@@ -9605,7 +9566,7 @@ var storeTable = strictObject({
9605
9566
  bytes: optional(nullable(count))
9606
9567
  });
9607
9568
 
9608
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9609
9570
  var tagTarget = variant("type", [
9610
9571
  strictObject({ type: literal("chat"), chat_id: id }),
9611
9572
  strictObject({ type: literal("contact"), person_id: id }),
@@ -9636,7 +9597,7 @@ var automaticTags = strictObject({
9636
9597
  dry_run: boolean()
9637
9598
  });
9638
9599
 
9639
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9640
9601
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
9641
9602
  var taskPair = strictObject({
9642
9603
  task: nullable(side),
@@ -9659,7 +9620,7 @@ var taskPair = strictObject({
9659
9620
  created_at: time
9660
9621
  });
9661
9622
 
9662
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9663
9624
  var nullableTime = nullable(time);
9664
9625
  var link = strictObject({
9665
9626
  id,
@@ -9833,7 +9794,7 @@ var taskReview = strictObject({
9833
9794
  untrusted
9834
9795
  });
9835
9796
 
9836
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9837
9798
  var topic = strictObject({
9838
9799
  id,
9839
9800
  title: text,
@@ -9847,7 +9808,7 @@ var topic = strictObject({
9847
9808
  untrusted
9848
9809
  });
9849
9810
 
9850
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
9851
9812
  var ENTITIES = {
9852
9813
  sync_progress: progress,
9853
9814
  deal,
@@ -9935,6 +9896,7 @@ var ENTITIES = {
9935
9896
  account_session: accountSession,
9936
9897
  account_change: accountChange,
9937
9898
  ended_account_sessions: endedAccountSessions,
9899
+ account_removal: accountRemoval,
9938
9900
  account_privacy: accountPrivacy,
9939
9901
  account_privacy_change: accountPrivacyChange,
9940
9902
  account_profile: accountProfile,
@@ -10089,6 +10051,7 @@ var ENTITIES = {
10089
10051
  chat_folder_order: chatFolderOrder,
10090
10052
  chat_rules: chatRules,
10091
10053
  chat_moderation: chatModeration,
10054
+ "model.chosen": chosenModel,
10092
10055
  model_key: modelKey,
10093
10056
  "model_key.stored": storedModelKey,
10094
10057
  "model_key.removed": removedModelKey,
@@ -10133,7 +10096,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
10133
10096
  return [name, definition];
10134
10097
  })), "entityDefinitions");
10135
10098
 
10136
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
10137
10100
  var schemas = /* @__PURE__ */ new WeakMap();
10138
10101
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
10139
10102
  if (Object.hasOwn(ENTITIES, name))
@@ -10167,7 +10130,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
10167
10130
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
10168
10131
  }, "answerRow");
10169
10132
 
10170
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
10171
10134
  var STEPS2 = defineSteps([
10172
10135
  ...STEPS,
10173
10136
  {
@@ -10454,7 +10417,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
10454
10417
  ].join(" ");
10455
10418
  }, "stepLine");
10456
10419
 
10457
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
10458
10421
  var where = [{ field: "ref" }];
10459
10422
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
10460
10423
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -10546,7 +10509,7 @@ var STATUS_ROWS = {
10546
10509
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
10547
10510
  };
10548
10511
 
10549
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
10550
10513
  var TEXT_CHARS = 400;
10551
10514
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
10552
10515
  var messageRow = {
@@ -10912,7 +10875,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
10912
10875
  return lines.concat(footerOf(body)).join("\n");
10913
10876
  }, "compactText");
10914
10877
 
10915
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
10916
10879
  var SOFT_OUTPUT_BYTES = 256 * 1024;
10917
10880
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
10918
10881
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -10970,7 +10933,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
10970
10933
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
10971
10934
  }, "largeAnswerSteps");
10972
10935
 
10973
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
10974
10937
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
10975
10938
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
10976
10939
  var strip = /* @__PURE__ */ __name((value) => {
@@ -10984,7 +10947,7 @@ var strip = /* @__PURE__ */ __name((value) => {
10984
10947
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
10985
10948
  }, "strip");
10986
10949
 
10987
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_835308f42ae01aacd71fad942c0d0dc0/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
10988
10951
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
10989
10952
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
10990
10953
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -11179,8 +11142,6 @@ export {
11179
11142
  refuseCommandName,
11180
11143
  rootOf,
11181
11144
  sampleCommand,
11182
- endpoint,
11183
- modelTarget,
11184
11145
  AI_ENTRIES,
11185
11146
  resolveAISettings,
11186
11147
  botFiles,
@@ -11189,10 +11150,13 @@ export {
11189
11150
  REPAIR_WORDS,
11190
11151
  repairConfigText,
11191
11152
  permissionIssues,
11153
+ withoutPath,
11192
11154
  publicIssue,
11193
11155
  fixVerb,
11194
11156
  issueMessage,
11195
11157
  checkConfigText,
11158
+ readConfigFile,
11159
+ accountFileFor,
11196
11160
  rememberAccount,
11197
11161
  recalledAccount,
11198
11162
  withSettingDefaults,
@@ -11220,6 +11184,7 @@ export {
11220
11184
  changesAuthority,
11221
11185
  changesAuthorityAt,
11222
11186
  changesAuthorityNow,
11187
+ logsInOrOut,
11223
11188
  isLogin,
11224
11189
  destroysNothing,
11225
11190
  admittedUnderLock,