@wirecat/cli-memo 0.131.59 → 0.131.61

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 (124) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-LHATPBN3.js → all-profiles-WPBMSWJF.js} +5 -5
  3. package/dist/bundle/{anthropic-ZCFY7X3V.js → anthropic-FZRVISSX.js} +7 -5
  4. package/dist/bundle/{app-server-LMNKI46N.js → app-server-QGIZPU4R.js} +35 -35
  5. package/dist/bundle/auto-5VPCO4DD.js +85 -0
  6. package/dist/bundle/{bun-Z5XDW2UR.js → bun-AO76624P.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-GC55XSRP.js → bun-sqlite-HYBE66QU.js} +2 -2
  8. package/dist/bundle/{chunk-UTLAFKFU.js → chunk-233N77WN.js} +1289 -801
  9. package/dist/bundle/{chunk-ZELDY6H4.js → chunk-2Q55K5HY.js} +2 -2
  10. package/dist/bundle/{chunk-A6HTI2EV.js → chunk-2UXFM5GE.js} +12 -12
  11. package/dist/bundle/{chunk-PPZCQ6DC.js → chunk-2VMZLQ5K.js} +2 -2
  12. package/dist/bundle/{chunk-W6HT56DV.js → chunk-35OBIX5A.js} +8 -8
  13. package/dist/bundle/{chunk-IKMCUKAE.js → chunk-37ILRM2G.js} +4 -4
  14. package/dist/bundle/{chunk-JCHC5EEV.js → chunk-3FDJSMLJ.js} +4 -4
  15. package/dist/bundle/{chunk-2ALNQ3ZG.js → chunk-3FPF5DBU.js} +5 -5
  16. package/dist/bundle/{chunk-BIKOHAZH.js → chunk-4HLYKLGJ.js} +1 -1
  17. package/dist/bundle/{chunk-UQWLLRYP.js → chunk-4WKZ3UIZ.js} +1 -1
  18. package/dist/bundle/{chunk-FHTIB66O.js → chunk-5SD4CV2D.js} +354 -266
  19. package/dist/bundle/{chunk-4JBR277T.js → chunk-5ZVWDMDT.js} +1 -1
  20. package/dist/bundle/{chunk-N57QFHPJ.js → chunk-6AEQACVV.js} +7 -7
  21. package/dist/bundle/{chunk-3HX5I5KX.js → chunk-6NHJ4TTJ.js} +515 -356
  22. package/dist/bundle/{chunk-7FAFZQYC.js → chunk-6YK3RZZJ.js} +4 -4
  23. package/dist/bundle/{chunk-WJ3VJYM4.js → chunk-7CKXTTZG.js} +2 -2
  24. package/dist/bundle/{chunk-PQEJBESM.js → chunk-7DPHHUSZ.js} +21 -21
  25. package/dist/bundle/{chunk-7FY7DHFV.js → chunk-7E46JN6V.js} +2 -2
  26. package/dist/bundle/{chunk-LWVCZPQF.js → chunk-7ETYPYIN.js} +12 -12
  27. package/dist/bundle/{chunk-5QRRSPCL.js → chunk-7NKBX7FC.js} +2 -2
  28. package/dist/bundle/{chunk-CQ7NDIKS.js → chunk-B4VCZOLF.js} +1 -1
  29. package/dist/bundle/{chunk-7H45WVOV.js → chunk-CTRVHHBK.js} +5 -5
  30. package/dist/bundle/{chunk-GKRSFUAN.js → chunk-D4PK5OXW.js} +1 -1
  31. package/dist/bundle/{chunk-MIJKJNIA.js → chunk-ETYD55QD.js} +3 -3
  32. package/dist/bundle/{chunk-ABLNLLM6.js → chunk-F6E7DSJO.js} +31 -31
  33. package/dist/bundle/{chunk-ENVEZQ2F.js → chunk-HLTGPK6P.js} +4 -4
  34. package/dist/bundle/{chunk-V5E55COY.js → chunk-I6LNI45S.js} +5 -5
  35. package/dist/bundle/{chunk-HBY2VTP6.js → chunk-IZZU4NS6.js} +3 -3
  36. package/dist/bundle/{chunk-CBNN7VP2.js → chunk-JAJSTFBB.js} +6 -6
  37. package/dist/bundle/{chunk-MF3B3UAK.js → chunk-K6FQVROA.js} +21 -21
  38. package/dist/bundle/{chunk-OD5IBWOB.js → chunk-KGZM5WYK.js} +4 -4
  39. package/dist/bundle/{chunk-BFDN7ZRX.js → chunk-KZRBIHQL.js} +5 -5
  40. package/dist/bundle/{chunk-TWHA3OB2.js → chunk-LIW42UCX.js} +9 -9
  41. package/dist/bundle/{chunk-AQ44SSA2.js → chunk-MQCBJGXA.js} +10 -9
  42. package/dist/bundle/{chunk-PPJXTU54.js → chunk-OEPBIWHI.js} +150 -150
  43. package/dist/bundle/{chunk-M36WYT62.js → chunk-OFERGS4J.js} +23 -1
  44. package/dist/bundle/{chunk-7IMLRFCG.js → chunk-OIHKFGHK.js} +3 -3
  45. package/dist/bundle/{chunk-ROYHEBF4.js → chunk-OQSOQYSQ.js} +4 -4
  46. package/dist/bundle/{chunk-WFF7X6LI.js → chunk-OWVHNTY6.js} +6 -6
  47. package/dist/bundle/{chunk-YA7YYH3E.js → chunk-PSYZ33UQ.js} +1 -1
  48. package/dist/bundle/{chunk-Z2R4SK5Q.js → chunk-R7ZD7TNI.js} +1 -1
  49. package/dist/bundle/{chunk-775KV34P.js → chunk-RRHSJ7CR.js} +62 -62
  50. package/dist/bundle/{chunk-HPMEODWD.js → chunk-RRPUM4RS.js} +2 -2
  51. package/dist/bundle/{chunk-SB44NDKV.js → chunk-RT476OFI.js} +7 -7
  52. package/dist/bundle/{chunk-MTIAWKHJ.js → chunk-SSX6S3EG.js} +1 -1
  53. package/dist/bundle/{chunk-FYG52VXO.js → chunk-STXMSLU6.js} +1 -1
  54. package/dist/bundle/{chunk-SJAX32ZF.js → chunk-UTSMQ7KI.js} +1 -1
  55. package/dist/bundle/{chunk-XGR7ND66.js → chunk-UTUUXAPS.js} +28 -28
  56. package/dist/bundle/{chunk-EXIFPE4R.js → chunk-WFDGEREJ.js} +2 -2
  57. package/dist/bundle/{chunk-IRFXP5R5.js → chunk-WMRR2SNG.js} +1 -1
  58. package/dist/bundle/{chunk-UTCOTLJP.js → chunk-XT7EJLA4.js} +4 -4
  59. package/dist/bundle/{chunk-SK3GNZFF.js → chunk-XU7UER3B.js} +10 -10
  60. package/dist/bundle/{chunk-3L6SQL6I.js → chunk-XYFYZP2N.js} +1 -1
  61. package/dist/bundle/{chunk-M4C4PD6O.js → chunk-Y264FW55.js} +1 -1
  62. package/dist/bundle/{chunk-KG6HO3XP.js → chunk-YRHLPKTG.js} +2 -2
  63. package/dist/bundle/{chunk-NQBV7NNO.js → chunk-YVCNJKDA.js} +210 -364
  64. package/dist/bundle/{command-contract-XKSGEPXG.js → command-contract-4TGN6GSP.js} +11 -11
  65. package/dist/bundle/{decode-6PPIALX2.js → decode-S3PPQHID.js} +2 -2
  66. package/dist/bundle/{echarts-XQ7T6SKK.js → echarts-AH6U7X2S.js} +2 -2
  67. package/dist/bundle/{embed-W56IWO4I.js → embed-4NSZECMB.js} +3 -3
  68. package/dist/bundle/{embedder-IWJHHYLE.js → embedder-EGRA7YEY.js} +6 -6
  69. package/dist/bundle/{entry-OZSQA6IT.js → entry-O3V72WZP.js} +4 -4
  70. package/dist/bundle/failure-CFGWWTV5.js +65 -0
  71. package/dist/bundle/{first-run-LT5QD4MA.js → first-run-S7RRDIGX.js} +5 -5
  72. package/dist/bundle/{first-screen-IMWQP24U.js → first-screen-YKJAQUVE.js} +12 -12
  73. package/dist/bundle/{instructions-DHUIJMK4.js → instructions-ETUUZKBM.js} +1 -1
  74. package/dist/bundle/{mcp-3X7LMJSZ.js → mcp-J3K7RC5W.js} +35 -35
  75. package/dist/bundle/memo.js +6 -6
  76. package/dist/bundle/{node-BSK32EM3.js → node-O4XVOEGO.js} +2 -2
  77. package/dist/bundle/{node-sqlite-SYF7X36U.js → node-sqlite-PC3K43U7.js} +3 -3
  78. package/dist/bundle/{oauth-ZEWUPRPD.js → oauth-MBJUEG2Z.js} +4 -4
  79. package/dist/bundle/{open-4EKQE47K.js → open-5FAYV6JM.js} +2 -2
  80. package/dist/bundle/{openai-UGNJPON6.js → openai-57CRSGLH.js} +7 -7
  81. package/dist/bundle/{process-KQ5PLFEX.js → process-NAW4COYH.js} +1 -1
  82. package/dist/bundle/{program-WSVJK4LB.js → program-CFJAGFYD.js} +158 -71
  83. package/dist/bundle/{prompt-KA6BE6HG.js → prompt-FT2MMVS7.js} +2 -2
  84. package/dist/bundle/{recognize-ZM75USNS.js → recognize-PEYPOI3Q.js} +1 -1
  85. package/dist/bundle/{remote-I5MIVEGH.js → remote-FQAXACFW.js} +4 -4
  86. package/dist/bundle/{rerank-46KI3363.js → rerank-4KEB4X6T.js} +4 -4
  87. package/dist/bundle/{serve-QE4CSBAB.js → serve-LCTIHO37.js} +6 -6
  88. package/dist/bundle/server-AQTWRRAJ.js +61 -0
  89. package/dist/bundle/server-JIFODLCU.js +48 -0
  90. package/dist/bundle/{server-EFNICTJC.js → server-XQLRMM73.js} +49 -50
  91. package/dist/bundle/{state-2W2BFTG7.js → state-YF4M4RHC.js} +3 -3
  92. package/dist/bundle/{store-M4Q4BIDW.js → store-EQEMYMCC.js} +11 -9
  93. package/dist/bundle/store-maintenance-command-7IC3LTYY.js +47 -0
  94. package/dist/bundle/update-T237KLFA.js +68 -0
  95. package/dist/examples.d.ts.map +1 -1
  96. package/dist/examples.js +6 -0
  97. package/dist/examples.js.map +1 -1
  98. package/dist/models/command.d.ts +2 -2
  99. package/dist/models/command.d.ts.map +1 -1
  100. package/dist/models/command.js +4 -1
  101. package/dist/models/command.js.map +1 -1
  102. package/dist/notes/embed.d.ts +25 -2
  103. package/dist/notes/embed.d.ts.map +1 -1
  104. package/dist/notes/embed.js +80 -6
  105. package/dist/notes/embed.js.map +1 -1
  106. package/dist/program.d.ts +4 -2
  107. package/dist/program.d.ts.map +1 -1
  108. package/dist/program.js +3 -3
  109. package/dist/program.js.map +1 -1
  110. package/dist/run/import.d.ts +5 -3
  111. package/dist/run/import.d.ts.map +1 -1
  112. package/dist/run/import.js +17 -4
  113. package/dist/run/import.js.map +1 -1
  114. package/dist/version.d.ts +1 -1
  115. package/dist/version.js +1 -1
  116. package/package.json +2 -2
  117. package/dist/bundle/auto-MWAOY7KC.js +0 -86
  118. package/dist/bundle/chunk-YO4PT3MD.js +0 -33
  119. package/dist/bundle/failure-2V4YXERK.js +0 -66
  120. package/dist/bundle/server-J3VKU7NQ.js +0 -48
  121. package/dist/bundle/server-MLOQ4RS7.js +0 -61
  122. package/dist/bundle/store-maintenance-command-KYCDTJQ2.js +0 -48
  123. package/dist/bundle/update-JEYA6GXL.js +0 -69
  124. /package/dist/bundle/{chunk-DZ2GIEEY.js → chunk-GFNWVGLD.js} +0 -0
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/search/languages.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/store/normalize.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1522
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/search/stem.js
2198
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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"];
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/http/public-url.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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)
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/store/driver.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/node_modules/@wirecat/cli-core/dist/store/driver.js
8
8
  var TIME_LIMIT_FUNCTION = "wc_time_limit";
