@wirecat/cli-memo 0.131.50 → 0.131.52

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 (144) hide show
  1. package/dist/author.d.ts +6 -3
  2. package/dist/author.d.ts.map +1 -1
  3. package/dist/author.js +9 -4
  4. package/dist/author.js.map +1 -1
  5. package/dist/bin/memo.js +2 -2
  6. package/dist/bundle/{all-profiles-3HADTQZA.js → all-profiles-ZFVBLT2D.js} +9 -9
  7. package/dist/bundle/{anthropic-RI4DWC3G.js → anthropic-UG2YHOT7.js} +6 -6
  8. package/dist/bundle/{app-server-6EKWAYJI.js → app-server-AQYA4TB6.js} +42 -42
  9. package/dist/bundle/auto-2AY6K6DI.js +86 -0
  10. package/dist/bundle/{bun-HUHQD76Z.js → bun-QJUFWKEZ.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-RPSKGB4O.js → bun-sqlite-GWVRHYF4.js} +5 -5
  12. package/dist/bundle/{chunk-N6IHOYMT.js → chunk-2CBOPOC7.js} +165 -37
  13. package/dist/bundle/{chunk-6N6BVPVX.js → chunk-2GEV2TXW.js} +4 -4
  14. package/dist/bundle/{chunk-2OIGV355.js → chunk-3O46NA2H.js} +105 -63
  15. package/dist/bundle/{chunk-UDJTRFRV.js → chunk-4ISZPK6D.js} +1 -1
  16. package/dist/bundle/{chunk-BXTDAGM4.js → chunk-4ZW6ZJ2V.js} +2 -2
  17. package/dist/bundle/{chunk-ZDHNEYKO.js → chunk-55GFDV24.js} +8 -8
  18. package/dist/bundle/{chunk-NJDGZRF5.js → chunk-5WT6SEXS.js} +30 -14
  19. package/dist/bundle/{chunk-EBNNONF5.js → chunk-64JCY7XJ.js} +8 -8
  20. package/dist/bundle/{chunk-LZWXGO3G.js → chunk-65576OCE.js} +2 -2
  21. package/dist/bundle/{chunk-57LMWEDK.js → chunk-6BVWU2UM.js} +3 -3
  22. package/dist/bundle/{chunk-VW6BF6M7.js → chunk-6G53ZFUT.js} +1 -1
  23. package/dist/bundle/{chunk-DVA6MQWK.js → chunk-6GF4TIVM.js} +1 -1
  24. package/dist/bundle/{chunk-LUPJB7ZD.js → chunk-6PQIXQFD.js} +9 -9
  25. package/dist/bundle/{chunk-S7F4ZDFU.js → chunk-6ZQK3L35.js} +3 -3
  26. package/dist/bundle/{chunk-SSPSNSC5.js → chunk-7SVHEGRO.js} +1 -1
  27. package/dist/bundle/{chunk-PUTGTW6W.js → chunk-A36ASW3I.js} +1 -1
  28. package/dist/bundle/{chunk-5TWUUDKP.js → chunk-A7DXLOMS.js} +2 -2
  29. package/dist/bundle/{chunk-UAR6UMFL.js → chunk-AGOUP5AH.js} +5 -5
  30. package/dist/bundle/{chunk-P2LMXIHL.js → chunk-AU5GAMGM.js} +415 -359
  31. package/dist/bundle/{chunk-QOGYHU3Q.js → chunk-EBDX6DNB.js} +61 -21
  32. package/dist/bundle/{chunk-ND6D4A6H.js → chunk-EEEZGK2J.js} +3 -3
  33. package/dist/bundle/{chunk-XZZFHQGM.js → chunk-EKQNL6VJ.js} +25 -23
  34. package/dist/bundle/{chunk-7ZLOZGIC.js → chunk-EQUPZVV6.js} +6 -6
  35. package/dist/bundle/{chunk-RKFKRCOH.js → chunk-ERZBEQAY.js} +276 -268
  36. package/dist/bundle/{chunk-D5KGXYG6.js → chunk-ETYAJPIT.js} +22 -22
  37. package/dist/bundle/{chunk-PYRHU35W.js → chunk-FWCFEJWD.js} +179 -159
  38. package/dist/bundle/{chunk-IXXBPSXO.js → chunk-G4Z4WSIG.js} +2 -2
  39. package/dist/bundle/{chunk-OT23U5LT.js → chunk-G52Y3KOO.js} +2 -2
  40. package/dist/bundle/{chunk-KVOHC4ZM.js → chunk-G7K4J3NS.js} +4 -4
  41. package/dist/bundle/{chunk-UJLYVXP6.js → chunk-GJWNHWG7.js} +34 -34
  42. package/dist/bundle/{chunk-2HPYP3ZT.js → chunk-I4LXP4HQ.js} +4 -4
  43. package/dist/bundle/{chunk-PEYCLVIO.js → chunk-IALGFO44.js} +2 -2
  44. package/dist/bundle/{chunk-P3ASN72F.js → chunk-IK6KH3RE.js} +1 -1
  45. package/dist/bundle/{chunk-FOM7WE2C.js → chunk-IKG2OPHU.js} +8 -16
  46. package/dist/bundle/{chunk-HCMXUHHF.js → chunk-KGPD3OCD.js} +180 -67
  47. package/dist/bundle/{chunk-2MFBZ2UM.js → chunk-LUHMRW3P.js} +9 -6
  48. package/dist/bundle/{chunk-SLIF5EMS.js → chunk-LX65W7IK.js} +7 -7
  49. package/dist/bundle/{chunk-DJRBSOWH.js → chunk-M64NVDB4.js} +4 -4
  50. package/dist/bundle/{chunk-QCPUC3HW.js → chunk-MICF3K6S.js} +13 -13
  51. package/dist/bundle/{chunk-7RNHFNHX.js → chunk-MZMJALJT.js} +4 -4
  52. package/dist/bundle/{chunk-PJMGQJAX.js → chunk-N5J6GT7C.js} +7 -7
  53. package/dist/bundle/{chunk-Y6VH7IRN.js → chunk-NIUWQP7F.js} +32 -30
  54. package/dist/bundle/{chunk-355PHJYX.js → chunk-NNUP36UQ.js} +1 -1
  55. package/dist/bundle/{chunk-GV6XJMUW.js → chunk-NOEXRGYH.js} +12 -12
  56. package/dist/bundle/{chunk-RYMYE5PF.js → chunk-NUQ3N3V3.js} +8 -8
  57. package/dist/bundle/{chunk-O3KOW7RG.js → chunk-NZKDNBYE.js} +8 -8
  58. package/dist/bundle/{chunk-AKD62EUH.js → chunk-OIPJYDLZ.js} +2 -2
  59. package/dist/bundle/{chunk-ZA7FKGB7.js → chunk-OWS67HTV.js} +2 -2
  60. package/dist/bundle/{chunk-GIDZGGAD.js → chunk-PBM5GH7S.js} +4 -4
  61. package/dist/bundle/{chunk-EJDV5IIF.js → chunk-PKVXZZTM.js} +58 -1
  62. package/dist/bundle/{chunk-5JVA43HX.js → chunk-RYY4YRKQ.js} +6 -6
  63. package/dist/bundle/{chunk-W6JQNNJ5.js → chunk-S7X5ZMQN.js} +3 -3
  64. package/dist/bundle/{chunk-P2TISY3R.js → chunk-TM6R3Z45.js} +1 -1
  65. package/dist/bundle/{chunk-4VQPPX47.js → chunk-TQS6ZKC3.js} +487 -406
  66. package/dist/bundle/{chunk-TSUNLSIN.js → chunk-U4ZD5SYO.js} +2 -2
  67. package/dist/bundle/{chunk-XXGBXCBQ.js → chunk-U6E3BGHO.js} +11 -11
  68. package/dist/bundle/{chunk-HXOAPH47.js → chunk-VOWEZBOJ.js} +1 -1
  69. package/dist/bundle/{chunk-O3ZOYXH3.js → chunk-WLKDS65F.js} +20 -20
  70. package/dist/bundle/{chunk-NTQUBSIJ.js → chunk-X6XIW76O.js} +6 -6
  71. package/dist/bundle/{chunk-5RVL7GYA.js → chunk-XIHQOSCT.js} +2 -2
  72. package/dist/bundle/{chunk-XH6K2B5L.js → chunk-ZKXIZD4C.js} +4 -4
  73. package/dist/bundle/{chunk-V2DMJ6ES.js → chunk-ZVJAZXME.js} +6 -6
  74. package/dist/bundle/{chunk-3BG5VYMV.js → chunk-ZVR6S4XB.js} +10 -10
  75. package/dist/bundle/{chunk-QCRJNWJZ.js → chunk-ZYQEWB6P.js} +3 -3
  76. package/dist/bundle/command-contract-7AADJ3UC.js +32 -0
  77. package/dist/bundle/{decode-IYWZ3X7X.js → decode-XMIBTI5O.js} +5 -5
  78. package/dist/bundle/{dispatch-HCRXCPCF.js → dispatch-W4ZVXTJT.js} +10 -10
  79. package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-W7DPDJA5.js} +2 -2
  80. package/dist/bundle/{embed-EGY2R4FN.js → embed-EP3KKO6Y.js} +6 -6
  81. package/dist/bundle/{embedder-K2BGPWNX.js → embedder-ENGCALJ7.js} +9 -9
  82. package/dist/bundle/{entry-NMAZNDNU.js → entry-BGSKREOS.js} +7 -7
  83. package/dist/bundle/{failure-G4DCTWFD.js → failure-GQHAQVGH.js} +2 -2
  84. package/dist/bundle/failure-ZKQVXWAB.js +66 -0
  85. package/dist/bundle/{first-run-QDCSWX3N.js → first-run-4EBMV2EM.js} +11 -11
  86. package/dist/bundle/first-screen-2TM3BF2Y.js +30 -0
  87. package/dist/bundle/{instructions-P72XX4AK.js → instructions-A42XETMK.js} +1 -1
  88. package/dist/bundle/mcp-5LAWRSJK.js +90 -0
  89. package/dist/bundle/{mcp-M4QN2E7R.js → mcp-RKJG22KM.js} +2 -2
  90. package/dist/bundle/memo.js +41 -17
  91. package/dist/bundle/{node-ZB4RNICS.js → node-IRL66JK2.js} +2 -2
  92. package/dist/bundle/{node-sqlite-7XJ4J4E5.js → node-sqlite-SOGTH72B.js} +6 -6
  93. package/dist/bundle/{oauth-FMH3JIPT.js → oauth-RB5W3AC7.js} +7 -7
  94. package/dist/bundle/{open-PRCTOHHL.js → open-552EJ4JC.js} +5 -5
  95. package/dist/bundle/{openai-VW4W6SIO.js → openai-ZLOHEEDH.js} +10 -10
  96. package/dist/bundle/{process-XNN4WG6N.js → process-46SUXGWW.js} +1 -1
  97. package/dist/bundle/{program-TVT22XUQ.js → program-ZLWKMT65.js} +72 -65
  98. package/dist/bundle/{prompt-RT55UZGB.js → prompt-2NHJSYKX.js} +5 -5
  99. package/dist/bundle/{recognize-AQ2UXUC2.js → recognize-2LDM6KHL.js} +4 -4
  100. package/dist/bundle/{remote-T3P5OWRR.js → remote-DBYHHENF.js} +7 -7
  101. package/dist/bundle/{rerank-743T3675.js → rerank-N5T2TIIY.js} +7 -7
  102. package/dist/bundle/{serve-BSKOU4FJ.js → serve-S6B54R2F.js} +9 -9
  103. package/dist/bundle/server-KZZHFPTZ.js +61 -0
  104. package/dist/bundle/{server-ECOTCYJ3.js → server-QH6AKPRV.js} +58 -58
  105. package/dist/bundle/server-WAIPBBM7.js +48 -0
  106. package/dist/bundle/{state-MDMI3I2Z.js → state-ZXZGIIJW.js} +6 -6
  107. package/dist/bundle/{store-I3DIZALN.js → store-PNJNDMQ4.js} +13 -13
  108. package/dist/bundle/store-maintenance-command-2ZVV3DGA.js +48 -0
  109. package/dist/bundle/update-6HXLLGTQ.js +69 -0
  110. package/dist/doctor/command.d.ts +30 -0
  111. package/dist/doctor/command.d.ts.map +1 -1
  112. package/dist/doctor/command.js +1 -1
  113. package/dist/doctor/command.js.map +1 -1
  114. package/dist/failure.js +2 -2
  115. package/dist/failure.js.map +1 -1
  116. package/dist/knowledge/relationships-scan.d.ts.map +1 -1
  117. package/dist/knowledge/relationships-scan.js +4 -3
  118. package/dist/knowledge/relationships-scan.js.map +1 -1
  119. package/dist/mcp/catalogue.js +1 -1
  120. package/dist/mcp/catalogue.js.map +1 -1
  121. package/dist/people/command.d.ts.map +1 -1
  122. package/dist/people/command.js +3 -1
  123. package/dist/people/command.js.map +1 -1
  124. package/dist/run/import.d.ts.map +1 -1
  125. package/dist/run/import.js +3 -2
  126. package/dist/run/import.js.map +1 -1
  127. package/dist/version.d.ts +1 -1
  128. package/dist/version.js +1 -1
  129. package/package.json +4 -4
  130. package/skills/cli-memo/SKILL.md +1 -1
  131. package/skills/cli-memo/topics/proposals.md +2 -2
  132. package/skills/mail-triage/SKILL.md +1 -1
  133. package/skills/morning-digest/SKILL.md +1 -1
  134. package/dist/bundle/auto-C7G3WVRU.js +0 -86
  135. package/dist/bundle/command-contract-MRLLZQ4M.js +0 -32
  136. package/dist/bundle/failure-FW4NJI7G.js +0 -66
  137. package/dist/bundle/first-screen-YABO6OZ7.js +0 -30
  138. package/dist/bundle/mcp-QRZ2HSON.js +0 -90
  139. package/dist/bundle/server-VMWVYGK7.js +0 -48
  140. package/dist/bundle/server-ZFHSK6TT.js +0 -61
  141. package/dist/bundle/store-maintenance-command-HZPQPOK7.js +0 -48
  142. package/dist/bundle/update-ZIZAU5RE.js +0 -69
  143. /package/dist/bundle/{chunk-CDFNOKPG.js → chunk-DPRGC5YX.js} +0 -0
  144. /package/dist/bundle/{chunk-VOXIGICJ.js → chunk-SW6C6WH5.js} +0 -0
