@wirecat/mail-cli 0.22.0 → 0.23.1

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 (125) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +2 -1
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-DTUWUCQQ.js → all-profiles-FJHJCGRU.js} +9 -9
  5. package/dist/bundle/{anthropic-YJAEQSNT.js → anthropic-AFL7NKVZ.js} +9 -7
  6. package/dist/bundle/{app-server-3ZXSTBA3.js → app-server-WKCBJMHI.js} +46 -46
  7. package/dist/bundle/{bun-34VBM7C5.js → bun-HQATAQJQ.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-GCT7ROCK.js → bun-sqlite-4ECAV7OU.js} +4 -4
  9. package/dist/bundle/{chunk-RFB27ACZ.js → chunk-2HXHAFRP.js} +2 -2
  10. package/dist/bundle/{chunk-MD64ITYO.js → chunk-34743C4C.js} +1 -1
  11. package/dist/bundle/{chunk-Z75WYAX6.js → chunk-3OZKDC6Y.js} +8 -7
  12. package/dist/bundle/{chunk-UWL2IOII.js → chunk-3QVGB2CI.js} +2 -2
  13. package/dist/bundle/{chunk-3HDQVTND.js → chunk-3UFD76IR.js} +5 -5
  14. package/dist/bundle/{chunk-SCIC2CJS.js → chunk-4IFX4HV2.js} +4 -4
  15. package/dist/bundle/{chunk-QE72KTS7.js → chunk-4IWJARFA.js} +1 -1
  16. package/dist/bundle/{chunk-ZZSHGCRC.js → chunk-4YJJQNNJ.js} +4 -4
  17. package/dist/bundle/{chunk-RPCKBXKN.js → chunk-5UKBUI4I.js} +2 -2
  18. package/dist/bundle/{chunk-J4UZXBEV.js → chunk-76RTQYJQ.js} +1 -1
  19. package/dist/bundle/{chunk-I2SDXWLR.js → chunk-7YRKUEYE.js} +118 -54
  20. package/dist/bundle/{chunk-ZKLXSVIO.js → chunk-AGNAT7CM.js} +1 -1
  21. package/dist/bundle/{chunk-HSBGNVEL.js → chunk-B6QMMRIM.js} +361 -188
  22. package/dist/bundle/{chunk-WBAA2X3E.js → chunk-BVJQBAGL.js} +11 -11
  23. package/dist/bundle/{chunk-TCCN5TON.js → chunk-CBWA2T3N.js} +24 -2
  24. package/dist/bundle/{chunk-P6FT6YYT.js → chunk-CCYHBNRL.js} +16 -16
  25. package/dist/bundle/{chunk-B74SOC4R.js → chunk-CUOCDJFI.js} +8 -8
  26. package/dist/bundle/{chunk-RY7PBP4F.js → chunk-CYQVWITQ.js} +16 -16
  27. package/dist/bundle/{chunk-566MEXK5.js → chunk-E7ZVKQHG.js} +3 -3
  28. package/dist/bundle/{chunk-HJ2CXDKJ.js → chunk-EXPR6QAX.js} +26 -12
  29. package/dist/bundle/{chunk-LTXYJAJK.js → chunk-FWFNUJQD.js} +24 -63
  30. package/dist/bundle/{chunk-VINSQR4X.js → chunk-GJNFNC76.js} +7 -7
  31. package/dist/bundle/{chunk-BHNBWFT5.js → chunk-GOMJNH56.js} +44 -0
  32. package/dist/bundle/{chunk-7XLOWYGD.js → chunk-HOKGIYUO.js} +39 -4
  33. package/dist/bundle/{chunk-FTI73RLC.js → chunk-KKGX7JMX.js} +2 -2
  34. package/dist/bundle/{chunk-BMV56JCL.js → chunk-LLYVBO3R.js} +1 -1
  35. package/dist/bundle/{chunk-QTMVGOSF.js → chunk-LQDMUMA2.js} +1336 -796
  36. package/dist/bundle/{chunk-VQZCIDSO.js → chunk-M7RGG3UU.js} +3 -3
  37. package/dist/bundle/{chunk-R3WPMQYZ.js → chunk-MBKNL5TX.js} +632 -435
  38. package/dist/bundle/{chunk-AF62BPIW.js → chunk-MUDHCYN4.js} +5 -5
  39. package/dist/bundle/{chunk-25PD6FZY.js → chunk-NKBAZ4VC.js} +2 -2
  40. package/dist/bundle/{chunk-2PPEDB67.js → chunk-NMGF3UOZ.js} +30 -30
  41. package/dist/bundle/{chunk-KMQAHDBM.js → chunk-NOA6E6MM.js} +2173 -1297
  42. package/dist/bundle/{chunk-J2U6LUT5.js → chunk-OJCUSHZG.js} +3 -3
  43. package/dist/bundle/{chunk-T3DTYJTG.js → chunk-OU5CWCG2.js} +1 -1
  44. package/dist/bundle/{chunk-OKO2Q6H6.js → chunk-PMIKRELC.js} +2 -2
  45. package/dist/bundle/{chunk-RT6SLZBI.js → chunk-QR7JZM3D.js} +1 -1
  46. package/dist/bundle/{chunk-O3M2S62X.js → chunk-QUKD5SO2.js} +3 -3
  47. package/dist/bundle/{chunk-SFC46MP2.js → chunk-QV3M2MHG.js} +10 -10
  48. package/dist/bundle/{chunk-SYEICLTR.js → chunk-R554W7ZO.js} +1 -1
  49. package/dist/bundle/{chunk-NOVBK4SY.js → chunk-R5MYOLQP.js} +12 -12
  50. package/dist/bundle/{chunk-4FWJNIPH.js → chunk-ROKTS7WM.js} +1 -1
  51. package/dist/bundle/{chunk-GAPQENMY.js → chunk-S5OTP7XS.js} +22 -4
  52. package/dist/bundle/{chunk-HRRSTIGP.js → chunk-SBGXKM4U.js} +10 -6
  53. package/dist/bundle/{chunk-ODFHIXMA.js → chunk-SNTLN2QT.js} +1 -1
  54. package/dist/bundle/{chunk-VDUGE6TH.js → chunk-SR3ADLGX.js} +2 -2
  55. package/dist/bundle/{chunk-4WIEVQ2Q.js → chunk-UMXVQIGD.js} +137 -9
  56. package/dist/bundle/{chunk-HN43G27G.js → chunk-V3TDQUXD.js} +45 -27
  57. package/dist/bundle/{chunk-3DSYLE5N.js → chunk-V7CFZ773.js} +2 -2
  58. package/dist/bundle/{chunk-LF5XM4HE.js → chunk-VAMCRP47.js} +1 -1
  59. package/dist/bundle/{chunk-Z7N4MGOQ.js → chunk-VFKX5UMJ.js} +5 -5
  60. package/dist/bundle/{chunk-72N26BQM.js → chunk-VYHIX3OP.js} +88 -88
  61. package/dist/bundle/{chunk-P2QJA7S5.js → chunk-VYIIX6VN.js} +1 -1
  62. package/dist/bundle/{chunk-V6OIIVH3.js → chunk-WN4HP7IZ.js} +11 -11
  63. package/dist/bundle/{chunk-MDDB7M7Z.js → chunk-ZXIPJF3Y.js} +1 -1
  64. package/dist/bundle/command-contract-IIHBNF7J.js +35 -0
  65. package/dist/bundle/{decode-BIOOL5E4.js → decode-QXKTMOTH.js} +4 -4
  66. package/dist/bundle/{dispatch-R5OF2FVZ.js → dispatch-G4CYFWQ2.js} +1 -1
  67. package/dist/bundle/{dist-TJVIRLE5.js → dist-5FX36DAW.js} +44 -22
  68. package/dist/bundle/{echarts-ECPGMKXO.js → echarts-HHUM43TU.js} +2 -2
  69. package/dist/bundle/{embed-F7JFSLHN.js → embed-SRZSDZVI.js} +5 -5
  70. package/dist/bundle/{embedder-U4G74HV3.js → embedder-WZIZCWLX.js} +8 -8
  71. package/dist/bundle/{failure-WYKVF6RH.js → failure-FFPK2WYB.js} +1 -1
  72. package/dist/bundle/{first-run-JTYPUYQP.js → first-run-6DVWZ3JQ.js} +8 -8
  73. package/dist/bundle/first-screen-SRZ7NYHZ.js +33 -0
  74. package/dist/bundle/{instructions-WNCGZ7OJ.js → instructions-UWONE6UT.js} +1 -1
  75. package/dist/bundle/mail.js +5 -5
  76. package/dist/bundle/{node-UIRGGMGT.js → node-HLAOYJDB.js} +2 -2
  77. package/dist/bundle/{node-sqlite-4ZM7OPRF.js → node-sqlite-RO66I7W6.js} +5 -5
  78. package/dist/bundle/{oauth-5RAJZPBW.js → oauth-VNLB2TET.js} +6 -6
  79. package/dist/bundle/{open-7ORCHOAI.js → open-QQSG343L.js} +4 -4
  80. package/dist/bundle/{openai-XSJNXJA7.js → openai-JTFC7OGF.js} +12 -12
  81. package/dist/bundle/{process-ZLO72UVZ.js → process-3CZAXR6P.js} +1 -1
  82. package/dist/bundle/{program-MXGQFQJG.js → program-XTOS4RAM.js} +4528 -2579
  83. package/dist/bundle/{prompt-IDUPCUGM.js → prompt-HGQ6GPYL.js} +6 -4
  84. package/dist/bundle/{recognize-OS3EZKIM.js → recognize-2SHMNEIZ.js} +3 -3
  85. package/dist/bundle/{remote-PF4LZR65.js → remote-GBQC3433.js} +6 -6
  86. package/dist/bundle/{rerank-CQNZF3JI.js → rerank-FQHQXFNR.js} +6 -6
  87. package/dist/bundle/{serve-Y2DDLGBT.js → serve-THU67QUZ.js} +8 -8
  88. package/dist/bundle/{server-TVRT7YEY.js → server-LOT3CLYX.js} +36 -36
  89. package/dist/bundle/server-VKMUX7ZT.js +65 -0
  90. package/dist/bundle/{sqlite-runtime-5343C3OE.js → sqlite-runtime-NOOUMBC4.js} +5 -5
  91. package/dist/bundle/{state-4GBTMPIV.js → state-KSKZCV2U.js} +5 -5
  92. package/dist/bundle/{store-QA6QJ5BB.js → store-BAKSHTKF.js} +37 -14
  93. package/dist/bundle/{store-OLBLTQPT.js → store-OHNZOQ7U.js} +30 -18
  94. package/dist/bundle/store-maintenance-command-ROQHJVEA.js +54 -0
  95. package/dist/commands/account-remove.d.ts +3 -0
  96. package/dist/commands/account-remove.d.ts.map +1 -0
  97. package/dist/commands/account-remove.js +65 -0
  98. package/dist/commands/account-remove.js.map +1 -0
  99. package/dist/commands/account.d.ts.map +1 -1
  100. package/dist/commands/account.js +3 -1
  101. package/dist/commands/account.js.map +1 -1
  102. package/dist/commands/context.d.ts +3 -1
  103. package/dist/commands/context.d.ts.map +1 -1
  104. package/dist/commands/context.js.map +1 -1
  105. package/dist/commands/rules.d.ts.map +1 -1
  106. package/dist/commands/rules.js +29 -7
  107. package/dist/commands/rules.js.map +1 -1
  108. package/dist/commands/sync.d.ts +0 -1
  109. package/dist/commands/sync.d.ts.map +1 -1
  110. package/dist/commands/sync.js +8 -2
  111. package/dist/commands/sync.js.map +1 -1
  112. package/dist/mail/changes.d.ts +1 -0
  113. package/dist/mail/changes.d.ts.map +1 -1
  114. package/dist/mail/changes.js +1 -1
  115. package/dist/mail/changes.js.map +1 -1
  116. package/dist/providers.js +2 -2
  117. package/dist/providers.js.map +1 -1
  118. package/dist/version.d.ts +1 -1
  119. package/dist/version.js +1 -1
  120. package/package.json +3 -3
  121. package/dist/bundle/chunk-QPRXTLMD.js +0 -33
  122. package/dist/bundle/command-contract-Y4ZQAJEC.js +0 -35
  123. package/dist/bundle/first-screen-W6RWTAU7.js +0 -33
  124. package/dist/bundle/server-I3IALQMC.js +0 -65
  125. package/dist/bundle/store-maintenance-command-LB6CMGP4.js +0 -55
