@wirecat/cli-memo 0.131.43 → 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.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-NL4TH4VM.js → all-profiles-MFZPFIHO.js} +5 -5
- package/dist/bundle/{anthropic-JTVP4FKR.js → anthropic-KJBO3FCU.js} +3 -3
- package/dist/bundle/{app-server-FF6PISNB.js → app-server-A2XCJDGI.js} +35 -35
- package/dist/bundle/auto-W3BUP6YI.js +86 -0
- package/dist/bundle/{bun-OTDLXIRE.js → bun-BT7YVHDQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-HXOV4SGX.js → bun-sqlite-EG4TSO2G.js} +2 -2
- package/dist/bundle/{chunk-TVWO7K4U.js → chunk-2HHWU7GF.js} +5 -5
- package/dist/bundle/{chunk-NYJHYLKS.js → chunk-45LXRNPA.js} +56 -56
- package/dist/bundle/{chunk-RJM4D644.js → chunk-4J6U4RIU.js} +280 -280
- package/dist/bundle/{chunk-K44PG5V3.js → chunk-5HODYN65.js} +31 -31
- package/dist/bundle/{chunk-MLVYZIXB.js → chunk-5OOASLTP.js} +8 -8
- package/dist/bundle/{chunk-GPT5MFYG.js → chunk-5Q5JMJKP.js} +9 -9
- package/dist/bundle/{chunk-DTODXX7Y.js → chunk-6LXBT4F3.js} +1 -1
- package/dist/bundle/{chunk-BGNGOAG6.js → chunk-7VXPMICZ.js} +6 -6
- package/dist/bundle/{chunk-RCCKUVQP.js → chunk-BBT2TWCN.js} +1 -1
- package/dist/bundle/{chunk-PIQUCN4T.js → chunk-BJS2EWG5.js} +2 -2
- package/dist/bundle/{chunk-DYX5ATS5.js → chunk-CJQYTFN6.js} +3 -3
- package/dist/bundle/{chunk-U3VDEHXY.js → chunk-E454LAVZ.js} +1 -1
- package/dist/bundle/{chunk-WCFGYCVN.js → chunk-EYKJXPDD.js} +7 -7
- package/dist/bundle/{chunk-J3V25QFZ.js → chunk-GTN4Z7XH.js} +3 -3
- package/dist/bundle/{chunk-CIN7A3OM.js → chunk-GURLGLGY.js} +11 -11
- package/dist/bundle/{chunk-U7MRZIBF.js → chunk-GWI3XFJR.js} +3 -3
- package/dist/bundle/{chunk-TYIENI7Z.js → chunk-GZCZKPUM.js} +248 -248
- package/dist/bundle/{chunk-N5K6NZ2F.js → chunk-GZTKZRWO.js} +2 -2
- package/dist/bundle/{chunk-6WDOIKM6.js → chunk-HQXTNBEY.js} +7 -7
- package/dist/bundle/{chunk-MISLCCYA.js → chunk-I6JHSNDD.js} +1 -1
- package/dist/bundle/{chunk-2A42QHPZ.js → chunk-IKLSYWX7.js} +4 -4
- package/dist/bundle/{chunk-5HCWKNSM.js → chunk-IXAHSLWQ.js} +43 -43
- package/dist/bundle/{chunk-LDQYIKJH.js → chunk-JFGPXSHH.js} +4 -4
- package/dist/bundle/{chunk-FJVQDWVV.js → chunk-K6UTFYOL.js} +4 -4
- package/dist/bundle/{chunk-L5NN6UER.js → chunk-KD4A5HF6.js} +1 -1
- package/dist/bundle/{chunk-SKV7GYNB.js → chunk-KKDTX2LO.js} +4 -4
- package/dist/bundle/{chunk-LSGFFIMA.js → chunk-MEO3B2OF.js} +12 -12
- package/dist/bundle/{chunk-PFWAQGHE.js → chunk-MQ66CMD3.js} +2 -2
- package/dist/bundle/{chunk-2LHLMF3R.js → chunk-N4XNQ67E.js} +1 -1
- package/dist/bundle/{chunk-YXPAEW6N.js → chunk-N6XUB5Z6.js} +20 -20
- package/dist/bundle/{chunk-C67763MQ.js → chunk-NEQGFKOR.js} +1 -1
- package/dist/bundle/{chunk-AH7TKAUY.js → chunk-NKAXCQNN.js} +20 -20
- package/dist/bundle/{chunk-LUTZSIA6.js → chunk-NXCYAOYY.js} +1 -1
- package/dist/bundle/{chunk-LAMKU426.js → chunk-NXJZMS35.js} +5 -5
- package/dist/bundle/{chunk-YHQ2XNNJ.js → chunk-O4VDVY67.js} +1 -1
- package/dist/bundle/{chunk-LUHQEQA4.js → chunk-OBFWJJFV.js} +2 -2
- package/dist/bundle/{chunk-5MP7XPIP.js → chunk-OEOU4MLY.js} +2 -2
- package/dist/bundle/{chunk-MYOXBUSI.js → chunk-OK372VP3.js} +10 -10
- package/dist/bundle/{chunk-LGQZNRNK.js → chunk-POSVGIP5.js} +148 -148
- package/dist/bundle/{chunk-WVZIP7Z5.js → chunk-Q2SZI7LP.js} +2 -2
- package/dist/bundle/{chunk-USAH53BQ.js → chunk-Q2XEAF7Q.js} +9 -9
- package/dist/bundle/{chunk-VJ34VFZ5.js → chunk-QNLXDR4W.js} +2 -2
- package/dist/bundle/{chunk-TBHX7VF5.js → chunk-QZDSHJMZ.js} +27 -27
- package/dist/bundle/{chunk-XFSE3ZGY.js → chunk-R2YMI2ZV.js} +1 -1
- package/dist/bundle/{chunk-3Z4BMSVX.js → chunk-S4PKJOJP.js} +3 -3
- package/dist/bundle/{chunk-Q52KLN53.js → chunk-SP7FRSAG.js} +5 -5
- package/dist/bundle/{chunk-VQPUADFF.js → chunk-SWE4LSXN.js} +1 -1
- package/dist/bundle/{chunk-XCFGMQBF.js → chunk-T2NE3S47.js} +1 -1
- package/dist/bundle/{chunk-ELAZVPZT.js → chunk-T3ZQDLBU.js} +1 -1
- package/dist/bundle/{chunk-G7QBCTF6.js → chunk-TK6P24AN.js} +338 -351
- package/dist/bundle/{chunk-O5FX3Q4U.js → chunk-WJBLLOBC.js} +1 -1
- package/dist/bundle/{chunk-RENUU3BQ.js → chunk-WNZVZE3L.js} +4 -4
- package/dist/bundle/{chunk-GCTZK5QV.js → chunk-X3PFDJSJ.js} +4 -4
- package/dist/bundle/{chunk-IRHRNK2E.js → chunk-XIZPBRIW.js} +1 -1
- package/dist/bundle/{chunk-IJC57CPU.js → chunk-XTLFCF35.js} +7 -7
- package/dist/bundle/{chunk-WBNWH2D5.js → chunk-YGNKWWOX.js} +1 -1
- package/dist/bundle/{chunk-BIVHDUAX.js → chunk-ZIRR4BJ5.js} +5 -5
- package/dist/bundle/{command-contract-7LYHZI4Y.js → command-contract-JJQE3MCP.js} +11 -11
- package/dist/bundle/{decode-7PFJ3AKS.js → decode-AMWZXLFS.js} +2 -2
- package/dist/bundle/{echarts-YDLD5JI2.js → echarts-UCAIOY4N.js} +2 -2
- package/dist/bundle/{embed-YDR7WSPK.js → embed-DYNZ4223.js} +3 -3
- package/dist/bundle/{embedder-KQYPQKZA.js → embedder-XG344VNB.js} +6 -6
- package/dist/bundle/{entry-FD4B2GID.js → entry-CIUBRSDD.js} +4 -4
- package/dist/bundle/failure-JTQUF4RT.js +66 -0
- package/dist/bundle/{first-run-C6HSAXYV.js → first-run-DFXU6DO2.js} +5 -5
- package/dist/bundle/{first-screen-ZM3LZRP4.js → first-screen-QDTJRHSS.js} +12 -12
- package/dist/bundle/{instructions-O7YN5F6D.js → instructions-MFAYYVVL.js} +1 -1
- package/dist/bundle/{mcp-X5XYKVTY.js → mcp-5GUDJIDV.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-YP265UUP.js → node-UILGGXFZ.js} +2 -2
- package/dist/bundle/{node-sqlite-K3PWKXTB.js → node-sqlite-FJR5DRBC.js} +3 -3
- package/dist/bundle/{oauth-CUIDTJ5Z.js → oauth-2WCGPG4N.js} +4 -4
- package/dist/bundle/{open-SHUV2BPO.js → open-I7ZYXOHK.js} +2 -2
- package/dist/bundle/{openai-LSBA5CCQ.js → openai-4GB2FGUR.js} +7 -7
- package/dist/bundle/{process-POGO7VDZ.js → process-NRZZD4IS.js} +1 -1
- package/dist/bundle/{program-DZ4TM3PS.js → program-HYJUSSU4.js} +566 -197
- package/dist/bundle/{prompt-V7SEBV7G.js → prompt-F5RHTE7V.js} +2 -2
- package/dist/bundle/{recognize-DK3N2GVZ.js → recognize-UXXDJQEW.js} +1 -1
- package/dist/bundle/{remote-XYFCKYIQ.js → remote-IW5FTICS.js} +4 -4
- package/dist/bundle/{rerank-COKJGAIB.js → rerank-RRLNQ5C2.js} +4 -4
- package/dist/bundle/{serve-KW3AGGTZ.js → serve-GXJLUYCV.js} +6 -6
- package/dist/bundle/{server-72N5XGA6.js → server-646V4VPF.js} +50 -50
- package/dist/bundle/server-DJUCOKNC.js +48 -0
- package/dist/bundle/server-ITBSOGIC.js +61 -0
- package/dist/bundle/{state-KHK3S4AC.js → state-3NLLRTD2.js} +3 -3
- package/dist/bundle/{store-GGUL63V7.js → store-3DFD7E66.js} +9 -9
- package/dist/bundle/store-maintenance-command-D7O6QCVF.js +48 -0
- package/dist/bundle/update-GQFRQVAV.js +69 -0
- package/dist/context/command.d.ts +4 -0
- package/dist/context/command.d.ts.map +1 -1
- package/dist/context/command.js +7 -5
- package/dist/context/command.js.map +1 -1
- package/dist/context/context.d.ts.map +1 -1
- package/dist/context/context.js +4 -3
- package/dist/context/context.js.map +1 -1
- package/dist/contract-overrides/skill.js +1 -1
- package/dist/contract-overrides/skill.js.map +1 -1
- package/dist/digest/command.d.ts +9 -0
- package/dist/digest/command.d.ts.map +1 -0
- package/dist/digest/command.js +58 -0
- package/dist/digest/command.js.map +1 -0
- package/dist/digest/digest.d.ts +57 -0
- package/dist/digest/digest.d.ts.map +1 -0
- package/dist/digest/digest.js +333 -0
- package/dist/digest/digest.js.map +1 -0
- package/dist/digest/text.d.ts +8 -0
- package/dist/digest/text.d.ts.map +1 -0
- package/dist/digest/text.js +35 -0
- package/dist/digest/text.js.map +1 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +3 -2
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +17 -33
- package/dist/knowledge/command.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/knowledge/project-context.js +6 -3
- package/dist/knowledge/project-context.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +1 -0
- package/dist/program.js.map +1 -1
- package/dist/review/command.d.ts.map +1 -1
- package/dist/review/command.js +4 -8
- package/dist/review/command.js.map +1 -1
- package/dist/review/status.d.ts +9 -0
- package/dist/review/status.d.ts.map +1 -1
- package/dist/review/status.js +11 -6
- package/dist/review/status.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/topics/projects.md +2 -1
- package/skills/morning-digest/SKILL.md +49 -0
- package/dist/bundle/auto-KUNM4M5S.js +0 -86
- package/dist/bundle/failure-FOZGSUOL.js +0 -66
- package/dist/bundle/server-QZPRR4H3.js +0 -48
- package/dist/bundle/server-VPEPJSQM.js +0 -61
- package/dist/bundle/store-maintenance-command-3KI6LYZB.js +0 -48
- package/dist/bundle/update-OLU3IRV6.js +0 -69
- /package/dist/bundle/{chunk-SWSCSMAU.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-
|
|
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.
|
|
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-
|
|
6
|
+
} from "./chunk-BBT2TWCN.js";
|
|
7
7
|
import {
|
|
8
8
|
CAPABILITY_STATEMENTS,
|
|
9
9
|
storeCapable
|
|
10
|
-
} from "./chunk-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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-
|
|
177
|
-
import("./command-contract-
|
|
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-
|
|
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-
|
|
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.
|
|
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-
|
|
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-
|
|
36
|
+
} from "./chunk-N6XUB5Z6.js";
|
|
37
37
|
import {
|
|
38
38
|
mcpUrlOf
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XIZPBRIW.js";
|
|
40
40
|
import {
|
|
41
41
|
agentJson,
|
|
42
42
|
skillResource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-5Q5JMJKP.js";
|
|
44
44
|
import {
|
|
45
45
|
instructions
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-NEQGFKOR.js";
|
|
47
47
|
import {
|
|
48
48
|
answeredWire
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-E454LAVZ.js";
|
|
50
50
|
import {
|
|
51
51
|
callerOf,
|
|
52
52
|
callingAgent
|
|
53
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
74
|
+
} from "./chunk-TK6P24AN.js";
|
|
75
75
|
import {
|
|
76
76
|
findCommand
|
|
77
|
-
} from "./chunk-
|
|
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-
|
|
93
|
+
} from "./chunk-POSVGIP5.js";
|
|
94
94
|
import {
|
|
95
95
|
isCliFailure,
|
|
96
96
|
withCaller
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-EYKJXPDD.js";
|
|
98
98
|
import {
|
|
99
99
|
readOnlyLockOf
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-BBT2TWCN.js";
|
|
101
101
|
import {
|
|
102
102
|
mcpHttpMarker
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-KKDTX2LO.js";
|
|
104
104
|
import {
|
|
105
105
|
openStore,
|
|
106
106
|
pdfPreviewLimits
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-4J6U4RIU.js";
|
|
108
108
|
import {
|
|
109
109
|
timezoneOf
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-45LXRNPA.js";
|
|
111
111
|
import {
|
|
112
112
|
warmEmbedders
|
|
113
|
-
} from "./chunk-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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-
|
|
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.
|
|
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-
|
|
7
|
+
} from "./chunk-X3PFDJSJ.js";
|
|
8
8
|
import {
|
|
9
9
|
storePath
|
|
10
|
-
} from "./chunk-
|
|
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.
|
|
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-
|
|
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.
|
|
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.
|
|
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-
|
|
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-
|
|
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.
|
|
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.
|
|
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.
|
|
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) => {
|