@@ -3,19 +3,22 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  agentResult,
5
5
  failureContext
6
- } from "./chunk-NJDGZRF5.js";
6
+ } from "./chunk-5WT6SEXS.js";
7
7
  import {
8
8
  CommanderError,
9
9
  judgedEffects,
10
10
  metaOf
11
- } from "./chunk-PYRHU35W.js";
11
+ } from "./chunk-FWCFEJWD.js";
12
+ import {
13
+ storeDamaged
14
+ } from "./chunk-PKVXZZTM.js";
12
15
  import {
13
16
  interactiveOf,
14
17
  optionsOf
15
18
  } from "./chunk-BPGYTJNB.js";
16
19
  import {
17
20
  APP
18
- } from "./chunk-5TWUUDKP.js";
21
+ } from "./chunk-A7DXLOMS.js";
19
22
  import {
20
23
  ValiError,
21
24
  errorObjectOf,
@@ -23,10 +26,10 @@ import {
23
26
  exitCodeOfError,
24
27
  mcpErrorResult,
25
28
  renderError
26
- } from "./chunk-EBNNONF5.js";
29
+ } from "./chunk-64JCY7XJ.js";
27
30
  import {
28
31
  CliError
29
- } from "./chunk-BXTDAGM4.js";
32
+ } from "./chunk-4ZW6ZJ2V.js";
30
33
  import {
31
34
  __name
32
35
  } from "./chunk-ZVVMGPBJ.js";