@@ -10,10 +10,10 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/speech/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/speech/recognize.js
14
14
  import { createRequire } from "node:module";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
17
17
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
18
18
  var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
19
19
  const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
70
70
  throw invalid();
71
71
  }, "checkOggDuration");
72
72
 
73
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/speech/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/speech/recognize.js
74
74
  var SAMPLE_RATE = 16e3;
75
75
  var LEAD = SAMPLE_RATE / 2;
76
76
  var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  unit
5
- } from "./chunk-Z7N4MGOQ.js";
5
+ } from "./chunk-VFKX5UMJ.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-DALBYUPC.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
14
14
  import { setTimeout } from "node:timers/promises";
15
15
  var OPENAI_URL = "https://api.openai.com/v1";
16
16
  var OPENAI_MODELS = {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-RPCKBXKN.js";
5
+ } from "./chunk-5UKBUI4I.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-DALBYUPC.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/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.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/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";
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  LEVELS
5
- } from "./chunk-HRRSTIGP.js";
5
+ } from "./chunk-SBGXKM4U.js";
6
6
  import {
7
7
  WORD_BODY,
8
8
  looksLikeReference,
@@ -10,11 +10,11 @@ import {
10
10
  providerLabel,
11
11
  providerNamed,
12
12
  typedPhone
13
- } from "./chunk-LTXYJAJK.js";
13
+ } from "./chunk-FWFNUJQD.js";
14
14
  import {
15
15
  resolvePaths,
16
16
  writeSecurely
17
- } from "./chunk-BMV56JCL.js";
17
+ } from "./chunk-LLYVBO3R.js";
18
18
  import {
19
19
  array,
20
20
  getDotPath,
@@ -33,7 +33,7 @@ import {
33
33
  string,
34
34
  transform,
35
35
  unknown
36
- } from "./chunk-BHNBWFT5.js";
36
+ } from "./chunk-GOMJNH56.js";
37
37
  import {
38
38
  CliError,
39
39
  singleLine,
@@ -43,7 +43,7 @@ import {
43
43
  __name
44
44
  } from "./chunk-ZVVMGPBJ.js";
45
45
 
46
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
46
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
47
47
  var TAKES = {
48
48
  chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
49
49
  message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
@@ -103,7 +103,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
103
103
  throw wrongAccount(reference, scope, profiles);
104
104
  }, "ensureAccount");
