@wirecat/cli-memo 0.131.59 → 0.131.60

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 (105) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-LHATPBN3.js → all-profiles-NUBT2FJI.js} +5 -5
  3. package/dist/bundle/{anthropic-ZCFY7X3V.js → anthropic-QNTKWSQT.js} +3 -3
  4. package/dist/bundle/{app-server-LMNKI46N.js → app-server-6TXXVCSE.js} +35 -35
  5. package/dist/bundle/auto-4VLWHDG7.js +86 -0
  6. package/dist/bundle/{bun-Z5XDW2UR.js → bun-3NYKD7YB.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-GC55XSRP.js → bun-sqlite-IIJSZ5I2.js} +2 -2
  8. package/dist/bundle/{chunk-ZELDY6H4.js → chunk-25N2ZCXV.js} +2 -2
  9. package/dist/bundle/{chunk-7H45WVOV.js → chunk-3M237SBK.js} +5 -5
  10. package/dist/bundle/{chunk-SK3GNZFF.js → chunk-4II6DM7L.js} +10 -10
  11. package/dist/bundle/{chunk-GKRSFUAN.js → chunk-4RSPI6OR.js} +1 -1
  12. package/dist/bundle/{chunk-KG6HO3XP.js → chunk-4VAKZH56.js} +2 -2
  13. package/dist/bundle/{chunk-3L6SQL6I.js → chunk-636FK3A6.js} +1 -1
  14. package/dist/bundle/{chunk-CQ7NDIKS.js → chunk-67CIUJO6.js} +1 -1
  15. package/dist/bundle/{chunk-7FAFZQYC.js → chunk-67L6BQOD.js} +4 -4
  16. package/dist/bundle/{chunk-5QRRSPCL.js → chunk-6NYZ32K5.js} +2 -2
  17. package/dist/bundle/{chunk-MF3B3UAK.js → chunk-AEATD5XH.js} +21 -21
  18. package/dist/bundle/{chunk-BIKOHAZH.js → chunk-B6R7O3U5.js} +1 -1
  19. package/dist/bundle/{chunk-7FY7DHFV.js → chunk-BYIKFYRY.js} +2 -2
  20. package/dist/bundle/{chunk-XGR7ND66.js → chunk-BZZRBJ2C.js} +28 -28
  21. package/dist/bundle/{chunk-SJAX32ZF.js → chunk-CZPAYIQR.js} +1 -1
  22. package/dist/bundle/{chunk-ENVEZQ2F.js → chunk-CZUMANL4.js} +4 -4
  23. package/dist/bundle/{chunk-ABLNLLM6.js → chunk-DZKTPOTJ.js} +31 -31
  24. package/dist/bundle/{chunk-PPZCQ6DC.js → chunk-EMU7UIUA.js} +2 -2
  25. package/dist/bundle/{chunk-CBNN7VP2.js → chunk-FH56EHWA.js} +6 -6
  26. package/dist/bundle/{chunk-BFDN7ZRX.js → chunk-FXXXBLZD.js} +5 -5
  27. package/dist/bundle/{chunk-MTIAWKHJ.js → chunk-G6P5NWIZ.js} +1 -1
  28. package/dist/bundle/{chunk-7IMLRFCG.js → chunk-GGGIUXKD.js} +3 -3
  29. package/dist/bundle/{chunk-UTCOTLJP.js → chunk-GLPSPFTP.js} +4 -4
  30. package/dist/bundle/{chunk-IKMCUKAE.js → chunk-HF2W6622.js} +4 -4
  31. package/dist/bundle/{chunk-M4C4PD6O.js → chunk-IJKXX7LB.js} +1 -1
  32. package/dist/bundle/{chunk-ROYHEBF4.js → chunk-KMA63WO5.js} +4 -4
  33. package/dist/bundle/{chunk-NQBV7NNO.js → chunk-KOBVPWMU.js} +49 -49
  34. package/dist/bundle/{chunk-JCHC5EEV.js → chunk-L3G5UY2P.js} +4 -4
  35. package/dist/bundle/{chunk-W6HT56DV.js → chunk-LXQ56N66.js} +8 -8
  36. package/dist/bundle/{chunk-FHTIB66O.js → chunk-LZFQZOAL.js} +256 -256
  37. package/dist/bundle/{chunk-775KV34P.js → chunk-LZQ7QENQ.js} +62 -62
  38. package/dist/bundle/{chunk-M36WYT62.js → chunk-MCPHBBJL.js} +1 -1
  39. package/dist/bundle/{chunk-TWHA3OB2.js → chunk-MV6M3VR3.js} +9 -9
  40. package/dist/bundle/{chunk-HBY2VTP6.js → chunk-MYVP4IFW.js} +3 -3
  41. package/dist/bundle/{chunk-EXIFPE4R.js → chunk-ND2PQA4X.js} +2 -2
  42. package/dist/bundle/{chunk-FYG52VXO.js → chunk-NMWIWQ7J.js} +1 -1
  43. package/dist/bundle/{chunk-N57QFHPJ.js → chunk-NSEX4YST.js} +7 -7
  44. package/dist/bundle/{chunk-PQEJBESM.js → chunk-NX4XCS64.js} +21 -21
  45. package/dist/bundle/{chunk-MIJKJNIA.js → chunk-NXV3USUU.js} +3 -3
  46. package/dist/bundle/{chunk-UQWLLRYP.js → chunk-O55ELCFO.js} +1 -1
  47. package/dist/bundle/{chunk-YA7YYH3E.js → chunk-PMGGNQHL.js} +1 -1
  48. package/dist/bundle/{chunk-3HX5I5KX.js → chunk-PNIAEDGJ.js} +332 -332
  49. package/dist/bundle/{chunk-A6HTI2EV.js → chunk-RC2NAT7T.js} +12 -12
  50. package/dist/bundle/{chunk-4JBR277T.js → chunk-RU34XFKL.js} +1 -1
  51. package/dist/bundle/{chunk-HPMEODWD.js → chunk-S2VXXF4H.js} +2 -2
  52. package/dist/bundle/{chunk-SB44NDKV.js → chunk-S56CC44R.js} +7 -7
  53. package/dist/bundle/{chunk-AQ44SSA2.js → chunk-SSKSRETJ.js} +9 -9
  54. package/dist/bundle/{chunk-LWVCZPQF.js → chunk-SU2EPGGH.js} +12 -12
  55. package/dist/bundle/{chunk-WJ3VJYM4.js → chunk-SYJMQIIJ.js} +2 -2
  56. package/dist/bundle/{chunk-2ALNQ3ZG.js → chunk-TLZEAHCB.js} +5 -5
  57. package/dist/bundle/{chunk-V5E55COY.js → chunk-VGLDBSGN.js} +5 -5
  58. package/dist/bundle/{chunk-WFF7X6LI.js → chunk-VUJANY4X.js} +6 -6
  59. package/dist/bundle/{chunk-OD5IBWOB.js → chunk-WUOQ7CQU.js} +4 -4
  60. package/dist/bundle/{chunk-UTLAFKFU.js → chunk-XBSLZQY4.js} +272 -270
  61. package/dist/bundle/{chunk-IRFXP5R5.js → chunk-XW4NE2NW.js} +1 -1
  62. package/dist/bundle/{chunk-PPJXTU54.js → chunk-XXZ3WQSW.js} +150 -150
  63. package/dist/bundle/{chunk-YO4PT3MD.js → chunk-YXBMP74S.js} +1 -1
  64. package/dist/bundle/{chunk-Z2R4SK5Q.js → chunk-Z3SASH3J.js} +1 -1
  65. package/dist/bundle/{command-contract-XKSGEPXG.js → command-contract-KE77NBYG.js} +11 -11
  66. package/dist/bundle/{decode-6PPIALX2.js → decode-AD352TI2.js} +2 -2
  67. package/dist/bundle/{echarts-XQ7T6SKK.js → echarts-VCQEG6RB.js} +2 -2
  68. package/dist/bundle/{embed-W56IWO4I.js → embed-A2YCI5TM.js} +3 -3
  69. package/dist/bundle/{embedder-IWJHHYLE.js → embedder-G35OKUR5.js} +6 -6
  70. package/dist/bundle/{entry-OZSQA6IT.js → entry-3Y2C4AAL.js} +4 -4
  71. package/dist/bundle/failure-GHNN2IIX.js +66 -0
  72. package/dist/bundle/{first-run-LT5QD4MA.js → first-run-RDQFQ5MD.js} +5 -5
  73. package/dist/bundle/{first-screen-IMWQP24U.js → first-screen-XWHL4AEK.js} +12 -12
  74. package/dist/bundle/{instructions-DHUIJMK4.js → instructions-VWX5TPRM.js} +1 -1
  75. package/dist/bundle/{mcp-3X7LMJSZ.js → mcp-JHDRZPSO.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-BSK32EM3.js → node-OCRAUHTJ.js} +2 -2
  78. package/dist/bundle/{node-sqlite-SYF7X36U.js → node-sqlite-UIZIEENG.js} +3 -3
  79. package/dist/bundle/{oauth-ZEWUPRPD.js → oauth-WZOYRQA4.js} +4 -4
  80. package/dist/bundle/{open-4EKQE47K.js → open-ITE5EG22.js} +2 -2
  81. package/dist/bundle/{openai-UGNJPON6.js → openai-S4TD7H5G.js} +7 -7
  82. package/dist/bundle/{process-KQ5PLFEX.js → process-Z7OS65OQ.js} +1 -1
  83. package/dist/bundle/{program-WSVJK4LB.js → program-PYCRRMXK.js} +55 -55
  84. package/dist/bundle/{prompt-KA6BE6HG.js → prompt-NW2KOEQS.js} +2 -2
  85. package/dist/bundle/{recognize-ZM75USNS.js → recognize-65IM7MS4.js} +1 -1
  86. package/dist/bundle/{remote-I5MIVEGH.js → remote-4EOO533Z.js} +4 -4
  87. package/dist/bundle/{rerank-46KI3363.js → rerank-LKRFHRN6.js} +4 -4
  88. package/dist/bundle/{serve-QE4CSBAB.js → serve-SIB2TBOF.js} +6 -6
  89. package/dist/bundle/server-DO3J7CR5.js +48 -0
  90. package/dist/bundle/{server-EFNICTJC.js → server-JZAL3SRH.js} +50 -50
  91. package/dist/bundle/server-NQLMHLMU.js +61 -0
  92. package/dist/bundle/{state-2W2BFTG7.js → state-245GTWCO.js} +3 -3
  93. package/dist/bundle/{store-M4Q4BIDW.js → store-2QSJI77T.js} +9 -9
  94. package/dist/bundle/store-maintenance-command-F7FSHWHW.js +48 -0
  95. package/dist/bundle/update-NENHRNFS.js +69 -0
  96. package/dist/version.d.ts +1 -1
  97. package/dist/version.js +1 -1
  98. package/package.json +2 -2
  99. package/dist/bundle/auto-MWAOY7KC.js +0 -86
  100. package/dist/bundle/failure-2V4YXERK.js +0 -66
  101. package/dist/bundle/server-J3VKU7NQ.js +0 -48
  102. package/dist/bundle/server-MLOQ4RS7.js +0 -61
  103. package/dist/bundle/store-maintenance-command-KYCDTJQ2.js +0 -48
  104. package/dist/bundle/update-JEYA6GXL.js +0 -69
  105. /package/dist/bundle/{chunk-DZ2GIEEY.js → chunk-GK2FRFM6.js} +0 -0
