@wirecat/mail-cli 0.25.0 → 0.26.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 (157) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +3 -0
  3. package/contracts/wirecat.json +1325 -0
  4. package/dist/bin/mail.js +2 -2
  5. package/dist/bin/mail.js.map +1 -1
  6. package/dist/bundle/{all-profiles-QEV2PSOR.js → all-profiles-6NXVQLUQ.js} +11 -11
  7. package/dist/bundle/{anthropic-5NKQXIHM.js → anthropic-OLNFE2CL.js} +5 -5
  8. package/dist/bundle/{app-server-G2CJNT4R.js → app-server-J76N6XIK.js} +51 -51
  9. package/dist/bundle/{bun-6HBYWQIX.js → bun-6PYDHXNR.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-DXIQ7BVR.js → bun-sqlite-QD5PFHPS.js} +6 -6
  11. package/dist/bundle/{chunk-5ZYFV6FD.js → chunk-2E2EV4HD.js} +103 -71
  12. package/dist/bundle/{chunk-T27IMG6X.js → chunk-2TCS4PLJ.js} +1 -1
  13. package/dist/bundle/{chunk-EXVY76VO.js → chunk-3J2UJFBJ.js} +19 -18
  14. package/dist/bundle/{chunk-LVGX7VTD.js → chunk-3RY4HC4V.js} +63 -5
  15. package/dist/bundle/{chunk-LGZPKKBN.js → chunk-3XTKQ5EM.js} +3 -2
  16. package/dist/bundle/{chunk-CIWWNBVW.js → chunk-4Q6KAV4O.js} +8 -8
  17. package/dist/bundle/{chunk-IXO4SCKE.js → chunk-52M5BAEG.js} +1 -1
  18. package/dist/bundle/{chunk-DIA56CS7.js → chunk-5WROIMUV.js} +11 -7
  19. package/dist/bundle/{chunk-ADKMBXY4.js → chunk-66C66FNK.js} +1 -1
  20. package/dist/bundle/{chunk-MBFPFWCO.js → chunk-76EKZSDK.js} +27 -27
  21. package/dist/bundle/{chunk-XQYKIZMG.js → chunk-76VSHS5Y.js} +12 -9
  22. package/dist/bundle/{chunk-L4QVOEOB.js → chunk-7C6FGWDH.js} +4 -4
  23. package/dist/bundle/{chunk-VUBZFMGP.js → chunk-7KCBPAQS.js} +2 -2
  24. package/dist/bundle/{chunk-TY644DKQ.js → chunk-7MEVD5PI.js} +57 -28
  25. package/dist/bundle/{chunk-7GLJSJ7M.js → chunk-A3EBRXOQ.js} +1 -1
  26. package/dist/bundle/{chunk-XMDEM6BZ.js → chunk-A6XETABW.js} +276 -254
  27. package/dist/bundle/{chunk-S2QRAKQI.js → chunk-AJ5K74X6.js} +17 -17
  28. package/dist/bundle/{chunk-QQUY4MZY.js → chunk-BDYQQ6G2.js} +1 -1
  29. package/dist/bundle/{chunk-JG4MNYG2.js → chunk-BMGRDZM3.js} +1 -1
  30. package/dist/bundle/{chunk-WX6OYVCH.js → chunk-CFBIPM7T.js} +363 -270
  31. package/dist/bundle/{chunk-HEIDAHRC.js → chunk-CZI45AQM.js} +2 -2
  32. package/dist/bundle/{chunk-VL6H2BND.js → chunk-DKIVYAXW.js} +18 -17
  33. package/dist/bundle/{chunk-IZOYW4Z4.js → chunk-ECZSYLSL.js} +24 -9
  34. package/dist/bundle/{chunk-NMZQTYKJ.js → chunk-EDWJ7IYH.js} +1 -1
  35. package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
  36. package/dist/bundle/{chunk-G5LHHAW2.js → chunk-GIG7F6UW.js} +6 -6
  37. package/dist/bundle/{chunk-PHHH2NQP.js → chunk-H2IJQH5X.js} +15 -113
  38. package/dist/bundle/{chunk-QB3DP2TN.js → chunk-HI5XUETY.js} +2 -2
  39. package/dist/bundle/{chunk-PGC5TRH6.js → chunk-HNSBXC6U.js} +3 -3
  40. package/dist/bundle/{chunk-4W4EVVL4.js → chunk-IX3GUNGV.js} +4 -4
  41. package/dist/bundle/{chunk-VFU7PVPQ.js → chunk-JNKXU7AE.js} +62 -60
  42. package/dist/bundle/{chunk-BC7PFQL7.js → chunk-JVJG54QK.js} +40 -2
  43. package/dist/bundle/{chunk-PP3YOAWG.js → chunk-KXASCNOV.js} +3 -3
  44. package/dist/bundle/{chunk-3XVR2ROR.js → chunk-LMTQMYUF.js} +31 -31
  45. package/dist/bundle/{chunk-CBYBZCQP.js → chunk-LTZGLOKE.js} +3 -2
  46. package/dist/bundle/{chunk-HJSJBNCJ.js → chunk-M2LATBP2.js} +28 -9
  47. package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
  48. package/dist/bundle/{chunk-HLXVUMZJ.js → chunk-M4Y33SJJ.js} +2 -2
  49. package/dist/bundle/{chunk-MWGH3M46.js → chunk-M7ECSGSN.js} +3 -3
  50. package/dist/bundle/{chunk-OLLIWNFG.js → chunk-M7RHPCXM.js} +3 -3
  51. package/dist/bundle/{chunk-B7SWTH5O.js → chunk-MIWSCTLG.js} +2 -2
  52. package/dist/bundle/{chunk-GY4XCLCO.js → chunk-NBJU6MBU.js} +8 -8
  53. package/dist/bundle/{chunk-Z5T6OW3V.js → chunk-NMFPK3MU.js} +4 -4
  54. package/dist/bundle/{chunk-HEYVMAAQ.js → chunk-OGE7YG4J.js} +2 -2
  55. package/dist/bundle/{chunk-A6BPOX5O.js → chunk-PJ6YMNJG.js} +3954 -3685
  56. package/dist/bundle/{chunk-OLKCJBZY.js → chunk-PY2IOVUN.js} +5 -5
  57. package/dist/bundle/{chunk-WOAYHCM2.js → chunk-QI6EXKSH.js} +1 -1
  58. package/dist/bundle/{chunk-YNS2YVUR.js → chunk-QJGG6QYV.js} +9 -9
  59. package/dist/bundle/{chunk-K2OGF7KC.js → chunk-RXKIP2ML.js} +2 -2
  60. package/dist/bundle/{chunk-SMTBV62X.js → chunk-T7SHPALQ.js} +26 -24
  61. package/dist/bundle/{chunk-GJRYZXBN.js → chunk-UE2NKPA4.js} +9 -9
  62. package/dist/bundle/{chunk-P6GXNT7Z.js → chunk-UNJUCK5R.js} +13 -13
  63. package/dist/bundle/{chunk-ND5H5ADM.js → chunk-V32L23NN.js} +4 -4
  64. package/dist/bundle/{chunk-IACWKZWS.js → chunk-V4PFD25P.js} +1 -1
  65. package/dist/bundle/{chunk-37F6QYTO.js → chunk-VA4V73SL.js} +6 -6
  66. package/dist/bundle/{chunk-U6IQ6YQ2.js → chunk-VJPLIXV4.js} +8 -2
  67. package/dist/bundle/{chunk-PQMJ5BXH.js → chunk-VWRT57QU.js} +4 -4
  68. package/dist/bundle/{chunk-KFB2X6KE.js → chunk-XELZCDWE.js} +191 -160
  69. package/dist/bundle/{chunk-KK4HD3SI.js → chunk-XUJEZ5YF.js} +6 -6
  70. package/dist/bundle/{chunk-434YOD6A.js → chunk-XZ7CQ6NA.js} +4 -4
  71. package/dist/bundle/{chunk-5QYK3LWS.js → chunk-YM345236.js} +119 -38
  72. package/dist/bundle/{chunk-J4OYK4WL.js → chunk-YXGHC3NP.js} +12 -12
  73. package/dist/bundle/{chunk-FZZD4AFY.js → chunk-ZZSZN4CJ.js} +22 -15
  74. package/dist/bundle/command-contract-NNEXHZW5.js +36 -0
  75. package/dist/bundle/{command-server-entry-XMSSY5ID.js → command-server-entry-AIBWNC5D.js} +25 -25
  76. package/dist/bundle/{decode-RYGB4PGT.js → decode-H7KLRD33.js} +5 -5
  77. package/dist/bundle/{dispatch-PLQOIZG5.js → dispatch-DSVN7MNG.js} +8 -8
  78. package/dist/bundle/{dist-GY2AQETI.js → dist-YYSP43J3.js} +19 -15
  79. package/dist/bundle/{echarts-7CM2MCMW.js → echarts-VSD3LS6D.js} +2 -2
  80. package/dist/bundle/{embed-FTBDPOPT.js → embed-UENZ5HN3.js} +6 -6
  81. package/dist/bundle/{embedder-B43WGNBD.js → embedder-MJMGOJT7.js} +9 -9
  82. package/dist/bundle/{failure-XP5QYV2T.js → failure-COTPFUP4.js} +2 -2
  83. package/dist/bundle/{first-run-XIIUARNM.js → first-run-HYALREFN.js} +12 -12
  84. package/dist/bundle/first-screen-GPF5RHBX.js +34 -0
  85. package/dist/bundle/{instructions-R7OHVAWH.js → instructions-WOHRYOLN.js} +1 -1
  86. package/dist/bundle/mail.js +15 -20
  87. package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
  88. package/dist/bundle/{node-3N2JGZ7V.js → node-4BRWJJCE.js} +2 -2
  89. package/dist/bundle/{node-sqlite-WFJXW3CZ.js → node-sqlite-D3QESEYQ.js} +7 -7
  90. package/dist/bundle/{oauth-SVJLQTWV.js → oauth-T7TTOBIZ.js} +7 -7
  91. package/dist/bundle/{open-ZDONVKSX.js → open-6P6627QB.js} +5 -5
  92. package/dist/bundle/{openai-XVEW6XOU.js → openai-FIMCJGAP.js} +21 -20
  93. package/dist/bundle/{process-YAHHUFR5.js → process-35IH3WHC.js} +1 -1
  94. package/dist/bundle/{program-HU2UVMJE.js → program-IEXB72IK.js} +1475 -987
  95. package/dist/bundle/{prompt-JAJ2CUJI.js → prompt-HFBCPMVL.js} +5 -5
  96. package/dist/bundle/{recognize-UFBWUNFR.js → recognize-CNL4HJ7Z.js} +4 -4
  97. package/dist/bundle/{remote-2GFOVLCR.js → remote-AYGZI7HT.js} +9 -9
  98. package/dist/bundle/{rerank-BGPSMXTL.js → rerank-5C2OZZXD.js} +7 -7
  99. package/dist/bundle/{serve-CB3XJTH3.js → serve-S6OYBDIB.js} +9 -9
  100. package/dist/bundle/{server-M7FQY7TX.js → server-VKO6E6PI.js} +42 -42
  101. package/dist/bundle/server-WXSHVDME.js +68 -0
  102. package/dist/bundle/{sqlite-runtime-AEV6PGDR.js → sqlite-runtime-DBTGNTVE.js} +6 -6
  103. package/dist/bundle/{state-YLBEQLBI.js → state-ZQG6AL2Y.js} +6 -6
  104. package/dist/bundle/{store-EKWKY6GG.js → store-B7BXWILZ.js} +21 -19
  105. package/dist/bundle/{store-CDUL3HKK.js → store-LY4QKTOO.js} +17 -17
  106. package/dist/bundle/store-maintenance-command-UR6NQDVV.js +58 -0
  107. package/dist/commands/rules.d.ts.map +1 -1
  108. package/dist/commands/rules.js +57 -19
  109. package/dist/commands/rules.js.map +1 -1
  110. package/dist/commands/session-start.d.ts.map +1 -1
  111. package/dist/commands/session-start.js +1 -1
  112. package/dist/commands/session-start.js.map +1 -1
  113. package/dist/config.d.ts +1 -0
  114. package/dist/config.d.ts.map +1 -1
  115. package/dist/config.js +13 -12
  116. package/dist/config.js.map +1 -1
  117. package/dist/discovery.d.ts.map +1 -1
  118. package/dist/discovery.js +7 -2
  119. package/dist/discovery.js.map +1 -1
  120. package/dist/identity.d.ts +2 -0
  121. package/dist/identity.d.ts.map +1 -1
  122. package/dist/identity.js +34 -0
  123. package/dist/identity.js.map +1 -1
  124. package/dist/mail/domain-age.d.ts +1 -1
  125. package/dist/mail/domain-age.d.ts.map +1 -1
  126. package/dist/mail/domain-age.js +9 -3
  127. package/dist/mail/domain-age.js.map +1 -1
  128. package/dist/mail/rules/file.d.ts.map +1 -1
  129. package/dist/mail/rules/file.js +4 -1
  130. package/dist/mail/rules/file.js.map +1 -1
  131. package/dist/mail/rules/query.d.ts +2 -1
  132. package/dist/mail/rules/query.d.ts.map +1 -1
  133. package/dist/mail/rules/query.js +16 -3
  134. package/dist/mail/rules/query.js.map +1 -1
  135. package/dist/oauth.d.ts +3 -1
  136. package/dist/oauth.d.ts.map +1 -1
  137. package/dist/oauth.js +48 -34
  138. package/dist/oauth.js.map +1 -1
  139. package/dist/reasons.d.ts.map +1 -1
  140. package/dist/reasons.js +5 -0
  141. package/dist/reasons.js.map +1 -1
  142. package/dist/store.d.ts.map +1 -1
  143. package/dist/store.js +2 -21
  144. package/dist/store.js.map +1 -1
  145. package/dist/version.d.ts +1 -1
  146. package/dist/version.js +1 -1
  147. package/dist/wcat.d.ts +3 -0
  148. package/dist/wcat.d.ts.map +1 -0
  149. package/dist/wcat.js +4 -0
  150. package/dist/wcat.js.map +1 -0
  151. package/package.json +10 -9
  152. package/dist/bundle/chunk-K6HR6HCO.js +0 -32
  153. package/dist/bundle/command-contract-XSW2Q33S.js +0 -36
  154. package/dist/bundle/first-screen-Z7HC6PQU.js +0 -34
  155. package/dist/bundle/server-34GEF22R.js +0 -68
  156. package/dist/bundle/store-maintenance-command-XH2JUM5F.js +0 -58
  157. /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-XWBPP2HX.js} +0 -0
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-LGZPKKBN.js";
5
+ } from "./chunk-3XTKQ5EM.js";
6
6
  import {
7
7
  resolvePaths
8
- } from "./chunk-TY644DKQ.js";
8
+ } from "./chunk-7MEVD5PI.js";
9
9
  import {
10
10
  CliError,
11
11
  singleLine
12
- } from "./chunk-VUBZFMGP.js";
12
+ } from "./chunk-7KCBPAQS.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/store/shared-config.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/store/shared-config.js
18
18
  import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