@@ -44,7 +47,7 @@ var recognisable = /* @__PURE__ */ __name((error) => {
44
47
  ...param ? { param } : {}
45
48
  });
46
49
  }
47
- return error;
50
+ return storeDamaged(error, `${APP.command} store recover`);
48
51
  }, "recognisable");
49
52
  var errorObject = /* @__PURE__ */ __name((error) => errorObjectOf(recognisable(error), context), "errorObject");
50
53
  var mcpFailure = /* @__PURE__ */ __name((error) => agentResult(mcpErrorResult(errorObject(error))), "mcpFailure");
@@ -3,30 +3,30 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answers,
5
5
  itemAnswer
6
- } from "./chunk-PJMGQJAX.js";
6
+ } from "./chunk-N5J6GT7C.js";
7
7
  import {
8
8
  loadConfig,
9
9
  updateConfig
10
- } from "./chunk-UJLYVXP6.js";
10
+ } from "./chunk-GJWNHWG7.js";
11
11
  import {
12
12
  failingNotice,
13
13
  recordRun
14
- } from "./chunk-RKFKRCOH.js";
14
+ } from "./chunk-ERZBEQAY.js";
15
15
  import {
16
16
  InvalidArgumentError,
17
17
  LOCAL_READ,
18
18
  LOCAL_WRITE,
19
19
  annotate
20
- } from "./chunk-PYRHU35W.js";
20
+ } from "./chunk-FWCFEJWD.js";
21
21
  import {
22
22
  installerOf
23
- } from "./chunk-P3ASN72F.js";
23
+ } from "./chunk-IK6KH3RE.js";
24
24
  import {
25
25
  resolvePaths
26
- } from "./chunk-O3ZOYXH3.js";
26
+ } from "./chunk-WLKDS65F.js";
27
27
  import {
28
28
  CliError
29
- } from "./chunk-BXTDAGM4.js";
29
+ } from "./chunk-4ZW6ZJ2V.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
@@ -4,18 +4,18 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-V2DMJ6ES.js";
7
+ } from "./chunk-ZVJAZXME.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-LZWXGO3G.js";
10
+ } from "./chunk-65576OCE.js";
11
11
  import {
12
12
  CliError
13
- } from "./chunk-BXTDAGM4.js";
13
+ } from "./chunk-4ZW6ZJ2V.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // 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/setup-answers.js
19
19
  var PERMISSION_ANSWERS = ["readonly", "allow"];
