@wirecat/cli-memo 0.131.66 → 0.131.67

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 (202) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-CWV6RUGR.js → all-profiles-W3GRNNLJ.js} +6 -6
  3. package/dist/bundle/{anthropic-OIVOFYZY.js → anthropic-GWMYHBO4.js} +3 -3
  4. package/dist/bundle/{app-server-2APNY5WO.js → app-server-RQ26EXNI.js} +37 -37
  5. package/dist/bundle/auto-FR6LX5KO.js +85 -0
  6. package/dist/bundle/{bun-7ZKANZII.js → bun-KKLPQTG5.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-M2EHGYBI.js → bun-sqlite-WKIZJNTG.js} +3 -3
  8. package/dist/bundle/{chunk-R4LVHS2N.js → chunk-32ROGX5N.js} +1 -1
  9. package/dist/bundle/{chunk-2SIOUXJ7.js → chunk-4C6RU7DG.js} +5 -5
  10. package/dist/bundle/{chunk-OO6SA2FM.js → chunk-4JTCNMW6.js} +1 -1
  11. package/dist/bundle/{chunk-75MWX5PK.js → chunk-6SFTVGNL.js} +1 -1
  12. package/dist/bundle/{chunk-GL74QTTV.js → chunk-7DANHJF6.js} +35 -33
  13. package/dist/bundle/{chunk-UCLZMKTT.js → chunk-7IKET6ES.js} +2 -2
  14. package/dist/bundle/{chunk-KOJN4WTN.js → chunk-7KYVUVDS.js} +2 -2
  15. package/dist/bundle/{chunk-QWP6RJFR.js → chunk-7OMKWYFN.js} +34 -11
  16. package/dist/bundle/{chunk-2QIM6246.js → chunk-AGNWFOAJ.js} +1 -1
  17. package/dist/bundle/{chunk-BF4SX6DP.js → chunk-BOOEDDVY.js} +76 -62
  18. package/dist/bundle/{chunk-M76ZJSPA.js → chunk-CQNYBTWP.js} +3 -3
  19. package/dist/bundle/{chunk-JSFC6TRN.js → chunk-DNDELSVT.js} +5 -5
  20. package/dist/bundle/{chunk-CUC7KGX4.js → chunk-DNS2QWK3.js} +3 -3
  21. package/dist/bundle/{chunk-KU4TU5XZ.js → chunk-ECMYCWG2.js} +2 -2
  22. package/dist/bundle/{chunk-22XVNJQP.js → chunk-FBSHWCIZ.js} +9 -9
  23. package/dist/bundle/{chunk-DNXPQGFB.js → chunk-GHN2KYMO.js} +21 -21
  24. package/dist/bundle/{chunk-ADDDSIRN.js → chunk-GJ3P7RJF.js} +5 -5
  25. package/dist/bundle/{chunk-IGXIPABG.js → chunk-GU3MRYK2.js} +1 -1
  26. package/dist/bundle/{chunk-LRQD4RJN.js → chunk-GUWRR7F2.js} +2 -2
  27. package/dist/bundle/{chunk-637JEJOC.js → chunk-HUPZ6XYH.js} +2 -2
  28. package/dist/bundle/{chunk-CRRBBPJK.js → chunk-IKZBO7NV.js} +1486 -1148
  29. package/dist/bundle/{chunk-P2MMAW3A.js → chunk-JEKIBI7P.js} +5 -5
  30. package/dist/bundle/{chunk-GO73V5BC.js → chunk-JG7EDH7K.js} +1 -1
  31. package/dist/bundle/{chunk-4U2IONIS.js → chunk-LJCT7YG6.js} +1 -1
  32. package/dist/bundle/{chunk-HB7WN6MX.js → chunk-MCA265JM.js} +7 -1
  33. package/dist/bundle/{chunk-LEL6NYM5.js → chunk-MLF5FLAP.js} +4 -4
  34. package/dist/bundle/{chunk-EI5IEOXD.js → chunk-NNUJWCEJ.js} +1 -1
  35. package/dist/bundle/{chunk-LDPNN4ED.js → chunk-ORKWFXWV.js} +11 -11
  36. package/dist/bundle/{chunk-IDBN5CTG.js → chunk-OU4PN7PF.js} +7 -7
  37. package/dist/bundle/{chunk-WDVYPHNV.js → chunk-OUSLPKWY.js} +1 -1
  38. package/dist/bundle/{chunk-DMC3NDG7.js → chunk-PBOVHHYG.js} +8 -8
  39. package/dist/bundle/{chunk-B3ZXE2IH.js → chunk-Q4JYHQ47.js} +10870 -10866
  40. package/dist/bundle/{chunk-MEPRCROV.js → chunk-QCWA3JUT.js} +2 -2
  41. package/dist/bundle/{chunk-XMGUKW6Y.js → chunk-QFSMJTEA.js} +2 -2
  42. package/dist/bundle/{chunk-HUJ666OW.js → chunk-QMTCYKAA.js} +7 -6
  43. package/dist/bundle/{chunk-I4EUGFS7.js → chunk-R4H5HSQZ.js} +4 -4
  44. package/dist/bundle/{chunk-XAEDDKM4.js → chunk-SKBDI7LU.js} +28 -28
  45. package/dist/bundle/{chunk-KV35JTWA.js → chunk-SUCG5HBF.js} +1 -1
  46. package/dist/bundle/{chunk-2LAJDBWZ.js → chunk-TFAUB6JO.js} +1538 -596
  47. package/dist/bundle/{chunk-ZAOFHRBL.js → chunk-TNHFKR6P.js} +22 -22
  48. package/dist/bundle/{chunk-C74WKN57.js → chunk-TPYXULNG.js} +7 -7
  49. package/dist/bundle/{chunk-VBXQAIRI.js → chunk-TQXXOUOX.js} +1 -1
  50. package/dist/bundle/{chunk-HPUTLOQU.js → chunk-TWTAWPC7.js} +13 -13
  51. package/dist/bundle/{chunk-7NV2IUIC.js → chunk-TXWVZVDK.js} +3 -3
  52. package/dist/bundle/{chunk-OZBL624P.js → chunk-UUBV5ATQ.js} +2 -0
  53. package/dist/bundle/{chunk-DH6PT65U.js → chunk-VUCD4DAQ.js} +4 -4
  54. package/dist/bundle/{chunk-4Y33E3U3.js → chunk-VVTC2YAX.js} +4 -4
  55. package/dist/bundle/{chunk-HHDZIBBO.js → chunk-W7FYMZOW.js} +7 -7
  56. package/dist/bundle/{chunk-XZBVXJWY.js → chunk-WJ2OYD2D.js} +5 -5
  57. package/dist/bundle/{chunk-2OEQH7HY.js → chunk-XI5UABKO.js} +1 -1
  58. package/dist/bundle/{chunk-M643YQVP.js → chunk-XK4VVGMH.js} +2 -2
  59. package/dist/bundle/{chunk-RKLCY7YU.js → chunk-XVPMSMSP.js} +3 -3
  60. package/dist/bundle/{chunk-LW5G7PAR.js → chunk-XYL7GDCX.js} +5 -5
  61. package/dist/bundle/{chunk-WCRWS2W7.js → chunk-YAFSD345.js} +12 -12
  62. package/dist/bundle/{chunk-DAA52TDI.js → chunk-ZNBLWLCD.js} +193 -154
  63. package/dist/bundle/{chunk-LWX2PCM6.js → chunk-ZOIW2YEU.js} +8 -8
  64. package/dist/bundle/{chunk-DVVS2API.js → chunk-ZU6HZLZP.js} +43 -43
  65. package/dist/bundle/{chunk-XFZESHD3.js → chunk-ZVXXJYNW.js} +2 -2
  66. package/dist/bundle/{command-contract-N554VPBZ.js → command-contract-46BU5YKL.js} +12 -12
  67. package/dist/bundle/{decode-ZCMHC5JI.js → decode-KRVQZPSB.js} +3 -3
  68. package/dist/bundle/{echarts-SJNM7DNA.js → echarts-O6QQRVZE.js} +2 -2
  69. package/dist/bundle/{embed-JO3CVYBK.js → embed-DA4H2F4F.js} +4 -4
  70. package/dist/bundle/{embedder-QAEGU7TZ.js → embedder-HWAFLIYM.js} +7 -7
  71. package/dist/bundle/{entry-KMFOJYWF.js → entry-DE7GJOIZ.js} +5 -5
  72. package/dist/bundle/failure-U3VNIQNX.js +65 -0
  73. package/dist/bundle/{first-run-5X2NRJL2.js → first-run-GOBPIKQF.js} +7 -7
  74. package/dist/bundle/{first-screen-2LMAVNBU.js → first-screen-3V3HWSQM.js} +13 -13
  75. package/dist/bundle/{instructions-GLZE4RPY.js → instructions-GYYMBSZW.js} +1 -1
  76. package/dist/bundle/mcp-6RDHWRXG.js +90 -0
  77. package/dist/bundle/memo.js +7 -7
  78. package/dist/bundle/{node-BNMBIM5C.js → node-R3OFASC5.js} +2 -2
  79. package/dist/bundle/{node-sqlite-BSRYEMOR.js → node-sqlite-DYHDZJ5A.js} +4 -4
  80. package/dist/bundle/{oauth-HYAEWGBV.js → oauth-SMCDSCXQ.js} +5 -5
  81. package/dist/bundle/{open-X7J4Q3I6.js → open-GX7RPGQW.js} +3 -3
  82. package/dist/bundle/{openai-ZACXNPZS.js → openai-WM4TRXCC.js} +8 -8
  83. package/dist/bundle/{process-5I6233QY.js → process-NT5OZH2V.js} +1 -1
  84. package/dist/bundle/{program-RQIADAES.js → program-YQ3UT2LI.js} +5737 -4697
  85. package/dist/bundle/{prompt-DVKTWZHJ.js → prompt-5XJNSXCW.js} +3 -3
  86. package/dist/bundle/{recognize-VXK4L74H.js → recognize-DQNGZLRX.js} +2 -2
  87. package/dist/bundle/{remote-IJLJQRQN.js → remote-RMRYJZSZ.js} +5 -5
  88. package/dist/bundle/{rerank-553ZMBYJ.js → rerank-5J6JM43S.js} +5 -5
  89. package/dist/bundle/{serve-76AFHLTI.js → serve-4RVWOQVC.js} +7 -7
  90. package/dist/bundle/server-HH2X6G7V.js +61 -0
  91. package/dist/bundle/server-MS3JKMGF.js +48 -0
  92. package/dist/bundle/{server-B3F54YWL.js → server-NKCRFK26.js} +94 -61
  93. package/dist/bundle/{state-WYFGGGAG.js → state-MGVPOLPZ.js} +4 -4
  94. package/dist/bundle/{store-S6QR47NT.js → store-IEK4PPOE.js} +16 -10
  95. package/dist/bundle/store-maintenance-command-GSS2AY4J.js +47 -0
  96. package/dist/bundle/update-S5XRRWTH.js +68 -0
  97. package/dist/digest/command.d.ts.map +1 -1
  98. package/dist/digest/command.js +2 -1
  99. package/dist/digest/command.js.map +1 -1
  100. package/dist/digest/digest.d.ts +2 -2
  101. package/dist/digest/digest.d.ts.map +1 -1
  102. package/dist/digest/digest.js +36 -2
  103. package/dist/digest/digest.js.map +1 -1
  104. package/dist/discovery/command.d.ts.map +1 -1
  105. package/dist/discovery/command.js +3 -0
  106. package/dist/discovery/command.js.map +1 -1
  107. package/dist/examples.d.ts.map +1 -1
  108. package/dist/examples.js +29 -0
  109. package/dist/examples.js.map +1 -1
  110. package/dist/facts/command.d.ts.map +1 -1
  111. package/dist/facts/command.js +7 -4
  112. package/dist/facts/command.js.map +1 -1
  113. package/dist/facts/fact.d.ts +1 -0
  114. package/dist/facts/fact.d.ts.map +1 -1
  115. package/dist/facts/fact.js +1 -0
  116. package/dist/facts/fact.js.map +1 -1
  117. package/dist/knowledge/project-context.d.ts +1 -0
  118. package/dist/knowledge/project-context.d.ts.map +1 -1
  119. package/dist/mcp/catalogue.d.ts +3 -0
  120. package/dist/mcp/catalogue.d.ts.map +1 -1
  121. package/dist/mcp/catalogue.js +47 -13
  122. package/dist/mcp/catalogue.js.map +1 -1
  123. package/dist/memories/command.d.ts.map +1 -1
  124. package/dist/memories/command.js +9 -5
  125. package/dist/memories/command.js.map +1 -1
  126. package/dist/memories/memories.d.ts +6 -3
  127. package/dist/memories/memories.d.ts.map +1 -1
  128. package/dist/memories/memories.js +15 -20
  129. package/dist/memories/memories.js.map +1 -1
  130. package/dist/memories/memory.d.ts +1 -0
  131. package/dist/memories/memory.d.ts.map +1 -1
  132. package/dist/memories/memory.js +1 -0
  133. package/dist/memories/memory.js.map +1 -1
  134. package/dist/memories/sources.d.ts +27 -0
  135. package/dist/memories/sources.d.ts.map +1 -0
  136. package/dist/memories/sources.js +111 -0
  137. package/dist/memories/sources.js.map +1 -0
  138. package/dist/notes/embed.d.ts +2 -0
  139. package/dist/notes/embed.d.ts.map +1 -1
  140. package/dist/notes/embed.js +13 -0
  141. package/dist/notes/embed.js.map +1 -1
  142. package/dist/notes/files.d.ts.map +1 -1
  143. package/dist/notes/files.js +2 -0
  144. package/dist/notes/files.js.map +1 -1
  145. package/dist/program.d.ts +4 -1
  146. package/dist/program.d.ts.map +1 -1
  147. package/dist/program.js +44 -1
  148. package/dist/program.js.map +1 -1
  149. package/dist/read-only.d.ts +1 -1
  150. package/dist/reasons.d.ts.map +1 -1
  151. package/dist/reasons.js +6 -0
  152. package/dist/reasons.js.map +1 -1
  153. package/dist/review/command.d.ts +2 -0
  154. package/dist/review/command.d.ts.map +1 -1
  155. package/dist/review/command.js +18 -3
  156. package/dist/review/command.js.map +1 -1
  157. package/dist/review/kinds.d.ts +1 -1
  158. package/dist/review/kinds.d.ts.map +1 -1
  159. package/dist/review/kinds.js +2 -1
  160. package/dist/review/kinds.js.map +1 -1
  161. package/dist/review/review.d.ts +64 -1
  162. package/dist/review/review.d.ts.map +1 -1
  163. package/dist/review/review.js +45 -0
  164. package/dist/review/review.js.map +1 -1
  165. package/dist/run/import.d.ts +9 -0
  166. package/dist/run/import.d.ts.map +1 -1
  167. package/dist/run/import.js +20 -0
  168. package/dist/run/import.js.map +1 -1
  169. package/dist/sources/command.d.ts +7 -0
  170. package/dist/sources/command.d.ts.map +1 -0
  171. package/dist/sources/command.js +246 -0
  172. package/dist/sources/command.js.map +1 -0
  173. package/dist/sources/copy.d.ts +13 -0
  174. package/dist/sources/copy.d.ts.map +1 -0
  175. package/dist/sources/copy.js +32 -0
  176. package/dist/sources/copy.js.map +1 -0
  177. package/dist/sources/mentions.d.ts +21 -0
  178. package/dist/sources/mentions.d.ts.map +1 -0
  179. package/dist/sources/mentions.js +78 -0
  180. package/dist/sources/mentions.js.map +1 -0
  181. package/dist/sources/read.d.ts +30 -0
  182. package/dist/sources/read.d.ts.map +1 -0
  183. package/dist/sources/read.js +181 -0
  184. package/dist/sources/read.js.map +1 -0
  185. package/dist/templates/command.d.ts +5 -0
  186. package/dist/templates/command.d.ts.map +1 -0
  187. package/dist/templates/command.js +18 -0
  188. package/dist/templates/command.js.map +1 -0
  189. package/dist/version.d.ts +1 -1
  190. package/dist/version.js +1 -1
  191. package/package.json +3 -3
  192. package/skills/cli-memo/SKILL.md +9 -0
  193. package/skills/cli-memo/topics/proposals.md +13 -2
  194. package/skills/cli-memo/topics/search.md +7 -0
  195. package/dist/bundle/auto-HRPCC4FE.js +0 -85
  196. package/dist/bundle/failure-2FQL5SHA.js +0 -65
  197. package/dist/bundle/mcp-QXTOJORS.js +0 -90
  198. package/dist/bundle/server-PSEKWXKK.js +0 -48
  199. package/dist/bundle/server-QDPYZZT5.js +0 -61
  200. package/dist/bundle/store-maintenance-command-O4TXIWSL.js +0 -47
  201. package/dist/bundle/update-Z4LDMYC5.js +0 -68
  202. /package/dist/bundle/{chunk-IJPRQERM.js → chunk-DS7NXKAN.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-R4LVHS2N.js";
7
+ } from "./chunk-32ROGX5N.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-ZTONSM5X.js";
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var EMPTY_TRIES = 3;
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  resolvePaths
5
- } from "./chunk-OZBL624P.js";
5
+ } from "./chunk-UUBV5ATQ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/store/path.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/store/path.js
11
11
  import { userInfo } from "node:os";
