@wirecat/tg-cli 0.115.0 → 0.116.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bot/transport.d.ts +10 -8
  3. package/dist/bot/transport.d.ts.map +1 -1
  4. package/dist/bot/transport.js +16 -2
  5. package/dist/bot/transport.js.map +1 -1
  6. package/dist/bundle/{adapter-ODK7R4LY.js → adapter-6CLMTQOV.js} +76 -50
  7. package/dist/bundle/{all-profiles-AQYM65BS.js → all-profiles-R2UZMH24.js} +10 -9
  8. package/dist/bundle/{anthropic-VBDSVNIM.js → anthropic-QKIPHV2Z.js} +6 -6
  9. package/dist/bundle/{app-server-YOIHLBNS.js → app-server-AZB2MFK6.js} +43 -42
  10. package/dist/bundle/{bot-api-TRYLGQKK.js → bot-api-2IM243J4.js} +50 -49
  11. package/dist/bundle/{bot-history-7DTJLBBJ.js → bot-history-G6CRVCL2.js} +18 -17
  12. package/dist/bundle/{bun-XIMM6EHD.js → bun-JDKPISPX.js} +2 -2
  13. package/dist/bundle/{bun-sqlite-6B3BL5IV.js → bun-sqlite-X5PY5IQT.js} +5 -5
  14. package/dist/bundle/{chunk-XY7IGVVS.js → chunk-42GK3XRS.js} +2 -2
  15. package/dist/bundle/{chunk-PEKTB3FQ.js → chunk-4D5AUWAY.js} +25 -14
  16. package/dist/bundle/{chunk-XIYRHIBK.js → chunk-4IQZRW4O.js} +13 -13
  17. package/dist/bundle/{chunk-DIABP7ZP.js → chunk-577MFPCP.js} +3 -3
  18. package/dist/bundle/{chunk-O7CBGHI7.js → chunk-5FCONCJO.js} +1 -1
  19. package/dist/bundle/{chunk-GX4DMI4H.js → chunk-5VFPUOJO.js} +15 -12
  20. package/dist/bundle/{chunk-5ROWSRK7.js → chunk-5ZIBAYIZ.js} +2 -2
  21. package/dist/bundle/{chunk-77M3IAVU.js → chunk-76CX2YPT.js} +27 -8
  22. package/dist/bundle/{chunk-MUZ4KYGY.js → chunk-B4UOCWM4.js} +2 -2
  23. package/dist/bundle/{chunk-Y3AQHPAJ.js → chunk-BGMV66FC.js} +1 -1
  24. package/dist/bundle/{chunk-WOQGUIXE.js → chunk-DP5LRU7K.js} +1 -1
  25. package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
  26. package/dist/bundle/{chunk-IUDIRZVU.js → chunk-FDI4GOIP.js} +890 -473
  27. package/dist/bundle/{chunk-AICS3TSF.js → chunk-GV7ZJ33M.js} +4 -4
  28. package/dist/bundle/{chunk-WMG4IGEB.js → chunk-H72UEHNG.js} +66 -33
  29. package/dist/bundle/{chunk-HZKWB6WS.js → chunk-HBUJNNZD.js} +28 -28
  30. package/dist/bundle/{chunk-GCFU6WBE.js → chunk-HK6SIIGG.js} +3 -3
  31. package/dist/bundle/{chunk-BIEBJLYO.js → chunk-HLNYJPAB.js} +2 -2
  32. package/dist/bundle/{chunk-PZAEI4NM.js → chunk-HUOXUI2M.js} +22 -22
  33. package/dist/bundle/{chunk-TQYMLXDS.js → chunk-I6JF43YP.js} +3 -3
  34. package/dist/bundle/{chunk-OSP335AJ.js → chunk-IR4S7POE.js} +8 -8
  35. package/dist/bundle/{chunk-KDOBY524.js → chunk-JFTCOV37.js} +74 -20
  36. package/dist/bundle/{chunk-POKTQZOM.js → chunk-JJMQA272.js} +12 -89
  37. package/dist/bundle/{chunk-GWDMKEDY.js → chunk-K2RYCCTP.js} +4 -4
  38. package/dist/bundle/{chunk-RHUNMU4Q.js → chunk-K62YATVD.js} +4 -4
  39. package/dist/bundle/{chunk-UBQ3LOF6.js → chunk-KA6EGOJY.js} +2 -2
  40. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  41. package/dist/bundle/{chunk-M7B5IMH3.js → chunk-LFKEKSI5.js} +1032 -298
  42. package/dist/bundle/{chunk-BPPRR7TV.js → chunk-LSKGCJWD.js} +3403 -1275
  43. package/dist/bundle/{chunk-CNO3R4O4.js → chunk-LXH3SKY3.js} +8 -8
  44. package/dist/bundle/{chunk-JZXQZW2D.js → chunk-MQ7MCVZV.js} +2 -2
  45. package/dist/bundle/{chunk-2TC76TLJ.js → chunk-N42VUNTO.js} +2 -2
  46. package/dist/bundle/{chunk-KIZT2MI6.js → chunk-N6TIFJHW.js} +1 -1
  47. package/dist/bundle/{chunk-WDNNN3J4.js → chunk-NL3PAFAE.js} +6 -6
  48. package/dist/bundle/{chunk-AVWPMJ6E.js → chunk-NUYRMU56.js} +2 -2
  49. package/dist/bundle/{chunk-NTW5ZE47.js → chunk-OX6EWGSG.js} +39 -33
  50. package/dist/bundle/{chunk-WINKEV4F.js → chunk-PPLFOIYX.js} +4 -4
  51. package/dist/bundle/{chunk-OMP6ALBT.js → chunk-PPSUA3IZ.js} +3 -3
  52. package/dist/bundle/{chunk-UY7GJRGY.js → chunk-PXMHBTK3.js} +4 -4
  53. package/dist/bundle/{chunk-VVKEWWSO.js → chunk-QAKL3GXB.js} +1 -1
  54. package/dist/bundle/{chunk-QK6VLKG5.js → chunk-QGL2UGML.js} +301 -185
  55. package/dist/bundle/{chunk-OUX3QMYI.js → chunk-QHBVGKC3.js} +45 -26
  56. package/dist/bundle/{chunk-BEQPZA3S.js → chunk-R52RMHWF.js} +2 -2
  57. package/dist/bundle/chunk-RSDIPQXP.js +35 -0
  58. package/dist/bundle/{chunk-VQCWVZWG.js → chunk-RSNGMNU5.js} +6 -6
  59. package/dist/bundle/{chunk-TMATSEP5.js → chunk-SD5PUYKF.js} +12 -12
  60. package/dist/bundle/chunk-SKZ2E3WC.js +91 -0
  61. package/dist/bundle/{chunk-PEJHI7QO.js → chunk-T7CDLV33.js} +4 -4
  62. package/dist/bundle/{chunk-D4E345BC.js → chunk-TZVL4U7U.js} +2 -2
  63. package/dist/bundle/{chunk-YCUQKFGD.js → chunk-UCSFO5GW.js} +3 -3
  64. package/dist/bundle/{chunk-A4BQGSKI.js → chunk-VQPLHOVQ.js} +6 -6
  65. package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
  66. package/dist/bundle/{chunk-LUIPXRKN.js → chunk-XQUTJITP.js} +46 -46
  67. package/dist/bundle/{chunk-L4CMCC3V.js → chunk-Y6VWGJ4Q.js} +1 -1
  68. package/dist/bundle/{chunk-RFRI2HFT.js → chunk-YLRTLZF6.js} +1 -1
  69. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  70. package/dist/bundle/{chunk-U67TSAAO.js → chunk-YYKJN6H5.js} +908 -555
  71. package/dist/bundle/{chunk-WMRFAK5B.js → chunk-ZDIAPICE.js} +4 -4
  72. package/dist/bundle/command-contract-DPXM4SZT.js +33 -0
  73. package/dist/bundle/{decode-2GATBZGH.js → decode-W6YPTGJA.js} +5 -5
  74. package/dist/bundle/{dispatch-MJMW7WDH.js → dispatch-H7EFNBEH.js} +8 -8
  75. package/dist/bundle/{echarts-GKEZEAL7.js → echarts-YAWDIC5D.js} +2 -2
  76. package/dist/bundle/{embed-TBQPLA4Y.js → embed-EN4UTLV5.js} +6 -6
  77. package/dist/bundle/{embedder-B5DTNCRO.js → embedder-HEKHRL7E.js} +9 -9
  78. package/dist/bundle/{entry-A6DEW2TD.js → entry-2KB6MTCG.js} +7 -7
  79. package/dist/bundle/{failure-TLF3SISS.js → failure-3DU3HLBQ.js} +2 -2
  80. package/dist/bundle/{first-run-3N5AABEY.js → first-run-LBG26WWO.js} +11 -11
  81. package/dist/bundle/first-screen-TGTSLUI6.js +31 -0
  82. package/dist/bundle/{instructions-P5E34PQR.js → instructions-HA62QNPR.js} +1 -1
  83. package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
  84. package/dist/bundle/{node-GKPRXS5Y.js → node-MZ2VWSQQ.js} +2 -2
  85. package/dist/bundle/{node-sqlite-GIDPALK3.js → node-sqlite-KNNS6DCM.js} +6 -6
  86. package/dist/bundle/{oauth-C57W4IMD.js → oauth-KWUABBSQ.js} +7 -7
  87. package/dist/bundle/{open-E6Q4WRPU.js → open-JXMCYCIV.js} +5 -5
  88. package/dist/bundle/{openai-5WMXY2KP.js → openai-HL3IR4VT.js} +14 -14
  89. package/dist/bundle/{process-U2P5Z6UF.js → process-K2FICLWY.js} +1 -1
  90. package/dist/bundle/{program-FEUDU6GF.js → program-IFOMT4JS.js} +58 -50
  91. package/dist/bundle/{prompt-4NGAZGHE.js → prompt-HVD3Q77P.js} +5 -5
  92. package/dist/bundle/{proxy-transport-MGCJ7JAW.js → proxy-transport-PA5SGMRY.js} +5 -5
  93. package/dist/bundle/{recognize-EUHRBA7V.js → recognize-HHLVETKI.js} +4 -4
  94. package/dist/bundle/{remote-3JHLB2FV.js → remote-HUAKXJCS.js} +7 -7
  95. package/dist/bundle/{rerank-ZZ45SZPC.js → rerank-NWFIV7OF.js} +7 -7
  96. package/dist/bundle/{serve-XOGX5FC5.js → serve-ANUKAJJN.js} +9 -9
  97. package/dist/bundle/{server-I6O72XP5.js → server-7Q7WAOHO.js} +35 -34
  98. package/dist/bundle/server-HCQS4YDQ.js +60 -0
  99. package/dist/bundle/{state-BIUYTGH6.js → state-Y2AJ5XTP.js} +6 -6
  100. package/dist/bundle/{store-FOJFYOMR.js → store-S3IG5KWL.js} +15 -12
  101. package/dist/bundle/store-maintenance-command-V2WC4G6J.js +50 -0
  102. package/dist/bundle/tg.js +13 -13
  103. package/dist/commands/session.d.ts.map +1 -1
  104. package/dist/commands/session.js +7 -0
  105. package/dist/commands/session.js.map +1 -1
  106. package/dist/telegram/login.d.ts +2 -0
  107. package/dist/telegram/login.d.ts.map +1 -1
  108. package/dist/telegram/login.js +31 -2
  109. package/dist/telegram/login.js.map +1 -1
  110. package/dist/version.d.ts +1 -1
  111. package/dist/version.js +1 -1
  112. package/package.json +3 -3
  113. package/dist/bundle/chunk-63YKD7YA.js +0 -18
  114. package/dist/bundle/command-contract-YF4KGFXC.js +0 -32
  115. package/dist/bundle/first-screen-HANARM67.js +0 -30
  116. package/dist/bundle/server-DRE5MJ76.js +0 -59
  117. package/dist/bundle/store-maintenance-command-YKV2C34N.js +0 -49
  118. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
