@wirecat/cli-memo 0.131.39 → 0.131.40

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-5CXMPAOF.js → all-profiles-QFW2NKJY.js} +5 -5
  3. package/dist/bundle/{anthropic-KJECM7MD.js → anthropic-IARLHPYJ.js} +3 -3
  4. package/dist/bundle/{app-server-ZO7Z7RMA.js → app-server-L4N5IWJF.js} +35 -35
  5. package/dist/bundle/auto-24I3FBUW.js +86 -0
  6. package/dist/bundle/{bun-V2HGEGFF.js → bun-NWKIEX53.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-DSFSAFNQ.js → bun-sqlite-HORFVNNY.js} +2 -2
  8. package/dist/bundle/{chunk-P357OGUL.js → chunk-2SZEKYBN.js} +1 -1
  9. package/dist/bundle/{chunk-P3QBCCBA.js → chunk-2YJBI3NK.js} +1 -1
  10. package/dist/bundle/{chunk-QAFJG52K.js → chunk-4EZK5PGX.js} +1 -1
  11. package/dist/bundle/{chunk-PWVNSJBL.js → chunk-5G3NNIJQ.js} +10 -10
  12. package/dist/bundle/{chunk-7DMTHV2P.js → chunk-5HSR6U4Z.js} +1 -1
  13. package/dist/bundle/{chunk-WDDYMCLD.js → chunk-5HXLRQ4Q.js} +43 -43
  14. package/dist/bundle/{chunk-LXNWBHCK.js → chunk-6E4DCMJ5.js} +4 -4
  15. package/dist/bundle/{chunk-EY42TTWE.js → chunk-6RAU7FD2.js} +11 -11
  16. package/dist/bundle/{chunk-QL2YLPB5.js → chunk-756VKGKO.js} +2 -2
  17. package/dist/bundle/{chunk-DZBNKSE2.js → chunk-A7M74RZH.js} +352 -358
  18. package/dist/bundle/{chunk-QMDVWF3C.js → chunk-A7MXWBIX.js} +2 -2
  19. package/dist/bundle/{chunk-UECWAAZ3.js → chunk-ADMB7OK5.js} +4 -4
  20. package/dist/bundle/{chunk-4GA7IMXD.js → chunk-AKSNCK5L.js} +257 -257
  21. package/dist/bundle/{chunk-4MFNKTQQ.js → chunk-ASVVDNAS.js} +3 -3
  22. package/dist/bundle/{chunk-CHAA2BOM.js → chunk-ATR65D7K.js} +8 -8
  23. package/dist/bundle/{chunk-HB3YU52J.js → chunk-B4XRE67Q.js} +10 -9
  24. package/dist/bundle/{chunk-XED6NO7E.js → chunk-BWNNUEHG.js} +1 -1
  25. package/dist/bundle/{chunk-BHBLLZAO.js → chunk-CB34NXQP.js} +89 -74
  26. package/dist/bundle/{chunk-KBDZG6XU.js → chunk-DNZH53VQ.js} +3 -3
  27. package/dist/bundle/{chunk-H4DBYU2J.js → chunk-EGQCBZVM.js} +2 -2
  28. package/dist/bundle/{chunk-552IRBSA.js → chunk-EGRI2NUT.js} +4 -4
  29. package/dist/bundle/{chunk-TSGJRL2S.js → chunk-EIFPQD57.js} +1 -1
  30. package/dist/bundle/{chunk-G35CZBBF.js → chunk-EQQWJM6B.js} +5 -5
  31. package/dist/bundle/{chunk-WJCBQFEM.js → chunk-FBREYLY5.js} +1 -1
  32. package/dist/bundle/{chunk-H4GQZLTW.js → chunk-FTX3OPWV.js} +27 -27
  33. package/dist/bundle/{chunk-7VBSW2RI.js → chunk-G3IO2TLK.js} +5 -5
  34. package/dist/bundle/{chunk-AKLFOL4C.js → chunk-JGDZ3G4P.js} +3 -3
  35. package/dist/bundle/{chunk-5I75PUEK.js → chunk-KAU67PDK.js} +197 -164
  36. package/dist/bundle/{chunk-ZQTFPZ36.js → chunk-KGXVJO2V.js} +5 -5
  37. package/dist/bundle/{chunk-TOZ2COFV.js → chunk-KWGNPUIV.js} +7 -7
  38. package/dist/bundle/{chunk-JQSFIPWA.js → chunk-LL5HPYW5.js} +7 -7
  39. package/dist/bundle/{chunk-QZABT7XH.js → chunk-LXQQ7Q34.js} +9 -9
  40. package/dist/bundle/{chunk-WBWFH7ZT.js → chunk-M7UHHXSH.js} +1 -1
  41. package/dist/bundle/{chunk-QUJXYDYY.js → chunk-MLHRER2H.js} +2 -2
  42. package/dist/bundle/{chunk-U5B2ORUM.js → chunk-NCC3RXUX.js} +3 -3
  43. package/dist/bundle/{chunk-SANEKFUF.js → chunk-OGHWLR5E.js} +1 -1
  44. package/dist/bundle/{chunk-S7W5GFOI.js → chunk-OSDA5EZW.js} +283 -271
  45. package/dist/bundle/{chunk-Q3O7N35U.js → chunk-OZF7QBTS.js} +2 -2
  46. package/dist/bundle/{chunk-OJBM56FX.js → chunk-PAE2NZ7S.js} +20 -20
  47. package/dist/bundle/{chunk-GANKKP5F.js → chunk-QR5KWOZ2.js} +4 -4
  48. package/dist/bundle/{chunk-72DBFKCI.js → chunk-RZ3UQFLE.js} +1 -1
  49. package/dist/bundle/{chunk-Q35DHKBZ.js → chunk-SRYOICSG.js} +1 -1
  50. package/dist/bundle/{chunk-YFBNICKS.js → chunk-THIXDXP3.js} +2 -2
  51. package/dist/bundle/{chunk-SB7V3HFM.js → chunk-TWC6UJD2.js} +12 -12
  52. package/dist/bundle/{chunk-RBLUTSSL.js → chunk-U5WIWLWM.js} +6 -6
  53. package/dist/bundle/{chunk-GRTELFME.js → chunk-UEG3BDCX.js} +4 -4
  54. package/dist/bundle/{chunk-EP5U5WCQ.js → chunk-UGHYNVWQ.js} +1 -1
  55. package/dist/bundle/{chunk-O6ZLAFWQ.js → chunk-W3SMUCMB.js} +1 -1
  56. package/dist/bundle/{chunk-CQJO22KN.js → chunk-WAZWM4KZ.js} +20 -20
  57. package/dist/bundle/{chunk-AX6AMVVY.js → chunk-WHWACGZX.js} +7 -7
  58. package/dist/bundle/{chunk-DMY2YVJ7.js → chunk-WU6PDHXY.js} +5 -5
  59. package/dist/bundle/{chunk-UIUMG7AY.js → chunk-XAWB4WEC.js} +1 -1
  60. package/dist/bundle/{chunk-6BJPSIFE.js → chunk-XF7TG5VK.js} +38 -35
  61. package/dist/bundle/{chunk-ER7SUNTY.js → chunk-XV7M6VWX.js} +4 -4
  62. package/dist/bundle/{chunk-3ZEH35NH.js → chunk-YWWTEWX3.js} +1 -1
  63. package/dist/bundle/{chunk-B2YW6VOA.js → chunk-Z6OKSDP3.js} +1 -1
  64. package/dist/bundle/{chunk-D7JMUN36.js → chunk-ZH43Q2JO.js} +2 -2
  65. package/dist/bundle/{command-contract-JXLIGF3U.js → command-contract-ZRJPMWWI.js} +11 -11
  66. package/dist/bundle/{decode-HXMDIZKS.js → decode-MDCEP64X.js} +2 -2
  67. package/dist/bundle/{echarts-MRWQC3FY.js → echarts-RFIQAWMT.js} +2 -2
  68. package/dist/bundle/{embed-IEJFYZ7N.js → embed-443F7XR4.js} +3 -3
  69. package/dist/bundle/{embedder-N2TXC47Z.js → embedder-VRDPZFWC.js} +6 -6
  70. package/dist/bundle/{entry-VX4RACD7.js → entry-36KBOBA4.js} +4 -4
  71. package/dist/bundle/failure-QKFNHYKC.js +66 -0
  72. package/dist/bundle/{first-run-2GXQUNFV.js → first-run-CYZSGJTG.js} +5 -5
  73. package/dist/bundle/{first-screen-JRKMDJPK.js → first-screen-UY54KNVU.js} +12 -12
  74. package/dist/bundle/{instructions-FR4H42RI.js → instructions-RI2WFMBA.js} +1 -1
  75. package/dist/bundle/{mcp-IP3FEW24.js → mcp-DHX4GF3A.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-QWBBKDHE.js → node-H7LWGE5H.js} +2 -2
  78. package/dist/bundle/{node-sqlite-GKJHUPHC.js → node-sqlite-N4POELFM.js} +3 -3
  79. package/dist/bundle/{oauth-ZQ7B32ZI.js → oauth-OOUASPSL.js} +4 -4
  80. package/dist/bundle/{open-TDGXVXNV.js → open-2T52CQDG.js} +2 -2
  81. package/dist/bundle/{openai-3T4YGUZM.js → openai-76CJYDRJ.js} +7 -7
  82. package/dist/bundle/{process-OBTDURL4.js → process-7YATIAKW.js} +1 -1
  83. package/dist/bundle/{program-6UJEO4TI.js → program-O4I2BGM2.js} +56 -56
  84. package/dist/bundle/{prompt-JZIIKSM4.js → prompt-MHD5EI75.js} +2 -2
  85. package/dist/bundle/{recognize-47F6WJYE.js → recognize-ARCD7XPJ.js} +1 -1
  86. package/dist/bundle/{remote-NHSYSI2S.js → remote-OQ7TUXN3.js} +4 -4
  87. package/dist/bundle/{rerank-HONNCBTA.js → rerank-422D4DZR.js} +4 -4
  88. package/dist/bundle/{serve-63BFDEQS.js → serve-ZOT62JRM.js} +6 -6
  89. package/dist/bundle/server-EISBI6O6.js +61 -0
  90. package/dist/bundle/{server-QWJPOH7K.js → server-HAZC3T7X.js} +50 -50
  91. package/dist/bundle/server-NNQ3YRBV.js +48 -0
  92. package/dist/bundle/{state-ZLODXERO.js → state-KBW7BI2G.js} +3 -3
  93. package/dist/bundle/{store-Q36VLED7.js → store-KZY5FZPD.js} +9 -9
  94. package/dist/bundle/store-maintenance-command-ZFQOMCLZ.js +48 -0
  95. package/dist/bundle/update-SAX5XN2C.js +69 -0
  96. package/dist/knowledge/project-status-command.js +1 -1
  97. package/dist/knowledge/project-status-command.js.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/mail-triage/SKILL.md +2 -2
  102. package/dist/bundle/auto-MA47DOER.js +0 -86
  103. package/dist/bundle/failure-LU3CYK3U.js +0 -66
  104. package/dist/bundle/server-I6M5QH5W.js +0 -48
  105. package/dist/bundle/server-XYUNBCYP.js +0 -61
  106. package/dist/bundle/store-maintenance-command-EM53HVOY.js +0 -48
  107. package/dist/bundle/update-UKMV74FK.js +0 -69
  108. /package/dist/bundle/{chunk-TYQAAHHM.js → chunk-5VKETWNU.js} +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-4MFNKTQQ.js";
