@wirecat/cli-memo 0.131.35 → 0.131.36
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-6666YYUZ.js → all-profiles-AVDSOFZL.js} +5 -5
- package/dist/bundle/{anthropic-23OB7KWO.js → anthropic-CRPI5XLD.js} +3 -3
- package/dist/bundle/{app-server-2S5OS3OH.js → app-server-PIXX4CXT.js} +35 -35
- package/dist/bundle/auto-QK6SSRWW.js +86 -0
- package/dist/bundle/{bun-BNVO37ZD.js → bun-JOD7BLWG.js} +2 -2
- package/dist/bundle/{bun-sqlite-USZ27VKM.js → bun-sqlite-IW42RA6B.js} +2 -2
- package/dist/bundle/{chunk-SKBMXSQ3.js → chunk-2JZKVNFL.js} +1 -1
- package/dist/bundle/{chunk-WRUD4OYQ.js → chunk-34BMGIFI.js} +3 -3
- package/dist/bundle/{chunk-2PFOLWD3.js → chunk-4AMCA6VQ.js} +2 -2
- package/dist/bundle/{chunk-EIYLAELT.js → chunk-4BWAVNRU.js} +259 -259
- package/dist/bundle/{chunk-DMUIMBCE.js → chunk-6J6OO4BJ.js} +3 -3
- package/dist/bundle/{chunk-OCIE3POS.js → chunk-6Z5SDRME.js} +4 -4
- package/dist/bundle/{chunk-N2Y6FTPK.js → chunk-7U7U2UZV.js} +1 -1
- package/dist/bundle/{chunk-GNLCVNP7.js → chunk-AOZMZXFQ.js} +7 -7
- package/dist/bundle/{chunk-JIWQNA2J.js → chunk-BFKNZMRN.js} +160 -151
- package/dist/bundle/{chunk-ME5RGIHV.js → chunk-BRMII52T.js} +9 -9
- package/dist/bundle/{chunk-RUZOQ7QN.js → chunk-CBFO5NLX.js} +3 -3
- package/dist/bundle/{chunk-XLKJSFQN.js → chunk-CC2EUMMM.js} +1 -1
- package/dist/bundle/{chunk-VYYPW7YP.js → chunk-CIWU756L.js} +11 -11
- package/dist/bundle/{chunk-WIK6SGHZ.js → chunk-D57K44OV.js} +1 -1
- package/dist/bundle/{chunk-FXG3SUIQ.js → chunk-E7IJTHAC.js} +12 -12
- package/dist/bundle/{chunk-I55VXEI2.js → chunk-EFF5JJRJ.js} +4 -4
- package/dist/bundle/{chunk-BU4LJSW2.js → chunk-EUZGV5UK.js} +1 -1
- package/dist/bundle/{chunk-26PVWAKE.js → chunk-EW2T73CA.js} +256 -246
- package/dist/bundle/{chunk-PYQU4GLK.js → chunk-FKRD3KGN.js} +71 -57
- package/dist/bundle/{chunk-NYELWBUA.js → chunk-G4N6CIFO.js} +5 -5
- package/dist/bundle/{chunk-L7AB7Y4Z.js → chunk-G7N3ID6S.js} +43 -43
- package/dist/bundle/{chunk-C2XCIZND.js → chunk-GAC4FF6K.js} +1 -1
- package/dist/bundle/{chunk-DCBBLYCI.js → chunk-GZZQDHUT.js} +27 -27
- package/dist/bundle/{chunk-CLHGYKYZ.js → chunk-HPUUJVTP.js} +4 -4
- package/dist/bundle/{chunk-FYT6A3UY.js → chunk-HQJBQWFQ.js} +1 -1
- package/dist/bundle/{chunk-6H6EXCZY.js → chunk-JBMSXV2A.js} +1 -1
- package/dist/bundle/{chunk-DYMUJFDK.js → chunk-JPVAIMPJ.js} +13 -9
- package/dist/bundle/{chunk-DQ66H456.js → chunk-JU5Q3AZD.js} +4 -4
- package/dist/bundle/{chunk-2Y4UU4DB.js → chunk-KAODXBUF.js} +2 -2
- package/dist/bundle/{chunk-VJSWU4JX.js → chunk-LTP2EEXM.js} +1 -1
- package/dist/bundle/{chunk-736NNFPY.js → chunk-PWKO36K4.js} +1 -1
- package/dist/bundle/{chunk-AYIUZUGD.js → chunk-PXOZGHXR.js} +1 -1
- package/dist/bundle/{chunk-L3SMTWCF.js → chunk-QIRO6B6C.js} +4 -4
- package/dist/bundle/chunk-QRYSVOUH.js +7577 -0
- package/dist/bundle/{chunk-IKDHJLSH.js → chunk-RDXN52I6.js} +10404 -375
- package/dist/bundle/{chunk-LQHW4G6G.js → chunk-RPZQ3DSX.js} +5 -5
- package/dist/bundle/{chunk-4OR4HFSL.js → chunk-RZLEQP2H.js} +7 -7
- package/dist/bundle/{chunk-SRHG24V7.js → chunk-T5IRZA25.js} +2 -2
- package/dist/bundle/{chunk-GAWGZN4F.js → chunk-T676QOXT.js} +2 -2
- package/dist/bundle/{chunk-3ZZ5OCUO.js → chunk-TW5YX26Q.js} +5 -5
- package/dist/bundle/{chunk-LBDMVVVW.js → chunk-UKIZBDD3.js} +10 -10
- package/dist/bundle/{chunk-URQ7ZL5K.js → chunk-UKSL7QZD.js} +7 -7
- package/dist/bundle/{chunk-2DTUMEN2.js → chunk-VBAAW3FK.js} +3 -3
- package/dist/bundle/{chunk-T3AUEF46.js → chunk-VIWOYM4L.js} +20 -20
- package/dist/bundle/{chunk-VMXESPNG.js → chunk-VR6FNEFZ.js} +4 -4
- package/dist/bundle/{chunk-BHDNHN55.js → chunk-VWWUJKLO.js} +5 -5
- package/dist/bundle/{chunk-SMJAJWYW.js → chunk-WGLE4R45.js} +2 -2
- package/dist/bundle/{chunk-MMRM6ZMM.js → chunk-WORCFDZN.js} +2 -2
- package/dist/bundle/{chunk-MNKCFCI7.js → chunk-WUF3P4DX.js} +1 -1
- package/dist/bundle/{chunk-YGW3JZVB.js → chunk-WVJFUHQS.js} +20 -20
- package/dist/bundle/{chunk-6D47X4KD.js → chunk-X3WEAVIH.js} +1 -1
- package/dist/bundle/{chunk-V5N65VRU.js → chunk-XCO6NBTE.js} +8 -8
- package/dist/bundle/{chunk-GLFFCRRX.js → chunk-XSS6U6VL.js} +2 -2
- package/dist/bundle/{chunk-SKVRUW57.js → chunk-YCLV7AAF.js} +1 -1
- package/dist/bundle/{chunk-XZPE2E3O.js → chunk-YVYOZY5K.js} +6 -6
- package/dist/bundle/{chunk-DMU5PAKY.js → chunk-ZFIBNKLW.js} +1 -1
- package/dist/bundle/{chunk-ICBWD2OL.js → chunk-ZLFFEGX6.js} +1 -1
- package/dist/bundle/{command-contract-TBZCPYWZ.js → command-contract-BAHAQIPW.js} +11 -11
- package/dist/bundle/{decode-RMAOEVTY.js → decode-ANYCY5PK.js} +2 -2
- package/dist/bundle/{echarts-R2MI4OEU.js → echarts-NH42736V.js} +2 -2
- package/dist/bundle/{embed-BG2XPLWM.js → embed-34XKENNN.js} +3 -3
- package/dist/bundle/{embedder-65SA34CZ.js → embedder-GMTQ6CUJ.js} +6 -6
- package/dist/bundle/{entry-DX3D4TWF.js → entry-W2JUZTXL.js} +4 -4
- package/dist/bundle/failure-UOGNX3CX.js +66 -0
- package/dist/bundle/{first-run-ZUQRYWEZ.js → first-run-MAHEEKHT.js} +5 -5
- package/dist/bundle/{first-screen-O5X3OT77.js → first-screen-X4SVIRMT.js} +12 -12
- package/dist/bundle/{instructions-ZDWGTLMU.js → instructions-YOSNFLTK.js} +1 -1
- package/dist/bundle/{mcp-B5CUHAKS.js → mcp-CAMU2OWN.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-43BSSPFC.js → node-O3XV2354.js} +2 -2
- package/dist/bundle/{node-sqlite-RPWFR6H3.js → node-sqlite-MJDZN4PN.js} +3 -3
- package/dist/bundle/{oauth-AYAADVSS.js → oauth-KEGXZT2C.js} +4 -4
- package/dist/bundle/{open-XEZ5CPLR.js → open-I3I57V2N.js} +2 -2
- package/dist/bundle/{openai-SQS7OBEI.js → openai-VCEX4PW3.js} +7 -7
- package/dist/bundle/{process-HJWMNCUC.js → process-BAT3Q3LY.js} +1 -1
- package/dist/bundle/{program-RQO3ZNVL.js → program-IH6EXRJR.js} +85 -65
- package/dist/bundle/{prompt-STQZGLH7.js → prompt-3AD7X52P.js} +2 -2
- package/dist/bundle/{recognize-HJ6G4OWB.js → recognize-AMFTP45O.js} +1 -1
- package/dist/bundle/{remote-HDTQYFBP.js → remote-Z5V5EKS4.js} +4 -4
- package/dist/bundle/{rerank-GBKN7RN4.js → rerank-PUDPLKON.js} +4 -4
- package/dist/bundle/{serve-KPTYHWUY.js → serve-ZRBPK4GW.js} +6 -6
- package/dist/bundle/server-423F624R.js +48 -0
- package/dist/bundle/{server-ASCI46TB.js → server-CJ5CMNEO.js} +50 -50
- package/dist/bundle/server-GHZF2UHL.js +61 -0
- package/dist/bundle/{state-22MNHAQY.js → state-BVVIF6M3.js} +3 -3
- package/dist/bundle/{store-R7QBCWWM.js → store-2U3EY4N5.js} +9 -9
- package/dist/bundle/store-maintenance-command-MSYIPYY3.js +48 -0
- package/dist/bundle/update-NQNVV57J.js +69 -0
- package/dist/examples.js +1 -1
- package/dist/examples.js.map +1 -1
- package/dist/mail/findings-command.d.ts.map +1 -1
- package/dist/mail/findings-command.js +29 -8
- package/dist/mail/findings-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/mail-triage/SKILL.md +38 -19
- package/dist/bundle/auto-XDBIEURD.js +0 -86
- package/dist/bundle/chunk-CMMKWXFG.js +0 -17421
- package/dist/bundle/failure-76A5ZD6Y.js +0 -66
- package/dist/bundle/server-DJVWUOO7.js +0 -61
- package/dist/bundle/server-TEOK5SHM.js +0 -48
- package/dist/bundle/store-maintenance-command-BZXFY2NT.js +0 -48
- package/dist/bundle/update-I5HTAMBY.js +0 -69
- /package/dist/bundle/{chunk-QMNLI4NV.js → chunk-2HSW646W.js} +0 -0
|
@@ -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-7U7U2UZV.js";
|
|
7
7
|
import {
|
|
8
8
|
CAPABILITY_STATEMENTS,
|
|
9
9
|
storeCapable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-G4N6CIFO.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.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/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.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/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.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/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.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/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-MAHEEKHT.js"),
|
|
177
|
+
import("./command-contract-BAHAQIPW.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-3AD7X52P.js");
|
|
193
193
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
194
194
|
input: io.stdin,
|
|
195
195
|
output: io.stderr,
|
|
@@ -10,10 +10,10 @@ 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.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|
|
@@ -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.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JPVAIMPJ.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XSS6U6VL.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
refuseLacking,
|
|
19
19
|
servicesFor,
|
|
20
20
|
storeModeDeps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4BWAVNRU.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_OUTPUT_BYTES,
|
|
24
24
|
ENTITIES,
|
|
@@ -42,19 +42,19 @@ import {
|
|
|
42
42
|
sealed,
|
|
43
43
|
startRecording,
|
|
44
44
|
traceOf
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-BFKNZMRN.js";
|
|
46
46
|
import {
|
|
47
47
|
currentCaller,
|
|
48
48
|
keepsSuccess,
|
|
49
49
|
runContextOf,
|
|
50
50
|
withCaller
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-AOZMZXFQ.js";
|
|
52
52
|
import {
|
|
53
53
|
queryDescription
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-FKRD3KGN.js";
|
|
55
55
|
import {
|
|
56
56
|
MAX_BUFFERED_INPUT
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-WUF3P4DX.js";
|
|
58
58
|
import {
|
|
59
59
|
captureStreams,
|
|
60
60
|
traceIdOf
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
__name
|
|
107
107
|
} from "./chunk-ZVVMGPBJ.js";
|
|
108
108
|
|
|
109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
110
110
|
import { Readable } from "node:stream";
|
|
111
111
|
|
|
112
112
|
// node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
@@ -2861,7 +2861,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
2861
2861
|
flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
|
|
2862
2862
|
});
|
|
2863
2863
|
|
|
2864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
2865
2865
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
2866
2866
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
2867
2867
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3084,7 +3084,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3084
3084
|
}
|
|
3085
3085
|
}, "runCommandForAgent");
|
|
3086
3086
|
|
|
3087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3088
3088
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3089
3089
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3090
3090
|
var message = pipe(
|
|
@@ -3343,7 +3343,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3343
3343
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3344
3344
|
}, "failed");
|
|
3345
3345
|
|
|
3346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3347
3347
|
import { randomUUID } from "node:crypto";
|
|
3348
3348
|
var MATCHES = 8;
|
|
3349
3349
|
var ANSWER = answerSchema();
|
|
@@ -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.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/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
|
__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.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
|
|
11
11
|
import { constants } from "node:fs";
|
|
12
12
|
import { lstat, open } from "node:fs/promises";
|
|
13
13
|
var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
|
|
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
|
|
|
73
73
|
}
|
|
74
74
|
}, "syncDirectory");
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
|
|
77
77
|
import { randomUUID } from "node:crypto";
|
|
78
78
|
import { constants as constants2 } from "node:fs";
|
|
79
79
|
import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
|
|
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
|
|
|
111
111
|
}
|
|
112
112
|
}, "writeFileAtomic");
|
|
113
113
|
|
|
114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
|
|
115
115
|
var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
116
116
|
if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
|
|
117
117
|
throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
|
|
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
|
140
140
|
}
|
|
141
141
|
}, "readBoundedUtf8File");
|
|
142
142
|
|
|
143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
144
144
|
import { mkdir as mkdir2 } from "node:fs/promises";
|
|
145
145
|
import { basename as basename2, dirname as dirname2 } from "node:path";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
148
148
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
149
149
|
import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
|
|
150
150
|
import { hostname as hostname2 } from "node:os";
|
|
151
151
|
import { join as join3 } from "node:path";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
154
154
|
import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
|
|
155
155
|
import { join as join2 } from "node:path";
|
|
156
156
|
|
|
157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
|
|
158
158
|
import { hostname } from "node:os";
|
|
159
159
|
var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
|
|
160
160
|
var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
|
|
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
|
|
|
199
199
|
}
|
|
200
200
|
}, "leaseOwnerStatus");
|
|
201
201
|
|
|
202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
203
203
|
var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
204
204
|
const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
|
|
205
205
|
options.signal?.throwIfAborted();
|
|
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
|
258
258
|
return { inspect, recover };
|
|
259
259
|
}, "leaseInspection");
|
|
260
260
|
|
|
261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
|
|
262
262
|
import { rmdir, unlink as unlink3 } from "node:fs/promises";
|
|
263
263
|
var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
|
|
264
264
|
let releasing;
|
|
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
|
|
|
283
283
|
};
|
|
284
284
|
}, "ownedNativeLease");
|
|
285
285
|
|
|
286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
287
287
|
var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
|
|
288
288
|
var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
289
289
|
const { markerDirectory, legacyMarker } = layout;
|
|
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
|
354
354
|
};
|
|
355
355
|
}, "nativeWriterLeaseStore");
|
|
356
356
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
358
358
|
var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
359
359
|
const folder = dirname2(path);
|
|
360
360
|
await mkdir2(folder, { recursive: true, mode: 448 });
|
|
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
|
369
369
|
});
|
|
370
370
|
}, "acquireLock");
|
|
371
371
|
|
|
372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/files/safe-name.js
|
|
373
373
|
import { basename as basename3 } from "node:path";
|
|
374
374
|
var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
|
|
375
375
|
let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}---]/gu, "").replace(/^\.+/, "");
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PXOZGHXR.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
callerOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XSS6U6VL.js";
|
|
11
11
|
import {
|
|
12
12
|
StdioServerTransport,
|
|
13
13
|
serveStdio
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
23
23
|
import { spawn } from "node:child_process";
|
|
24
24
|
import { randomUUID } from "node:crypto";
|
|
25
25
|
var PROTOCOL = "2025-06-18";
|
|
@@ -253,7 +253,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
253
253
|
}, "serveAllProfilesOverStdio");
|
|
254
254
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
255
255
|
const { build, close } = allProfilesServer(options);
|
|
256
|
-
const { serveOverHttp } = await import("./serve-
|
|
256
|
+
const { serveOverHttp } = await import("./serve-ZRBPK4GW.js");
|
|
257
257
|
const listening = await serveOverHttp(build, {
|
|
258
258
|
...http,
|
|
259
259
|
appName: options.command,
|
|
@@ -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.580.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_1f031b1bf1aa6bd7eaff3f6410d5fa78/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|