@@ -7,7 +7,7 @@ import {
7
7
  commandPathOf,
8
8
  findCommand,
9
9
  outputOf
10
- } from "./chunk-AICS3TSF.js";
10
+ } from "./chunk-GV7ZJ33M.js";
11
11
  import {
12
12
  Command,
13
13
  Help,
@@ -18,18 +18,18 @@ import {
18
18
  environmentOf,
19
19
  metaOf,
20
20
  takesProfile
21
- } from "./chunk-M7B5IMH3.js";
21
+ } from "./chunk-LFKEKSI5.js";
22
22
  import {
23
23
  writes
24
- } from "./chunk-77M3IAVU.js";
24
+ } from "./chunk-76CX2YPT.js";
25
25
  import {
26
26
  CliError
27
- } from "./chunk-CCHHEMPM.js";
27
+ } from "./chunk-EB2IULWB.js";
28
28
  import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
32
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/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.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
97
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/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.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
136
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/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.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
328
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
329
329
  var WIRECAT_TOOLS = [
330
330
  {
331
331
  command: "tg",
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-CCHHEMPM.js";
5
+ } from "./chunk-EB2IULWB.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/models/types.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/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)
@@ -8,12 +8,12 @@ import {
8
8
  ACCESS_SECONDS,
9
9
  REFRESH_SECONDS,
10
10
  readStored
11
- } from "./chunk-UY7GJRGY.js";
11
+ } from "./chunk-PXMHBTK3.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
17
17
  import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
