@wirecat/cli-memo 0.131.52 → 0.131.53

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 (108) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-ZFVBLT2D.js → all-profiles-PJR2VHDP.js} +5 -5
  3. package/dist/bundle/{anthropic-UG2YHOT7.js → anthropic-ZUDIWREK.js} +3 -3
  4. package/dist/bundle/{app-server-AQYA4TB6.js → app-server-EYNQ4L2V.js} +35 -35
  5. package/dist/bundle/auto-JV4T2URZ.js +86 -0
  6. package/dist/bundle/{bun-QJUFWKEZ.js → bun-W2ZP6I6Z.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-GWVRHYF4.js → bun-sqlite-T2CTJ6AR.js} +2 -2
  8. package/dist/bundle/{chunk-RYY4YRKQ.js → chunk-26QKDK5P.js} +5 -5
  9. package/dist/bundle/{chunk-EEEZGK2J.js → chunk-2NVP4FZH.js} +1 -1
  10. package/dist/bundle/{chunk-NNUP36UQ.js → chunk-34GJQ4ZR.js} +1 -1
  11. package/dist/bundle/{chunk-6PQIXQFD.js → chunk-3MWNNJII.js} +8 -8
  12. package/dist/bundle/{chunk-AU5GAMGM.js → chunk-4335SGVD.js} +2170 -1265
  13. package/dist/bundle/{chunk-M64NVDB4.js → chunk-4VQ7FPNW.js} +3 -3
  14. package/dist/bundle/{chunk-6BVWU2UM.js → chunk-5UM2OEOR.js} +2 -2
  15. package/dist/bundle/{chunk-S7X5ZMQN.js → chunk-643B3X4D.js} +2 -2
  16. package/dist/bundle/{chunk-G52Y3KOO.js → chunk-6NJ5OI2S.js} +1 -1
  17. package/dist/bundle/{chunk-X6XIW76O.js → chunk-7ZO2LAFF.js} +5 -5
  18. package/dist/bundle/{chunk-4ISZPK6D.js → chunk-AF2ZDP3M.js} +1 -1
  19. package/dist/bundle/{chunk-6GF4TIVM.js → chunk-AYY5CYJJ.js} +1 -1
  20. package/dist/bundle/{chunk-2CBOPOC7.js → chunk-B5VQSSL2.js} +12 -12
  21. package/dist/bundle/{chunk-G4Z4WSIG.js → chunk-BC7N6IQ6.js} +1 -1
  22. package/dist/bundle/{chunk-3O46NA2H.js → chunk-BEO6VJ2E.js} +47 -47
  23. package/dist/bundle/{chunk-NIUWQP7F.js → chunk-CADGAURO.js} +28 -28
  24. package/dist/bundle/{chunk-ERZBEQAY.js → chunk-CQPZUKTI.js} +296 -261
  25. package/dist/bundle/{chunk-N5J6GT7C.js → chunk-D63QZQR7.js} +4 -4
  26. package/dist/bundle/{chunk-ETYAJPIT.js → chunk-DDD3CXHR.js} +20 -20
  27. package/dist/bundle/{chunk-GJWNHWG7.js → chunk-F3BUTC2N.js} +51 -36
  28. package/dist/bundle/{chunk-U4ZD5SYO.js → chunk-FUINFNUC.js} +1 -1
  29. package/dist/bundle/{chunk-IALGFO44.js → chunk-GESLAB4N.js} +2 -2
  30. package/dist/bundle/{chunk-LX65W7IK.js → chunk-I3TF3CDE.js} +4 -4
  31. package/dist/bundle/{chunk-FWCFEJWD.js → chunk-IRFHHNSX.js} +159 -151
  32. package/dist/bundle/{chunk-VOWEZBOJ.js → chunk-IVDBHH3N.js} +1 -1
  33. package/dist/bundle/{chunk-7SVHEGRO.js → chunk-JB43Q2QL.js} +1 -1
  34. package/dist/bundle/{chunk-ZVR6S4XB.js → chunk-JBQP2M7J.js} +7 -7
  35. package/dist/bundle/{chunk-MICF3K6S.js → chunk-JGY2PJ3N.js} +12 -12
  36. package/dist/bundle/{chunk-NZKDNBYE.js → chunk-KK2ATSEC.js} +6 -6
  37. package/dist/bundle/{chunk-XIHQOSCT.js → chunk-KTVYCPJW.js} +1 -1
  38. package/dist/bundle/{chunk-55GFDV24.js → chunk-LBGZT3W4.js} +5 -5
  39. package/dist/bundle/{chunk-ZKXIZD4C.js → chunk-LCE5LBZC.js} +4 -4
  40. package/dist/bundle/{chunk-A7DXLOMS.js → chunk-LCP4TVBX.js} +1 -1
  41. package/dist/bundle/{chunk-EKQNL6VJ.js → chunk-MFVZXEQN.js} +21 -21
  42. package/dist/bundle/{chunk-IKG2OPHU.js → chunk-MGDBKE7E.js} +6 -6
  43. package/dist/bundle/{chunk-6ZQK3L35.js → chunk-MU4MPJCU.js} +2 -2
  44. package/dist/bundle/{chunk-A36ASW3I.js → chunk-MV5W4FLV.js} +1 -1
  45. package/dist/bundle/{chunk-AGOUP5AH.js → chunk-O7CBAY6J.js} +4 -4
  46. package/dist/bundle/{chunk-I4LXP4HQ.js → chunk-OKERVM3M.js} +4 -4
  47. package/dist/bundle/{chunk-G7K4J3NS.js → chunk-OSPAMIIY.js} +3 -3
  48. package/dist/bundle/{chunk-5WT6SEXS.js → chunk-P3MKPY7D.js} +21 -9
  49. package/dist/bundle/{chunk-PKVXZZTM.js → chunk-P5UTNYA7.js} +2 -2
  50. package/dist/bundle/{chunk-2GEV2TXW.js → chunk-PHP3T567.js} +3 -3
  51. package/dist/bundle/{chunk-OIPJYDLZ.js → chunk-PSJB456T.js} +1 -1
  52. package/dist/bundle/{chunk-65576OCE.js → chunk-RSBROHX4.js} +1 -1
  53. package/dist/bundle/{chunk-NUQ3N3V3.js → chunk-RX6JTLKD.js} +7 -7
  54. package/dist/bundle/{chunk-KGPD3OCD.js → chunk-SR3ZNX24.js} +259 -154
  55. package/dist/bundle/{chunk-NOEXRGYH.js → chunk-T5WGWLY2.js} +10 -10
  56. package/dist/bundle/{chunk-ZVJAZXME.js → chunk-UBZN4EWJ.js} +4 -4
  57. package/dist/bundle/{chunk-OWS67HTV.js → chunk-VBYV6XQI.js} +2 -2
  58. package/dist/bundle/{chunk-ZYQEWB6P.js → chunk-VPCNLTME.js} +2 -2
  59. package/dist/bundle/{chunk-TM6R3Z45.js → chunk-VQTU4ILC.js} +1 -1
  60. package/dist/bundle/{chunk-PBM5GH7S.js → chunk-VXZ7FWKU.js} +2 -2
  61. package/dist/bundle/{chunk-LUHMRW3P.js → chunk-WNQUOEUV.js} +4 -4
  62. package/dist/bundle/{chunk-EQUPZVV6.js → chunk-WXFNUZZU.js} +5 -5
  63. package/dist/bundle/{chunk-TQS6ZKC3.js → chunk-WYZDNDQ5.js} +266 -265
  64. package/dist/bundle/{chunk-U6E3BGHO.js → chunk-ZTM4UUCP.js} +9 -9
  65. package/dist/bundle/{command-contract-7AADJ3UC.js → command-contract-EWPKHGAZ.js} +11 -11
  66. package/dist/bundle/{decode-XMIBTI5O.js → decode-UWT3Y66W.js} +2 -2
  67. package/dist/bundle/{echarts-W7DPDJA5.js → echarts-7VGTR45R.js} +2 -2
  68. package/dist/bundle/{embed-EP3KKO6Y.js → embed-CM2QSTNK.js} +3 -3
  69. package/dist/bundle/{embedder-ENGCALJ7.js → embedder-CDCAMVV7.js} +6 -6
  70. package/dist/bundle/{entry-BGSKREOS.js → entry-WHEWBNJL.js} +4 -4
  71. package/dist/bundle/failure-XQ7TMBYM.js +66 -0
  72. package/dist/bundle/{first-run-4EBMV2EM.js → first-run-ZBIQO5RZ.js} +5 -5
  73. package/dist/bundle/{first-screen-2TM3BF2Y.js → first-screen-CUAY5N6E.js} +12 -12
  74. package/dist/bundle/{instructions-A42XETMK.js → instructions-LYKSTUGQ.js} +1 -1
  75. package/dist/bundle/{mcp-5LAWRSJK.js → mcp-I72UY3QP.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-IRL66JK2.js → node-LFRTSZBZ.js} +2 -2
  78. package/dist/bundle/{node-sqlite-SOGTH72B.js → node-sqlite-Y47T5FTT.js} +3 -3
  79. package/dist/bundle/{oauth-RB5W3AC7.js → oauth-YM5C6VS3.js} +4 -4
  80. package/dist/bundle/{open-552EJ4JC.js → open-WPA4DW5G.js} +2 -2
  81. package/dist/bundle/{openai-ZLOHEEDH.js → openai-RCPT23DA.js} +7 -7
  82. package/dist/bundle/{process-46SUXGWW.js → process-P2X2KFMR.js} +1 -1
  83. package/dist/bundle/{program-ZLWKMT65.js → program-LE3UATKG.js} +58 -58
  84. package/dist/bundle/{prompt-2NHJSYKX.js → prompt-65WPTVYC.js} +2 -2
  85. package/dist/bundle/{recognize-2LDM6KHL.js → recognize-MEFMK7HT.js} +1 -1
  86. package/dist/bundle/{remote-DBYHHENF.js → remote-4XIR3ZYK.js} +4 -4
  87. package/dist/bundle/{rerank-N5T2TIIY.js → rerank-YRLAXFFL.js} +4 -4
  88. package/dist/bundle/{serve-S6B54R2F.js → serve-6SPZH6CY.js} +6 -6
  89. package/dist/bundle/server-FB75UHSF.js +48 -0
  90. package/dist/bundle/server-IELXA6S2.js +61 -0
  91. package/dist/bundle/{server-QH6AKPRV.js → server-MU43SKL5.js} +50 -50
  92. package/dist/bundle/{state-ZXZGIIJW.js → state-G34NVZ7F.js} +3 -3
  93. package/dist/bundle/{store-PNJNDMQ4.js → store-6U4SYK4Q.js} +17 -9
  94. package/dist/bundle/store-maintenance-command-ONVPBZLT.js +48 -0
  95. package/dist/bundle/update-TO3RIYTH.js +69 -0
  96. package/dist/knowledge/relationships.d.ts +5 -1
  97. package/dist/knowledge/relationships.d.ts.map +1 -1
  98. package/dist/version.d.ts +1 -1
  99. package/dist/version.js +1 -1
  100. package/package.json +2 -2
  101. package/skills/morning-digest/SKILL.md +38 -13
  102. package/dist/bundle/auto-2AY6K6DI.js +0 -86
  103. package/dist/bundle/failure-ZKQVXWAB.js +0 -66
  104. package/dist/bundle/server-KZZHFPTZ.js +0 -61
  105. package/dist/bundle/server-WAIPBBM7.js +0 -48
  106. package/dist/bundle/store-maintenance-command-2ZVV3DGA.js +0 -48
  107. package/dist/bundle/update-6HXLLGTQ.js +0 -69
  108. /package/dist/bundle/{chunk-DPRGC5YX.js → chunk-2H36DXV7.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
8
8
  import { PassThrough, Writable } from "node:stream";
9
9
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
10
10
  let rest = "";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/http/listen.js
8
8
  import { createServer } from "node:http";
9
9
  import { Readable } from "node:stream";
10
10
  var MAX_BODY = 4 * 1024 * 1024;
@@ -3,17 +3,17 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-2GEV2TXW.js";
6
+ } from "./chunk-PHP3T567.js";
7
7
  import {
8
8
  OPENAI_URL
9
- } from "./chunk-ZYQEWB6P.js";
9
+ } from "./chunk-VPCNLTME.js";
10
10
  import {
11
11
  OPENAI_TRANSCRIBE_MODEL,
12
12
  VAD,
13
13
  filesPresent,
14
14
  modelsDirectory,
15
15
  vadPath
16
- } from "./chunk-G7K4J3NS.js";
16
+ } from "./chunk-OSPAMIIY.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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/speech/openai.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/speech/wav.js
55
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/speech/openai.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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-2LDM6KHL.js");
198
+ const { openSpeechCutter } = await import("./recognize-MEFMK7HT.js");
199
199
  return openSpeechCutter(vadModel);