8
+ } from "./chunk-ASVVDNAS.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
@@ -16,12 +16,12 @@ import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/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.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/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.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/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.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/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");
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/search/languages.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/search/languages.js
11
11
  var LANGUAGES = [
12
12
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
13
13
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -15,12 +15,12 @@ var LANGUAGES = [
15
15
  ];
16
16
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/store/normalize.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/store/normalize.js
19
19
  var NORMALIZER_VERSION = 1;
20
20
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
21
21
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
24
24
  var BaseStemmer = class {
25
25
  static {
26
26
  __name(this, "BaseStemmer");
@@ -395,7 +395,7 @@ var BaseStemmer = class {
395
395
  }
396
396
  };
397
397
 
398
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
399
399
  var a_0 = [
400
400
  ["arsen", -1],
401
401
  ["commun", -1],
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
1096
1096
  stemWord = this.stem;
1097
1097
  };
1098
1098
 
1099
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1100
1100
  var a_02 = [
1101
1101
  ["\u0432", 1],
1102
1102
  ["\u0438\u0432", 2, 1],
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1519
1519
  stemWord = this.stem;
1520
1520
  };
1521
1521
 
1522
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1522
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1523
1523
  var a_03 = [
1524
1524
  ["", 6],
1525
1525
  ["\xE1", 1, 1],
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2195
2195
  stemWord = this.stem;
2196
2196
  };
2197
2197
 
2198
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/search/stem.js
2198
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/search/stem.js
2199
2199
  var SNOWBALL_VERSION = "3.1.1";
2200
2200
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2201
2201
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  secretNamed,
5
5
  withoutSecrets
6
- } from "./chunk-QAFJG52K.js";
6
+ } from "./chunk-4EZK5PGX.js";
7
7
  import {
8
8
  isContentKey
9
9
  } from "./chunk-2R2Z2VWL.js";