18
18
  import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/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) => {
@@ -5,23 +5,23 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-PEJHI7QO.js";
8
+ } from "./chunk-T7CDLV33.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-CCHHEMPM.js";
14
+ } from "./chunk-EB2IULWB.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
684
  name,
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
858
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
859
  }, "openSession");
860
860
 
861
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
862
862
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
863
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
864
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-CCHHEMPM.js";
5
+ } from "./chunk-EB2IULWB.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -7,6 +7,7 @@ import {
7
7
  errorObjectOf,
8
8
  getDotPath,
9
9
  isoTime,
10
+ object,
10
11
  optional,
11
12
  parseRegistry,
12
13
  picklist,
@@ -18,11 +19,11 @@ import {
18
19
  string,
19
20
  text,
20
21
  unknown
21
- } from "./chunk-77M3IAVU.js";
22
+ } from "./chunk-76CX2YPT.js";
22
23
  import {
23
24
  CliError,
24
25
  visibleControls
25
- } from "./chunk-CCHHEMPM.js";
26
+ } from "./chunk-EB2IULWB.js";
26
27
  import {
27
28
  __commonJS,
28
29
  __name,
@@ -1895,7 +1896,7 @@ var require_cli_table3 = __commonJS({
1895
1896
  }
1896
1897
  });
