@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.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-CWV6RUGR.js → all-profiles-W3GRNNLJ.js} +6 -6
- package/dist/bundle/{anthropic-OIVOFYZY.js → anthropic-GWMYHBO4.js} +3 -3
- package/dist/bundle/{app-server-2APNY5WO.js → app-server-RQ26EXNI.js} +37 -37
- package/dist/bundle/auto-FR6LX5KO.js +85 -0
- package/dist/bundle/{bun-7ZKANZII.js → bun-KKLPQTG5.js} +2 -2
- package/dist/bundle/{bun-sqlite-M2EHGYBI.js → bun-sqlite-WKIZJNTG.js} +3 -3
- package/dist/bundle/{chunk-R4LVHS2N.js → chunk-32ROGX5N.js} +1 -1
- package/dist/bundle/{chunk-2SIOUXJ7.js → chunk-4C6RU7DG.js} +5 -5
- package/dist/bundle/{chunk-OO6SA2FM.js → chunk-4JTCNMW6.js} +1 -1
- package/dist/bundle/{chunk-75MWX5PK.js → chunk-6SFTVGNL.js} +1 -1
- package/dist/bundle/{chunk-GL74QTTV.js → chunk-7DANHJF6.js} +35 -33
- package/dist/bundle/{chunk-UCLZMKTT.js → chunk-7IKET6ES.js} +2 -2
- package/dist/bundle/{chunk-KOJN4WTN.js → chunk-7KYVUVDS.js} +2 -2
- package/dist/bundle/{chunk-QWP6RJFR.js → chunk-7OMKWYFN.js} +34 -11
- package/dist/bundle/{chunk-2QIM6246.js → chunk-AGNWFOAJ.js} +1 -1
- package/dist/bundle/{chunk-BF4SX6DP.js → chunk-BOOEDDVY.js} +76 -62
- package/dist/bundle/{chunk-M76ZJSPA.js → chunk-CQNYBTWP.js} +3 -3
- package/dist/bundle/{chunk-JSFC6TRN.js → chunk-DNDELSVT.js} +5 -5
- package/dist/bundle/{chunk-CUC7KGX4.js → chunk-DNS2QWK3.js} +3 -3
- package/dist/bundle/{chunk-KU4TU5XZ.js → chunk-ECMYCWG2.js} +2 -2
- package/dist/bundle/{chunk-22XVNJQP.js → chunk-FBSHWCIZ.js} +9 -9
- package/dist/bundle/{chunk-DNXPQGFB.js → chunk-GHN2KYMO.js} +21 -21
- package/dist/bundle/{chunk-ADDDSIRN.js → chunk-GJ3P7RJF.js} +5 -5
- package/dist/bundle/{chunk-IGXIPABG.js → chunk-GU3MRYK2.js} +1 -1
- package/dist/bundle/{chunk-LRQD4RJN.js → chunk-GUWRR7F2.js} +2 -2
- package/dist/bundle/{chunk-637JEJOC.js → chunk-HUPZ6XYH.js} +2 -2
- package/dist/bundle/{chunk-CRRBBPJK.js → chunk-IKZBO7NV.js} +1486 -1148
- package/dist/bundle/{chunk-P2MMAW3A.js → chunk-JEKIBI7P.js} +5 -5
- package/dist/bundle/{chunk-GO73V5BC.js → chunk-JG7EDH7K.js} +1 -1
- package/dist/bundle/{chunk-4U2IONIS.js → chunk-LJCT7YG6.js} +1 -1
- package/dist/bundle/{chunk-HB7WN6MX.js → chunk-MCA265JM.js} +7 -1
- package/dist/bundle/{chunk-LEL6NYM5.js → chunk-MLF5FLAP.js} +4 -4
- package/dist/bundle/{chunk-EI5IEOXD.js → chunk-NNUJWCEJ.js} +1 -1
- package/dist/bundle/{chunk-LDPNN4ED.js → chunk-ORKWFXWV.js} +11 -11
- package/dist/bundle/{chunk-IDBN5CTG.js → chunk-OU4PN7PF.js} +7 -7
- package/dist/bundle/{chunk-WDVYPHNV.js → chunk-OUSLPKWY.js} +1 -1
- package/dist/bundle/{chunk-DMC3NDG7.js → chunk-PBOVHHYG.js} +8 -8
- package/dist/bundle/{chunk-B3ZXE2IH.js → chunk-Q4JYHQ47.js} +10870 -10866
- package/dist/bundle/{chunk-MEPRCROV.js → chunk-QCWA3JUT.js} +2 -2
- package/dist/bundle/{chunk-XMGUKW6Y.js → chunk-QFSMJTEA.js} +2 -2
- package/dist/bundle/{chunk-HUJ666OW.js → chunk-QMTCYKAA.js} +7 -6
- package/dist/bundle/{chunk-I4EUGFS7.js → chunk-R4H5HSQZ.js} +4 -4
- package/dist/bundle/{chunk-XAEDDKM4.js → chunk-SKBDI7LU.js} +28 -28
- package/dist/bundle/{chunk-KV35JTWA.js → chunk-SUCG5HBF.js} +1 -1
- package/dist/bundle/{chunk-2LAJDBWZ.js → chunk-TFAUB6JO.js} +1538 -596
- package/dist/bundle/{chunk-ZAOFHRBL.js → chunk-TNHFKR6P.js} +22 -22
- package/dist/bundle/{chunk-C74WKN57.js → chunk-TPYXULNG.js} +7 -7
- package/dist/bundle/{chunk-VBXQAIRI.js → chunk-TQXXOUOX.js} +1 -1
- package/dist/bundle/{chunk-HPUTLOQU.js → chunk-TWTAWPC7.js} +13 -13
- package/dist/bundle/{chunk-7NV2IUIC.js → chunk-TXWVZVDK.js} +3 -3
- package/dist/bundle/{chunk-OZBL624P.js → chunk-UUBV5ATQ.js} +2 -0
- package/dist/bundle/{chunk-DH6PT65U.js → chunk-VUCD4DAQ.js} +4 -4
- package/dist/bundle/{chunk-4Y33E3U3.js → chunk-VVTC2YAX.js} +4 -4
- package/dist/bundle/{chunk-HHDZIBBO.js → chunk-W7FYMZOW.js} +7 -7
- package/dist/bundle/{chunk-XZBVXJWY.js → chunk-WJ2OYD2D.js} +5 -5
- package/dist/bundle/{chunk-2OEQH7HY.js → chunk-XI5UABKO.js} +1 -1
- package/dist/bundle/{chunk-M643YQVP.js → chunk-XK4VVGMH.js} +2 -2
- package/dist/bundle/{chunk-RKLCY7YU.js → chunk-XVPMSMSP.js} +3 -3
- package/dist/bundle/{chunk-LW5G7PAR.js → chunk-XYL7GDCX.js} +5 -5
- package/dist/bundle/{chunk-WCRWS2W7.js → chunk-YAFSD345.js} +12 -12
- package/dist/bundle/{chunk-DAA52TDI.js → chunk-ZNBLWLCD.js} +193 -154
- package/dist/bundle/{chunk-LWX2PCM6.js → chunk-ZOIW2YEU.js} +8 -8
- package/dist/bundle/{chunk-DVVS2API.js → chunk-ZU6HZLZP.js} +43 -43
- package/dist/bundle/{chunk-XFZESHD3.js → chunk-ZVXXJYNW.js} +2 -2
- package/dist/bundle/{command-contract-N554VPBZ.js → command-contract-46BU5YKL.js} +12 -12
- package/dist/bundle/{decode-ZCMHC5JI.js → decode-KRVQZPSB.js} +3 -3
- package/dist/bundle/{echarts-SJNM7DNA.js → echarts-O6QQRVZE.js} +2 -2
- package/dist/bundle/{embed-JO3CVYBK.js → embed-DA4H2F4F.js} +4 -4
- package/dist/bundle/{embedder-QAEGU7TZ.js → embedder-HWAFLIYM.js} +7 -7
- package/dist/bundle/{entry-KMFOJYWF.js → entry-DE7GJOIZ.js} +5 -5
- package/dist/bundle/failure-U3VNIQNX.js +65 -0
- package/dist/bundle/{first-run-5X2NRJL2.js → first-run-GOBPIKQF.js} +7 -7
- package/dist/bundle/{first-screen-2LMAVNBU.js → first-screen-3V3HWSQM.js} +13 -13
- package/dist/bundle/{instructions-GLZE4RPY.js → instructions-GYYMBSZW.js} +1 -1
- package/dist/bundle/mcp-6RDHWRXG.js +90 -0
- package/dist/bundle/memo.js +7 -7
- package/dist/bundle/{node-BNMBIM5C.js → node-R3OFASC5.js} +2 -2
- package/dist/bundle/{node-sqlite-BSRYEMOR.js → node-sqlite-DYHDZJ5A.js} +4 -4
- package/dist/bundle/{oauth-HYAEWGBV.js → oauth-SMCDSCXQ.js} +5 -5
- package/dist/bundle/{open-X7J4Q3I6.js → open-GX7RPGQW.js} +3 -3
- package/dist/bundle/{openai-ZACXNPZS.js → openai-WM4TRXCC.js} +8 -8
- package/dist/bundle/{process-5I6233QY.js → process-NT5OZH2V.js} +1 -1
- package/dist/bundle/{program-RQIADAES.js → program-YQ3UT2LI.js} +5737 -4697
- package/dist/bundle/{prompt-DVKTWZHJ.js → prompt-5XJNSXCW.js} +3 -3
- package/dist/bundle/{recognize-VXK4L74H.js → recognize-DQNGZLRX.js} +2 -2
- package/dist/bundle/{remote-IJLJQRQN.js → remote-RMRYJZSZ.js} +5 -5
- package/dist/bundle/{rerank-553ZMBYJ.js → rerank-5J6JM43S.js} +5 -5
- package/dist/bundle/{serve-76AFHLTI.js → serve-4RVWOQVC.js} +7 -7
- package/dist/bundle/server-HH2X6G7V.js +61 -0
- package/dist/bundle/server-MS3JKMGF.js +48 -0
- package/dist/bundle/{server-B3F54YWL.js → server-NKCRFK26.js} +94 -61
- package/dist/bundle/{state-WYFGGGAG.js → state-MGVPOLPZ.js} +4 -4
- package/dist/bundle/{store-S6QR47NT.js → store-IEK4PPOE.js} +16 -10
- package/dist/bundle/store-maintenance-command-GSS2AY4J.js +47 -0
- package/dist/bundle/update-S5XRRWTH.js +68 -0
- package/dist/digest/command.d.ts.map +1 -1
- package/dist/digest/command.js +2 -1
- package/dist/digest/command.js.map +1 -1
- package/dist/digest/digest.d.ts +2 -2
- package/dist/digest/digest.d.ts.map +1 -1
- package/dist/digest/digest.js +36 -2
- package/dist/digest/digest.js.map +1 -1
- package/dist/discovery/command.d.ts.map +1 -1
- package/dist/discovery/command.js +3 -0
- package/dist/discovery/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +29 -0
- package/dist/examples.js.map +1 -1
- package/dist/facts/command.d.ts.map +1 -1
- package/dist/facts/command.js +7 -4
- package/dist/facts/command.js.map +1 -1
- package/dist/facts/fact.d.ts +1 -0
- package/dist/facts/fact.d.ts.map +1 -1
- package/dist/facts/fact.js +1 -0
- package/dist/facts/fact.js.map +1 -1
- package/dist/knowledge/project-context.d.ts +1 -0
- package/dist/knowledge/project-context.d.ts.map +1 -1
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +47 -13
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/memories/command.d.ts.map +1 -1
- package/dist/memories/command.js +9 -5
- package/dist/memories/command.js.map +1 -1
- package/dist/memories/memories.d.ts +6 -3
- package/dist/memories/memories.d.ts.map +1 -1
- package/dist/memories/memories.js +15 -20
- package/dist/memories/memories.js.map +1 -1
- package/dist/memories/memory.d.ts +1 -0
- package/dist/memories/memory.d.ts.map +1 -1
- package/dist/memories/memory.js +1 -0
- package/dist/memories/memory.js.map +1 -1
- package/dist/memories/sources.d.ts +27 -0
- package/dist/memories/sources.d.ts.map +1 -0
- package/dist/memories/sources.js +111 -0
- package/dist/memories/sources.js.map +1 -0
- package/dist/notes/embed.d.ts +2 -0
- package/dist/notes/embed.d.ts.map +1 -1
- package/dist/notes/embed.js +13 -0
- package/dist/notes/embed.js.map +1 -1
- package/dist/notes/files.d.ts.map +1 -1
- package/dist/notes/files.js +2 -0
- package/dist/notes/files.js.map +1 -1
- package/dist/program.d.ts +4 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +44 -1
- package/dist/program.js.map +1 -1
- package/dist/read-only.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/review/command.d.ts +2 -0
- package/dist/review/command.d.ts.map +1 -1
- package/dist/review/command.js +18 -3
- package/dist/review/command.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +2 -1
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/review.d.ts +64 -1
- package/dist/review/review.d.ts.map +1 -1
- package/dist/review/review.js +45 -0
- package/dist/review/review.js.map +1 -1
- package/dist/run/import.d.ts +9 -0
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +20 -0
- package/dist/run/import.js.map +1 -1
- package/dist/sources/command.d.ts +7 -0
- package/dist/sources/command.d.ts.map +1 -0
- package/dist/sources/command.js +246 -0
- package/dist/sources/command.js.map +1 -0
- package/dist/sources/copy.d.ts +13 -0
- package/dist/sources/copy.d.ts.map +1 -0
- package/dist/sources/copy.js +32 -0
- package/dist/sources/copy.js.map +1 -0
- package/dist/sources/mentions.d.ts +21 -0
- package/dist/sources/mentions.d.ts.map +1 -0
- package/dist/sources/mentions.js +78 -0
- package/dist/sources/mentions.js.map +1 -0
- package/dist/sources/read.d.ts +30 -0
- package/dist/sources/read.d.ts.map +1 -0
- package/dist/sources/read.js +181 -0
- package/dist/sources/read.js.map +1 -0
- package/dist/templates/command.d.ts +5 -0
- package/dist/templates/command.d.ts.map +1 -0
- package/dist/templates/command.js +18 -0
- package/dist/templates/command.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/cli-memo/SKILL.md +9 -0
- package/skills/cli-memo/topics/proposals.md +13 -2
- package/skills/cli-memo/topics/search.md +7 -0
- package/dist/bundle/auto-HRPCC4FE.js +0 -85
- package/dist/bundle/failure-2FQL5SHA.js +0 -65
- package/dist/bundle/mcp-QXTOJORS.js +0 -90
- package/dist/bundle/server-PSEKWXKK.js +0 -48
- package/dist/bundle/server-QDPYZZT5.js +0 -61
- package/dist/bundle/store-maintenance-command-O4TXIWSL.js +0 -47
- package/dist/bundle/update-Z4LDMYC5.js +0 -68
- /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-
|
|
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.
|
|
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-
|
|
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.
|
|
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-
|
|
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-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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-
|
|
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.
|
|
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.
|
|
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.
|
|
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-
|
|
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-
|
|
36
|
+
} from "./chunk-GHN2KYMO.js";
|
|
37
37
|
import {
|
|
38
38
|
mcpUrlOf
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-OUSLPKWY.js";
|
|
40
40
|
import {
|
|
41
41
|
agentJson,
|
|
42
42
|
skillResource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-7OMKWYFN.js";
|
|
44
44
|
import {
|
|
45
45
|
instructions
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-GU3MRYK2.js";
|
|
47
47
|
import {
|
|
48
48
|
answeredWire
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-TQXXOUOX.js";
|
|
50
50
|
import {
|
|
51
51
|
callerOf,
|
|
52
52
|
callingAgent
|
|
53
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
74
|
+
} from "./chunk-Q4JYHQ47.js";
|
|
75
75
|
import {
|
|
76
76
|
findCommand
|
|
77
|
-
} from "./chunk-
|
|
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-
|
|
93
|
+
} from "./chunk-ZNBLWLCD.js";
|
|
94
94
|
import {
|
|
95
95
|
withCaller
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-W7FYMZOW.js";
|
|
97
97
|
import {
|
|
98
98
|
readOnlyLockOf
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-NNUJWCEJ.js";
|
|
100
100
|
import {
|
|
101
101
|
mcpHttpMarker
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-R4H5HSQZ.js";
|
|
103
103
|
import {
|
|
104
104
|
openStore,
|
|
105
105
|
pdfPreviewLimits
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-IKZBO7NV.js";
|
|
107
107
|
import {
|
|
108
108
|
timezoneOf
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-BOOEDDVY.js";
|
|
110
110
|
import {
|
|
111
111
|
isCliFailure
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-ECMYCWG2.js";
|
|
113
113
|
import {
|
|
114
114
|
warmEmbedders
|
|
115
|
-
} from "./chunk-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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-
|
|
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.
|
|
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;
|