@@ -14,18 +14,18 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/runs/run-context.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/runs/run-context.js
18
18
  import { AsyncLocalStorage } from "node:async_hooks";
19
19
  import { createHash } from "node:crypto";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
22
22
  import { homedir } from "node:os";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/errors/failures.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/errors/failures.js
25
25
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
26
26
  var failureKey = /* @__PURE__ */ __name((error) => isCliFailure(error) ? error.code : error instanceof Error ? error.name : "error", "failureKey");
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/runs/events.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/runs/events.js
29
29
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
30
30
  var renderEvent = /* @__PURE__ */ __name((event) => {
31
31
  if (event.event === "warning") {
@@ -73,7 +73,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
73
73
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
74
74
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
77
77
  var MESSAGE_AT_MOST = 500;
78
78
  var CAUSES_AT_MOST = 5;
79
79
  var FRAMES_AT_MOST = 15;
@@ -182,7 +182,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
182
182
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
183
183
  }, "redactText");
184
184
 
185
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/runs/run-context.js
185
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/runs/run-context.js
186
186
  var REDACTED = "[redacted]";
187
187
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
188
188
  if (!record)
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  envName,
5
5
  readOnlyLockOf
6
- } from "./chunk-EP5U5WCQ.js";
6
+ } from "./chunk-UGHYNVWQ.js";
7
7
  import {
8
8
  CAPABILITY_STATEMENTS,
9
9
  storeCapable
10
- } from "./chunk-G35CZBBF.js";
10
+ } from "./chunk-EQQWJM6B.js";
11
11
  import {
12
12
  catchCrashes
13
13
  } from "./chunk-SN63VOE6.js";