@@ -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-GKRSFUAN.js";
5
+ } from "./chunk-4RSPI6OR.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-4ZW6ZJ2V.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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/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";
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-CQ7NDIKS.js";
7
+ } from "./chunk-67CIUJO6.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-4ZW6ZJ2V.js";
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var EMPTY_TRIES = 3;
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/store/driver.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/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,17 +3,17 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-7IMLRFCG.js";
6
+ } from "./chunk-GGGIUXKD.js";
7
7
  import {
8
8
  OPENAI_URL
9
- } from "./chunk-7FY7DHFV.js";
9
+ } from "./chunk-BYIKFYRY.js";
10
10
  import {
11
11
  OPENAI_TRANSCRIBE_MODEL,
12
12
  VAD,
13
13
  filesPresent,
14
14
  modelsDirectory,
15
15
  vadPath
16
- } from "./chunk-HBY2VTP6.js";
16
+ } from "./chunk-MYVP4IFW.js";
17
17
  import {
18
18
  DEFAULT_RETRY,
19
19
  backoffMs
@@ -25,7 +25,7 @@ import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/speech/openai.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/speech/openai.js
29
29
  import { setTimeout as wait } from "node:timers/promises";
30
30
 
31
31
  // 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/http/index.js
@@ -52,7 +52,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
52
52
  }, "parseRateLimitReset");