12
12
  import { isAbsolute, join, relative, resolve } from "node:path";
13
13
  var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
@@ -7,7 +7,7 @@ import {
7
7
  commandPathOf,
8
8
  findCommand,
9
9
  outputOf
10
- } from "./chunk-M643YQVP.js";
10
+ } from "./chunk-XK4VVGMH.js";
11
11
  import {
12
12
  Command,
13
13
  Help,
@@ -18,7 +18,7 @@ import {
18
18
  environmentOf,
19
19
  metaOf,
20
20
  takesProfile
21
- } from "./chunk-DAA52TDI.js";
21
+ } from "./chunk-ZNBLWLCD.js";
22
22
  import {
23
23
  writes
24
24
  } from "./chunk-HE2F4JII.js";
@@ -29,7 +29,7 @@ import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
32
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
33
33
  var SECTIONS = {
34
34
  read: "Read",
35
35
  write: "Write",
@@ -80,6 +80,7 @@ var CORE_SECTIONS = {
80
80
  replies: "automate",
81
81
  runs: "automate",
82
82
  schedule: "automate",
83
+ templates: "automate",
83
84
  serve: "automate",
84
85
  server: "automate",
85
86
  account: "setup",
@@ -94,7 +95,7 @@ var CORE_SECTIONS = {
94
95
  upgrade: "setup"
95
96
  };
96
97
 
97
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
98
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
98
99
  var DESCRIPTION = 90;
99
100
  var COLUMN = 52;
100
101
  var short = /* @__PURE__ */ __name((text) => {
@@ -133,7 +134,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
133
134
  `;
134
135
  }, "commandsText");
135
136
 
136
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
137
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
137
138
  var ARGUMENT_KINDS = {
138
139
  chat: "chat",
139
140
  chats: "chat",
@@ -325,7 +326,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
325
326
  command.addHelpText("after", () => commandHelpText(command));
326
327
  }, "installCommandHelp");
327
328
 
328
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
329
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
329
330
  var WIRECAT_TOOLS = [
330
331
  {
331
332
  command: "tg",
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-M76ZJSPA.js";
8
+ } from "./chunk-CQNYBTWP.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/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.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/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.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/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");
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-HPUTLOQU.js";
23
+ } from "./chunk-TWTAWPC7.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-DNXPQGFB.js";
36
+ } from "./chunk-GHN2KYMO.js";
37
37
  import {
38
38
  mcpUrlOf
39
- } from "./chunk-WDVYPHNV.js";
39
+ } from "./chunk-OUSLPKWY.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-QWP6RJFR.js";
43
+ } from "./chunk-7OMKWYFN.js";
44
44
  import {
45
45
  instructions
46
- } from "./chunk-IGXIPABG.js";
46
+ } from "./chunk-GU3MRYK2.js";
47
47
  import {
48
48
  answeredWire
49
- } from "./chunk-VBXQAIRI.js";
49
+ } from "./chunk-TQXXOUOX.js";
50
50
  import {
51
51
  callerOf,
52
52
  callingAgent
53
- } from "./chunk-637JEJOC.js";
53
+ } from "./chunk-HUPZ6XYH.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-ZAOFHRBL.js";
65
+ } from "./chunk-TNHFKR6P.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-B3ZXE2IH.js";
74
+ } from "./chunk-Q4JYHQ47.js";
75
75
  import {
76
76
  findCommand
77
- } from "./chunk-M643YQVP.js";
77
+ } from "./chunk-XK4VVGMH.js";
78
78
  import {
79
79
  DEFAULT_OUTPUT_BYTES,
80
80
  changesAuthorityAt,
@@ -90,29 +90,29 @@ import {
90
90
  sealed,
91
91
  snakeKeys,
92
92
  typedCommand
93
- } from "./chunk-DAA52TDI.js";
93
+ } from "./chunk-ZNBLWLCD.js";
94
94
  import {
95
95
  withCaller
96
- } from "./chunk-HHDZIBBO.js";
96
+ } from "./chunk-W7FYMZOW.js";
97
97
  import {
98
98
  readOnlyLockOf
99
- } from "./chunk-EI5IEOXD.js";
99
+ } from "./chunk-NNUJWCEJ.js";
100
100
  import {
101
101
  mcpHttpMarker
102
- } from "./chunk-I4EUGFS7.js";
102
+ } from "./chunk-R4H5HSQZ.js";
103
103
  import {
104
104
  openStore,
105
105
  pdfPreviewLimits
106
- } from "./chunk-CRRBBPJK.js";
106
+ } from "./chunk-IKZBO7NV.js";
107
107
  import {
108
108
  timezoneOf
109
- } from "./chunk-BF4SX6DP.js";
109
+ } from "./chunk-BOOEDDVY.js";
110
110
  import {
111
111
  isCliFailure
112
- } from "./chunk-KU4TU5XZ.js";
112
+ } from "./chunk-ECMYCWG2.js";
113
113
  import {
114
114
  warmEmbedders
115
- } from "./chunk-JSFC6TRN.js";
115
+ } from "./chunk-DNDELSVT.js";
116
116
  import {
117
117
  description,
118
118
  integer,
@@ -137,10 +137,10 @@ import {
137
137
  __name
138
138
  } from "./chunk-ZVVMGPBJ.js";
139
139
 
140
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/server.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/server.js
141
141
  import { randomUUID } from "node:crypto";
142
142
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
144
144
  var agentLog = /* @__PURE__ */ __name((open) => {
145
145
  let held;
146
146
  return {
@@ -159,7 +159,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
159
159
  };
160
160
  }, "agentLog");
161
161
 
162
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/resources.js
162
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/resources.js
163
163
  var LISTED = 100;
164
164
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
165
165
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -197,7 +197,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
197
197
  });
198
198
  }, "registerResources");
199
199
 
200
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/session.js
200
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/session.js
201
201
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
202
202
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
203
203
  var MessengerSession = class {
@@ -272,7 +272,7 @@ var MessengerSession = class {
272
272
  }
273
273
  };
274
274
 
275
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
275
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
276
276
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
277
277
  const _command = messenger.app.command;
278
278
  return {
@@ -326,7 +326,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
326
326
  };
327
327
  }, "attachmentsTools");
328
328
 
329
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
329
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
330
330
  var PHOTO_LIMIT = 512 * 1024;
331
331
  var IMAGE_TYPES = [
332
332
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -380,7 +380,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
380
380
  return new Uint8Array(Buffer.concat(chunks));
381
381
  }, "readUpTo");
382
382
 
383
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
383
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
384
384
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
385
385
  stats_charts: tool({
386
386
  title: "A chart from a chat's statistics",
@@ -417,14 +417,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
417
417
  })
418
418
  }), "statsTools");
419
419
 
420
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/tools.js
420
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/tools.js
421
421
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
422
422
  ...messagesPhotoTools(messenger),
423
423
  ...attachmentsTools(messenger),
424
424
  ...statsTools(messenger)
425
425
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
426
426
 
427
- // node_modules/.pnpm/@wirecat+cli-core@0.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/mcp/server.js
427
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/mcp/server.js
428
428
  var PER_RUN = /* @__PURE__ */ new Set([
429
429
  "streams",
430
430
  "stdin",
@@ -748,7 +748,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
748
748
  }, "serveOverStdio");
749
749
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
750
750
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
751
- const { serveOverHttp } = await import("./serve-76AFHLTI.js");
751
+ const { serveOverHttp } = await import("./serve-4RVWOQVC.js");
752
752
  const appName = messenger.app.command;
753
753
  const appEnvPrefix = messenger.app.envPrefix;
754
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.613.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_4e56005b613f8e91d34ec4e9dbb41bec/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/http/listen.js
8
8
  import { createServer } from "node:http";
9
9
  import { Readable } from "node:stream";
10
10
  var MAX_BODY = 4 * 1024 * 1024;