20
20
  var QUESTIONS = ["languages", "tools", "permissions"];
21
21
  var SECTION = "setup";
@@ -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-BXTDAGM4.js";
5
+ } from "./chunk-4ZW6ZJ2V.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
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
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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
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
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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
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
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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/lock.js
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
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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
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
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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
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
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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
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
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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
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
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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
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
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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
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
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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/lock.js
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
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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/files/safe-name.js
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
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(/^\.+/, "");
@@ -3,26 +3,26 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
5
  executableOnPath
6
- } from "./chunk-VW6BF6M7.js";
6
+ } from "./chunk-6G53ZFUT.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-O3ZOYXH3.js";
13
+ } from "./chunk-WLKDS65F.js";
14
14
  import {
15
15
  number,
16
16
  object,
17
17
  optional,
18
18
  string
19
- } from "./chunk-EBNNONF5.js";
19
+ } from "./chunk-64JCY7XJ.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.80.8_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.82.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
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) => {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  decisionPolicy
5
- } from "./chunk-UJLYVXP6.js";
5
+ } from "./chunk-GJWNHWG7.js";
6
6
  import {
7
7
  compactText,
8
8
  currentRun,
@@ -15,22 +15,22 @@ import {
15
15
  rowsOfEntity,
16
16
  sealed,
17
17
  snakeKeysKeeping
18
- } from "./chunk-PYRHU35W.js";
18
+ } from "./chunk-FWCFEJWD.js";
19
19
  import {
20
20
  openStore
21
- } from "./chunk-P2LMXIHL.js";
21
+ } from "./chunk-AU5GAMGM.js";
22
22
  import {
23
23
  STORE_CLIENT
24
- } from "./chunk-5TWUUDKP.js";
24
+ } from "./chunk-A7DXLOMS.js";
25
25
  import {
26
26
  createRenderer
27
- } from "./chunk-O3ZOYXH3.js";
27
+ } from "./chunk-WLKDS65F.js";
28
28
  import {
29
29
  COMPACT_FLAG
30
- } from "./chunk-EBNNONF5.js";
30
+ } from "./chunk-64JCY7XJ.js";
31
31
  import {
32
32
  CliError
33
- } from "./chunk-BXTDAGM4.js";
33
+ } from "./chunk-4ZW6ZJ2V.js";
34
34
  import {
35
35
  __name
36
36
  } from "./chunk-ZVVMGPBJ.js";
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-N6IHOYMT.js";
23
+ } from "./chunk-2CBOPOC7.js";
24
24
  import {
25
25
  CHART_KINDS,
26
26
  CHART_SIZE,
@@ -33,24 +33,24 @@ import {
33
33
  registerPrompts,
34
34
  stdinFieldOf,
35
35
  syncsFirst
36
- } from "./chunk-D5KGXYG6.js";
36
+ } from "./chunk-ETYAJPIT.js";
37
37
  import {
38
38
  mcpUrlOf
39
- } from "./chunk-IXXBPSXO.js";
39
+ } from "./chunk-G4Z4WSIG.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-NJDGZRF5.js";
43
+ } from "./chunk-5WT6SEXS.js";
44
44
  import {
45
45
  instructions
46
- } from "./chunk-UDJTRFRV.js";
46
+ } from "./chunk-4ISZPK6D.js";
47
47
  import {
48
48
  answeredWire
49
- } from "./chunk-HXOAPH47.js";
49
+ } from "./chunk-VOWEZBOJ.js";
50
50
  import {
51
51
  callerOf,
52
52
  callingAgent
53
- } from "./chunk-PEYCLVIO.js";
53
+ } from "./chunk-IALGFO44.js";
54
54
  import {
55
55
  StdioServerTransport,
56
56
  serveStdio
@@ -62,7 +62,7 @@ import {
62
62
  import {
63
63
  connectedFor,
64
64
  guardFor
65
- } from "./chunk-XZZFHQGM.js";
65
+ } from "./chunk-EKQNL6VJ.js";
66
66
  import {
67
67
  capability,
68
68
  dateWindow,
@@ -71,10 +71,10 @@ import {
71
71
  servicesFor,
72
72
  storedDeps,
73
73
  wholeList
74
- } from "./chunk-4VQPPX47.js";
74
+ } from "./chunk-TQS6ZKC3.js";
75
75
  import {
76
76
  findCommand
77
- } from "./chunk-GIDZGGAD.js";
77
+ } from "./chunk-PBM5GH7S.js";
78
78
  import {
79
79
  DEFAULT_OUTPUT_BYTES,
80
80
  changesAuthorityAt,
@@ -90,27 +90,29 @@ import {
90
90
  sealed,
91
91
  snakeKeys,
92
92
  typedCommand
93
- } from "./chunk-PYRHU35W.js";
93
+ } from "./chunk-FWCFEJWD.js";
94
94
  import {
95
- isCliFailure,
96
95
  withCaller
97
- } from "./chunk-FOM7WE2C.js";
96
+ } from "./chunk-IKG2OPHU.js";
98
97
  import {
99
98
  readOnlyLockOf
100
- } from "./chunk-OT23U5LT.js";
99
+ } from "./chunk-G52Y3KOO.js";
101
100
  import {
102
101
  mcpHttpMarker
103
- } from "./chunk-2HPYP3ZT.js";
102
+ } from "./chunk-I4LXP4HQ.js";
104
103
  import {
105
104
  openStore,
106
105
  pdfPreviewLimits
107
- } from "./chunk-P2LMXIHL.js";
106
+ } from "./chunk-AU5GAMGM.js";
108
107
  import {
109
108
  timezoneOf
110
- } from "./chunk-HCMXUHHF.js";
109
+ } from "./chunk-KGPD3OCD.js";
110
+ import {
111
+ isCliFailure
112
+ } from "./chunk-PKVXZZTM.js";
111
113
  import {
112
114
  warmEmbedders
113
- } from "./chunk-5JVA43HX.js";
115
+ } from "./chunk-RYY4YRKQ.js";
114
116
  import {
115
117
  description,
116
118
  integer,
@@ -126,19 +128,19 @@ import {
126
128
  regex,
127
129
  strictObject,
128
130
  string
129
- } from "./chunk-EBNNONF5.js";
131
+ } from "./chunk-64JCY7XJ.js";
130
132
  import {
131
133
  CliError,
132
134
  visibleControls
133
- } from "./chunk-BXTDAGM4.js";
135
+ } from "./chunk-4ZW6ZJ2V.js";
134
136
  import {
135
137
  __name
136
138
  } from "./chunk-ZVVMGPBJ.js";