53
53
  var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
54
54
 
55
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/speech/wav.js
55
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/speech/wav.js
56
56
  var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
57
57
  const bytes = Buffer.alloc(44 + samples.length * 2);
58
58
  bytes.write("RIFF", 0, "ascii");
@@ -73,7 +73,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
73
73
  return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
74
74
  }, "encodeWav");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/speech/openai.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/speech/openai.js
77
77
  var LONGEST_REQUEST_SECONDS = 600;
78
78
  var JOINED_SECONDS = 0.2;
79
79
  var PAD_SECONDS = 0.2;
@@ -195,7 +195,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
195
195
  return pieces;
196
196
  }, "piecesOf");
197
197
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
198
- const { openSpeechCutter } = await import("./recognize-ZM75USNS.js");
198
+ const { openSpeechCutter } = await import("./recognize-65IM7MS4.js");
199
199
  return openSpeechCutter(vadModel);
200
200
  }, "openCutter");
201
201
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
@@ -13,7 +13,7 @@ import {
13
13
  refuseLacking,
14
14
  servicesFor,
15
15
  throughWrapper
16
- } from "./chunk-UTLAFKFU.js";
16
+ } from "./chunk-XBSLZQY4.js";
17
17
  import {
18
18
  CEILING_KEY,
19
19
  LOG_ATTRIBUTES,
@@ -38,23 +38,23 @@ import {
38
38
  rememberAccount,
39
39
  rootOf2 as rootOf,
40
40
  skipFlagFor
41
- } from "./chunk-PPJXTU54.js";
41
+ } from "./chunk-XXZ3WQSW.js";
42
42
  import {
43
43
  providerErrorKey
44
- } from "./chunk-CBNN7VP2.js";
44
+ } from "./chunk-FH56EHWA.js";
45
45
  import {
46
46
  MESSENGER_CHANGE_REFUSAL,
47
47
  readOnlyRefusal
48
- } from "./chunk-YA7YYH3E.js";
48
+ } from "./chunk-PMGGNQHL.js";
49
49
  import {
50
50
  servingProfiles
51
- } from "./chunk-ZELDY6H4.js";
51
+ } from "./chunk-25N2ZCXV.js";
52
52
  import {
53
53
  openStore
54
- } from "./chunk-3HX5I5KX.js";
54
+ } from "./chunk-PNIAEDGJ.js";
55
55
  import {
56
56
  isCliFailure
57
- } from "./chunk-KG6HO3XP.js";
57
+ } from "./chunk-4VAKZH56.js";
58
58
  import {
59
59
  logRecordOf,
60
60
  realSleep,
@@ -68,7 +68,7 @@ import {
68
68
  __name
69
69
  } from "./chunk-ZVVMGPBJ.js";
70
70
 
71
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
71
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
72
72
  import { openSync } from "node:fs";
73
73
  import { createInterface } from "node:readline";
74
74
  import { ReadStream } from "node:tty";
@@ -123,10 +123,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
123
123
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
124
124
  }, "terminalAsker");