19
19
  import { dirname, join, resolve } from "node:path";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
22
22
  var DEFAULT_TASK_CATEGORIES = [
23
23
  {
24
24
  name: "taxes",
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
773
773
  }
774
774
  }, "storedTaskCategories");
775
775
 
776
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/store/shared-config.js
776
+ // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/store/shared-config.js
777
777
  var SECTION = "task_categories";
778
778
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
779
779
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-LGZPKKBN.js";
5
+ } from "./chunk-3XTKQ5EM.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-VUBZFMGP.js";
8
+ } from "./chunk-7KCBPAQS.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/speech/models.js
14
14
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
15
15
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
16
16
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
137
137
  return model;
138
138
  }, "speechModel");
139
139
 
140
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/speech/install.js
141
141
  import { createHash, randomUUID } from "node:crypto";
142
142
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
143
143
  import { rename, rm } from "node:fs/promises";
@@ -6,13 +6,13 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  commandAvailability
9
- } from "./chunk-FZZD4AFY.js";
9
+ } from "./chunk-ZZSZN4CJ.js";
10
10
  import {
11
11
  failureContext
12
- } from "./chunk-HJSJBNCJ.js";
12
+ } from "./chunk-M2LATBP2.js";
13
13
  import {
14
14
  callerOf
15
- } from "./chunk-HLXVUMZJ.js";
15
+ } from "./chunk-M4Y33SJJ.js";
16
16
  import {
17
17
  QUERY_ARGUMENT,
18
18
  lentConnection,
@@ -20,10 +20,10 @@ import {
20
20
  refuseLacking,
21
21
  servicesFor,
22
22
  storeModeDeps
23
- } from "./chunk-WX6OYVCH.js";
23
+ } from "./chunk-CFBIPM7T.js";
24
24
  import {
25
25
  MAX_BUFFERED_INPUT
26
- } from "./chunk-QB3DP2TN.js";
26
+ } from "./chunk-HI5XUETY.js";
27
27
  import {
28
28
  DEFAULT_OUTPUT_BYTES,
29
29
  ENTITIES,
@@ -38,36 +38,36 @@ import {
38
38
  refuseStoreChange,
39
39
  sealed,
40
40
  startRecording
41
- } from "./chunk-KFB2X6KE.js";
41
+ } from "./chunk-XELZCDWE.js";
42
42
  import {
43
43
  authorityAllowed,
44
44
  botApiAllowed,
45
45
  keyForCommand,
46
46
  levelFor,
47
47
  readKeysForCommand
48
- } from "./chunk-DIA56CS7.js";
48
+ } from "./chunk-5WROIMUV.js";
49
49
  import {
50
50
  currentCaller,
51
51
  keepsSuccess,
52
52
  runContextOf,
53
53
  withCaller
54
- } from "./chunk-XQYKIZMG.js";
54
+ } from "./chunk-76VSHS5Y.js";
55
55
  import {
56
56
  enclosingTraceId,
57
57
  inRun,
58
58
  newRunId,
59
59
  traceOf
60
- } from "./chunk-MBFPFWCO.js";
60
+ } from "./chunk-76EKZSDK.js";
61
61
  import {
62
62
  queryDescription
63
- } from "./chunk-5ZYFV6FD.js";
63
+ } from "./chunk-2E2EV4HD.js";
64
64
  import {
65
65
  storeDamaged
66
- } from "./chunk-U6IQ6YQ2.js";
66
+ } from "./chunk-VJPLIXV4.js";
67
67
  import {
68
68
  captureStreams,
69
69
  traceIdOf
70
- } from "./chunk-TY644DKQ.js";
70
+ } from "./chunk-7MEVD5PI.js";
71
71
  import {
72
72
  COMPACT_FLAG,
73
73
  SNAKE_CASE,
@@ -106,25 +106,25 @@ import {
106
106
  unknown,
107
107
  word,
108
108
  writes
109
- } from "./chunk-IZOYW4Z4.js";
109
+ } from "./chunk-ECZSYLSL.js";
110
110
  import {
111
111
  CliError,
112
112
  errorCodes
113
- } from "./chunk-VUBZFMGP.js";
113
+ } from "./chunk-7KCBPAQS.js";
114
114
  import {
115
115
  __name
116
116
  } from "./chunk-ZVVMGPBJ.js";
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/agent.js
118
+ // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/mcp/agent.js
119
119
  import { Readable } from "node:stream";