105
105
 
106
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/resolve.js
106
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/resolve.js
107
107
  var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
108
108
  var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
109
109
  var pickChat = /* @__PURE__ */ __name((reference, chats) => {
@@ -148,7 +148,7 @@ ${lines}`, { candidates });
148
148
  }, "ambiguous");
149
149
  var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
150
150
 
151
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/vcard.js
151
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/vcard.js
152
152
  import { createHash } from "node:crypto";
153
153
  var MAX_ID = 512;
154
154
  var AS_WORD = new RegExp(`^${WORD_BODY}$`);
@@ -385,7 +385,7 @@ var envelopeOfVcard = /* @__PURE__ */ __name((text, { provider, account, batchId
385
385
  };
386
386
  }, "envelopeOfVcard");
387
387
 
388
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/formatting.js
388
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/formatting.js
389
389
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
390
390
  var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
391
391
  const { text, spans } = formatted;
@@ -445,7 +445,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
445
445
  };
446
446
  }, "visibleFormattedText");
447
447
 
448
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/moderation/check.js
448
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/moderation/check.js
449
449
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
450
450
  var LINK = /https?:\/\/\S+/i;
451
451
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -633,7 +633,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
633
633
  }, "nextPoint");
634
634
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
635
635
 
636
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/moderation/rules.js
636
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/moderation/rules.js
637
637
  import { existsSync, readFileSync } from "node:fs";
638
638
  import { join } from "node:path";
639
639
  var RULE_ACTIONS = ["report", "delete", "remove"];
@@ -8,7 +8,7 @@ import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/errors/failures.js
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/errors/failures.js
12
12
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
13
13
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
14
14
  const { code, exitCode } = value ?? {};
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
11
11
  import { constants } from "node:fs";
12
12
  import { lstat, open } from "node:fs/promises";
13
13
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
73
73
  }
74
74
  }, "syncDirectory");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
77
77
  import { randomUUID } from "node:crypto";
78
78
  import { constants as constants2 } from "node:fs";
79
79
  import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
111
111
  }
112
112
  }, "writeFileAtomic");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
115
115
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
116
116
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
117
117
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
140
140
  }
141
141
  }, "readBoundedUtf8File");
142
142
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/files/lock.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/files/lock.js
144
144
  import { mkdir as mkdir2 } from "node:fs/promises";
145
145
  import { basename as basename2, dirname as dirname2 } from "node:path";
146
146
 
147
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
148
148
  import { randomUUID as randomUUID2 } from "node:crypto";
149
149
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
150
150
  import { hostname as hostname2 } from "node:os";
151
151
  import { join as join3 } from "node:path";
152
152
 
153
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
153
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
154
154
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
155
155
  import { join as join2 } from "node:path";
156
156
 
157
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
157
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
158
158
  import { hostname } from "node:os";
159
159
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
160
160
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
199
199
  }
200
200
  }, "leaseOwnerStatus");
201
201
 
202
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
202
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
203
203
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
204
204
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
205
205
  options.signal?.throwIfAborted();
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
258
258
  return { inspect, recover };
259
259
  }, "leaseInspection");
260
260
 
261
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
261
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
262
262
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
263
263
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
264
264
  let releasing;
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
283
283
  };
284
284
  }, "ownedNativeLease");
285
285
 
286
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
287
287
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
288
288
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
289
289
  const { markerDirectory, legacyMarker } = layout;
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
354
354
  };
355
355
  }, "nativeWriterLeaseStore");
356
356
 
357
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/files/lock.js
357
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/files/lock.js
358
358
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
359
359
  const folder = dirname2(path);
360
360
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
369
369
  });
370
370
  }, "acquireLock");
371
371
 
372
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/files/safe-name.js
372
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/files/safe-name.js
373
373
  import { basename as basename3 } from "node:path";
374
374
  var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
375
375
  let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}​-‏‪-‮⁦-⁩]/gu, "").replace(/^\.+/, "");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/secrets.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/runs/secrets.js
8
8
  var SECRET_WORDS = /* @__PURE__ */ new Set([
9
9
  "authorization",
10
10
  "cookie",
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-MDDB7M7Z.js";
7
+ } from "./chunk-ZXIPJF3Y.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-DALBYUPC.js";
@@ -12,9 +12,11 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
+ var EMPTY_TRIES = 3;
19
+ var pasteHint = /* @__PURE__ */ __name((platform = process.platform) => `Nothing arrived. To paste in a terminal, use ${platform === "darwin" ? "Cmd+V" : "Ctrl+Shift+V (or right-click \u2192 Paste)"}.`, "pasteHint");
18
20
  var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
19
21
  const policy = inputPolicy(input);
20
22
  const signals = [givenSignal, policy.signal].filter((one) => one !== void 0);
@@ -65,9 +67,24 @@ var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin,
65
67
  reader.once("SIGINT", cancel);
66
68
  reader.once("close", cancel);
67
69
  signal?.addEventListener("abort", abort, { once: true });
68
- reader.question(prompt, resolve);
69
- muted = !echo;
70
+ const ask = /* @__PURE__ */ __name((tries) => {
71
+ muted = false;
72
+ reader.question(prompt, (line) => {
73
+ if (echo || line.trim() || tries >= EMPTY_TRIES)
74
+ return resolve(line);
75
+ output.write(`
76
+ ${pasteHint()}
77
+ `);
78
+ ask(tries + 1);
79
+ });
80
+ muted = !echo;
81
+ }, "ask");
82
+ ask(1);
70
83
  });
84
+ if (!echo && !answer.trim())
85
+ throw new CliError("validation_error", `nothing arrived after ${EMPTY_TRIES} tries. ${pasteHint()}`, {
86
+ reason: "input.empty"
87
+ });
71
88
  return answer.trim();
72
89
  } finally {
73
90
  input.off("data", data).off("error", inputError);
@@ -78,5 +95,6 @@ var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin,
78
95
  }, "readSecret");
79
96
 
80
97
  export {
98
+ pasteHint,
81
99
  readSecret
82
100
  };
@@ -5,10 +5,10 @@ import {
5
5
  fieldsOf,
6
6
  processStreams,
7
7
  projectFields
8
- } from "./chunk-BMV56JCL.js";
8
+ } from "./chunk-LLYVBO3R.js";
9
9
  import {
10
10
  COMPACT_FLAG
11
- } from "./chunk-BHNBWFT5.js";
11
+ } from "./chunk-GOMJNH56.js";
12
12
  import {
13
13
  CliError,
14
14
  singleLine
@@ -17,7 +17,7 @@ import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/sends/permissions.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/sends/permissions.js
21
21
  var LEVELS = ["deny", "readonly", "ask", "allow"];
22
22
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
23
23
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -46,6 +46,10 @@ var DEFAULT_PERMISSIONS = {
46
46
  "server.stop": "ask",
47
47
  "server.restart": "ask",
48
48
  "models.download": "ask",
49
+ // NEED-2357.f: many MCP clients (ChatGPT) cannot answer a question, and a switch deletes nothing; kept as a key so a
50
+ // profile can still deny it.
51
+ "models.set": "allow",
52
+ "models.add": "ask",
49
53
  "images.models.download": "ask",
50
54
  "schedule.run": "ask",
51
55
  "schedule.exec": "ask",
@@ -413,7 +417,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
413
417
  }
414
418
  }, "assertRetentionEvidenceRead");
415
419
 
416
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
420
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
417
421
  var named = /* @__PURE__ */ __name((work) => {
418
422
  try {
419
423
  return work();
@@ -440,7 +444,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
440
444
  return projectFields(value, fields);
441
445
  }), "projectFields");
442
446
 
443
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/output-detail.js
447
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/output-detail.js
444
448
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
445
449
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
446
450
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -476,7 +480,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
476
480
  return value;
477
481
  }, "atDetail");
478
482
 
479
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/output.js
483
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/output.js
480
484
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
481
485
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
482
486
  if (other)
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/store/driver.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/store/driver.js
8
8
  var TIME_LIMIT_FUNCTION = "wc_time_limit";
9
9
  var TimeLimitReached = class extends Error {
10
10
  static {
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-3HDQVTND.js";
6
+ } from "./chunk-3UFD76IR.js";
7
7
  import {
8
8
  CliError
9
9
  } from "./chunk-DALBYUPC.js";
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
15
15
  var PERMISSION_ANSWERS = ["readonly", "allow"];
16
16
  var QUESTIONS = ["languages", "tools", "permissions"];
17
17
  var SECTION = "setup";