125
125
 
126
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/guard.js
126
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/sends/guard.js
127
127
  import { randomUUID } from "node:crypto";
128
128
 
129
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/flood.js
129
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/sends/flood.js
130
130
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
131
131
  import { dirname, join } from "node:path";
132
132
  var MOST_DEADLINES = 50;
@@ -210,11 +210,11 @@ var FloodMemory = class {
210
210
  }
211
211
  };
212
212
 
213
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/journal.js
213
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/sends/journal.js
214
214
  import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
215
215
  import { dirname as dirname3, join as join2 } from "node:path";
216
216
 
217
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
217
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
218
218
  import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
219
219
  import { dirname as dirname2 } from "node:path";
220
220
  var LOCK_WAIT_MS = 5e3;
@@ -281,7 +281,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
281
281
  }
282
282
  }, "lockTime");
283
283
 
284
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/journal.js
284
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/sends/journal.js
285
285
  var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
286
286
  var SendJournal = class {
287
287
  static {
@@ -358,7 +358,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
358
358
  return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
359
359
  }, "withSendId");
360
360
 
361
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/recipients.js
361
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/sends/recipients.js
362
362
  import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
363
363
  import { join as join3 } from "node:path";
364
364
  var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
@@ -470,7 +470,7 @@ var RecipientList = class {
470
470
  }