1897
1898
 
1898
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
1899
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
1899
1900
  var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
1900
1901
  if (signal?.aborted)
1901
1902
  return Promise.reject(signal.reason);
@@ -1923,7 +1924,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
1923
1924
  });
1924
1925
  }, "waitForDrain");
1925
1926
 
1926
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
1927
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
1927
1928
  var processStreams = {
1928
1929
  drain: /* @__PURE__ */ __name(async (signal) => {
1929
1930
  await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
@@ -1952,7 +1953,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
1952
1953
  };
1953
1954
  }, "captureStreams");
1954
1955
 
1955
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
1956
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
1956
1957
  var DEFAULT_RETRY = {
1957
1958
  retries: 1,
1958
1959
  baseDelayMs: 250,
@@ -1964,7 +1965,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
1964
1965
  return Math.round(random() * ceiling);
1965
1966
  }, "backoffMs");
1966
1967
 
1967
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
1968
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
1968
1969
  var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
1969
1970
  var validate = /* @__PURE__ */ __name((paths) => {
1970
1971
  if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
@@ -1975,14 +1976,14 @@ var fieldsOf = /* @__PURE__ */ __name((value) => {
1975
1976
  validate(paths);
1976
1977
  return [...new Set(paths)];
1977
1978
  }, "fieldsOf");
1978
- var object = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value), "object");
1979
+ var object2 = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value), "object");
1979
1980
  var retained = /* @__PURE__ */ new Set(["operation_id", "page", "next", "missing", "meta", "coverage"]);
1980
1981
  var itemPaths = /* @__PURE__ */ __name((paths) => paths.map((path) => path.startsWith("items.") ? path.slice(6) : path), "itemPaths");
1981
1982
  var onePaths = /* @__PURE__ */ __name((paths) => paths.map((path) => path.startsWith("item.") ? path.slice(5) : path), "onePaths");