9
9
  var TimeLimitReached = class extends Error {
10
10
  static {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.",
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-LWVCZPQF.js";
23
+ } from "./chunk-7ETYPYIN.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-MF3B3UAK.js";
36
+ } from "./chunk-K6FQVROA.js";
37
37
  import {
38
38
  mcpUrlOf
39
- } from "./chunk-MTIAWKHJ.js";
39
+ } from "./chunk-SSX6S3EG.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-AQ44SSA2.js";
43
+ } from "./chunk-MQCBJGXA.js";
44
44
  import {
45
45
  instructions
46
- } from "./chunk-3L6SQL6I.js";
46
+ } from "./chunk-XYFYZP2N.js";
47
47
  import {
48
48
  answeredWire
49
- } from "./chunk-IRFXP5R5.js";
49
+ } from "./chunk-WMRR2SNG.js";
50
50
  import {
51
51
  callerOf,
52
52
  callingAgent
53
- } from "./chunk-5QRRSPCL.js";
53
+ } from "./chunk-7NKBX7FC.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-PQEJBESM.js";
65
+ } from "./chunk-7DPHHUSZ.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-UTLAFKFU.js";
74
+ } from "./chunk-233N77WN.js";
75
75
  import {
76
76
  findCommand
77
- } from "./chunk-HPMEODWD.js";
77
+ } from "./chunk-RRPUM4RS.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-PPJXTU54.js";
93
+ } from "./chunk-OEPBIWHI.js";
94
94
  import {
95
95
  withCaller
96
- } from "./chunk-CBNN7VP2.js";
96
+ } from "./chunk-JAJSTFBB.js";
97
97
  import {
98
98
  readOnlyLockOf
99
- } from "./chunk-YA7YYH3E.js";
99
+ } from "./chunk-PSYZ33UQ.js";
100
100
  import {
101
101
  mcpHttpMarker
102
- } from "./chunk-IKMCUKAE.js";
102
+ } from "./chunk-37ILRM2G.js";
103
103
  import {
104
104
  openStore,
105
105
  pdfPreviewLimits
106
- } from "./chunk-3HX5I5KX.js";
106
+ } from "./chunk-6NHJ4TTJ.js";
107
107
  import {
108
108
  timezoneOf
109
- } from "./chunk-775KV34P.js";
109
+ } from "./chunk-RRHSJ7CR.js";
110
110
  import {
111
111
  isCliFailure
112
- } from "./chunk-KG6HO3XP.js";
112
+ } from "./chunk-YRHLPKTG.js";
113
113
  import {
114
114
  warmEmbedders
115
- } from "./chunk-2ALNQ3ZG.js";
115
+ } from "./chunk-3FPF5DBU.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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/server.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/resources.js
162
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/session.js
200
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
275
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
329
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
383
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/tools.js
420
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/server.js
427
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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-QE4CSBAB.js");
751
+ const { serveOverHttp } = await import("./serve-LCTIHO37.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
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-CQ7NDIKS.js";
7
+ } from "./chunk-B4VCZOLF.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-4ZW6ZJ2V.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.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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;
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
8
8
  import { PassThrough, Writable } from "node:stream";
9
9
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
10
10
  let rest = "";
@@ -3,22 +3,22 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  agentResult,
5
5
  failureContext
6
- } from "./chunk-AQ44SSA2.js";
6
+ } from "./chunk-MQCBJGXA.js";
7
7
  import {
8
8
  CommanderError,
9
9
  judgedEffects,
10
10
  metaOf
11
- } from "./chunk-PPJXTU54.js";
11
+ } from "./chunk-OEPBIWHI.js";
12
12
  import {
13
13
  storeDamaged
14
- } from "./chunk-KG6HO3XP.js";
14
+ } from "./chunk-YRHLPKTG.js";
15
15
  import {
16
16
  interactiveOf,
17
17
  optionsOf
18
18
  } from "./chunk-BPGYTJNB.js";
19
19
  import {
20
20
  APP
21
- } from "./chunk-Z2R4SK5Q.js";
21
+ } from "./chunk-R7ZD7TNI.js";
22
22
  import {
23
23
  ValiError,
24
24
  errorObjectOf,
@@ -8,17 +8,17 @@ import {
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-MIJKJNIA.js";
11
+ } from "./chunk-ETYD55QD.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-SB44NDKV.js";
15
+ } from "./chunk-RT476OFI.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-ROYHEBF4.js";
18
+ } from "./chunk-OQSOQYSQ.js";
19
19
  import {
20
20
  storePath
21
- } from "./chunk-GKRSFUAN.js";
21
+ } from "./chunk-D4PK5OXW.js";
22
22
  import {
23
23
  installerOf
24
24
  } from "./chunk-IK6KH3RE.js";
@@ -26,7 +26,7 @@ import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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-M4Q4BIDW.js");
87
+ const { openStore } = await import("./store-EQEMYMCC.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-4EKQE47K.js"),
117
- import("./store-maintenance-command-KYCDTJQ2.js")
116
+ import("./open-5FAYV6JM.js"),
117
+ import("./store-maintenance-command-7IC3LTYY.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-IMWQP24U.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-YKJAQUVE.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-KA6BE6HG.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-FT2MMVS7.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {
@@ -8,7 +8,7 @@ import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/errors/failures.js
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/node_modules/@wirecat/cli-core/dist/errors/failures.js
12
12
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
13
13
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
14
14
  const { code, exitCode } = value ?? {};
@@ -55,7 +55,7 @@ var damagedFile = /* @__PURE__ */ __name(async (files, work) => {
55
55
  }, "damagedFile");
56
56
  var isStoreDamage = /* @__PURE__ */ __name((error) => damageIn(error) !== void 0, "isStoreDamage");
57
57
 
58
- // node_modules/.pnpm/@wirecat+cli-core@0.610.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e6c13ef962427cb2333deb6e4530ac73/node_modules/@wirecat/cli-core/dist/runs/secrets.js
58
+ // node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/node_modules/@wirecat/cli-core/dist/runs/secrets.js
59
59
  var SECRET_WORDS = /* @__PURE__ */ new Set([
60
60
  "authorization",
61
61
  "cookie",