@wirecat/mail-cli 0.13.0 → 0.15.0
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/CHANGELOG.md +67 -0
- package/README.md +9 -4
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-EEOMFTKE.js → all-profiles-PKXL5TKP.js} +10 -9
- package/dist/bundle/{anthropic-FPSVNB3F.js → anthropic-DFDNZU7C.js} +6 -6
- package/dist/bundle/{app-server-3T6UVR7B.js → app-server-WOZAOCKX.js} +47 -46
- package/dist/bundle/{bun-MSNAKMDK.js → bun-DKZAL6ML.js} +2 -2
- package/dist/bundle/{bun-sqlite-GIBBI5DV.js → bun-sqlite-2A7FS5GD.js} +5 -5
- package/dist/bundle/{chunk-7D7AKYQ2.js → chunk-2A4Z3WOC.js} +3132 -1229
- package/dist/bundle/{chunk-AXWTELO4.js → chunk-2BHY4GFP.js} +2 -2
- package/dist/bundle/{chunk-XLCFCOT4.js → chunk-3MKCLPQV.js} +14 -14
- package/dist/bundle/{chunk-3BC2XSNX.js → chunk-4DGOI6JB.js} +68 -34
- package/dist/bundle/chunk-4HVY3QPF.js +91 -0
- package/dist/bundle/{chunk-NHVOJHHD.js → chunk-4TPNRJER.js} +7 -7
- package/dist/bundle/{chunk-6O6CM2ML.js → chunk-4XRIALMN.js} +2 -2
- package/dist/bundle/{chunk-VSHQITKC.js → chunk-4YECCESG.js} +2 -2
- package/dist/bundle/{chunk-YMNF4QLY.js → chunk-5C3L2QER.js} +26 -25
- package/dist/bundle/{chunk-XPBRNJ2V.js → chunk-5W7D5H2R.js} +1 -1
- package/dist/bundle/{chunk-HANGU5HI.js → chunk-6AYJDBHT.js} +6 -6
- package/dist/bundle/{chunk-CSJYZEFR.js → chunk-6Z7VBDFR.js} +2 -3
- package/dist/bundle/{chunk-BZBNBPCR.js → chunk-73SQQXSU.js} +10 -10
- package/dist/bundle/{chunk-H5XCD6OG.js → chunk-A6O3WHBD.js} +3 -3
- package/dist/bundle/{chunk-6KDFUPBT.js → chunk-BIKMEGC7.js} +8 -8
- package/dist/bundle/{chunk-OHDDGTCH.js → chunk-BKF7XIJ5.js} +10 -10
- package/dist/bundle/{chunk-GQGJV53E.js → chunk-BY5S3JEZ.js} +47 -47
- package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
- package/dist/bundle/{chunk-7FCPLSSM.js → chunk-EDJQDR5X.js} +4 -4
- package/dist/bundle/{chunk-2Y3RKROM.js → chunk-ENZTLYTS.js} +53 -8
- package/dist/bundle/{chunk-VMLGER4M.js → chunk-FEWWBU2I.js} +295 -177
- package/dist/bundle/{chunk-M7JREJFC.js → chunk-G6RG2AZV.js} +27 -8
- package/dist/bundle/{chunk-V25TCQ3Z.js → chunk-HGOYQUT7.js} +1 -1
- package/dist/bundle/{chunk-ZSS22YHM.js → chunk-IA6U76ZY.js} +2 -2
- package/dist/bundle/{chunk-UFWCJUGA.js → chunk-JQTIB4WJ.js} +7 -7
- package/dist/bundle/{chunk-SOCALLW5.js → chunk-K4N5UG64.js} +6 -6
- package/dist/bundle/{chunk-URC4ATBD.js → chunk-KJYCA6IC.js} +4 -4
- package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-3QEYHTCQ.js → chunk-LARQTWIL.js} +1 -1
- package/dist/bundle/{chunk-YHSXNUFQ.js → chunk-LRBAQSU3.js} +3 -3
- package/dist/bundle/{chunk-JYZCISN7.js → chunk-M5DF6QNT.js} +13 -13
- package/dist/bundle/{chunk-7L26RKOS.js → chunk-M5VHTDJZ.js} +17 -17
- package/dist/bundle/{chunk-7CSK47S2.js → chunk-NDZK466U.js} +4 -4
- package/dist/bundle/{chunk-FVZST7ZH.js → chunk-NNLYS4IR.js} +12 -89
- package/dist/bundle/{chunk-GIZILLRJ.js → chunk-OJEIUOMW.js} +12 -12
- package/dist/bundle/chunk-OZVGHHFZ.js +35 -0
- package/dist/bundle/{chunk-MBWVZINS.js → chunk-P4SV3VKP.js} +2 -2
- package/dist/bundle/{chunk-OHFSAYZG.js → chunk-PI5P457W.js} +4 -4
- package/dist/bundle/{chunk-TBG3FRS6.js → chunk-PXLVTHMH.js} +3 -3
- package/dist/bundle/{chunk-Y2O3DACO.js → chunk-QCNK3YUZ.js} +95 -36
- package/dist/bundle/{chunk-3CBK26T2.js → chunk-QJQV6KG2.js} +2 -2
- package/dist/bundle/{chunk-UGXTDYUY.js → chunk-QSGT4ZH4.js} +1 -1
- package/dist/bundle/{chunk-VNBQHV5H.js → chunk-QTD3BVS5.js} +6 -6
- package/dist/bundle/{chunk-UUBAWUUI.js → chunk-R6UG66IM.js} +807 -464
- package/dist/bundle/{chunk-XV66LQXV.js → chunk-RBNL3DBQ.js} +3 -3
- package/dist/bundle/{chunk-EFA7FRFJ.js → chunk-RFDP45QO.js} +3 -3
- package/dist/bundle/{chunk-5XTJUQZ5.js → chunk-SPQY3PJX.js} +542 -235
- package/dist/bundle/{chunk-CJPEL2N5.js → chunk-SRHKHE4C.js} +47 -28
- package/dist/bundle/{chunk-WBI7J5B7.js → chunk-U3VX3UUC.js} +5 -5
- package/dist/bundle/{chunk-ZXLJ5EKZ.js → chunk-VQQFOA4O.js} +8 -8
- package/dist/bundle/{chunk-LO66SLGD.js → chunk-WIU733D2.js} +1 -1
- package/dist/bundle/{chunk-JBLZ5XQG.js → chunk-WOV3ABQR.js} +4 -4
- package/dist/bundle/{chunk-H3XWM2VA.js → chunk-WTDYN3TQ.js} +28 -28
- package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
- package/dist/bundle/{chunk-VD5UJUNR.js → chunk-XGNC5OJG.js} +1 -1
- package/dist/bundle/{chunk-VNXCWZDW.js → chunk-XKUAEYJV.js} +249 -8
- package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-H6Y2A4JA.js → chunk-YRHXVXLQ.js} +2 -2
- package/dist/bundle/{chunk-IGSHWMWC.js → chunk-YWIU4HOT.js} +1 -1
- package/dist/bundle/command-contract-4E4NYRR7.js +34 -0
- package/dist/bundle/{decode-YRTMNHC6.js → decode-LX4FPSI7.js} +5 -5
- package/dist/bundle/{dispatch-BCS2RDF4.js → dispatch-3ILCYZ4Q.js} +8 -8
- package/dist/bundle/{dist-NOBSXRL2.js → dist-HQIZDYNQ.js} +42 -13
- package/dist/bundle/{echarts-5UKZVIF6.js → echarts-BGBPRGR5.js} +2 -2
- package/dist/bundle/{embed-G62XY6BJ.js → embed-ASAE3H5I.js} +6 -6
- package/dist/bundle/{embedder-SCHGLA74.js → embedder-QYDZRKBX.js} +9 -9
- package/dist/bundle/{failure-N5S6ZS62.js → failure-UDL5QZRZ.js} +2 -2
- package/dist/bundle/{first-run-DPF2BBQN.js → first-run-EFNNGFCB.js} +11 -11
- package/dist/bundle/first-screen-XHM3TT6G.js +32 -0
- package/dist/bundle/{instructions-7RP5OKLE.js → instructions-6LPDSKAD.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/{node-ENCKD6SS.js → node-IB246NCQ.js} +2 -2
- package/dist/bundle/{node-sqlite-4ICXMPYY.js → node-sqlite-UROXM4VR.js} +6 -6
- package/dist/bundle/{oauth-CX2WYMGN.js → oauth-VSCKHS4T.js} +7 -7
- package/dist/bundle/{open-HQZYHMVE.js → open-R4LVB63T.js} +5 -5
- package/dist/bundle/{openai-3ONJIA3F.js → openai-MKCEOFKL.js} +14 -14
- package/dist/bundle/{process-OK3HRPMD.js → process-SWPJGPQC.js} +1 -1
- package/dist/bundle/{program-FLKUE6LL.js → program-CJ2YDRUY.js} +11741 -10648
- package/dist/bundle/{prompt-ZWKUQ42Y.js → prompt-TWWJ5VAM.js} +5 -5
- package/dist/bundle/{recognize-PHDYO6DC.js → recognize-XMO5ETQU.js} +4 -4
- package/dist/bundle/{remote-4CX7GFMU.js → remote-N6VAWJWE.js} +7 -7
- package/dist/bundle/{rerank-ZCZTGXDQ.js → rerank-XNAMC6FH.js} +7 -7
- package/dist/bundle/{serve-3LBS7CPR.js → serve-IJ32WEBH.js} +9 -9
- package/dist/bundle/server-CRVR4L2E.js +64 -0
- package/dist/bundle/{server-2BKI2OQP.js → server-KEYSE5OL.js} +39 -38
- package/dist/bundle/{sqlite-runtime-J5T7SR5W.js → sqlite-runtime-NFBRN7OF.js} +6 -6
- package/dist/bundle/{state-TIRNYVEL.js → state-7WPJEW2Z.js} +6 -6
- package/dist/bundle/{store-F7ZXMIAP.js → store-KHVHOGQR.js} +27 -18
- package/dist/bundle/{store-NGE2E7KZ.js → store-PKQCNACC.js} +15 -14
- package/dist/bundle/store-maintenance-command-5MODJN6R.js +54 -0
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +149 -3
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/context.d.ts +2 -0
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +2 -2
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/import.d.ts +3 -0
- package/dist/commands/import.d.ts.map +1 -0
- package/dist/commands/import.js +92 -0
- package/dist/commands/import.js.map +1 -0
- package/dist/commands/read.d.ts.map +1 -1
- package/dist/commands/read.js +29 -3
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/session-start.d.ts.map +1 -1
- package/dist/commands/session-start.js +9 -7
- package/dist/commands/session-start.js.map +1 -1
- package/dist/commands/stats.d.ts.map +1 -1
- package/dist/commands/stats.js +49 -2
- package/dist/commands/stats.js.map +1 -1
- package/dist/commands/sync.d.ts +2 -0
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +38 -4
- package/dist/commands/sync.js.map +1 -1
- package/dist/config.d.ts +11 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +17 -0
- package/dist/config.js.map +1 -1
- package/dist/mail/doctor.d.ts +3 -2
- package/dist/mail/doctor.d.ts.map +1 -1
- package/dist/mail/doctor.js +14 -16
- package/dist/mail/doctor.js.map +1 -1
- package/dist/mail/domain-age.d.ts +29 -0
- package/dist/mail/domain-age.d.ts.map +1 -0
- package/dist/mail/domain-age.js +157 -0
- package/dist/mail/domain-age.js.map +1 -0
- package/dist/mail/mbox.d.ts +9 -0
- package/dist/mail/mbox.d.ts.map +1 -0
- package/dist/mail/mbox.js +230 -0
- package/dist/mail/mbox.js.map +1 -0
- package/dist/oauth.d.ts +13 -9
- package/dist/oauth.d.ts.map +1 -1
- package/dist/oauth.js +12 -25
- package/dist/oauth.js.map +1 -1
- package/dist/profile.d.ts +4 -1
- package/dist/profile.d.ts.map +1 -1
- package/dist/profile.js +6 -1
- package/dist/profile.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +10 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -1
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/mail-cli/SKILL.md +2 -0
- package/dist/bundle/chunk-72CGQMAZ.js +0 -18
- package/dist/bundle/command-contract-6QSZ5QHQ.js +0 -33
- package/dist/bundle/first-screen-4MRKF6RQ.js +0 -31
- package/dist/bundle/server-X5F7VD2E.js +0 -63
- package/dist/bundle/store-maintenance-command-QZV76KAH.js +0 -53
- /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
|
@@ -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-QTD3BVS5.js";
|
|
8
|
+
import "./chunk-WOV3ABQR.js";
|
|
9
|
+
import "./chunk-OZVGHHFZ.js";
|
|
10
|
+
import "./chunk-QCNK3YUZ.js";
|
|
11
|
+
import "./chunk-G6RG2AZV.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.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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");
|
|
@@ -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-OJEIUOMW.js";
|
|
9
|
+
import "./chunk-EDJQDR5X.js";
|
|
10
|
+
import "./chunk-YPF6OS37.js";
|
|
11
|
+
import "./chunk-A6O3WHBD.js";
|
|
12
|
+
import "./chunk-BIKMEGC7.js";
|
|
13
|
+
import "./chunk-K4N5UG64.js";
|
|
14
|
+
import "./chunk-OZVGHHFZ.js";
|
|
15
|
+
import "./chunk-KV4267S4.js";
|
|
16
16
|
import "./chunk-D72URWJE.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-QCNK3YUZ.js";
|
|
18
|
+
import "./chunk-G6RG2AZV.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,32 @@
|
|
|
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-VQQFOA4O.js";
|
|
8
|
+
import "./chunk-U3VX3UUC.js";
|
|
9
|
+
import "./chunk-HTQTIKWP.js";
|
|
10
|
+
import "./chunk-SPQY3PJX.js";
|
|
11
|
+
import "./chunk-JQTIB4WJ.js";
|
|
12
|
+
import "./chunk-NNLYS4IR.js";
|
|
13
|
+
import "./chunk-A6O3WHBD.js";
|
|
14
|
+
import "./chunk-WIU733D2.js";
|
|
15
|
+
import "./chunk-WOV3ABQR.js";
|
|
16
|
+
import "./chunk-KJYCA6IC.js";
|
|
17
|
+
import "./chunk-4TPNRJER.js";
|
|
18
|
+
import "./chunk-FEWWBU2I.js";
|
|
19
|
+
import "./chunk-4HVY3QPF.js";
|
|
20
|
+
import "./chunk-K4N5UG64.js";
|
|
21
|
+
import "./chunk-OZVGHHFZ.js";
|
|
22
|
+
import "./chunk-LU3WKZBA.js";
|
|
23
|
+
import "./chunk-QCNK3YUZ.js";
|
|
24
|
+
import "./chunk-G6RG2AZV.js";
|
|
25
|
+
import "./chunk-Y5E2WNWB.js";
|
|
26
|
+
import "./chunk-EB2IULWB.js";
|
|
27
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
28
|
+
export {
|
|
29
|
+
WIRECAT_TOOLS,
|
|
30
|
+
firstScreen,
|
|
31
|
+
installHelp
|
|
32
|
+
};
|
package/dist/bundle/mail.js
CHANGED
|
@@ -3,11 +3,11 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
3
3
|
const require = __bundleRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
IDENTITY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6Z7VBDFR.js";
|
|
7
7
|
import {
|
|
8
8
|
installerOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-KV4267S4.js";
|
|
10
|
+
import "./chunk-LU3WKZBA.js";
|
|
11
11
|
import {
|
|
12
12
|
DESCRIBE_FLAG,
|
|
13
13
|
DISPATCH_FLAG,
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
fileState,
|
|
19
19
|
shimFiles,
|
|
20
20
|
writeShim
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-XBIPSSKI.js";
|
|
22
|
+
import "./chunk-QCNK3YUZ.js";
|
|
23
23
|
import {
|
|
24
24
|
catchCrashes
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-G6RG2AZV.js";
|
|
26
26
|
import "./chunk-Y5E2WNWB.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-EB2IULWB.js";
|
|
28
28
|
import {
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
// dist/bin/mail.js
|
|
33
33
|
import { enableCompileCache } from "node:module";
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
35
|
+
// 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
|
|
36
36
|
import { fileURLToPath } from "node:url";
|
|
37
37
|
|
|
38
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
38
|
+
// 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
|
|
39
39
|
import { readFileSync } from "node:fs";
|
|
40
40
|
import { basename, dirname, join, resolve } from "node:path";
|
|
41
41
|
var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
|
|
@@ -119,7 +119,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
|
|
|
119
119
|
}
|
|
120
120
|
}, "ensureLauncher");
|
|
121
121
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
122
|
+
// 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
|
|
123
123
|
var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
124
124
|
const argv = io.argv ?? process.argv;
|
|
125
125
|
const env = io.env ?? process.env;
|
|
@@ -132,7 +132,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
132
132
|
return { code: 0 };
|
|
133
133
|
}
|
|
134
134
|
if (first === DISPATCH_FLAG) {
|
|
135
|
-
const { runWcat } = await import("./dispatch-
|
|
135
|
+
const { runWcat } = await import("./dispatch-3ILCYZ4Q.js");
|
|
136
136
|
const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
|
|
137
137
|
return { code };
|
|
138
138
|
}
|
|
@@ -158,7 +158,7 @@ if (wcat.code !== void 0) {
|
|
|
158
158
|
process.exitCode = wcat.code;
|
|
159
159
|
} else {
|
|
160
160
|
const stopCatching = catchCrashes({ cli: IDENTITY.command, interactive: process.stdout.isTTY === true });
|
|
161
|
-
const { run } = await import("./program-
|
|
161
|
+
const { run } = await import("./program-CJ2YDRUY.js");
|
|
162
162
|
try {
|
|
163
163
|
process.exitCode = await run(process.argv.slice(2));
|
|
164
164
|
} finally {
|
|
@@ -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, {
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XGNC5OJG.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
|
|
27
27
|
import { DatabaseSync } from "node:sqlite";
|
|
28
28
|
var nodeSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IA6U76ZY.js";
|
|
7
7
|
import {
|
|
8
8
|
TIME_LIMIT_FUNCTION,
|
|
9
9
|
beforeTimeLimit
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-HGOYQUT7.js";
|
|
11
|
+
import "./chunk-QCNK3YUZ.js";
|
|
12
|
+
import "./chunk-G6RG2AZV.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-EB2IULWB.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
20
20
|
import { DatabaseSync } from "node:sqlite";
|
|
21
21
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
22
22
|
var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
ownerLogin,
|
|
5
5
|
revokeAll
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4YECCESG.js";
|
|
7
7
|
import "./chunk-5D4AEUVA.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-PI5P457W.js";
|
|
9
|
+
import "./chunk-LRBAQSU3.js";
|
|
10
|
+
import "./chunk-WIU733D2.js";
|
|
11
|
+
import "./chunk-QCNK3YUZ.js";
|
|
12
|
+
import "./chunk-G6RG2AZV.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
|
ownerLogin,
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
openCache,
|
|
7
7
|
openFile,
|
|
8
8
|
storeCapable
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-6AYJDBHT.js";
|
|
10
|
+
import "./chunk-HGOYQUT7.js";
|
|
11
|
+
import "./chunk-QCNK3YUZ.js";
|
|
12
|
+
import "./chunk-G6RG2AZV.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
|
CAPABILITY_STATEMENTS,
|
|
@@ -3,37 +3,37 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
toModelRate
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-NDZK466U.js";
|
|
7
|
+
import "./chunk-M5DF6QNT.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-RFDP45QO.js";
|
|
11
|
+
import "./chunk-QTD3BVS5.js";
|
|
12
12
|
import {
|
|
13
13
|
OPENAI_TRANSCRIBE_MODEL,
|
|
14
14
|
VAD,
|
|
15
15
|
filesPresent,
|
|
16
16
|
modelsDirectory,
|
|
17
17
|
vadPath
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-WOV3ABQR.js";
|
|
19
|
+
import "./chunk-OZVGHHFZ.js";
|
|
20
20
|
import {
|
|
21
21
|
DEFAULT_RETRY,
|
|
22
22
|
backoffMs
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-QCNK3YUZ.js";
|
|
24
|
+
import "./chunk-G6RG2AZV.js";
|
|
25
25
|
import "./chunk-Y5E2WNWB.js";
|
|
26
26
|
import {
|
|
27
27
|
CliError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EB2IULWB.js";
|
|
29
29
|
import {
|
|
30
30
|
__name
|
|
31
31
|
} from "./chunk-ZVVMGPBJ.js";
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
34
34
|
import { setTimeout as wait } from "node:timers/promises";
|
|
35
35
|
|
|
36
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
36
|
+
// 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
|
|
37
37
|
var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
|
|
38
38
|
if (!header)
|
|
39
39
|
return void 0;
|
|
@@ -57,7 +57,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
|
|
|
57
57
|
}, "parseRateLimitReset");
|
|
58
58
|
var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
|
|
59
59
|
|
|
60
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
60
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
61
61
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
62
62
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
63
63
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -78,7 +78,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
78
78
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
79
79
|
}, "encodeWav");
|
|
80
80
|
|
|
81
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
81
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
82
82
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
83
83
|
var JOINED_SECONDS = 0.2;
|
|
84
84
|
var PAD_SECONDS = 0.2;
|
|
@@ -200,7 +200,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
200
200
|
return pieces;
|
|
201
201
|
}, "piecesOf");
|
|
202
202
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
203
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
203
|
+
const { openSpeechCutter } = await import("./recognize-XMO5ETQU.js");
|
|
204
204
|
return openSpeechCutter(vadModel);
|
|
205
205
|
}, "openCutter");
|
|
206
206
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-ZVVMGPBJ.js";
|
|
7
7
|
|
|
8
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/embeddings/process.js
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|