@wirecat/cli-memo 0.131.24 → 0.131.26
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/README.md +9 -12
- package/dist/actions/actions.d.ts +1 -1
- package/dist/actions/actions.d.ts.map +1 -1
- package/dist/actions/actions.js +27 -8
- package/dist/actions/actions.js.map +1 -1
- package/dist/actions/command.d.ts +1 -1
- package/dist/actions/command.d.ts.map +1 -1
- package/dist/actions/command.js +1 -12
- package/dist/actions/command.js.map +1 -1
- package/dist/app.d.ts +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-ZCJTYGOL.js → all-profiles-VULFSNYE.js} +9 -9
- package/dist/bundle/{anthropic-7WVLAKTX.js → anthropic-VXQ6ST2U.js} +6 -6
- package/dist/bundle/{app-server-6G3SXEHO.js → app-server-HQPELIPY.js} +42 -42
- package/dist/bundle/auto-3R4RFJGK.js +86 -0
- package/dist/bundle/{bun-JVBDJKBB.js → bun-2NMWL5YB.js} +2 -2
- package/dist/bundle/{bun-sqlite-P4I7NVMQ.js → bun-sqlite-CT544OXO.js} +5 -5
- package/dist/bundle/{chunk-EGG3PGCM.js → chunk-254TXVLA.js} +2 -2
- package/dist/bundle/{chunk-FXHN2UZW.js → chunk-2ND2XYME.js} +33 -17
- package/dist/bundle/{chunk-5YCNCXL5.js → chunk-3CVDHJER.js} +1 -1
- package/dist/bundle/{chunk-ALGIPJ6L.js → chunk-3ZJE5TIG.js} +2 -2
- package/dist/bundle/{chunk-3KNXQZMO.js → chunk-4ENVJFRM.js} +29 -29
- package/dist/bundle/{chunk-NAH473ZR.js → chunk-5FPQGUJA.js} +1 -1
- package/dist/bundle/{chunk-ZOYGY2PN.js → chunk-6PRRZC7Z.js} +3 -3
- package/dist/bundle/{chunk-CM2H7NRC.js → chunk-6TJCRDNZ.js} +4 -4
- package/dist/bundle/{chunk-AWGV4VOA.js → chunk-7ISENDNK.js} +12 -12
- package/dist/bundle/{chunk-UY2VH3QK.js → chunk-7LMTWOTP.js} +2 -2
- package/dist/bundle/{chunk-2IRCJT4O.js → chunk-A4NZ2XOG.js} +8 -8
- package/dist/bundle/{chunk-R3LNQ3I4.js → chunk-A6PITALJ.js} +4 -2
- package/dist/bundle/{chunk-EACY2ULS.js → chunk-AGMYCYSG.js} +306 -187
- package/dist/bundle/{chunk-EB7LKK4K.js → chunk-ARDUJR5Z.js} +1 -1
- package/dist/bundle/{chunk-UA2C4BCH.js → chunk-BELLQAWL.js} +9 -9
- package/dist/bundle/{chunk-LWIMGWKB.js → chunk-BO4FN4UB.js} +3 -3
- package/dist/bundle/{chunk-3MER7NE6.js → chunk-CRC3AW6N.js} +4 -4
- package/dist/bundle/{chunk-UVR6U55E.js → chunk-CUWI6JIX.js} +6 -6
- package/dist/bundle/{chunk-VLPMB3UU.js → chunk-CW3NJ764.js} +4 -4
- package/dist/bundle/{chunk-ND3GBFEY.js → chunk-DKKWZMR7.js} +2 -2
- package/dist/bundle/{chunk-BTQSFPIM.js → chunk-DUHXWFCB.js} +5 -5
- package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
- package/dist/bundle/{chunk-R2LJDDZP.js → chunk-FHY664YS.js} +4 -4
- package/dist/bundle/{chunk-JY4LVWGZ.js → chunk-G2BB5WY5.js} +15 -8
- package/dist/bundle/chunk-GJBK3M6X.js +452 -0
- package/dist/bundle/{chunk-ZDOVR4PA.js → chunk-GOEHJK2R.js} +7 -7
- package/dist/bundle/{chunk-GQOXFZBX.js → chunk-GPYGMETC.js} +286 -282
- package/dist/bundle/{chunk-DIMX5AEE.js → chunk-H6O6IQND.js} +5 -5
- package/dist/bundle/{chunk-ELKYINWL.js → chunk-HN3EDDVX.js} +13 -13
- package/dist/bundle/{chunk-GSEDSGJF.js → chunk-HVVBSM2C.js} +753 -648
- package/dist/bundle/{chunk-JCCL7RGH.js → chunk-I7PL5WX2.js} +4 -4
- package/dist/bundle/{chunk-LNXFM4FD.js → chunk-IJ34FAES.js} +45 -26
- package/dist/bundle/{chunk-MPVW7BQZ.js → chunk-IUM5XZWV.js} +6 -6
- package/dist/bundle/{chunk-GRXVN2X7.js → chunk-J57DDKF4.js} +1 -1
- package/dist/bundle/{chunk-INTF3YPV.js → chunk-KFDPW2AR.js} +2 -2
- package/dist/bundle/{chunk-AIGMYGEL.js → chunk-KMZRXGTF.js} +1 -1
- package/dist/bundle/{chunk-MROFZXAB.js → chunk-KTDNFSXC.js} +22 -22
- package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-VVEFQEWP.js → chunk-LJZFMXDC.js} +22 -22
- package/dist/bundle/{chunk-OQK2IKPB.js → chunk-LMN7SYX4.js} +1 -1
- package/dist/bundle/{chunk-RTESJ5O2.js → chunk-M4QN77GH.js} +4 -4
- package/dist/bundle/{chunk-M43DAAZ7.js → chunk-M6O4DH5F.js} +1 -1
- package/dist/bundle/{chunk-UXCDBNAY.js → chunk-MQAHMAJB.js} +2 -2
- package/dist/bundle/{chunk-XF3LZ32F.js → chunk-NAM2Y63Z.js} +3 -3
- package/dist/bundle/{chunk-UPXUE27A.js → chunk-NH2JSH24.js} +6 -6
- package/dist/bundle/{chunk-3U7OUQV2.js → chunk-OYB3FUYQ.js} +1 -1
- package/dist/bundle/{chunk-J6D34BFP.js → chunk-PWA3RNXN.js} +260 -263
- package/dist/bundle/{chunk-KQSHIQSV.js → chunk-QFW4MJIH.js} +239 -242
- package/dist/bundle/{chunk-CPJEQK4V.js → chunk-QKQ7A4L7.js} +46 -46
- package/dist/bundle/{chunk-N5H6I7WQ.js → chunk-S3RBWUUA.js} +6 -6
- package/dist/bundle/{chunk-Q6MFBH6Q.js → chunk-SY7M2DLJ.js} +9 -9
- package/dist/bundle/{chunk-EKTZEF3Q.js → chunk-TKVRZZE3.js} +3 -27
- package/dist/bundle/{chunk-SKTGBVYC.js → chunk-TPFWNOPG.js} +4 -4
- package/dist/bundle/{chunk-F2ED6KG6.js → chunk-TXANQZEG.js} +3 -3
- package/dist/bundle/{chunk-T4LW6UYQ.js → chunk-TZ7WDQPD.js} +40 -34
- package/dist/bundle/{chunk-AIVUS6WA.js → chunk-UZXCBBDC.js} +15 -12
- package/dist/bundle/{chunk-XSI5NYGB.js → chunk-VL3YCTZD.js} +8 -8
- package/dist/bundle/{chunk-ZLZE5P6M.js → chunk-WRZ7JDA2.js} +8 -8
- package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
- package/dist/bundle/{chunk-JDDVGGUV.js → chunk-XKGXVVYV.js} +10 -10
- package/dist/bundle/{chunk-ITQBXFMC.js → chunk-YFBKS5BW.js} +3 -3
- package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-IC2TL7RW.js → chunk-Z3YGDBBS.js} +2 -2
- package/dist/bundle/{chunk-IJC6MFLP.js → chunk-ZR3BPBS6.js} +10 -10
- package/dist/bundle/command-contract-RQMIQKBS.js +32 -0
- package/dist/bundle/{decode-YHX3DQG2.js → decode-7VB3CHK2.js} +5 -5
- package/dist/bundle/{dispatch-MELZFYOS.js → dispatch-CU5KGRQL.js} +8 -8
- package/dist/bundle/{echarts-FBVAP7BR.js → echarts-45D6USAX.js} +2 -2
- package/dist/bundle/{embed-CQJ42S5C.js → embed-KU2RGB24.js} +6 -6
- package/dist/bundle/{embedder-EDXLEJ27.js → embedder-E7YZDZ5Y.js} +9 -9
- package/dist/bundle/{entry-HZEA7QFK.js → entry-N42HJMIN.js} +7 -7
- package/dist/bundle/failure-R355OCVE.js +66 -0
- package/dist/bundle/{failure-RBNZBCZJ.js → failure-TUXXI6JT.js} +2 -2
- package/dist/bundle/{first-run-JZQN7R6M.js → first-run-Y5YNAAO3.js} +11 -11
- package/dist/bundle/first-screen-SNPGBQFZ.js +30 -0
- package/dist/bundle/{instructions-NYVYNWVU.js → instructions-6EFSPC7C.js} +1 -1
- package/dist/bundle/mcp-6Z7UKX7E.js +90 -0
- package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-2QE6UPGS.js → node-OXC26QXO.js} +2 -2
- package/dist/bundle/{node-sqlite-SDHZJNY7.js → node-sqlite-FNTICDEN.js} +6 -6
- package/dist/bundle/{oauth-FFUJREKS.js → oauth-4JFOFCBB.js} +7 -7
- package/dist/bundle/{open-NT2GYX6N.js → open-WXFCCY7S.js} +5 -5
- package/dist/bundle/{openai-IQA2XR6Z.js → openai-TPQKQNM7.js} +10 -10
- package/dist/bundle/{process-HIEJXYW6.js → process-YWPAOI6G.js} +1 -1
- package/dist/bundle/{chunk-DMQ3342A.js → program-WFUPN7XO.js} +9769 -2059
- package/dist/bundle/{prompt-IOZAME2R.js → prompt-HJUH4EP4.js} +5 -5
- package/dist/bundle/{recognize-2XOAZJ5N.js → recognize-DAIRHALM.js} +4 -4
- package/dist/bundle/{remote-2LE7OTDA.js → remote-MJLWTLAX.js} +7 -7
- package/dist/bundle/{rerank-UKOVVZM6.js → rerank-VAK5HSJE.js} +7 -7
- package/dist/bundle/{serve-S2UHPEBP.js → serve-M2A66WOW.js} +9 -9
- package/dist/bundle/server-33FB7QXW.js +48 -0
- package/dist/bundle/server-AIPDQO57.js +61 -0
- package/dist/bundle/{server-BG4WWQHY.js → server-NN2CBVSX.js} +57 -57
- package/dist/bundle/{state-F5KT3CBD.js → state-6TBUXJOX.js} +6 -6
- package/dist/bundle/{store-WBUUS7FO.js → store-TJCL3QBY.js} +13 -13
- package/dist/bundle/store-maintenance-command-NKJV5A3G.js +48 -0
- package/dist/bundle/update-OXR3SNM2.js +69 -0
- package/dist/config.d.ts +15 -29
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +23 -36
- package/dist/config.js.map +1 -1
- package/dist/context/command.d.ts.map +1 -1
- package/dist/context/command.js +6 -2
- package/dist/context/command.js.map +1 -1
- package/dist/context/context.d.ts +2 -0
- package/dist/context/context.d.ts.map +1 -1
- package/dist/context/context.js +15 -0
- package/dist/context/context.js.map +1 -1
- package/dist/doctor/command.d.ts +0 -12
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +19 -24
- package/dist/doctor/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +3 -9
- package/dist/examples.js.map +1 -1
- package/dist/failure.d.ts +2 -2
- package/dist/mail/command.d.ts.map +1 -1
- package/dist/mail/command.js +2 -87
- package/dist/mail/command.js.map +1 -1
- package/dist/mail/findings-command.d.ts.map +1 -1
- package/dist/mail/findings-command.js +1 -1
- package/dist/mail/findings-command.js.map +1 -1
- package/dist/mail/messages-command.d.ts.map +1 -1
- package/dist/mail/messages-command.js +9 -2
- package/dist/mail/messages-command.js.map +1 -1
- package/dist/mail/moved.d.ts +1 -1
- package/dist/mail/moved.d.ts.map +1 -1
- package/dist/mail/moved.js +3 -0
- package/dist/mail/moved.js.map +1 -1
- package/dist/mail/review-command.d.ts +1 -1
- package/dist/mail/review-command.d.ts.map +1 -1
- package/dist/mail/review-command.js +5 -8
- package/dist/mail/review-command.js.map +1 -1
- package/dist/program.js +1 -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 +1 -25
- package/dist/reasons.js.map +1 -1
- package/dist/review/command.d.ts +0 -1
- package/dist/review/command.d.ts.map +1 -1
- package/dist/review/command.js +2 -10
- package/dist/review/command.js.map +1 -1
- package/dist/review/kinds.d.ts +4 -21
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +13 -174
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/review.js +2 -2
- package/dist/review/review.js.map +1 -1
- package/dist/review/status.js +2 -2
- package/dist/review/status.js.map +1 -1
- package/dist/run/auto.js +3 -3
- package/dist/run/auto.js.map +1 -1
- package/dist/run/import.d.ts +2 -2
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +24 -121
- package/dist/run/import.js.map +1 -1
- package/dist/schedule/command.d.ts +2 -2
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +9 -4
- package/dist/schedule/command.js.map +1 -1
- package/dist/search/command.js +1 -1
- package/dist/store/source-list.d.ts +1 -6
- package/dist/store/source-list.d.ts.map +1 -1
- package/dist/store/source-list.js +11 -46
- package/dist/store/source-list.js.map +1 -1
- package/dist/tasks/command.js +1 -1
- package/dist/tasks/command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/scenarios/set-up.md +3 -3
- package/skills/cli-memo/SKILL.md +13 -21
- package/skills/mail-triage/SKILL.md +28 -16
- package/dist/bundle/auto-JWPM5654.js +0 -86
- package/dist/bundle/chunk-MLMSQK76.js +0 -103
- package/dist/bundle/command-contract-543RRFNU.js +0 -32
- package/dist/bundle/failure-62G7QSPX.js +0 -66
- package/dist/bundle/first-screen-56V3UOQE.js +0 -30
- package/dist/bundle/mcp-Y6IPYDS2.js +0 -90
- package/dist/bundle/program-DEMRKCZY.js +0 -10972
- package/dist/bundle/server-3YNOEPWU.js +0 -61
- package/dist/bundle/server-EZWQ5KP4.js +0 -48
- package/dist/bundle/setup-2X7ADKFH.js +0 -973
- package/dist/bundle/store-maintenance-command-KLST56XF.js +0 -48
- package/dist/bundle/update-WH4CGJGP.js +0 -69
- package/dist/mail/accounts.d.ts +0 -7
- package/dist/mail/accounts.d.ts.map +0 -1
- package/dist/mail/accounts.js +0 -28
- package/dist/mail/accounts.js.map +0 -1
- package/dist/mail/backfill-headers.d.ts +0 -11
- package/dist/mail/backfill-headers.d.ts.map +0 -1
- package/dist/mail/backfill-headers.js +0 -84
- package/dist/mail/backfill-headers.js.map +0 -1
- package/dist/mail/domain-age.d.ts +0 -26
- package/dist/mail/domain-age.d.ts.map +0 -1
- package/dist/mail/domain-age.js +0 -151
- package/dist/mail/domain-age.js.map +0 -1
- package/dist/mail/gmail.d.ts +0 -39
- package/dist/mail/gmail.d.ts.map +0 -1
- package/dist/mail/gmail.js +0 -325
- package/dist/mail/gmail.js.map +0 -1
- package/dist/mail/himalaya.d.ts +0 -22
- package/dist/mail/himalaya.d.ts.map +0 -1
- package/dist/mail/himalaya.js +0 -113
- package/dist/mail/himalaya.js.map +0 -1
- package/dist/mail/mbox.d.ts +0 -9
- package/dist/mail/mbox.d.ts.map +0 -1
- package/dist/mail/mbox.js +0 -230
- package/dist/mail/mbox.js.map +0 -1
- package/dist/mail/repair.d.ts +0 -7
- package/dist/mail/repair.d.ts.map +0 -1
- package/dist/mail/repair.js +0 -54
- package/dist/mail/repair.js.map +0 -1
- package/dist/mail/rule-store.d.ts +0 -12
- package/dist/mail/rule-store.d.ts.map +0 -1
- package/dist/mail/rule-store.js +0 -83
- package/dist/mail/rule-store.js.map +0 -1
- package/dist/mail/setup-command.d.ts +0 -4
- package/dist/mail/setup-command.d.ts.map +0 -1
- package/dist/mail/setup-command.js +0 -41
- package/dist/mail/setup-command.js.map +0 -1
- package/dist/mail/setup.d.ts +0 -19
- package/dist/mail/setup.d.ts.map +0 -1
- package/dist/mail/setup.js +0 -95
- package/dist/mail/setup.js.map +0 -1
- package/dist/mail/slices.d.ts +0 -6
- package/dist/mail/slices.d.ts.map +0 -1
- package/dist/mail/slices.js +0 -7
- package/dist/mail/slices.js.map +0 -1
- package/dist/mail/source.d.ts +0 -7
- package/dist/mail/source.d.ts.map +0 -1
- package/dist/mail/source.js +0 -119
- package/dist/mail/source.js.map +0 -1
- package/dist/mail/sync.d.ts +0 -21
- package/dist/mail/sync.d.ts.map +0 -1
- package/dist/mail/sync.js +0 -24
- package/dist/mail/sync.js.map +0 -1
- /package/dist/bundle/{chunk-CWOKGEL3.js → chunk-DF7NE4ZG.js} +0 -0
- /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
|
@@ -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-FHY664YS.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENAI_URL
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YFBKS5BW.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-M4QN77GH.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_RETRY,
|
|
19
19
|
backoffMs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TZ7WDQPD.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EB2IULWB.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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.77.1_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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/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-DAIRHALM.js");
|
|
199
199
|
return openSpeechCutter(vadModel);
|
|
200
200
|
}, "openCutter");
|
|
201
201
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
SCHEMA_DIALECT,
|
|
5
|
+
commandContract,
|
|
6
|
+
commandPathOf,
|
|
7
|
+
findCommand,
|
|
8
|
+
outputOf
|
|
9
|
+
} from "./chunk-CRC3AW6N.js";
|
|
10
|
+
import "./chunk-AGMYCYSG.js";
|
|
11
|
+
import "./chunk-BELLQAWL.js";
|
|
12
|
+
import "./chunk-6TJCRDNZ.js";
|
|
13
|
+
import "./chunk-A6PITALJ.js";
|
|
14
|
+
import "./chunk-3CVDHJER.js";
|
|
15
|
+
import "./chunk-QFW4MJIH.js";
|
|
16
|
+
import "./chunk-J57DDKF4.js";
|
|
17
|
+
import "./chunk-NH2JSH24.js";
|
|
18
|
+
import "./chunk-M4QN77GH.js";
|
|
19
|
+
import "./chunk-MQAHMAJB.js";
|
|
20
|
+
import "./chunk-LU3WKZBA.js";
|
|
21
|
+
import "./chunk-TZ7WDQPD.js";
|
|
22
|
+
import "./chunk-G2BB5WY5.js";
|
|
23
|
+
import "./chunk-Y5E2WNWB.js";
|
|
24
|
+
import "./chunk-EB2IULWB.js";
|
|
25
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
26
|
+
export {
|
|
27
|
+
SCHEMA_DIALECT,
|
|
28
|
+
commandContract,
|
|
29
|
+
commandPathOf,
|
|
30
|
+
findCommand,
|
|
31
|
+
outputOf
|
|
32
|
+
};
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
decodeChannels,
|
|
7
7
|
formatOf,
|
|
8
8
|
runFfmpeg
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-TXANQZEG.js";
|
|
10
|
+
import "./chunk-FHY664YS.js";
|
|
11
|
+
import "./chunk-TZ7WDQPD.js";
|
|
12
|
+
import "./chunk-G2BB5WY5.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-EB2IULWB.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
export {
|
|
17
17
|
LONGEST_AUDIO_SECONDS,
|
|
@@ -13,22 +13,22 @@ import {
|
|
|
13
13
|
parseDescribe,
|
|
14
14
|
shimFiles,
|
|
15
15
|
writeShim
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XBIPSSKI.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
18
|
import {
|
|
19
19
|
CliError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EB2IULWB.js";
|
|
21
21
|
import {
|
|
22
22
|
__name,
|
|
23
23
|
__toESM
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
27
27
|
var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
28
28
|
import { randomUUID } from "node:crypto";
|
|
29
29
|
import { constants } from "node:os";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/path.js
|
|
32
32
|
import { readdirSync, statSync } from "node:fs";
|
|
33
33
|
import { join } from "node:path";
|
|
34
34
|
var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
|
|
@@ -100,7 +100,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
|
|
|
100
100
|
}, "findTools");
|
|
101
101
|
var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
|
|
102
102
|
|
|
103
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
103
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/probe.js
|
|
104
104
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
105
105
|
import { readFileSync } from "node:fs";
|
|
106
106
|
var MAX_ANSWER_BYTES = 64 * 1024;
|
|
@@ -149,7 +149,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
|
|
|
149
149
|
}
|
|
150
150
|
}, "baseVersion");
|
|
151
151
|
|
|
152
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
152
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shortcuts.js
|
|
153
153
|
import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
|
|
154
154
|
import { basename, dirname } from "node:path";
|
|
155
155
|
var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
|
|
@@ -241,7 +241,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
|
|
|
241
241
|
return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
|
|
242
242
|
}), "removeShortcuts");
|
|
243
243
|
|
|
244
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
244
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
245
245
|
var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
|
|
246
246
|
var listTools = /* @__PURE__ */ __name(async (context) => {
|
|
247
247
|
const installed = installedPrograms(context);
|
|
@@ -338,7 +338,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
|
|
|
338
338
|
});
|
|
339
339
|
}), "runTool");
|
|
340
340
|
var fail = /* @__PURE__ */ __name(async (error, json, context) => {
|
|
341
|
-
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-
|
|
341
|
+
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-TUXXI6JT.js");
|
|
342
342
|
const object = errorObjectOf(error);
|
|
343
343
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
344
344
|
`);
|
|
@@ -42399,7 +42399,7 @@ function install11(registers) {
|
|
|
42399
42399
|
}
|
|
42400
42400
|
__name(install11, "install");
|
|
42401
42401
|
|
|
42402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
|
|
42403
42403
|
var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
42404
42404
|
animation: false,
|
|
42405
42405
|
backgroundColor: "#111827",
|
|
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
|
42447
42447
|
} : {}
|
|
42448
42448
|
}), "echartsOption");
|
|
42449
42449
|
|
|
42450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/charts/echarts.js
|
|
42451
42451
|
use([install2, install, install6, install5, install10, install7, install11]);
|
|
42452
42452
|
var echartsRenderer = {
|
|
42453
42453
|
render: /* @__PURE__ */ __name(async (chart, size) => {
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-IUM5XZWV.js";
|
|
17
|
+
import "./chunk-M4QN77GH.js";
|
|
18
|
+
import "./chunk-MQAHMAJB.js";
|
|
19
|
+
import "./chunk-TZ7WDQPD.js";
|
|
20
|
+
import "./chunk-G2BB5WY5.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-EB2IULWB.js";
|
|
23
23
|
import "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
export {
|
|
25
25
|
WARM_IDLE_MS,
|
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
openSession,
|
|
5
5
|
truncated,
|
|
6
6
|
unit
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-IUM5XZWV.js";
|
|
8
|
+
import "./chunk-M4QN77GH.js";
|
|
9
|
+
import "./chunk-MQAHMAJB.js";
|
|
10
|
+
import "./chunk-TZ7WDQPD.js";
|
|
11
|
+
import "./chunk-G2BB5WY5.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
15
15
|
import {
|
|
16
16
|
CliError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EB2IULWB.js";
|
|
18
18
|
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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
23
23
|
import { readFileSync } from "node:fs";
|
|
24
24
|
import { join } from "node:path";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
|
|
27
27
|
var SIZE = 224;
|
|
28
28
|
var MEAN = [0.48145466, 0.4578275, 0.40821073];
|
|
29
29
|
var STD = [0.26862954, 0.26130258, 0.27577711];
|
|
@@ -62,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
|
|
|
62
62
|
return pixels;
|
|
63
63
|
}, "preprocess");
|
|
64
64
|
|
|
65
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
65
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
66
66
|
var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
|
|
67
67
|
const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
|
|
68
68
|
const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
|
|
@@ -3,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
openBrowser,
|
|
5
5
|
startCli
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-UZXCBBDC.js";
|
|
7
|
+
import "./chunk-A6PITALJ.js";
|
|
8
|
+
import "./chunk-CUWI6JIX.js";
|
|
9
|
+
import "./chunk-KMZRXGTF.js";
|
|
10
|
+
import "./chunk-TZ7WDQPD.js";
|
|
11
|
+
import "./chunk-G2BB5WY5.js";
|
|
12
12
|
import "./chunk-Y5E2WNWB.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-EB2IULWB.js";
|
|
14
14
|
import "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
export {
|
|
16
16
|
openBrowser,
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
errorObject,
|
|
5
|
+
mcpFailure,
|
|
6
|
+
recognisable,
|
|
7
|
+
reportFailure,
|
|
8
|
+
throwParseFailures
|
|
9
|
+
} from "./chunk-H6O6IQND.js";
|
|
10
|
+
import "./chunk-HVVBSM2C.js";
|
|
11
|
+
import "./chunk-M6O4DH5F.js";
|
|
12
|
+
import "./chunk-OYB3FUYQ.js";
|
|
13
|
+
import "./chunk-KTDNFSXC.js";
|
|
14
|
+
import "./chunk-254TXVLA.js";
|
|
15
|
+
import "./chunk-2ND2XYME.js";
|
|
16
|
+
import "./chunk-QKQ7A4L7.js";
|
|
17
|
+
import "./chunk-LJZFMXDC.js";
|
|
18
|
+
import "./chunk-PWA3RNXN.js";
|
|
19
|
+
import "./chunk-HN3EDDVX.js";
|
|
20
|
+
import "./chunk-VL3YCTZD.js";
|
|
21
|
+
import "./chunk-HTQTIKWP.js";
|
|
22
|
+
import "./chunk-CRC3AW6N.js";
|
|
23
|
+
import "./chunk-AGMYCYSG.js";
|
|
24
|
+
import "./chunk-BELLQAWL.js";
|
|
25
|
+
import "./chunk-7ISENDNK.js";
|
|
26
|
+
import "./chunk-I7PL5WX2.js";
|
|
27
|
+
import "./chunk-YPF6OS37.js";
|
|
28
|
+
import "./chunk-6TJCRDNZ.js";
|
|
29
|
+
import "./chunk-UZXCBBDC.js";
|
|
30
|
+
import "./chunk-A6PITALJ.js";
|
|
31
|
+
import "./chunk-CW3NJ764.js";
|
|
32
|
+
import "./chunk-BO4FN4UB.js";
|
|
33
|
+
import "./chunk-3CVDHJER.js";
|
|
34
|
+
import "./chunk-GPYGMETC.js";
|
|
35
|
+
import "./chunk-QFW4MJIH.js";
|
|
36
|
+
import "./chunk-J57DDKF4.js";
|
|
37
|
+
import "./chunk-A4NZ2XOG.js";
|
|
38
|
+
import "./chunk-NH2JSH24.js";
|
|
39
|
+
import "./chunk-NAM2Y63Z.js";
|
|
40
|
+
import "./chunk-DKKWZMR7.js";
|
|
41
|
+
import "./chunk-6PRRZC7Z.js";
|
|
42
|
+
import "./chunk-3ZJE5TIG.js";
|
|
43
|
+
import "./chunk-YFBKS5BW.js";
|
|
44
|
+
import "./chunk-IUM5XZWV.js";
|
|
45
|
+
import "./chunk-M4QN77GH.js";
|
|
46
|
+
import "./chunk-MQAHMAJB.js";
|
|
47
|
+
import "./chunk-BPGYTJNB.js";
|
|
48
|
+
import "./chunk-TKVRZZE3.js";
|
|
49
|
+
import "./chunk-KV4267S4.js";
|
|
50
|
+
import "./chunk-LU3WKZBA.js";
|
|
51
|
+
import "./chunk-D72URWJE.js";
|
|
52
|
+
import "./chunk-CUWI6JIX.js";
|
|
53
|
+
import "./chunk-KMZRXGTF.js";
|
|
54
|
+
import "./chunk-TZ7WDQPD.js";
|
|
55
|
+
import "./chunk-G2BB5WY5.js";
|
|
56
|
+
import "./chunk-Y5E2WNWB.js";
|
|
57
|
+
import "./chunk-EB2IULWB.js";
|
|
58
|
+
import "./chunk-LMN7SYX4.js";
|
|
59
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
60
|
+
export {
|
|
61
|
+
errorObject,
|
|
62
|
+
mcpFailure,
|
|
63
|
+
recognisable,
|
|
64
|
+
reportFailure,
|
|
65
|
+
throwParseFailures
|
|
66
|
+
};
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
asksAtStart,
|
|
6
6
|
setupAtStart,
|
|
7
7
|
systemLanguage
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-7ISENDNK.js";
|
|
9
|
+
import "./chunk-I7PL5WX2.js";
|
|
10
|
+
import "./chunk-YPF6OS37.js";
|
|
11
|
+
import "./chunk-6TJCRDNZ.js";
|
|
12
|
+
import "./chunk-A4NZ2XOG.js";
|
|
13
|
+
import "./chunk-NH2JSH24.js";
|
|
14
|
+
import "./chunk-MQAHMAJB.js";
|
|
15
|
+
import "./chunk-KV4267S4.js";
|
|
16
16
|
import "./chunk-D72URWJE.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-TZ7WDQPD.js";
|
|
18
|
+
import "./chunk-G2BB5WY5.js";
|
|
19
19
|
import "./chunk-Y5E2WNWB.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-EB2IULWB.js";
|
|
21
21
|
import "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
export {
|
|
23
23
|
askSetupQuestions,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
WIRECAT_TOOLS,
|
|
5
|
+
firstScreen,
|
|
6
|
+
installHelp
|
|
7
|
+
} from "./chunk-VL3YCTZD.js";
|
|
8
|
+
import "./chunk-HTQTIKWP.js";
|
|
9
|
+
import "./chunk-CRC3AW6N.js";
|
|
10
|
+
import "./chunk-AGMYCYSG.js";
|
|
11
|
+
import "./chunk-BELLQAWL.js";
|
|
12
|
+
import "./chunk-6TJCRDNZ.js";
|
|
13
|
+
import "./chunk-A6PITALJ.js";
|
|
14
|
+
import "./chunk-3CVDHJER.js";
|
|
15
|
+
import "./chunk-QFW4MJIH.js";
|
|
16
|
+
import "./chunk-J57DDKF4.js";
|
|
17
|
+
import "./chunk-NH2JSH24.js";
|
|
18
|
+
import "./chunk-M4QN77GH.js";
|
|
19
|
+
import "./chunk-MQAHMAJB.js";
|
|
20
|
+
import "./chunk-LU3WKZBA.js";
|
|
21
|
+
import "./chunk-TZ7WDQPD.js";
|
|
22
|
+
import "./chunk-G2BB5WY5.js";
|
|
23
|
+
import "./chunk-Y5E2WNWB.js";
|
|
24
|
+
import "./chunk-EB2IULWB.js";
|
|
25
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
26
|
+
export {
|
|
27
|
+
WIRECAT_TOOLS,
|
|
28
|
+
firstScreen,
|
|
29
|
+
installHelp
|
|
30
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import "./chunk-DF7NE4ZG.js";
|
|
4
|
+
import {
|
|
5
|
+
createBotServer
|
|
6
|
+
} from "./chunk-SY7M2DLJ.js";
|
|
7
|
+
import "./chunk-M6O4DH5F.js";
|
|
8
|
+
import {
|
|
9
|
+
MCP_PATH,
|
|
10
|
+
serveOverHttp
|
|
11
|
+
} from "./chunk-DUHXWFCB.js";
|
|
12
|
+
import "./chunk-OYB3FUYQ.js";
|
|
13
|
+
import {
|
|
14
|
+
revokeAll
|
|
15
|
+
} from "./chunk-Z3YGDBBS.js";
|
|
16
|
+
import {
|
|
17
|
+
registerCommands,
|
|
18
|
+
runCommandForAgent,
|
|
19
|
+
toolsFromCommands
|
|
20
|
+
} from "./chunk-IJ34FAES.js";
|
|
21
|
+
import {
|
|
22
|
+
mcpUrlOf,
|
|
23
|
+
portOf,
|
|
24
|
+
publicUrlOf
|
|
25
|
+
} from "./chunk-254TXVLA.js";
|
|
26
|
+
import "./chunk-2ND2XYME.js";
|
|
27
|
+
import {
|
|
28
|
+
allProfilesServer,
|
|
29
|
+
serveAllProfilesOverHttp,
|
|
30
|
+
serveAllProfilesOverStdio
|
|
31
|
+
} from "./chunk-TPFWNOPG.js";
|
|
32
|
+
import "./chunk-ARDUJR5Z.js";
|
|
33
|
+
import {
|
|
34
|
+
callingAgent
|
|
35
|
+
} from "./chunk-KFDPW2AR.js";
|
|
36
|
+
import "./chunk-MM5NVP7F.js";
|
|
37
|
+
import "./chunk-3X4JM3ZR.js";
|
|
38
|
+
import "./chunk-H3ZN4YLB.js";
|
|
39
|
+
import "./chunk-PWA3RNXN.js";
|
|
40
|
+
import "./chunk-HN3EDDVX.js";
|
|
41
|
+
import "./chunk-AGMYCYSG.js";
|
|
42
|
+
import "./chunk-BELLQAWL.js";
|
|
43
|
+
import "./chunk-I7PL5WX2.js";
|
|
44
|
+
import "./chunk-YPF6OS37.js";
|
|
45
|
+
import "./chunk-6TJCRDNZ.js";
|
|
46
|
+
import "./chunk-A6PITALJ.js";
|
|
47
|
+
import {
|
|
48
|
+
httpLockFile
|
|
49
|
+
} from "./chunk-CW3NJ764.js";
|
|
50
|
+
import "./chunk-BO4FN4UB.js";
|
|
51
|
+
import "./chunk-3CVDHJER.js";
|
|
52
|
+
import "./chunk-GPYGMETC.js";
|
|
53
|
+
import "./chunk-QFW4MJIH.js";
|
|
54
|
+
import "./chunk-J57DDKF4.js";
|
|
55
|
+
import "./chunk-A4NZ2XOG.js";
|
|
56
|
+
import "./chunk-NH2JSH24.js";
|
|
57
|
+
import "./chunk-DKKWZMR7.js";
|
|
58
|
+
import "./chunk-3ZJE5TIG.js";
|
|
59
|
+
import "./chunk-YFBKS5BW.js";
|
|
60
|
+
import "./chunk-IUM5XZWV.js";
|
|
61
|
+
import "./chunk-M4QN77GH.js";
|
|
62
|
+
import "./chunk-MQAHMAJB.js";
|
|
63
|
+
import "./chunk-KV4267S4.js";
|
|
64
|
+
import "./chunk-LU3WKZBA.js";
|
|
65
|
+
import "./chunk-D72URWJE.js";
|
|
66
|
+
import "./chunk-CUWI6JIX.js";
|
|
67
|
+
import "./chunk-KMZRXGTF.js";
|
|
68
|
+
import "./chunk-TZ7WDQPD.js";
|
|
69
|
+
import "./chunk-G2BB5WY5.js";
|
|
70
|
+
import "./chunk-Y5E2WNWB.js";
|
|
71
|
+
import "./chunk-EB2IULWB.js";
|
|
72
|
+
import "./chunk-LMN7SYX4.js";
|
|
73
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
74
|
+
export {
|
|
75
|
+
MCP_PATH,
|
|
76
|
+
allProfilesServer,
|
|
77
|
+
callingAgent,
|
|
78
|
+
createBotServer,
|
|
79
|
+
httpLockFile,
|
|
80
|
+
mcpUrlOf,
|
|
81
|
+
portOf,
|
|
82
|
+
publicUrlOf,
|
|
83
|
+
registerCommands,
|
|
84
|
+
revokeAll,
|
|
85
|
+
runCommandForAgent,
|
|
86
|
+
serveAllProfilesOverHttp,
|
|
87
|
+
serveAllProfilesOverStdio,
|
|
88
|
+
serveOverHttp,
|
|
89
|
+
toolsFromCommands
|
|
90
|
+
};
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YPF6OS37.js";
|
|
7
7
|
import {
|
|
8
8
|
require_cross_spawn
|
|
9
9
|
} from "./chunk-D72URWJE.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__toESM
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
|
|
16
16
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
17
17
|
var realRun = /* @__PURE__ */ __name((file, args) => {
|
|
18
18
|
const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {
|
package/dist/bundle/memo.js
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "./chunk-BPGYTJNB.js";
|
|
7
7
|
import {
|
|
8
8
|
APP
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TKVRZZE3.js";
|
|
10
10
|
import {
|
|
11
11
|
installerOf
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-KV4267S4.js";
|
|
13
|
+
import "./chunk-LU3WKZBA.js";
|
|
14
14
|
import {
|
|
15
15
|
DESCRIBE_FLAG,
|
|
16
16
|
DISPATCH_FLAG,
|
|
@@ -21,17 +21,17 @@ import {
|
|
|
21
21
|
fileState,
|
|
22
22
|
shimFiles,
|
|
23
23
|
writeShim
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XBIPSSKI.js";
|
|
25
25
|
import {
|
|
26
26
|
processStreams
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TZ7WDQPD.js";
|
|
28
28
|
import {
|
|
29
29
|
errorObjectOf,
|
|
30
30
|
exitCodeOfError,
|
|
31
31
|
renderError
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-G2BB5WY5.js";
|
|
33
33
|
import "./chunk-Y5E2WNWB.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-EB2IULWB.js";
|
|
35
35
|
import {
|
|
36
36
|
__name
|
|
37
37
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
// dist/bin/memo.js
|
|
40
40
|
import { enableCompileCache } from "node:module";
|
|
41
41
|
|
|
42
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
42
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
|
|
43
43
|
import { fileURLToPath } from "node:url";
|
|
44
44
|
|
|
45
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
45
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/launcher.js
|
|
46
46
|
import { readFileSync } from "node:fs";
|
|
47
47
|
import { basename, dirname, join, resolve } from "node:path";
|
|
48
48
|
var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
|
|
@@ -126,7 +126,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
|
|
|
126
126
|
}
|
|
127
127
|
}, "ensureLauncher");
|
|
128
128
|
|
|
129
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
129
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
|
|
130
130
|
var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
131
131
|
const argv = io.argv ?? process.argv;
|
|
132
132
|
const env = io.env ?? process.env;
|
|
@@ -139,7 +139,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
139
139
|
return { code: 0 };
|
|
140
140
|
}
|
|
141
141
|
if (first === DISPATCH_FLAG) {
|
|
142
|
-
const { runWcat } = await import("./dispatch-
|
|
142
|
+
const { runWcat } = await import("./dispatch-CU5KGRQL.js");
|
|
143
143
|
const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
|
|
144
144
|
return { code };
|
|
145
145
|
}
|
|
@@ -164,7 +164,7 @@ var wcat = await wcatStart({
|
|
|
164
164
|
if (wcat.code !== void 0) {
|
|
165
165
|
process.exitCode = wcat.code;
|
|
166
166
|
} else {
|
|
167
|
-
const { startCli } = await import("./entry-
|
|
167
|
+
const { startCli } = await import("./entry-N42HJMIN.js");
|
|
168
168
|
let program;
|
|
169
169
|
let failure;
|
|
170
170
|
await startCli({
|
|
@@ -173,15 +173,15 @@ if (wcat.code !== void 0) {
|
|
|
173
173
|
interactive: interactiveOf,
|
|
174
174
|
reasons: APP.errors.reasons,
|
|
175
175
|
run: /* @__PURE__ */ __name(async (entry) => {
|
|
176
|
-
failure = await import("./failure-
|
|
177
|
-
const { createProgram, refuseJoinedPath } = await import("./program-
|
|
178
|
-
const { autoNotice, followInstall } = await import("./auto-
|
|
176
|
+
failure = await import("./failure-R355OCVE.js");
|
|
177
|
+
const { createProgram, refuseJoinedPath } = await import("./program-WFUPN7XO.js");
|
|
178
|
+
const { autoNotice, followInstall } = await import("./auto-3R4RFJGK.js");
|
|
179
179
|
if (entry.args[0] !== "jobs") {
|
|
180
180
|
const notice2 = autoNotice(entry.env);
|
|
181
181
|
if (notice2)
|
|
182
182
|
processStreams.diagnostic(notice2);
|
|
183
183
|
}
|
|
184
|
-
const { updateNotice } = await import("./update-
|
|
184
|
+
const { updateNotice } = await import("./update-OXR3SNM2.js");
|
|
185
185
|
const notice = updateNotice(entry.args);
|
|
186
186
|
program = createProgram({ signal: entry.signal });
|
|
187
187
|
program.hook("preAction", (_root, command) => entry.atStart(command));
|