@wirecat/cli-memo 0.131.47 → 0.131.48
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-75EGCXK3.js → all-profiles-5YVSKBEV.js} +9 -9
- package/dist/bundle/{anthropic-PTAYBCPR.js → anthropic-BMK6F36V.js} +6 -6
- package/dist/bundle/{app-server-YSUBXGGB.js → app-server-PUBWKHUG.js} +42 -42
- package/dist/bundle/auto-FXCXORUF.js +86 -0
- package/dist/bundle/{bun-3AIG5ML4.js → bun-ZBM364I6.js} +2 -2
- package/dist/bundle/{bun-sqlite-5FCGI6EO.js → bun-sqlite-YLBILWBE.js} +5 -5
- package/dist/bundle/{chunk-GA3KFYEZ.js → chunk-2O32QNK3.js} +7 -7
- package/dist/bundle/{chunk-KWM7HLAI.js → chunk-3A3KPJHP.js} +4 -4
- package/dist/bundle/{chunk-N63KZFH4.js → chunk-3LA6OE35.js} +9 -9
- package/dist/bundle/{chunk-DWBTCOF2.js → chunk-4FDK7LVF.js} +7 -7
- package/dist/bundle/{chunk-25RDNYKZ.js → chunk-5BDWOMH6.js} +6 -6
- package/dist/bundle/{chunk-N5QQFDNV.js → chunk-66KZBRZN.js} +3 -3
- package/dist/bundle/{chunk-JY34MQW4.js → chunk-7RNHFNHX.js} +4 -4
- package/dist/bundle/{chunk-V3B5COFP.js → chunk-ADV7DNGM.js} +5 -5
- package/dist/bundle/{chunk-G4W42RGE.js → chunk-BRLVX4V6.js} +1 -1
- package/dist/bundle/{chunk-RZ54DSVU.js → chunk-BXTDAGM4.js} +2 -2
- package/dist/bundle/{chunk-ELKK5M66.js → chunk-C3I6L7JZ.js} +6 -6
- package/dist/bundle/{chunk-MCMEBL3C.js → chunk-C6UTJATA.js} +30 -14
- package/dist/bundle/{chunk-UFVGAFID.js → chunk-CSPAEYKK.js} +4 -4
- package/dist/bundle/{chunk-FSAMZHIM.js → chunk-DGLSE6XA.js} +6 -6
- package/dist/bundle/{chunk-32QM6X5H.js → chunk-DHO2JWF7.js} +3 -3
- package/dist/bundle/{chunk-SYTYLLYO.js → chunk-DMI3SFLF.js} +2 -2
- package/dist/bundle/{chunk-3HPFTKDH.js → chunk-DNZYXNMB.js} +4 -4
- package/dist/bundle/{chunk-Y4ZXDJQF.js → chunk-DPQL5JK6.js} +2 -2
- package/dist/bundle/{chunk-6TKWJKPS.js → chunk-E4YCKC3F.js} +12 -12
- package/dist/bundle/{chunk-SN63VOE6.js → chunk-EBNNONF5.js} +8 -8
- package/dist/bundle/{chunk-6QNPOBR5.js → chunk-EGVRMA2C.js} +198 -81
- package/dist/bundle/{chunk-GQLSVXS2.js → chunk-EQ237UYC.js} +22 -22
- package/dist/bundle/{chunk-ZKH6LC5P.js → chunk-F7S25YVA.js} +9 -9
- package/dist/bundle/{chunk-DMTLG2GD.js → chunk-FTRFN3MU.js} +8 -8
- package/dist/bundle/{chunk-W2JVP7GK.js → chunk-H4726KFZ.js} +1 -1
- package/dist/bundle/{chunk-UE4GMPBY.js → chunk-HE56X542.js} +1 -1
- package/dist/bundle/{chunk-IPMBB6W5.js → chunk-IGYOKYG7.js} +4 -4
- package/dist/bundle/{chunk-W3T45MMN.js → chunk-IHFK634F.js} +8 -8
- package/dist/bundle/{chunk-GOFPCOEI.js → chunk-IWEL7QCT.js} +11 -11
- package/dist/bundle/{chunk-V6OYLCCM.js → chunk-J737T3RM.js} +3 -3
- package/dist/bundle/{chunk-CODD5SXC.js → chunk-KNUUZW42.js} +29 -29
- package/dist/bundle/{chunk-HVTW2M6T.js → chunk-LDHFV34C.js} +2 -2
- package/dist/bundle/{chunk-LE7NROV6.js → chunk-LDXCFBIC.js} +34 -34
- package/dist/bundle/{chunk-YMK35KVV.js → chunk-MIMLBSUQ.js} +2 -2
- package/dist/bundle/{chunk-J324GKJM.js → chunk-MKLDUZ7N.js} +2 -2
- package/dist/bundle/{chunk-MMJDQQFX.js → chunk-MN3SFFTU.js} +287 -277
- package/dist/bundle/{chunk-U35N3EC7.js → chunk-NWRITJ7F.js} +2 -2
- package/dist/bundle/{chunk-2R2Z2VWL.js → chunk-O3ZOYXH3.js} +20 -20
- package/dist/bundle/{chunk-CID4MNRQ.js → chunk-P3ASN72F.js} +1 -1
- package/dist/bundle/{chunk-I2RDACUF.js → chunk-PUZ2G2KS.js} +8 -8
- package/dist/bundle/{chunk-Y5CAKD4X.js → chunk-QOGYHU3Q.js} +4 -4
- package/dist/bundle/{chunk-PGVADNDD.js → chunk-QTBFV5RL.js} +3 -3
- package/dist/bundle/{chunk-5N6HWFXN.js → chunk-QUQJZSRF.js} +320 -275
- package/dist/bundle/{chunk-R44PUK7G.js → chunk-RCEDN42Q.js} +1 -1
- package/dist/bundle/{chunk-ZLIARJU4.js → chunk-RSJJGXZP.js} +1 -1
- package/dist/bundle/{chunk-ILK5BCBB.js → chunk-SGDTAVMU.js} +2 -2
- package/dist/bundle/{chunk-KLBZJZD2.js → chunk-T56R3TF2.js} +216 -143
- package/dist/bundle/{chunk-EFQCDCLY.js → chunk-TW643BIA.js} +99 -74
- package/dist/bundle/{chunk-MSBRZ5QD.js → chunk-TYOZC3BU.js} +3 -3
- package/dist/bundle/{chunk-BNIWLVWG.js → chunk-TZROQCQ5.js} +18 -4
- package/dist/bundle/{chunk-F4HMPMET.js → chunk-U2EFWFDN.js} +10 -10
- package/dist/bundle/{chunk-EVZI54B5.js → chunk-U64G664E.js} +6 -6
- package/dist/bundle/{chunk-XRRPQCTS.js → chunk-UHWQ2YXW.js} +1 -1
- package/dist/bundle/{chunk-HCZV537M.js → chunk-UK2MMZFW.js} +2 -2
- package/dist/bundle/{chunk-HYEYRFWX.js → chunk-VICARVCN.js} +1 -1
- package/dist/bundle/{chunk-OSCRP52P.js → chunk-VJJCF52V.js} +640 -399
- package/dist/bundle/{chunk-G3YSCD77.js → chunk-VOJU5FVA.js} +173 -156
- package/dist/bundle/{chunk-LER7G4XY.js → chunk-VW6BF6M7.js} +1 -1
- package/dist/bundle/{chunk-DS4DOK75.js → chunk-X3KMQW2Z.js} +25 -24
- package/dist/bundle/{chunk-6IVHND3S.js → chunk-X7UITQ66.js} +5 -5
- package/dist/bundle/{chunk-DDADFHR7.js → chunk-XR4N2MYB.js} +13 -13
- package/dist/bundle/{chunk-U75ANK5K.js → chunk-YBN7UF2Y.js} +1 -1
- package/dist/bundle/{chunk-IPLPMD6H.js → chunk-YO7AUGUT.js} +2 -2
- package/dist/bundle/{chunk-4LWX2WOB.js → chunk-YZEIVLAG.js} +4 -4
- package/dist/bundle/command-contract-BRZAKY6L.js +32 -0
- package/dist/bundle/{decode-F2A2BLIA.js → decode-WW5ZMB5R.js} +5 -5
- package/dist/bundle/{dispatch-MLRETSNQ.js → dispatch-HCRXCPCF.js} +8 -8
- package/dist/bundle/{echarts-JL55HJCM.js → echarts-ODD3E2RQ.js} +2 -2
- package/dist/bundle/{embed-74KVORNN.js → embed-3ETM2WYU.js} +6 -6
- package/dist/bundle/{embedder-GACNPCZN.js → embedder-6YL3WFBR.js} +9 -9
- package/dist/bundle/{entry-7FI2H4RQ.js → entry-F2UGXKZ3.js} +7 -7
- package/dist/bundle/{failure-UJBGB2GP.js → failure-G4DCTWFD.js} +2 -2
- package/dist/bundle/failure-X7CYCJWD.js +66 -0
- package/dist/bundle/{first-run-D4VBIJ7H.js → first-run-OHQHOP5U.js} +11 -11
- package/dist/bundle/first-screen-ULF26GYG.js +30 -0
- package/dist/bundle/{instructions-QNPIVGKX.js → instructions-RS5VERM7.js} +1 -1
- package/dist/bundle/{mcp-YMXA6IH6.js → mcp-M4QN2E7R.js} +2 -2
- package/dist/bundle/mcp-TS2UAN5I.js +90 -0
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-SPFML2D5.js → node-BU6NHYHF.js} +2 -2
- package/dist/bundle/{node-sqlite-T3KILRCP.js → node-sqlite-WAF44CWS.js} +6 -6
- package/dist/bundle/{oauth-ZOGSHZF3.js → oauth-T7RCNIYO.js} +7 -7
- package/dist/bundle/{open-XXFVCGCA.js → open-QLX2IVTC.js} +5 -5
- package/dist/bundle/{openai-JRHZLFKD.js → openai-O25HCJEY.js} +10 -10
- package/dist/bundle/{process-OGYYVVLG.js → process-SB2X3TKY.js} +1 -1
- package/dist/bundle/{program-EFCQACPD.js → program-SDLIDODQ.js} +62 -62
- package/dist/bundle/{prompt-53D5WVD3.js → prompt-OHVHUNV4.js} +5 -5
- package/dist/bundle/{recognize-7GYZKJCD.js → recognize-SESVG7O3.js} +4 -4
- package/dist/bundle/{remote-V5GUFZCG.js → remote-DNGLVDYJ.js} +7 -7
- package/dist/bundle/{rerank-FUNVBYFI.js → rerank-SF3OUPEB.js} +7 -7
- package/dist/bundle/{serve-ZLUYFAXC.js → serve-6RK7QFZ2.js} +9 -9
- package/dist/bundle/server-JKWE764O.js +61 -0
- package/dist/bundle/{server-HJRMD3XD.js → server-N6PCX7K7.js} +57 -57
- package/dist/bundle/server-RKGTOY4D.js +48 -0
- package/dist/bundle/{state-4P7H6KBM.js → state-J6WLL4TQ.js} +6 -6
- package/dist/bundle/{store-NILJK24C.js → store-R2PHK3FR.js} +13 -13
- package/dist/bundle/store-maintenance-command-LRZ5R3UM.js +48 -0
- package/dist/bundle/update-RV2WSULI.js +69 -0
- package/dist/doctor/command.d.ts +2 -0
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/dist/bundle/auto-GB35FRTV.js +0 -86
- package/dist/bundle/command-contract-YYILWWYQ.js +0 -32
- package/dist/bundle/failure-AHPPXHAW.js +0 -66
- package/dist/bundle/first-screen-D7Q2U7VP.js +0 -30
- package/dist/bundle/mcp-AFXHH33V.js +0 -90
- package/dist/bundle/server-4OJC7ZWM.js +0 -61
- package/dist/bundle/server-CGUUZBLB.js +0 -48
- package/dist/bundle/store-maintenance-command-VP7CIBSS.js +0 -48
- package/dist/bundle/update-NPK4DT2E.js +0 -69
- /package/dist/bundle/{chunk-AT5Y62SD.js → chunk-IO44XLFM.js} +0 -0
- /package/dist/bundle/{chunk-JPGEFBRW.js → chunk-VOXIGICJ.js} +0 -0
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-H4726KFZ.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-O3ZOYXH3.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BXTDAGM4.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.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/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.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/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.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/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) => {
|
|
@@ -195,9 +195,23 @@ var openRecognizer = /* @__PURE__ */ __name((model, path, vadModel) => {
|
|
|
195
195
|
});
|
|
196
196
|
return heard;
|
|
197
197
|
}, "pieces");
|
|
198
|
+
const piecesUntil = /* @__PURE__ */ __name(async (pcm, signal) => {
|
|
199
|
+
const spans = [];
|
|
200
|
+
cut(vad, pcm, (span) => spans.push(span));
|
|
201
|
+
const heard = [];
|
|
202
|
+
for (const { start, end, samples } of spans) {
|
|
203
|
+
await new Promise((resolve) => setImmediate(resolve));
|
|
204
|
+
signal.throwIfAborted();
|
|
205
|
+
const text = piece(samples);
|
|
206
|
+
if (text)
|
|
207
|
+
heard.push({ start, end, text });
|
|
208
|
+
}
|
|
209
|
+
return heard;
|
|
210
|
+
}, "piecesUntil");
|
|
198
211
|
return {
|
|
199
212
|
recognize: /* @__PURE__ */ __name((pcm) => pieces(pcm).map(({ text }) => text).join(" "), "recognize"),
|
|
200
213
|
pieces,
|
|
214
|
+
piecesUntil,
|
|
201
215
|
free: /* @__PURE__ */ __name(() => {
|
|
202
216
|
vad.free();
|
|
203
217
|
engine.free();
|
|
@@ -3,32 +3,32 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
toModelRate
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TZROQCQ5.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENAI_URL
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-66KZBRZN.js";
|
|
10
10
|
import {
|
|
11
11
|
OPENAI_TRANSCRIBE_MODEL,
|
|
12
12
|
VAD,
|
|
13
13
|
filesPresent,
|
|
14
14
|
modelsDirectory,
|
|
15
15
|
vadPath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CSPAEYKK.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_RETRY,
|
|
19
19
|
backoffMs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-O3ZOYXH3.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BXTDAGM4.js";
|
|
24
24
|
import {
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
29
29
|
import { setTimeout as wait } from "node:timers/promises";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
|
|
32
32
|
var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
|
|
33
33
|
if (!header)
|
|
34
34
|
return void 0;
|
|
@@ -52,7 +52,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
|
|
|
52
52
|
}, "parseRateLimitReset");
|
|
53
53
|
var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
|
|
54
54
|
|
|
55
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
55
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
56
56
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
57
57
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
58
58
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -73,7 +73,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
73
73
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
74
74
|
}, "encodeWav");
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
77
77
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
78
78
|
var JOINED_SECONDS = 0.2;
|
|
79
79
|
var PAD_SECONDS = 0.2;
|
|
@@ -195,7 +195,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
195
195
|
return pieces;
|
|
196
196
|
}, "piecesOf");
|
|
197
197
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
198
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
198
|
+
const { openSpeechCutter } = await import("./recognize-SESVG7O3.js");
|
|
199
199
|
return openSpeechCutter(vadModel);
|
|
200
200
|
}, "openCutter");
|
|
201
201
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YO7AUGUT.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-O3ZOYXH3.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
singleLine
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BXTDAGM4.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
18
18
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname, join, resolve } from "node:path";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
22
22
|
var DEFAULT_TASK_CATEGORIES = [
|
|
23
23
|
{
|
|
24
24
|
name: "taxes",
|
|
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
773
773
|
}
|
|
774
774
|
}, "storedTaskCategories");
|
|
775
775
|
|
|
776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
777
777
|
var SECTION = "task_categories";
|
|
778
778
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
779
779
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -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.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BXTDAGM4.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.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|
|
@@ -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.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|