@@ -21,10 +21,10 @@ import {
21
21
  __name
22
22
  } from "./chunk-ZVVMGPBJ.js";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/cli/entry.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/cli/entry.js
25
25
  import { spawn as spawn2 } from "node:child_process";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
28
28
  import { spawn, spawnSync } from "node:child_process";
29
29
  import { readFileSync } from "node:fs";
30
30
  import { dirname } from "node:path";
@@ -112,14 +112,14 @@ var relay = /* @__PURE__ */ __name((child, host = process) => new Promise(() =>
112
112
  });
113
113
  }), "relay");
114
114
 
115
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
115
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
116
116
  import { appendFileSync } from "node:fs";
117
117
  var logVersion = /* @__PURE__ */ __name((file) => {
118
118
  appendFileSync(file, `${JSON.stringify({ command: "", options: ["--version"] })}
119
119
  `);
120
120
  }, "logVersion");
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/cli/entry.js
122
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/cli/entry.js
123
123
  var processIo = /* @__PURE__ */ __name(() => ({
124
124
  argv: process.argv,
125
125
  env: process.env,
@@ -173,8 +173,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
173
173
  if (command.optsWithGlobals().dryRun === true)
174
174
  return;
175
175
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
176
- import("./first-run-2GXQUNFV.js"),
177
- import("./command-contract-JXLIGF3U.js")
176
+ import("./first-run-CYZSGJTG.js"),
177
+ import("./command-contract-ZRJPMWWI.js")
178
178
  ]);
179
179
  await setupAtStart({
180
180
  command: entry.app.command,
@@ -189,7 +189,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
189
189
  ask: /* @__PURE__ */ __name(async (question, command) => {
190
190
  if (headless(command) || io.stdin.isTTY !== true)
191
191
  return false;
192
- const { readSecret } = await import("./prompt-JZIIKSM4.js");
192
+ const { readSecret } = await import("./prompt-MHD5EI75.js");
193
193
  const answer = await readSecret(`${question} [y/N] `, {
194
194
  input: io.stdin,
195
195
  output: io.stderr,
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
@@ -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-P357OGUL.js";
5
+ } from "./chunk-2SZEKYBN.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.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/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,10 +4,10 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-GRTELFME.js";
7
+ } from "./chunk-UEG3BDCX.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-UIUMG7AY.js";
10
+ } from "./chunk-XAWB4WEC.js";
11
11
  import {
12
12
  CliError
13
13
  } from "./chunk-RZ54DSVU.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.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/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";
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.582.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_97f64d51523dd4ecc03951217aefe0ba/node_modules/@wirecat/cli-core/dist/http/public-url.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/http/public-url.js
11
11
  var EXAMPLE = "--public-url https://<name>.ts.net";
12
12
  var publicUrlOf = /* @__PURE__ */ __name((given, { missing, reaches, path = false }) => {
13
13
  if (!given)