137
139
 
138
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/server.js
140
+ // 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/server.js
139
141
  import { randomUUID } from "node:crypto";
140
142
 
141
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
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/mcp/agent-log.js
142
144
  var agentLog = /* @__PURE__ */ __name((open) => {
143
145
  let held;
144
146
  return {
@@ -157,7 +159,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
157
159
  };
158
160
  }, "agentLog");
159
161
 
160
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/resources.js
162
+ // 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/resources.js
161
163
  var LISTED = 100;
162
164
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
163
165
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -195,7 +197,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
195
197
  });
196
198
  }, "registerResources");
197
199
 
198
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/session.js
200
+ // 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/session.js
199
201
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
200
202
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
201
203
  var MessengerSession = class {
@@ -270,7 +272,7 @@ var MessengerSession = class {
270
272
  }
271
273
  };
272
274
 
273
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
275
+ // 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/tools/attachments.js
274
276
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
275
277
  const _command = messenger.app.command;
276
278
  return {
@@ -324,7 +326,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
324
326
  };
325
327
  }, "attachmentsTools");
326
328
 
327
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
329
+ // 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/tools/messages-photo.js
328
330
  var PHOTO_LIMIT = 512 * 1024;
329
331
  var IMAGE_TYPES = [
330
332
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -378,7 +380,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
378
380
  return new Uint8Array(Buffer.concat(chunks));
379
381
  }, "readUpTo");