200
200
  }, "openCutter");
201
201
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/files/lock.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
153
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
157
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
202
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
261
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/files/lock.js
357
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/files/safe-name.js
372
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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(/^\.+/, "");
@@ -7,7 +7,7 @@ import {
7
7
  commandPathOf,
8
8
  findCommand,
9
9
  outputOf
10
- } from "./chunk-PBM5GH7S.js";
10
+ } from "./chunk-VXZ7FWKU.js";
11
11
  import {
12
12
  Command,
13
13
  Help,
@@ -18,7 +18,7 @@ import {
18
18
  environmentOf,
19
19
  metaOf,
20
20
  takesProfile
21
- } from "./chunk-FWCFEJWD.js";
21
+ } from "./chunk-IRFHHNSX.js";
22
22
  import {
23
23
  writes
24
24
  } from "./chunk-64JCY7XJ.js";
@@ -29,7 +29,7 @@ import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
32
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
33
33
  var SECTIONS = {
34
34
  read: "Read",
35
35
  write: "Write",
@@ -94,7 +94,7 @@ var CORE_SECTIONS = {
94
94
  upgrade: "setup"
95
95
  };
96
96
 
97
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
97
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
98
98
  var DESCRIPTION = 90;
99
99
  var COLUMN = 52;
100
100
  var short = /* @__PURE__ */ __name((text) => {
@@ -133,7 +133,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
133
133
  `;
134
134
  }, "commandsText");
135
135
 
136
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
136
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
137
137
  var ARGUMENT_KINDS = {
138
138
  chat: "chat",
139
139
  chats: "chat",
@@ -325,7 +325,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
325
325
  command.addHelpText("after", () => commandHelpText(command));
326
326
  }, "installCommandHelp");
327
327
 
328
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
328
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
329
329
  var WIRECAT_TOOLS = [
330
330
  {
331
331
  command: "tg",
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/models/types.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/models/types.js
11
11
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
12
12
  var validateImages = /* @__PURE__ */ __name((images) => {
13
13
  if (images === void 0)
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadConfig
5
- } from "./chunk-GJWNHWG7.js";
5
+ } from "./chunk-F3BUTC2N.js";
6
6
  import {
7
7
  upgradeCommand
8
- } from "./chunk-ERZBEQAY.js";
8
+ } from "./chunk-CQPZUKTI.js";
9
9
  import {
10
10
  FETCH,
11
11
  annotate,
12
12
  overrideSharedContract
13
- } from "./chunk-FWCFEJWD.js";
13
+ } from "./chunk-IRFHHNSX.js";
14
14
  import {
15
15
  latestVersion,
16
16
  runUpdate,
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  APP,
21
21
  VERSION
22
- } from "./chunk-A7DXLOMS.js";
22
+ } from "./chunk-LCP4TVBX.js";
23
23
  import {
24
24
  installerOf
25
25
  } from "./chunk-IK6KH3RE.js";
@@ -34,7 +34,7 @@ import {
34
34
  // dist/update.js
35
35
  import { join } from "node:path";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/update/index.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/update/index.js
38
38
  import { realpathSync } from "node:fs";
39
39
  import { fileURLToPath } from "node:url";
40
40
  var QUIET_WORDS = [
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-VOWEZBOJ.js";
5
+ } from "./chunk-IVDBHH3N.js";
6
6
  import {
7
7
  CALLER_META_KEY,
8
8
  PROXY_CLIENT_NAME,
9
9
  callerOf
10
- } from "./chunk-IALGFO44.js";
10
+ } from "./chunk-GESLAB4N.js";
11
11
  import {
12
12
  StdioServerTransport,
13
13
  serveStdio
@@ -19,7 +19,7 @@ import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
23
23
  import { spawn } from "node:child_process";
24
24
  import { randomUUID } from "node:crypto";
25
25
  var PROTOCOL = "2025-06-18";
@@ -253,7 +253,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
253
253
  }, "serveAllProfilesOverStdio");
254
254
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
255
255
  const { build, close } = allProfilesServer(options);
256
- const { serveOverHttp } = await import("./serve-S6B54R2F.js");
256
+ const { serveOverHttp } = await import("./serve-6SPZH6CY.js");
257
257
  const listening = await serveOverHttp(build, {
258
258
  ...http,
259
259
  appName: options.command,
@@ -102,7 +102,7 @@ var REASONS = defineReasons([
102
102
  ]);
103
103
 
104
104
  // dist/version.js
105
- var VERSION = "0.131.52";
105
+ var VERSION = "0.131.53";
106
106
 
107
107
  // dist/app.js
108
108
  var APP = {
@@ -13,7 +13,7 @@ import {
13
13
  refuseLacking,
14
14
  servicesFor,
15
15
  throughWrapper
16
- } from "./chunk-TQS6ZKC3.js";
16
+ } from "./chunk-WYZDNDQ5.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-FWCFEJWD.js";
41
+ } from "./chunk-IRFHHNSX.js";
42
42
  import {
43
43
  providerErrorKey
44
- } from "./chunk-IKG2OPHU.js";
44
+ } from "./chunk-MGDBKE7E.js";
45
45
  import {
46
46
  MESSENGER_CHANGE_REFUSAL,
47
47
  readOnlyRefusal
48
- } from "./chunk-G52Y3KOO.js";
48
+ } from "./chunk-6NJ5OI2S.js";
49
49
  import {
50
50
  servingProfiles
51
- } from "./chunk-6ZQK3L35.js";
51
+ } from "./chunk-MU4MPJCU.js";
52
52
  import {
53
53
  openStore
54
- } from "./chunk-AU5GAMGM.js";
54
+ } from "./chunk-4335SGVD.js";
55
55
  import {
56
56
  isCliFailure
57
- } from "./chunk-PKVXZZTM.js";
57
+ } from "./chunk-P5UTNYA7.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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
71
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/sends/guard.js
126
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/sends/flood.js
129
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/sends/journal.js
213
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
217
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/sends/journal.js
284
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/sends/recipients.js
361
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/sends/guard.js
473
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/sends/pace.js
666
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
756
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
816
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
913
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1012
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1588
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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,7 +4,7 @@ import {
4
4
  isCliFailure,
5
5
  secretNamed,
6
6
  withoutSecrets
7
- } from "./chunk-PKVXZZTM.js";
7
+ } from "./chunk-P5UTNYA7.js";
8
8
  import {
9
9
  isContentKey
10
10
  } from "./chunk-WLKDS65F.js";
@@ -12,14 +12,14 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/run-context.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/run-context.js
16
16
  import { AsyncLocalStorage } from "node:async_hooks";
17
17
  import { createHash } from "node:crypto";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
20
20
  import { homedir } from "node:os";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/events.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/events.js
23
23
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
24
24
  var renderEvent = /* @__PURE__ */ __name((event) => {
25
25
  if (event.event === "warning") {
@@ -67,7 +67,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
67
67
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
68
68
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
69
69
 
70
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
70
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
71
71
  var MESSAGE_AT_MOST = 500;
72
72
  var CAUSES_AT_MOST = 5;
73
73
  var FRAMES_AT_MOST = 15;
@@ -176,7 +176,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
176
176
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
177
177
  }, "redactText");
178
178
 
179
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/runs/run-context.js
179
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/runs/run-context.js
180
180
  var REDACTED = "[redacted]";
181
181
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
182
182
  if (!record)
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-6GF4TIVM.js";
5
+ } from "./chunk-AYY5CYJJ.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/store/driver.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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 {
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  listen
5
- } from "./chunk-7SVHEGRO.js";
5
+ } from "./chunk-JB43Q2QL.js";
6
6
  import {
7
7
  ownerLogin
8
- } from "./chunk-OWS67HTV.js";
8
+ } from "./chunk-VBYV6XQI.js";
9
9
  import {
10
10
  WebStandardStreamableHTTPServerTransport,
11
11
  createMcpHandler,
@@ -22,7 +22,7 @@ import {
22
22
  calledTools,
23
23
  httpActivityFile,
24
24
  httpLock
25
- } from "./chunk-I4LXP4HQ.js";
25
+ } from "./chunk-OKERVM3M.js";
26
26
  import {
27
27
  CliError
28
28
  } from "./chunk-4ZW6ZJ2V.js";
@@ -30,7 +30,7 @@ import {
30
30
  __name
31
31
  } from "./chunk-ZVVMGPBJ.js";
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
33
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
34
34
  import { randomUUID } from "node:crypto";
35
35
  var MCP_PATH = "/mcp";
36
36
  var AS_METADATA = "/.well-known/oauth-authorization-server";
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-6ZQK3L35.js";
8
+ } from "./chunk-MU4MPJCU.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");