120
120
 
121
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
121
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
122
122
  var LINT_SEVERITIES = ["high", "medium", "low"];
123
123
  var lintRuleSchema = strictObject({
124
124
  id: word,
125
125
  severity: picklist(LINT_SEVERITIES),
126
126
  /** What the rule looks at; a violation's target names one of these. */
127
- scope: picklist(["command", "group", "argument", "option", "flag", "key", "source"]),
127
+ scope: picklist(["command", "group", "argument", "option", "flag", "key", "source", "type"]),
128
128
  summary: text
129
129
  });
130
130
  var defineLintRules = /* @__PURE__ */ __name((input) => parseRegistry("lint rules", array(lintRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineLintRules");
@@ -162,7 +162,7 @@ var LINT_RULES = defineLintRules([
162
162
  },
163
163
  {
164
164
  id: "command-example-count",
165
- severity: "medium",
165
+ severity: "low",
166
166
  scope: "command",
167
167
  summary: "a leaf command has one to three examples; generated commands are exempt"
168
168
  },
@@ -245,6 +245,12 @@ var LINT_RULES = defineLintRules([
245
245
  severity: "medium",
246
246
  scope: "source",
247
247
  summary: "every `http(s)://` host in the CLI's own source is in the manifest's `network.hosts`"
248
+ },
249
+ {
250
+ id: "result-shape",
251
+ severity: "medium",
252
+ scope: "type",
253
+ summary: "a list or search in the published TypeScript API returns `{ items, hasMore, nextOffset?, total? }`: no bare array, no `hits` or `has_more`"
248
254
  }
249
255
  ]);
250
256
  var baselineSchema = array(text);
@@ -258,7 +264,7 @@ var overrideSchema = strictObject({
258
264
  });
259
265
  var overridesSchema = array(overrideSchema);
260
266
 
261
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
267
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
262
268
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
263
269
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
264
270
  var AUDIT_RULES = defineAuditRules([
@@ -303,14 +309,19 @@ var parityGroupSchema = strictObject({
303
309
  /** Permanent differences, each with its reason; they count against the override budget of the group. */
304
310
  differences: array(strictObject({
305
311
  rule: word,
306
- /** `<clis> <path> <flag>`; with `absent` or `only`, only `<path> <flag>`: the CLI list is whoever else was compared. */
312
+ /**
313
+ * `<clis> <path> <flag>`; with `absent` or `only`, only `<path> <flag>`: the CLI list is whoever else was compared.
314
+ * same-entity-schema and same-error-reason name no CLI list either: `entity hit`, `reason profile.unknown: code`.
315
+ */
307
316
  target: text,
308
317
  expected: optional(text),
309
318
  /** The CLI that lacks the path or flag by design; the rest must agree, so other CLIs joining do not stale it. */
310
319
  absent: optional(word),
311
320
  /** The one CLI that has the path or flag by design; every other CLI compared must lack it. */
312
321
  only: optional(word),
313
- reason: pipe(text, minLength(10, "say why, in a sentence"))
322
+ reason: pipe(text, minLength(10, "say why, in a sentence")),
323
+ /** Warns from 14 days before and fails 14 days after, as a lint override does. */
324
+ review_after: optional(pipe(string(), isoDate("a date, YYYY-MM-DD")))
314
325
  }))
315
326
  });
316
327
  var defineParityGroups = /* @__PURE__ */ __name((input) => parseRegistry("parity groups", array(parityGroupSchema), input, (groups) => [
@@ -339,8 +350,26 @@ var MEMO_DOCTOR_DEEP = {
339
350
  only: "memo",
340
351
  reason: "memo's doctor --deep also checks its own store (cli-memo #672); cli-core's shared doctor leaves --deep to each CLI, and no other CLI has one"
341
352
  };
353
+ var review = /* @__PURE__ */ __name((rule, target, reason) => ({ rule, target, reason, review_after: "2026-11-27" }), "review");
354
+ var ENTITY = "same-entity-schema";
355
+ var REASON = "same-error-reason";
356
+ var MESSENGERS_SINCE_0_98 = [
357
+ review(ENTITY, "entity contact_context", "max, tg and wa print it in different schemas (measured 2026-11-13)"),
358
+ review(ENTITY, "entity contact_preparation", "max, tg and wa print it in different schemas (measured 2026-11-13)"),
359
+ review(ENTITY, "entity linked_person", "max, tg and wa print it in different schemas (measured 2026-11-13)")
360
+ ];
361
+ var FAMILY_SINCE_0_98 = [
362
+ review(ENTITY, "entity api_method", "b24's schema differs from drive and gcal's (measured 2026-11-13)"),
363
+ review(ENTITY, "entity scheduled_job", "three schemas: b24, mail, memo / gcal / max, tg (measured 2026-11-13)"),
364
+ review(ENTITY, "entity hit", "three schemas: b24, memo, zm / gcal / max, tg, wa (measured 2026-11-13)"),
365
+ review(ENTITY, "entity deal", "b24's CRM deal and memo's differ (measured 2026-11-13)"),
366
+ review(ENTITY, "entity lead", "b24's CRM lead and memo's differ (measured 2026-11-13)"),
367
+ review(ENTITY, "entity product", "b24's CRM product and memo's differ (measured 2026-11-13)"),
368
+ review(REASON, "reason ai.address-refused=model.address-refused", "one failure under two names; cli-core 0.650.0 keeps one"),
369
+ review(REASON, "reason profile.unknown: code", "b24 gives it not_found, drive validation_error (measured 2026-11-13)")
370
+ ];
342
371
  var PARITY_GROUPS = defineParityGroups([
343
- { name: "messengers", members: ["tg", "max"], covers: "tree", differences: [] },
372
+ { name: "messengers", members: ["tg", "max"], covers: "tree", differences: MESSENGERS_SINCE_0_98 },
344
373
  {
345
374
  name: "all",
346
375
  members: ["tg", "max", "memo", "drive", "zm", "wa"],
@@ -362,7 +391,7 @@ var PARITY_GROUPS = defineParityGroups([
362
391
  name: "gcal-shared",
363
392
  members: ["tg", "max", "memo", "drive", "zm", "wa", "gcal"],
364
393
  covers: ["commands", "upgrade", "notes", "meetings"],
365
- differences: []
394
+ differences: FAMILY_SINCE_0_98
366
395
  },
367
396
  // bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call recordings, not
368
397
  // zoom-cli's: both are compared on the root commands every CLI shares, the way gcal and mail are on theirs.
@@ -384,7 +413,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
384
413
  { path: ["upgrade"], meaning: "updates the CLI" }
385
414
  ]);
386
415
 
387
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
416
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
388
417
  var fieldRuleSchema = strictObject({ id: word, rule: text });
389
418
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
390
419
  var FIELD_RULES = defineFieldRules([
@@ -400,7 +429,7 @@ var FIELD_RULES = defineFieldRules([
400
429
  }
401
430
  ]);
402
431
 
403
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
432
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
404
433
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
405
434
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
406
435
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -422,7 +451,44 @@ var IDENTIFIERS = defineIdentifiers([
422
451
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
423
452
  ]);
424
453
 
425
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
454
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
455
+ var ACCOUNT_FLAGS = [
456
+ {
457
+ name: "--client-id",
458
+ value: "<id>",
459
+ role: "mode",
460
+ type: "id",
461
+ meaning: "sign in through the owner's own OAuth app with this client ID instead of WireCat's (WC-SECR-25)"
462
+ },
463
+ {
464
+ name: "--client-file",
465
+ value: "<file>",
466
+ role: "mode",
467
+ type: "path",
468
+ meaning: "sign in through the owner's own OAuth app read from this client JSON instead of WireCat's (WC-SECR-25)"
469
+ },
470
+ {
471
+ name: "--keep-data",
472
+ role: "mode",
473
+ type: "switch",
474
+ meaning: "remove the account but leave what the store holds of it, still searchable"
475
+ },
476
+ {
477
+ name: "--delete-data",
478
+ role: "mode",
479
+ type: "switch",
480
+ meaning: "remove the account and delete what the store and the tool's files hold of it"
481
+ },
482
+ {
483
+ name: "--answer-stdin",
484
+ role: "mode",
485
+ type: "switch",
486
+ meaning: "a sign-in step asks its question as a JSON line and reads the answer from stdin"
487
+ },
488
+ { name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
489
+ ];
490
+
491
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
426
492
  var CALENDAR_FLAGS = [
427
493
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
428
494
  {
@@ -496,7 +562,7 @@ var CALENDAR_FLAGS = [
496
562
  }
497
563
  ];
498
564
 
499
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
565
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
500
566
  var CRM_FLAGS = [
501
567
  {
502
568
  name: "--pipeline",
@@ -646,7 +712,7 @@ var CRM_FLAGS = [
646
712
  }
647
713
  ];
648
714
 
649
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
715
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
650
716
  var HOW_FLAGS = [
651
717
  {
652
718
  name: "--limit",
@@ -873,7 +939,6 @@ var HOW_FLAGS = [
873
939
  meaning: "expose meeting preparation tools, including their remote schedule reads"
874
940
  },
875
941
  { name: "--dry-run", role: "mode", type: "switch", meaning: "judge and plan; do nothing", replaces: ["--estimate"] },
876
- { name: "--accept-terms", role: "mode", type: "switch", meaning: "accept the model's licence terms" },
877
942
  {
878
943
  name: "--as-owner",
879
944
  role: "mode",
@@ -1644,8 +1709,14 @@ var HOW_FLAGS = [
1644
1709
  }
1645
1710
  ];
1646
1711
 
1647
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1712
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1648
1713
  var KNOWLEDGE_FLAGS = [
1714
+ {
1715
+ name: "--accept-terms",
1716
+ role: "mode",
1717
+ type: "switch",
1718
+ meaning: "no longer needed; kept so older scripts still run"
1719
+ },
1649
1720
  {
1650
1721
  name: "--quote",
1651
1722
  value: "<ref=words...>",
@@ -1676,7 +1747,7 @@ var KNOWLEDGE_FLAGS = [
1676
1747
  }
1677
1748
  ];
1678
1749
 
1679
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1750
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1680
1751
  var MAIL_FLAGS = [
1681
1752
  {
1682
1753
  name: "--cc",
@@ -1706,7 +1777,7 @@ var MAIL_FLAGS = [
1706
1777
  }
1707
1778
  ];
1708
1779
 
1709
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1780
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1710
1781
  var PRIVACY_FLAGS = [
1711
1782
  {
1712
1783
  name: "--about-text",
@@ -1767,7 +1838,7 @@ var PRIVACY_FLAGS = [
1767
1838
  { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1768
1839
  ];
1769
1840
 
1770
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1841
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1771
1842
  var SCHEDULE_FLAGS = [
1772
1843
  {
1773
1844
  name: "--locale",
@@ -1800,7 +1871,7 @@ var SCHEDULE_FLAGS = [
1800
1871
  }
1801
1872
  ];
1802
1873
 
1803
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1874
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1804
1875
  var WHAT_FLAGS = [
1805
1876
  {
1806
1877
  name: "--analysis-provider",
@@ -2116,6 +2187,13 @@ var WHAT_FLAGS = [
2116
2187
  type: "list",
2117
2188
  meaning: "the agents to install for, comma-separated"
2118
2189
  },
2190
+ {
2191
+ name: "--from",
2192
+ value: "<person>",
2193
+ role: "target",
2194
+ type: "id",
2195
+ meaning: "a person: the one identities leave, or the one who sent it; a search takes it repeated for any of several"
2196
+ },
2119
2197
  {
2120
2198
  name: "--from-dir",
2121
2199
  value: "<dir>",
@@ -2790,7 +2868,7 @@ var WHAT_FLAGS = [
2790
2868
  }
2791
2869
  ];
2792
2870
 
2793
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2871
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2794
2872
  var FLAG_TYPES = [
2795
2873
  "switch",
2796
2874
  "count",
@@ -2944,6 +3022,7 @@ var verbs = [
2944
3022
  "look at a source before taking anything from it: a chat link without joining, a mailbox without importing"
2945
3023
  ],
2946
3024
  ["send", "send a message"],
3025
+ ["call", "call one provider API method by its own name, generated from the provider's method list"],
2947
3026
  ["edit", "change a sent message"],
2948
3027
  ["forward", "send an existing message on to another chat"],
2949
3028
  ["pin", "pin a message or chat"],
@@ -3150,6 +3229,7 @@ var views = [
3150
3229
  ["categories", "the categories a thing takes, with what each means"],
3151
3230
  ["domains", "the internet domains links point to, most linked first"],
3152
3231
  ["places", "the street addresses confirmed as places, most mentioned first"],
3232
+ ["mentions", "the people and organizations named in a selected thing's text"],
3153
3233
  ["comments", "replies attached to a selected source item"],
3154
3234
  ["links", "links held for a selected thing"],
3155
3235
  ["voters", "people whose recorded votes are visible for a selected poll"],
@@ -3198,6 +3278,7 @@ var VOCABULARY = defineVocabulary({
3198
3278
  ...HOW_FLAGS,
3199
3279
  ...WHAT_FLAGS,
3200
3280
  ...PRIVACY_FLAGS,
3281
+ ...ACCOUNT_FLAGS,
3201
3282
  ...CALENDAR_FLAGS,
3202
3283
  ...MAIL_FLAGS,
3203
3284
  ...KNOWLEDGE_FLAGS,
@@ -3206,7 +3287,7 @@ var VOCABULARY = defineVocabulary({
3206
3287
  ]
3207
3288
  });
3208
3289
 
3209
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3290
+ // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3210
3291
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3211
3292
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3212
3293
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3433,7 +3514,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3433
3514
  }
3434
3515
  }, "runCommandForAgent");
3435
3516
 
3436
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3517
+ // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3437
3518
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3438
3519
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3439
3520
  var message = pipe(
@@ -3692,7 +3773,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3692
3773
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
3693
3774
  }, "failed");
3694
3775
 
3695
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3776
+ // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3696
3777
  import { randomUUID } from "node:crypto";
3697
3778
  var MATCHES = 8;
3698
3779
  var ANSWER = answerSchema();
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  updateCommand
5
- } from "./chunk-L4QVOEOB.js";
5
+ } from "./chunk-7C6FGWDH.js";
6
6
  import {
7
7
  QUESTIONS,
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-MWGH3M46.js";
11
+ } from "./chunk-M7ECSGSN.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-GY4XCLCO.js";
15
+ } from "./chunk-NBJU6MBU.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-KK4HD3SI.js";
18
+ } from "./chunk-XUJEZ5YF.js";
19
19
  import {
20
20
  installerOf
21
- } from "./chunk-RX5CJ55S.js";
21
+ } from "./chunk-M4OP5ASJ.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-LGZPKKBN.js";
24
+ } from "./chunk-3XTKQ5EM.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-CDUL3HKK.js");
87
+ const { openStore } = await import("./store-LY4QKTOO.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-ZDONVKSX.js"),
117
- import("./store-maintenance-command-XH2JUM5F.js")
116
+ import("./open-6P6627QB.js"),
117
+ import("./store-maintenance-command-UR6NQDVV.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-Z7HC6PQU.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-GPF5RHBX.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
199
199
  contentLanguages: start.contentLanguages,
200
200
  all: start.path[0] === "setup",
201
201
  io: {
202
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-JAJ2CUJI.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-HFBCPMVL.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }