@wirecat/cli-memo 0.131.42 → 0.131.44

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 (151) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-ZBEW2K6Y.js → all-profiles-MFZPFIHO.js} +5 -5
  3. package/dist/bundle/{anthropic-2OBFMS2B.js → anthropic-KJBO3FCU.js} +3 -3
  4. package/dist/bundle/{app-server-2BPUD7XU.js → app-server-A2XCJDGI.js} +35 -35
  5. package/dist/bundle/auto-W3BUP6YI.js +86 -0
  6. package/dist/bundle/{bun-4NGTZRHL.js → bun-BT7YVHDQ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-INSVTXFN.js → bun-sqlite-EG4TSO2G.js} +2 -2
  8. package/dist/bundle/{chunk-HCMQGNZU.js → chunk-2HHWU7GF.js} +5 -5
  9. package/dist/bundle/{chunk-A2KU4HSF.js → chunk-45LXRNPA.js} +56 -56
  10. package/dist/bundle/{chunk-5O3T7Z7F.js → chunk-4J6U4RIU.js} +296 -282
  11. package/dist/bundle/{chunk-4OYYJSRS.js → chunk-5HODYN65.js} +31 -31
  12. package/dist/bundle/{chunk-2IO2DEBO.js → chunk-5OOASLTP.js} +8 -8
  13. package/dist/bundle/{chunk-RV4EBFH2.js → chunk-5Q5JMJKP.js} +9 -9
  14. package/dist/bundle/{chunk-CKLLVPTR.js → chunk-6LXBT4F3.js} +1 -1
  15. package/dist/bundle/{chunk-O4I3BJPM.js → chunk-7VXPMICZ.js} +6 -6
  16. package/dist/bundle/{chunk-TWBJOORY.js → chunk-BBT2TWCN.js} +1 -1
  17. package/dist/bundle/{chunk-DA5YMQCB.js → chunk-BJS2EWG5.js} +2 -2
  18. package/dist/bundle/{chunk-UX34ZUMK.js → chunk-CJQYTFN6.js} +3 -3
  19. package/dist/bundle/{chunk-MWKPW3RU.js → chunk-E454LAVZ.js} +1 -1
  20. package/dist/bundle/{chunk-2P54ZDQO.js → chunk-EYKJXPDD.js} +7 -7
  21. package/dist/bundle/{chunk-E3P7PIR3.js → chunk-GTN4Z7XH.js} +3 -3
  22. package/dist/bundle/{chunk-TCNOZZPS.js → chunk-GURLGLGY.js} +11 -11
  23. package/dist/bundle/{chunk-KVKO4X7K.js → chunk-GWI3XFJR.js} +3 -3
  24. package/dist/bundle/{chunk-UK2MCVKV.js → chunk-GZCZKPUM.js} +248 -248
  25. package/dist/bundle/{chunk-GECE7WJD.js → chunk-GZTKZRWO.js} +2 -2
  26. package/dist/bundle/{chunk-GHLLCV4E.js → chunk-HQXTNBEY.js} +7 -7
  27. package/dist/bundle/{chunk-O6YTC7DC.js → chunk-I6JHSNDD.js} +1 -1
  28. package/dist/bundle/{chunk-CZ2CX43P.js → chunk-IKLSYWX7.js} +4 -4
  29. package/dist/bundle/{chunk-YLJWCB6F.js → chunk-IXAHSLWQ.js} +43 -43
  30. package/dist/bundle/{chunk-QWNEZWGZ.js → chunk-JFGPXSHH.js} +4 -4
  31. package/dist/bundle/{chunk-WSPCOSYD.js → chunk-K6UTFYOL.js} +4 -4
  32. package/dist/bundle/{chunk-KHEFBWLH.js → chunk-KD4A5HF6.js} +1 -1
  33. package/dist/bundle/{chunk-HQQC5JRS.js → chunk-KKDTX2LO.js} +4 -4
  34. package/dist/bundle/{chunk-UCLNEOQS.js → chunk-MEO3B2OF.js} +12 -12
  35. package/dist/bundle/{chunk-RHIQ34XW.js → chunk-MQ66CMD3.js} +2 -2
  36. package/dist/bundle/{chunk-6BW7SC6A.js → chunk-N4XNQ67E.js} +1 -1
  37. package/dist/bundle/{chunk-WG6AOUQW.js → chunk-N6XUB5Z6.js} +24 -21
  38. package/dist/bundle/{chunk-OAIRZNL2.js → chunk-NEQGFKOR.js} +1 -1
  39. package/dist/bundle/{chunk-OJX6GNQY.js → chunk-NKAXCQNN.js} +20 -20
  40. package/dist/bundle/{chunk-42VOTRWE.js → chunk-NXCYAOYY.js} +1 -1
  41. package/dist/bundle/{chunk-QWZUMUA7.js → chunk-NXJZMS35.js} +5 -5
  42. package/dist/bundle/{chunk-TBGBA45H.js → chunk-O4VDVY67.js} +1 -1
  43. package/dist/bundle/{chunk-T4NH7JI6.js → chunk-OBFWJJFV.js} +2 -2
  44. package/dist/bundle/{chunk-IAML53OZ.js → chunk-OEOU4MLY.js} +2 -2
  45. package/dist/bundle/{chunk-67TMJCHI.js → chunk-OK372VP3.js} +10 -10
  46. package/dist/bundle/{chunk-WFA2ZLJB.js → chunk-POSVGIP5.js} +149 -149
  47. package/dist/bundle/{chunk-LBMZ7SQI.js → chunk-Q2SZI7LP.js} +2 -2
  48. package/dist/bundle/{chunk-XUNIJW7V.js → chunk-Q2XEAF7Q.js} +9 -9
  49. package/dist/bundle/{chunk-W7GJREIL.js → chunk-QNLXDR4W.js} +2 -2
  50. package/dist/bundle/{chunk-KBOLP4OR.js → chunk-QZDSHJMZ.js} +27 -27
  51. package/dist/bundle/{chunk-F6UUS3OF.js → chunk-R2YMI2ZV.js} +1 -1
  52. package/dist/bundle/{chunk-ELPCHMDA.js → chunk-S4PKJOJP.js} +3 -3
  53. package/dist/bundle/{chunk-QWNVEFWY.js → chunk-SP7FRSAG.js} +5 -5
  54. package/dist/bundle/{chunk-O34QHLL5.js → chunk-SWE4LSXN.js} +1 -1
  55. package/dist/bundle/{chunk-NP5FU56F.js → chunk-T2NE3S47.js} +1 -1
  56. package/dist/bundle/{chunk-NCBHNEWW.js → chunk-T3ZQDLBU.js} +1 -1
  57. package/dist/bundle/{chunk-JWQWLMFP.js → chunk-TK6P24AN.js} +413 -386
  58. package/dist/bundle/{chunk-LJDBOXZN.js → chunk-WJBLLOBC.js} +1 -1
  59. package/dist/bundle/{chunk-2XCXOI4F.js → chunk-WNZVZE3L.js} +4 -4
  60. package/dist/bundle/{chunk-OYHQYCGJ.js → chunk-X3PFDJSJ.js} +4 -4
  61. package/dist/bundle/{chunk-EKFHAT36.js → chunk-XIZPBRIW.js} +1 -1
  62. package/dist/bundle/{chunk-KKXXP5RY.js → chunk-XTLFCF35.js} +7 -7
  63. package/dist/bundle/{chunk-TXU5T7VA.js → chunk-YGNKWWOX.js} +1 -1
  64. package/dist/bundle/{chunk-PRL227K7.js → chunk-ZIRR4BJ5.js} +5 -5
  65. package/dist/bundle/{command-contract-EYE52WTH.js → command-contract-JJQE3MCP.js} +11 -11
  66. package/dist/bundle/{decode-JVG6DJJV.js → decode-AMWZXLFS.js} +2 -2
  67. package/dist/bundle/{echarts-4IS4IPI4.js → echarts-UCAIOY4N.js} +2 -2
  68. package/dist/bundle/{embed-7CN33CQR.js → embed-DYNZ4223.js} +3 -3
  69. package/dist/bundle/{embedder-TZ345BZF.js → embedder-XG344VNB.js} +6 -6
  70. package/dist/bundle/{entry-5VZRNBLV.js → entry-CIUBRSDD.js} +4 -4
  71. package/dist/bundle/failure-JTQUF4RT.js +66 -0
  72. package/dist/bundle/{first-run-EMHSBODF.js → first-run-DFXU6DO2.js} +5 -5
  73. package/dist/bundle/{first-screen-3PJ3HFLG.js → first-screen-QDTJRHSS.js} +12 -12
  74. package/dist/bundle/{instructions-BTAYTZIS.js → instructions-MFAYYVVL.js} +1 -1
  75. package/dist/bundle/{mcp-I5KREUIV.js → mcp-5GUDJIDV.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-FMT4QVUG.js → node-UILGGXFZ.js} +2 -2
  78. package/dist/bundle/{node-sqlite-2RDIBVYM.js → node-sqlite-FJR5DRBC.js} +3 -3
  79. package/dist/bundle/{oauth-MF53KMXM.js → oauth-2WCGPG4N.js} +4 -4
  80. package/dist/bundle/{open-WKKHNBXL.js → open-I7ZYXOHK.js} +2 -2
  81. package/dist/bundle/{openai-36KNG2DB.js → openai-4GB2FGUR.js} +7 -7
  82. package/dist/bundle/{process-F2FWK4Q4.js → process-NRZZD4IS.js} +1 -1
  83. package/dist/bundle/{program-W55Y6LL2.js → program-HYJUSSU4.js} +567 -198
  84. package/dist/bundle/{prompt-2TR6X3TJ.js → prompt-F5RHTE7V.js} +2 -2
  85. package/dist/bundle/{recognize-MOBCGUI7.js → recognize-UXXDJQEW.js} +1 -1
  86. package/dist/bundle/{remote-GARKVCO7.js → remote-IW5FTICS.js} +4 -4
  87. package/dist/bundle/{rerank-L3G7P3KX.js → rerank-RRLNQ5C2.js} +4 -4
  88. package/dist/bundle/{serve-ABRMEJ7P.js → serve-GXJLUYCV.js} +6 -6
  89. package/dist/bundle/{server-XLMROR5L.js → server-646V4VPF.js} +50 -50
  90. package/dist/bundle/server-DJUCOKNC.js +48 -0
  91. package/dist/bundle/server-ITBSOGIC.js +61 -0
  92. package/dist/bundle/{state-5N2RVH2Y.js → state-3NLLRTD2.js} +3 -3
  93. package/dist/bundle/{store-4ML7O47C.js → store-3DFD7E66.js} +9 -9
  94. package/dist/bundle/store-maintenance-command-D7O6QCVF.js +48 -0
  95. package/dist/bundle/update-GQFRQVAV.js +69 -0
  96. package/dist/context/command.d.ts +4 -0
  97. package/dist/context/command.d.ts.map +1 -1
  98. package/dist/context/command.js +7 -5
  99. package/dist/context/command.js.map +1 -1
  100. package/dist/context/context.d.ts.map +1 -1
  101. package/dist/context/context.js +4 -3
  102. package/dist/context/context.js.map +1 -1
  103. package/dist/contract-overrides/skill.js +1 -1
  104. package/dist/contract-overrides/skill.js.map +1 -1
  105. package/dist/digest/command.d.ts +9 -0
  106. package/dist/digest/command.d.ts.map +1 -0
  107. package/dist/digest/command.js +58 -0
  108. package/dist/digest/command.js.map +1 -0
  109. package/dist/digest/digest.d.ts +57 -0
  110. package/dist/digest/digest.d.ts.map +1 -0
  111. package/dist/digest/digest.js +333 -0
  112. package/dist/digest/digest.js.map +1 -0
  113. package/dist/digest/text.d.ts +8 -0
  114. package/dist/digest/text.d.ts.map +1 -0
  115. package/dist/digest/text.js +35 -0
  116. package/dist/digest/text.js.map +1 -0
  117. package/dist/examples.d.ts.map +1 -1
  118. package/dist/examples.js +3 -2
  119. package/dist/examples.js.map +1 -1
  120. package/dist/knowledge/command.d.ts.map +1 -1
  121. package/dist/knowledge/command.js +17 -33
  122. package/dist/knowledge/command.js.map +1 -1
  123. package/dist/knowledge/project-context.d.ts +1 -0
  124. package/dist/knowledge/project-context.d.ts.map +1 -1
  125. package/dist/knowledge/project-context.js +6 -3
  126. package/dist/knowledge/project-context.js.map +1 -1
  127. package/dist/knowledge/project-status-command.d.ts.map +1 -1
  128. package/dist/knowledge/project-status-command.js +2 -1
  129. package/dist/knowledge/project-status-command.js.map +1 -1
  130. package/dist/program.d.ts.map +1 -1
  131. package/dist/program.js +1 -0
  132. package/dist/program.js.map +1 -1
  133. package/dist/review/command.d.ts.map +1 -1
  134. package/dist/review/command.js +4 -8
  135. package/dist/review/command.js.map +1 -1
  136. package/dist/review/status.d.ts +9 -0
  137. package/dist/review/status.d.ts.map +1 -1
  138. package/dist/review/status.js +11 -6
  139. package/dist/review/status.js.map +1 -1
  140. package/dist/version.d.ts +1 -1
  141. package/dist/version.js +1 -1
  142. package/package.json +2 -2
  143. package/skills/cli-memo/topics/projects.md +3 -1
  144. package/skills/morning-digest/SKILL.md +49 -0
  145. package/dist/bundle/auto-NIATDHS4.js +0 -86
  146. package/dist/bundle/failure-KIFYUUO6.js +0 -66
  147. package/dist/bundle/server-NMRAFTY3.js +0 -61
  148. package/dist/bundle/server-VX3L42ED.js +0 -48
  149. package/dist/bundle/store-maintenance-command-O3OTXKNO.js +0 -48
  150. package/dist/bundle/update-OWKZLZTS.js +0 -69
  151. /package/dist/bundle/{chunk-O3EZTSTN.js → chunk-NJG67ZXD.js} +0 -0
@@ -8,12 +8,12 @@ import {
8
8
  ACCESS_SECONDS,
9
9
  REFRESH_SECONDS,
10
10
  readStored
11
- } from "./chunk-HQQC5JRS.js";
11
+ } from "./chunk-KKDTX2LO.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
17
17
  import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
18
18
  import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  envName,
5
5
  readOnlyLockOf
6
- } from "./chunk-TWBJOORY.js";
6
+ } from "./chunk-BBT2TWCN.js";
7
7
  import {
8
8
  CAPABILITY_STATEMENTS,
9
9
  storeCapable
10
- } from "./chunk-QWNVEFWY.js";
10
+ } from "./chunk-SP7FRSAG.js";
11
11
  import {
12
12
  catchCrashes
13
13
  } from "./chunk-SN63VOE6.js";
@@ -21,10 +21,10 @@ import {
21
21
  __name
22
22
  } from "./chunk-ZVVMGPBJ.js";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/cli/entry.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/cli/entry.js
25
25
  import { spawn as spawn2 } from "node:child_process";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
28
28
  import { spawn, spawnSync } from "node:child_process";
29
29
  import { readFileSync } from "node:fs";
30
30
  import { dirname } from "node:path";
@@ -112,14 +112,14 @@ var relay = /* @__PURE__ */ __name((child, host = process) => new Promise(() =>
112
112
  });
113
113
  }), "relay");
114
114
 
115
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
115
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
116
116
  import { appendFileSync } from "node:fs";
117
117
  var logVersion = /* @__PURE__ */ __name((file) => {
118
118
  appendFileSync(file, `${JSON.stringify({ command: "", options: ["--version"] })}
119
119
  `);
120
120
  }, "logVersion");
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/cli/entry.js
122
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/cli/entry.js
123
123
  var processIo = /* @__PURE__ */ __name(() => ({
124
124
  argv: process.argv,
125
125
  env: process.env,
@@ -173,8 +173,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
173
173
  if (command.optsWithGlobals().dryRun === true)
174
174
  return;
175
175
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
176
- import("./first-run-EMHSBODF.js"),
177
- import("./command-contract-EYE52WTH.js")
176
+ import("./first-run-DFXU6DO2.js"),
177
+ import("./command-contract-JJQE3MCP.js")
178
178
  ]);
179
179
  await setupAtStart({
180
180
  command: entry.app.command,
@@ -189,7 +189,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
189
189
  ask: /* @__PURE__ */ __name(async (question, command) => {
190
190
  if (headless(command) || io.stdin.isTTY !== true)
191
191
  return false;
192
- const { readSecret } = await import("./prompt-2TR6X3TJ.js");
192
+ const { readSecret } = await import("./prompt-F5RHTE7V.js");
193
193
  const answer = await readSecret(`${question} [y/N] `, {
194
194
  input: io.stdin,
195
195
  output: io.stderr,
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-TBGBA45H.js";
7
+ } from "./chunk-O4VDVY67.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-RZ54DSVU.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.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/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 readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-TCNOZZPS.js";
23
+ } from "./chunk-GURLGLGY.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-WG6AOUQW.js";
36
+ } from "./chunk-N6XUB5Z6.js";
37
37
  import {
38
38
  mcpUrlOf
39
- } from "./chunk-EKFHAT36.js";
39
+ } from "./chunk-XIZPBRIW.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-RV4EBFH2.js";
43
+ } from "./chunk-5Q5JMJKP.js";
44
44
  import {
45
45
  instructions
46
- } from "./chunk-OAIRZNL2.js";
46
+ } from "./chunk-NEQGFKOR.js";
47
47
  import {
48
48
  answeredWire
49
- } from "./chunk-MWKPW3RU.js";
49
+ } from "./chunk-E454LAVZ.js";
50
50
  import {
51
51
  callerOf,
52
52
  callingAgent
53
- } from "./chunk-GECE7WJD.js";
53
+ } from "./chunk-GZTKZRWO.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-OJX6GNQY.js";
65
+ } from "./chunk-NKAXCQNN.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-JWQWLMFP.js";
74
+ } from "./chunk-TK6P24AN.js";
75
75
  import {
76
76
  findCommand
77
- } from "./chunk-T4NH7JI6.js";
77
+ } from "./chunk-OBFWJJFV.js";
78
78
  import {
79
79
  DEFAULT_OUTPUT_BYTES,
80
80
  changesAuthorityAt,
@@ -90,27 +90,27 @@ import {
90
90
  sealed,
91
91
  snakeKeys,
92
92
  typedCommand
93
- } from "./chunk-WFA2ZLJB.js";
93
+ } from "./chunk-POSVGIP5.js";
94
94
  import {
95
95
  isCliFailure,
96
96
  withCaller
97
- } from "./chunk-2P54ZDQO.js";
97
+ } from "./chunk-EYKJXPDD.js";
98
98
  import {
99
99
  readOnlyLockOf
100
- } from "./chunk-TWBJOORY.js";
100
+ } from "./chunk-BBT2TWCN.js";
101
101
  import {
102
102
  mcpHttpMarker
103
- } from "./chunk-HQQC5JRS.js";
103
+ } from "./chunk-KKDTX2LO.js";
104
104
  import {
105
105
  openStore,
106
106
  pdfPreviewLimits
107
- } from "./chunk-5O3T7Z7F.js";
107
+ } from "./chunk-4J6U4RIU.js";
108
108
  import {
109
109
  timezoneOf
110
- } from "./chunk-A2KU4HSF.js";
110
+ } from "./chunk-45LXRNPA.js";
111
111
  import {
112
112
  warmEmbedders
113
- } from "./chunk-QWZUMUA7.js";
113
+ } from "./chunk-NXJZMS35.js";
114
114
  import {
115
115
  description,
116
116
  integer,
@@ -135,10 +135,10 @@ import {
135
135
  __name
136
136
  } from "./chunk-ZVVMGPBJ.js";
137
137
 
138
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/mcp/server.js
138
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/mcp/server.js
139
139
  import { randomUUID } from "node:crypto";
140
140
 
141
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
141
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
142
142
  var agentLog = /* @__PURE__ */ __name((open) => {
143
143
  let held;
144
144
  return {
@@ -157,7 +157,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
157
157
  };
158
158
  }, "agentLog");
159
159
 
160
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/mcp/resources.js
160
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/mcp/resources.js
161
161
  var LISTED = 100;
162
162
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
163
163
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -195,7 +195,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
195
195
  });
196
196
  }, "registerResources");
197
197
 
198
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/mcp/session.js
198
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/mcp/session.js
199
199
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
200
200
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
201
201
  var MessengerSession = class {
@@ -270,7 +270,7 @@ var MessengerSession = class {
270
270
  }
271
271
  };
272
272
 
273
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
273
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
274
274
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
275
275
  const _command = messenger.app.command;
276
276
  return {
@@ -324,7 +324,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
324
324
  };
325
325
  }, "attachmentsTools");
326
326
 
327
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
327
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
328
328
  var PHOTO_LIMIT = 512 * 1024;
329
329
  var IMAGE_TYPES = [
330
330
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -378,7 +378,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
378
378
  return new Uint8Array(Buffer.concat(chunks));
379
379
  }, "readUpTo");
380
380
 
381
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
381
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
382
382
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
383
383
  stats_charts: tool({
384
384
  title: "A chart from a chat's statistics",
@@ -415,14 +415,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
415
415
  })
416
416
  }), "statsTools");
417
417
 
418
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/mcp/tools.js
418
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/mcp/tools.js
419
419
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
420
420
  ...messagesPhotoTools(messenger),
421
421
  ...attachmentsTools(messenger),
422
422
  ...statsTools(messenger)
423
423
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
424
424
 
425
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/mcp/server.js
425
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/mcp/server.js
426
426
  var PER_RUN = /* @__PURE__ */ new Set([
427
427
  "streams",
428
428
  "stdin",
@@ -746,7 +746,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
746
746
  }, "serveOverStdio");
747
747
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
748
748
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
749
- const { serveOverHttp } = await import("./serve-ABRMEJ7P.js");
749
+ const { serveOverHttp } = await import("./serve-GXJLUYCV.js");
750
750
  const appName = messenger.app.command;
751
751
  const appEnvPrefix = messenger.app.envPrefix;
752
752
  const listening = await serveOverHttp(build, {
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/store/path.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/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");
@@ -4,10 +4,10 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-OYHQYCGJ.js";
7
+ } from "./chunk-X3PFDJSJ.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-F6UUS3OF.js";
10
+ } from "./chunk-R2YMI2ZV.js";
11
11
  import {
12
12
  CliError
13
13
  } from "./chunk-RZ54DSVU.js";
@@ -15,7 +15,7 @@ import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/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,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-CKLLVPTR.js";
5
+ } from "./chunk-6LXBT4F3.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-RZ54DSVU.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/node_modules/@wirecat/cli-core/dist/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-INSVTXFN.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-EG4TSO2G.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-2RDIBVYM.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-FJR5DRBC.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/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;
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/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.",
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.588.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_b859f846da38ad2f474ef5e15fe95f19/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_4d927264f4292101afd5535290652319/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) => {