380
382
 
381
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
383
+ // 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/tools/stats.js
382
384
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
383
385
  stats_charts: tool({
384
386
  title: "A chart from a chat's statistics",
@@ -415,14 +417,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
415
417
  })
416
418
  }), "statsTools");
417
419
 
418
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/tools.js
420
+ // 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/tools.js
419
421
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
420
422
  ...messagesPhotoTools(messenger),
421
423
  ...attachmentsTools(messenger),
422
424
  ...statsTools(messenger)
423
425
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
424
426
 
425
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/server.js
427
+ // 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/server.js
426
428
  var PER_RUN = /* @__PURE__ */ new Set([
427
429
  "streams",
428
430
  "stdin",
@@ -746,7 +748,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
746
748
  }, "serveOverStdio");
747
749
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
748
750
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
749
- const { serveOverHttp } = await import("./serve-BSKOU4FJ.js");
751
+ const { serveOverHttp } = await import("./serve-S6B54R2F.js");
750
752
  const appName = messenger.app.command;
751
753
  const appEnvPrefix = messenger.app.envPrefix;
752
754
  const listening = await serveOverHttp(build, {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
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/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,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  updateCommand
5
- } from "./chunk-7RNHFNHX.js";
5
+ } from "./chunk-MZMJALJT.js";
6
6
  import {
7
7
  QUESTIONS,
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-DJRBSOWH.js";
11
+ } from "./chunk-M64NVDB4.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-RYMYE5PF.js";
15
+ } from "./chunk-NUQ3N3V3.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-V2DMJ6ES.js";
18
+ } from "./chunk-ZVJAZXME.js";
19
19
  import {
20
20
  storePath
21
- } from "./chunk-LZWXGO3G.js";
21
+ } from "./chunk-65576OCE.js";
22
22
  import {
23
23
  installerOf
24
- } from "./chunk-P3ASN72F.js";
24
+ } from "./chunk-IK6KH3RE.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // 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/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-I3DIZALN.js");
87
+ const { openStore } = await import("./store-PNJNDMQ4.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-PRCTOHHL.js"),
117
- import("./store-maintenance-command-HZPQPOK7.js")
116
+ import("./open-552EJ4JC.js"),
117
+ import("./store-maintenance-command-2ZVV3DGA.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-YABO6OZ7.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-2TM3BF2Y.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
199
199
  contentLanguages: start.contentLanguages,
200
200
  all: start.path[0] === "setup",
201
201
  io: {
202
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-RT55UZGB.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-2NHJSYKX.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }
@@ -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-BXTDAGM4.js";
5
+ } from "./chunk-4ZW6ZJ2V.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/search/languages.js
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/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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/normalize.js
18
+ // 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/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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
23
+ // 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/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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
398
+ // 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/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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1099
+ // 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/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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1522
+ // 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/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.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/search/stem.js
2198
+ // 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/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"];