471
471
  };
472
472
 
473
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/guard.js
473
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/sends/guard.js
474
474
  var HOUR_MS = 60 * 60 * 1e3;
475
475
  var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
476
476
  "attachments.extract",
@@ -663,7 +663,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
663
663
  }), "guardFor");
664
664
  var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
665
665
 
666
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/sends/pace.js
666
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/sends/pace.js
667
667
  import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
668
668
  import { join as join4 } from "node:path";
669
669
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -753,7 +753,7 @@ var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
753
753
  await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
754
754
  }, "waitForTurn");
755
755
 
756
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
756
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
757
757
  var pathOf = /* @__PURE__ */ __name((command) => {
758
758
  const words = [];
759
759
  for (let at = command; at?.parent; at = at.parent)
@@ -813,7 +813,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
813
813
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
814
814
  }, "refuseUnknownPermissionKeys");
815
815
 
816
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
816
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
817
817
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
818
818
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
819
819
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -910,7 +910,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
910
910
  });
911
911
  }, "flooded");
912
912
 
913
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
913
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
914
914
  var observed = /* @__PURE__ */ __name((messenger, events) => {
915
915
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
916
916
  const write = currentOperation();
@@ -1009,7 +1009,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
1009
1009
  counts[part] = (counts[part] ?? 0) + items.length;
1010
1010
  }, "byPart");
1011
1011
 
1012
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1012
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1013
1013
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
1014
1014
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
1015
1015
  let warned = false;
@@ -1585,7 +1585,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
1585
1585
  }
1586
1586
  }, "keep");
1587
1587
 
1588
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1588
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1589
1589
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1590
1590
  let opened;
1591
1591
  return {
@@ -4,10 +4,10 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-ROYHEBF4.js";
7
+ } from "./chunk-KMA63WO5.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-GKRSFUAN.js";
10
+ } from "./chunk-4RSPI6OR.js";
11
11
  import {
12
12
  CliError
13
13
  } from "./chunk-4ZW6ZJ2V.js";
@@ -15,7 +15,7 @@ import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
19
19
  var PERMISSION_ANSWERS = ["readonly", "allow"];
20
20
  var QUESTIONS = ["languages", "tools", "permissions"];
21
21
  var SECTION = "setup";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.611.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_019e5129f390ba1047db736f75b19440/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
12
12
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
13
13
  const name = envName(app, "READ_ONLY");