1982
1983
  var select = /* @__PURE__ */ __name((value, paths) => {
1983
1984
  if (Array.isArray(value))
1984
1985
  return value.map((item) => select(item, paths));
1985
- if (!object(value))
1986
+ if (!object2(value))
1986
1987
  return value;
1987
1988
  const result = {};
1988
1989
  const groups = /* @__PURE__ */ new Map();
@@ -2000,9 +2001,9 @@ var select = /* @__PURE__ */ __name((value, paths) => {
2000
2001
  const found = value[key];
2001
2002
  if (children.includes(""))
2002
2003
  result[key] = found;
2003
- else if (object(found) || Array.isArray(found)) {
2004
+ else if (object2(found) || Array.isArray(found)) {
2004
2005
  const selected = select(found, children);
2005
- if (Array.isArray(selected) || object(selected) && Object.keys(selected).length > 0)
2006
+ if (Array.isArray(selected) || object2(selected) && Object.keys(selected).length > 0)
2006
2007
  result[key] = selected;
2007
2008
  }
2008
2009
  }
@@ -2014,22 +2015,22 @@ var select = /* @__PURE__ */ __name((value, paths) => {
2014
2015
  var project = /* @__PURE__ */ __name((value, fields) => {
2015
2016
  if (Array.isArray(value))
2016
2017
  return value.map((item) => select(item, itemPaths(fields)));
2017
- if (object(value) && Object.hasOwn(value, "type") && value.type === "item" && Object.hasOwn(value, "data") && Object.keys(value).every((key) => ["type", "data"].includes(key)))
2018
+ if (object2(value) && Object.hasOwn(value, "type") && value.type === "item" && Object.hasOwn(value, "data") && Object.keys(value).every((key) => ["type", "data"].includes(key)))
2018
2019
  return { ...value, data: project(value.data, fields) };
2019
- if (object(value) && Object.hasOwn(value, "type") && value.type === "end" && Object.hasOwn(value, "complete") && typeof value.complete === "boolean")
2020
+ if (object2(value) && Object.hasOwn(value, "type") && value.type === "end" && Object.hasOwn(value, "complete") && typeof value.complete === "boolean")
2020
2021
  return value;
2021
- if (object(value) && Object.hasOwn(value, "item") && (Object.hasOwn(value, "meta") || Object.keys(value).every((key) => ["item", "next", "missing"].includes(key))))
2022
+ if (object2(value) && Object.hasOwn(value, "item") && (Object.hasOwn(value, "meta") || Object.keys(value).every((key) => ["item", "next", "missing"].includes(key))))
2022
2023
  return { ...value, item: project(value.item, onePaths(fields)) };
2023
- if (object(value) && Array.isArray(value.items))
2024
+ if (object2(value) && Array.isArray(value.items))
2024
2025
  return { ...value, items: value.items.map((item) => select(item, itemPaths(fields))) };
2025
- return select(value, object(value) && !Object.hasOwn(value, "items") ? itemPaths(fields) : fields);
2026
+ return select(value, object2(value) && !Object.hasOwn(value, "items") ? itemPaths(fields) : fields);
2026
2027
  }, "project");
2027
2028
  var projectFields = /* @__PURE__ */ __name((value, fields) => {
2028
2029
  validate(fields);
2029
2030
  return project(value, fields);
2030
2031
  }, "projectFields");
2031
2032
 
2032
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
2033
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
2033
2034
  var BATCH_LIMITS = Object.freeze({
2034
2035
  requests: 32,
2035
2036
  input_bytes: 262144,
@@ -2087,10 +2088,10 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
2087
2088
  if (maxOutputBytes < 8192 + requests.length * 2048)
2088
2089
  invalid("batch output budget cannot hold its result framing");
2089
2090
  const errorOf = /* @__PURE__ */ __name((error) => {
2090
- const object2 = errorObjectOf(error, options.failureContext).error;
2091
+ const object3 = errorObjectOf(error, options.failureContext).error;
2091
2092
  try {
2092
- if (Buffer.byteLength(JSON.stringify(object2), "utf8") <= 512)
2093
- return object2;
2093
+ if (Buffer.byteLength(JSON.stringify(object3), "utf8") <= 512)
2094
+ return object3;
2094
2095
  } catch {
2095
2096
  }
2096
2097
  const fallback = errorObjectOf(error).error;
@@ -2135,11 +2136,11 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
2135
2136
  }
2136
2137
  } catch (error) {
2137
2138
  options.signal?.throwIfAborted();
2138
- const object2 = errorOf(error);
2139
+ const object3 = errorOf(error);
2139
2140
  result = {
2140
2141
  ...framing,
2141
- status: object2.reason === "batch.read-budget" ? "not_run" : "error",
2142
- error: object2,
2142
+ status: object3.reason === "batch.read-budget" ? "not_run" : "error",
2143
+ error: object3,
2143
2144
  complete: false
2144
2145
  };
2145
2146
  }
@@ -2156,7 +2157,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
2156
2157
  };
2157
2158
  }, "runBatch");
2158
2159
 
2159
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
2160
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
2160
2161
  import { randomBytes } from "node:crypto";
2161
2162
  import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
2162
2163
  import { dirname, join } from "node:path";
@@ -2200,11 +2201,16 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
2200
2201
  `, 384);
2201
2202
  }, "saveConfigFile");
2202
2203
 
2203
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2204
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
2205
+ var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
2206
+ var baseConstantsSchema = object({});
2207
+ var LayerSchema = record(string(), unknown());
2208
+
2209
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2204
2210
  import { readFileSync as readFileSync2 } from "node:fs";
2205
2211
  import { join as join3, resolve } from "node:path";
2206
2212
 
2207
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
2213
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
2208
2214
  import { createRequire } from "node:module";
2209
2215
  var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
2210
2216
  var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
@@ -2224,7 +2230,7 @@ var systemKeyring = {
2224
2230
  delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
2225
2231
  };
2226
2232
 
2227
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
2233
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
2228
2234
  import { homedir, userInfo } from "node:os";
2229
2235
  import { join as join2, posix, win32 } from "node:path";
2230
2236
  var PATH_KINDS = ["config", "state", "cache"];
@@ -2276,7 +2282,7 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
2276
2282
  var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
2277
2283
  var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join2(configDir, fileName), "configFilePath");
2278
2284
 
2279
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2285
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2280
2286
  var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
2281
2287
  var warnedRuns = /* @__PURE__ */ new WeakSet();
2282
2288
  var Credentials = class {
@@ -2411,7 +2417,7 @@ var Credentials = class {
2411
2417
  }
2412
2418
  };
2413
2419
 
2414
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2420
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2415
2421
  var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
2416
2422
  var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
2417
2423
  if (signal?.aborted) {
@@ -2425,10 +2431,10 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
2425
2431
  }, { once: true });
2426
2432
  }), "realSleep");
2427
2433
 
2428
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2434
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2429
2435
  import { appendFileSync } from "node:fs";
2430
2436
 
2431
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
2437
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
2432
2438
  var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
2433
2439
  var logRecordSchema = strictObject({
2434
2440
  time: isoTime,
@@ -2506,7 +2512,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
2506
2512
  return traceId;
2507
2513
  }, "traceIdOf");
2508
2514
 
2509
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2515
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2510
2516
  var REDACTED_FIELDS = [
2511
2517
  "authorization",
2512
2518
  "Authorization",
@@ -2600,7 +2606,7 @@ var silent = {
2600
2606
  }, "error")
2601
2607
  };
2602
2608
 
2603
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2609
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2604
2610
  var import_cli_table3 = __toESM(require_cli_table3(), 1);
2605
2611
  import { styleText } from "node:util";
2606
2612
  var renderPretty = /* @__PURE__ */ __name((value, options) => {
@@ -2675,7 +2681,7 @@ var BORDERLESS = {
2675
2681
  middle: ""
2676
2682
  };
2677
2683
 
2678
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2684
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2679
2685
  var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
2680
2686
  const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
2681
2687
  const say = /* @__PURE__ */ __name((symbol) => (message) => {
@@ -3,26 +3,26 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
5
  executableOnPath
6
- } from "./chunk-PQLBPYJR.js";
6
+ } from "./chunk-YPF6OS37.js";
7
7
  import {
8
8
  require_cross_spawn
9
9
  } from "./chunk-D72URWJE.js";
10
10
  import {
11
11
  loadConfigFile,
12
12
  saveConfigFile
13
- } from "./chunk-NTW5ZE47.js";
13
+ } from "./chunk-OX6EWGSG.js";
14
14
  import {
15
15
  number,
16
16
  object,
17
17
  optional,
18
18
  string
19
- } from "./chunk-77M3IAVU.js";
19
+ } from "./chunk-76CX2YPT.js";
20
20
  import {
21
21
  __name,
22
22
  __toESM
23
23
  } from "./chunk-ZVVMGPBJ.js";
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
25
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
26
26
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
27
27
  import { existsSync } from "node:fs";
28
28
  var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-A4BQGSKI.js";
6
+ } from "./chunk-VQPLHOVQ.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-CCHHEMPM.js";
9
+ } from "./chunk-EB2IULWB.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/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";
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-GCFU6WBE.js";
8
+ } from "./chunk-HK6SIIGG.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/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.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/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.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/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");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/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 = "";