@wirecat/mail-cli 0.34.0 → 0.35.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 +23 -0
- package/README.md +4 -1
- package/contracts/wirecat.json +52 -2
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/agent-KWLCQCSC.js +39 -0
- package/dist/bundle/{all-profiles-2KUKROHY.js → all-profiles-6BDSMVOO.js} +63 -21
- package/dist/bundle/{anthropic-E5KRCEVC.js → anthropic-C3XUXUCJ.js} +5 -5
- package/dist/bundle/{app-server-HIQ3QO5K.js → app-server-GUHDK4OR.js} +81 -71
- package/dist/bundle/{bun-KARJPE5D.js → bun-FN7AM4AG.js} +2 -2
- package/dist/bundle/{bun-sqlite-NHGX6ZUN.js → bun-sqlite-56IVBF22.js} +6 -6
- package/dist/bundle/{chunk-R2GS3GBJ.js → chunk-2B67TUIF.js} +96 -66
- package/dist/bundle/{chunk-4SKE5GYA.js → chunk-2UNQTKRH.js} +1 -1
- package/dist/bundle/{chunk-QXLYLVEC.js → chunk-3ACF6TIV.js} +1 -1
- package/dist/bundle/chunk-3EV2B7KZ.js +726 -0
- package/dist/bundle/chunk-3KAJCOJP.js +109 -0
- package/dist/bundle/{chunk-NAENYLIO.js → chunk-3WAZKCDF.js} +2 -2
- package/dist/bundle/{chunk-V43KEZYA.js → chunk-46SBNO67.js} +9 -60
- package/dist/bundle/{chunk-A2Y2RFNW.js → chunk-4IASS7NQ.js} +57 -4
- package/dist/bundle/{chunk-OOYRMTX5.js → chunk-4U5ODZO7.js} +12 -26
- package/dist/bundle/{chunk-DYQGEZA2.js → chunk-5WYBI35N.js} +3 -3
- package/dist/bundle/{chunk-QFJC6POK.js → chunk-5XQI7WCJ.js} +1 -1
- package/dist/bundle/{chunk-2SCQ7Z4I.js → chunk-635AFLZO.js} +4 -4
- package/dist/bundle/{chunk-OJ3BI2U4.js → chunk-6B4WZVLN.js} +34 -28
- package/dist/bundle/{chunk-FNYWC6A3.js → chunk-6Q5THDNW.js} +3 -3
- package/dist/bundle/{chunk-CKVWAUBW.js → chunk-6VARUB3J.js} +12 -12
- package/dist/bundle/{chunk-EZAX77SM.js → chunk-7FXZKQAC.js} +86 -75
- package/dist/bundle/{chunk-H77ALM2Y.js → chunk-7JVKQ6NM.js} +4 -4
- package/dist/bundle/{chunk-HH647UBC.js → chunk-7KMI47AP.js} +104 -255
- package/dist/bundle/{chunk-DZRP4UCK.js → chunk-7PXAUMK5.js} +30 -15
- package/dist/bundle/{chunk-KGYK3OI3.js → chunk-7YMLEWTX.js} +43 -64
- package/dist/bundle/{chunk-OG5QO5RR.js → chunk-AISQNKT7.js} +8 -8
- package/dist/bundle/chunk-AV2ZJ4WX.js +7 -0
- package/dist/bundle/{chunk-QOQF2TX3.js → chunk-AXKIXVQA.js} +338 -299
- package/dist/bundle/{chunk-ZGZADWD7.js → chunk-CDGVYQXG.js} +1 -1
- package/dist/bundle/{chunk-Z6A6QPPW.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/{chunk-QXYNDMA6.js → chunk-CMGZXBJW.js} +6 -6
- package/dist/bundle/{chunk-4URI6EAV.js → chunk-DD2P67NP.js} +3 -3
- package/dist/bundle/{chunk-X6IGETU6.js → chunk-DFHUJTP5.js} +2 -2
- package/dist/bundle/{chunk-WYGDALB3.js → chunk-DREU6TN6.js} +18 -18
- package/dist/bundle/{chunk-TZJC4AOK.js → chunk-DZHEVVXA.js} +53 -33
- package/dist/bundle/{chunk-RPNQXWRS.js → chunk-E6HSSKRX.js} +2 -2
- package/dist/bundle/{chunk-6LFRZDPV.js → chunk-EHAXFDDP.js} +1 -1
- package/dist/bundle/chunk-EU4J6GCJ.js +52 -0
- package/dist/bundle/{chunk-NJVJH5MH.js → chunk-EX4Z7CCO.js} +3245 -1644
- package/dist/bundle/chunk-G662S2M4.js +559 -0
- package/dist/bundle/{chunk-JVGVLRBA.js → chunk-GG634DR3.js} +5 -5
- package/dist/bundle/{chunk-IMQ4CVZJ.js → chunk-GU3PYIV2.js} +2 -2
- package/dist/bundle/{chunk-LKTDW5LH.js → chunk-HF5QWKK2.js} +18 -8
- package/dist/bundle/chunk-HJDIMVFW.js +108 -0
- package/dist/bundle/{chunk-FORAOCZ3.js → chunk-HKWZG7CZ.js} +6 -6
- package/dist/bundle/{chunk-QQGPV3QN.js → chunk-HM6AMYHR.js} +2 -2
- package/dist/bundle/{chunk-AGZ7SNFF.js → chunk-HVXOA4FO.js} +1 -1
- package/dist/bundle/{chunk-NHD5BOJU.js → chunk-I3QZCQJT.js} +6 -6
- package/dist/bundle/{chunk-OX5MCGXL.js → chunk-ILEKGH44.js} +63 -54
- package/dist/bundle/{chunk-I3MS74OF.js → chunk-J5ULUTWE.js} +4 -4
- package/dist/bundle/{chunk-26DYRMXE.js → chunk-L4RCWRWS.js} +1 -1
- package/dist/bundle/chunk-MCJYJIH5.js +192 -0
- package/dist/bundle/{chunk-NWD7AFOR.js → chunk-NEDS4ORI.js} +2 -2
- package/dist/bundle/{chunk-VRGEDK4T.js → chunk-ODQCRZX5.js} +35 -12
- package/dist/bundle/chunk-OO4OKMNB.js +80 -0
- package/dist/bundle/{chunk-T2EE5M7O.js → chunk-OOQFBRNR.js} +144 -10
- package/dist/bundle/{chunk-PA4GEJXQ.js → chunk-OTP2HJ67.js} +9 -9
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-6G4VQFVX.js → chunk-PQDQCCGG.js} +17 -17
- package/dist/bundle/{chunk-KLI5FKZ2.js → chunk-Q5U2HIBJ.js} +7 -7
- package/dist/bundle/{chunk-HRDCH2VB.js → chunk-QFMKCU42.js} +3664 -3339
- package/dist/bundle/{chunk-VBVR6JRC.js → chunk-QYCMB7JY.js} +269 -173
- package/dist/bundle/{chunk-6GGMFL7J.js → chunk-RBV2AM52.js} +2 -100
- package/dist/bundle/{chunk-XIF75Z7D.js → chunk-RJNKM3CQ.js} +1 -1
- package/dist/bundle/{chunk-SK3N4CK5.js → chunk-RQHWSNX4.js} +4 -4
- package/dist/bundle/{chunk-4VHK5UBM.js → chunk-RQJGX7F7.js} +3 -3
- package/dist/bundle/{chunk-PC3N3LH3.js → chunk-TARNPINT.js} +3 -3
- package/dist/bundle/{chunk-5GANGHQI.js → chunk-TP2BCK2Z.js} +9 -9
- package/dist/bundle/{chunk-ZZEWQR43.js → chunk-TP766H4O.js} +14 -14
- package/dist/bundle/{chunk-PVZMN3UZ.js → chunk-UHGKN5US.js} +8 -8
- package/dist/bundle/{chunk-4VM3UCSO.js → chunk-UWDRU3R6.js} +2 -2
- package/dist/bundle/{chunk-KNVTBDTE.js → chunk-V4O47JV6.js} +3 -3
- package/dist/bundle/{chunk-MGXYIVVJ.js → chunk-W4JYGMTU.js} +12 -12
- package/dist/bundle/{chunk-2GDLJKPT.js → chunk-W7ICCFG5.js} +1 -1
- package/dist/bundle/{chunk-KF6O4RZO.js → chunk-WDEVKKAD.js} +3 -3
- package/dist/bundle/{chunk-YWX5X5RI.js → chunk-WZKM5I7B.js} +19 -17
- package/dist/bundle/{chunk-MDISZMK4.js → chunk-XKKYRMGG.js} +4 -4
- package/dist/bundle/chunk-XQNKAM26.js +338 -0
- package/dist/bundle/{chunk-LOSYDRJU.js → chunk-YA44BG3N.js} +38 -9
- package/dist/bundle/{chunk-2VBEBPGX.js → chunk-YCIWSKOH.js} +9 -9
- package/dist/bundle/{chunk-NXERDBEK.js → chunk-YQTRKNZQ.js} +4 -4
- package/dist/bundle/chunk-YRAJFTFU.js +353 -0
- package/dist/bundle/{chunk-XWU3A7H6.js → chunk-YTI533XF.js} +2 -2
- package/dist/bundle/{chunk-PRDKEVUL.js → chunk-ZMYRPMAJ.js} +1 -1
- package/dist/bundle/{chunk-EGQJDEFY.js → chunk-ZX7HZDD6.js} +144 -562
- package/dist/bundle/{chunk-NI4GCP2T.js → chunk-ZYEU35MB.js} +2 -2
- package/dist/bundle/command-contract-D5UXWHMS.js +39 -0
- package/dist/bundle/{command-server-entry-NF45UPEV.js → command-server-entry-TPJ47FYS.js} +28 -28
- package/dist/bundle/{decode-DUZA3EHC.js → decode-XHUASXQK.js} +5 -5
- package/dist/bundle/{dispatch-CDJZAMVP.js → dispatch-MQZHGGVP.js} +8 -8
- package/dist/bundle/{dist-RH7EMC4J.js → dist-BAE4IQ52.js} +23 -23
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-GZHZBNRA.js → echarts-U7Z2PKIG.js} +2 -2
- package/dist/bundle/{embed-VE3CSJN4.js → embed-W7GPB6EI.js} +6 -6
- package/dist/bundle/{embedder-DSJ77DX5.js → embedder-T72XLFQ5.js} +9 -9
- package/dist/bundle/{failure-YH6HAGFT.js → failure-MP6VKL5Y.js} +2 -2
- package/dist/bundle/{first-run-3L7HLYTI.js → first-run-C44TJXRI.js} +12 -12
- package/dist/bundle/first-screen-IESI7DAU.js +39 -0
- package/dist/bundle/{instructions-OZK3BLIO.js → instructions-WGMWQNPP.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-YUG4YR4R.js → mcp-YGOAUNC3.js} +2 -2
- package/dist/bundle/meeting-combined-XGZBSWIQ.js +24 -0
- package/dist/bundle/{meeting-model-U7LW5WEN.js → meeting-model-QVHLD4WI.js} +11 -11
- package/dist/bundle/{meeting-semantic-64IOIQRR.js → meeting-semantic-QKQHUHXX.js} +6 -6
- package/dist/bundle/{node-OS3VWBUZ.js → node-WANDMJJQ.js} +2 -2
- package/dist/bundle/{node-sqlite-RQ623VFA.js → node-sqlite-NM5XA4DR.js} +7 -7
- package/dist/bundle/{oauth-CBPAG734.js → oauth-6E63ELEE.js} +8 -8
- package/dist/bundle/{open-H4DGOMBC.js → open-5542RTLE.js} +5 -5
- package/dist/bundle/{openai-EMWRGR54.js → openai-NOYNPFB5.js} +15 -15
- package/dist/bundle/{process-3TOIYASI.js → process-7AEXXSBX.js} +1 -1
- package/dist/bundle/{program-WA6RGAJL.js → program-VMA5CGNR.js} +3184 -2163
- package/dist/bundle/{prompt-22KNCMBI.js → prompt-WYYO4AJL.js} +5 -5
- package/dist/bundle/{recognize-UWD4RSCZ.js → recognize-UGCCOMAS.js} +4 -4
- package/dist/bundle/{remote-LJY7MF2E.js → remote-VZS6BNQB.js} +9 -9
- package/dist/bundle/{rerank-JJ6KNJFB.js → rerank-O46D5GJ2.js} +7 -7
- package/dist/bundle/{serve-3EPLJYVZ.js → serve-QAAF2LCW.js} +10 -10
- package/dist/bundle/server-456MYK3X.js +84 -0
- package/dist/bundle/{server-5JOFO4V4.js → server-Q3PUZLLX.js} +75 -64
- package/dist/bundle/{sqlite-runtime-MGJA5E27.js → sqlite-runtime-EQBCDO2U.js} +6 -6
- package/dist/bundle/{state-UCRDOWOP.js → state-XIOHYXCR.js} +6 -6
- package/dist/bundle/{store-HS272YSA.js → store-OXJZZUR7.js} +34 -21
- package/dist/bundle/{store-265VRRQV.js → store-VJBL5XKR.js} +28 -23
- package/dist/bundle/store-maintenance-command-D7XYIX52.js +71 -0
- package/dist/bundle/surface-N7LK7PKN.js +70 -0
- package/dist/commands/read.d.ts +2 -2
- package/dist/commands/read.d.ts.map +1 -1
- package/dist/commands/read.js +5 -4
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/sync.d.ts +2 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +16 -9
- package/dist/commands/sync.js.map +1 -1
- package/dist/config.d.ts +5 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -1
- package/dist/config.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/chunk-FEBUZHU3.js +0 -2
- package/dist/bundle/command-contract-PZ7VOOXP.js +0 -39
- package/dist/bundle/first-screen-MY5KID77.js +0 -37
- package/dist/bundle/meeting-combined-RYMUPY54.js +0 -24
- package/dist/bundle/server-EOQNS7B7.js +0 -75
- package/dist/bundle/store-maintenance-command-IKZM5NRP.js +0 -66
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
resolvePaths
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7FXZKQAC.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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { realpathSync } from "node:fs";
|
|
12
12
|
import { userInfo } from "node:os";
|
|
13
13
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
@@ -0,0 +1,39 @@
|
|
|
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-GG634DR3.js";
|
|
10
|
+
import "./chunk-QYCMB7JY.js";
|
|
11
|
+
import "./chunk-HF5QWKK2.js";
|
|
12
|
+
import "./chunk-UHGKN5US.js";
|
|
13
|
+
import "./chunk-WDEVKKAD.js";
|
|
14
|
+
import "./chunk-HKWZG7CZ.js";
|
|
15
|
+
import "./chunk-ZMYRPMAJ.js";
|
|
16
|
+
import "./chunk-DD2P67NP.js";
|
|
17
|
+
import "./chunk-DZHEVVXA.js";
|
|
18
|
+
import "./chunk-6VARUB3J.js";
|
|
19
|
+
import "./chunk-UWDRU3R6.js";
|
|
20
|
+
import "./chunk-3ACF6TIV.js";
|
|
21
|
+
import "./chunk-YTI533XF.js";
|
|
22
|
+
import "./chunk-AXKIXVQA.js";
|
|
23
|
+
import "./chunk-OOQFBRNR.js";
|
|
24
|
+
import "./chunk-Q5U2HIBJ.js";
|
|
25
|
+
import "./chunk-635AFLZO.js";
|
|
26
|
+
import "./chunk-AV2ZJ4WX.js";
|
|
27
|
+
import "./chunk-ZYEU35MB.js";
|
|
28
|
+
import "./chunk-7FXZKQAC.js";
|
|
29
|
+
import "./chunk-YA44BG3N.js";
|
|
30
|
+
import "./chunk-Y5E2WNWB.js";
|
|
31
|
+
import "./chunk-HM6AMYHR.js";
|
|
32
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
33
|
+
export {
|
|
34
|
+
SCHEMA_DIALECT,
|
|
35
|
+
commandContract,
|
|
36
|
+
commandPathOf,
|
|
37
|
+
findCommand,
|
|
38
|
+
outputOf
|
|
39
|
+
};
|
|
@@ -4,51 +4,51 @@ import {
|
|
|
4
4
|
COMMAND_SERVER_CONCURRENT,
|
|
5
5
|
enterCommandServer,
|
|
6
6
|
serveCommands
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-AISQNKT7.js";
|
|
8
|
+
import "./chunk-CDGVYQXG.js";
|
|
9
9
|
import {
|
|
10
10
|
ensureSqlite
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-GU3PYIV2.js";
|
|
12
|
+
import "./chunk-GG634DR3.js";
|
|
13
13
|
import {
|
|
14
14
|
commandServerRequest,
|
|
15
15
|
exitCodeSet,
|
|
16
16
|
inCommandServerRequest
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-QYCMB7JY.js";
|
|
18
|
+
import "./chunk-HF5QWKK2.js";
|
|
19
|
+
import "./chunk-UHGKN5US.js";
|
|
20
|
+
import "./chunk-WDEVKKAD.js";
|
|
21
|
+
import "./chunk-HKWZG7CZ.js";
|
|
22
|
+
import "./chunk-ZMYRPMAJ.js";
|
|
23
|
+
import "./chunk-DD2P67NP.js";
|
|
24
24
|
import {
|
|
25
25
|
asOwnProcess
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-DZHEVVXA.js";
|
|
27
|
+
import "./chunk-6VARUB3J.js";
|
|
28
|
+
import "./chunk-UWDRU3R6.js";
|
|
29
|
+
import "./chunk-3ACF6TIV.js";
|
|
30
|
+
import "./chunk-YTI533XF.js";
|
|
31
|
+
import "./chunk-AXKIXVQA.js";
|
|
32
|
+
import "./chunk-OOQFBRNR.js";
|
|
33
|
+
import "./chunk-Q5U2HIBJ.js";
|
|
34
|
+
import "./chunk-635AFLZO.js";
|
|
35
|
+
import "./chunk-AV2ZJ4WX.js";
|
|
36
|
+
import "./chunk-ZYEU35MB.js";
|
|
37
|
+
import "./chunk-I3QZCQJT.js";
|
|
38
|
+
import "./chunk-2UNQTKRH.js";
|
|
39
|
+
import "./chunk-7FXZKQAC.js";
|
|
40
40
|
import {
|
|
41
41
|
catchCrashes
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-YA44BG3N.js";
|
|
43
43
|
import "./chunk-Y5E2WNWB.js";
|
|
44
44
|
import {
|
|
45
45
|
CliError
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-HM6AMYHR.js";
|
|
47
47
|
import {
|
|
48
48
|
__name
|
|
49
49
|
} from "./chunk-ZVVMGPBJ.js";
|
|
50
50
|
|
|
51
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
51
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
|
|
52
52
|
import { PassThrough } from "node:stream";
|
|
53
53
|
var route = /* @__PURE__ */ __name((stream, sink) => {
|
|
54
54
|
const original = stream.write;
|
|
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-XKKYRMGG.js";
|
|
7
|
+
import "./chunk-7FXZKQAC.js";
|
|
8
|
+
import "./chunk-YA44BG3N.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HM6AMYHR.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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
20
20
|
import { spawn } from "node:child_process";
|
|
21
21
|
import { mkdtemp, open, readFile, rm, writeFile } from "node:fs/promises";
|
|
22
22
|
import { createRequire } from "node:module";
|
|
@@ -14,22 +14,22 @@ import {
|
|
|
14
14
|
parseDescribe,
|
|
15
15
|
shimFiles,
|
|
16
16
|
writeShim
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7JVKQ6NM.js";
|
|
18
18
|
import "./chunk-Y5E2WNWB.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HM6AMYHR.js";
|
|
22
22
|
import {
|
|
23
23
|
__name,
|
|
24
24
|
__toESM
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_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
|
|
28
28
|
var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
29
29
|
import { randomUUID } from "node:crypto";
|
|
30
30
|
import { constants } from "node:os";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_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
|
|
33
33
|
import { readdirSync, statSync } from "node:fs";
|
|
34
34
|
import { join } from "node:path";
|
|
35
35
|
var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
|
|
@@ -101,7 +101,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
|
|
|
101
101
|
}, "findTools");
|
|
102
102
|
var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
|
|
103
103
|
|
|
104
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
104
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_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
|
|
105
105
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
106
106
|
import { readFileSync } from "node:fs";
|
|
107
107
|
var probeDescribe = /* @__PURE__ */ __name((path, { env, timeoutMs }) => new Promise((resolve) => {
|
|
@@ -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.124.0_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.124.0_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-MP6VKL5Y.js");
|
|
342
342
|
const object = errorObjectOf(error);
|
|
343
343
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
344
344
|
`);
|
|
@@ -24,17 +24,18 @@ import {
|
|
|
24
24
|
recordTemplate,
|
|
25
25
|
refsForLink,
|
|
26
26
|
terminalQr
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import {
|
|
29
|
-
DETAILS,
|
|
30
|
-
REASONS,
|
|
31
|
-
failureContext
|
|
32
|
-
} from "./chunk-A2Y2RFNW.js";
|
|
27
|
+
} from "./chunk-TP766H4O.js";
|
|
33
28
|
import {
|
|
34
29
|
pollLines,
|
|
35
30
|
renderMessage,
|
|
36
31
|
renderMessages
|
|
37
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3WAZKCDF.js";
|
|
33
|
+
import "./chunk-HTQTIKWP.js";
|
|
34
|
+
import {
|
|
35
|
+
DETAILS,
|
|
36
|
+
REASONS,
|
|
37
|
+
failureContext
|
|
38
|
+
} from "./chunk-4IASS7NQ.js";
|
|
38
39
|
import {
|
|
39
40
|
ModerationRules,
|
|
40
41
|
act,
|
|
@@ -44,15 +45,14 @@ import {
|
|
|
44
45
|
judge,
|
|
45
46
|
moderationPathFor,
|
|
46
47
|
validateFormattedText
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-HTQTIKWP.js";
|
|
48
|
+
} from "./chunk-YCIWSKOH.js";
|
|
49
49
|
import {
|
|
50
50
|
resolveOutput
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-HF5QWKK2.js";
|
|
52
52
|
import {
|
|
53
53
|
readSecret
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-5WYBI35N.js";
|
|
55
|
+
import "./chunk-NEDS4ORI.js";
|
|
56
56
|
import {
|
|
57
57
|
COUNTER_FIELDS,
|
|
58
58
|
PHONE_COUNTRIES,
|
|
@@ -76,9 +76,9 @@ import {
|
|
|
76
76
|
pickChat,
|
|
77
77
|
pickPerson,
|
|
78
78
|
rankingOptions
|
|
79
|
-
} from "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
79
|
+
} from "./chunk-DREU6TN6.js";
|
|
80
|
+
import "./chunk-V4O47JV6.js";
|
|
81
|
+
import "./chunk-L4RCWRWS.js";
|
|
82
82
|
import {
|
|
83
83
|
ADDED_ACCOUNT,
|
|
84
84
|
ADDED_PROVIDER,
|
|
@@ -152,24 +152,24 @@ import {
|
|
|
152
152
|
standingOf,
|
|
153
153
|
usableLink,
|
|
154
154
|
useProviders
|
|
155
|
-
} from "./chunk-
|
|
156
|
-
import "./chunk-
|
|
155
|
+
} from "./chunk-6VARUB3J.js";
|
|
156
|
+
import "./chunk-3ACF6TIV.js";
|
|
157
157
|
import {
|
|
158
158
|
TAG_TYPES,
|
|
159
159
|
normalizeTag
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-YTI533XF.js";
|
|
161
161
|
import {
|
|
162
162
|
BACKENDS,
|
|
163
163
|
canonicalMeetingReference,
|
|
164
164
|
formatMeetingReference,
|
|
165
165
|
parseMeetingReference,
|
|
166
166
|
serviceCallsOf
|
|
167
|
-
} from "./chunk-
|
|
168
|
-
import "./chunk-
|
|
169
|
-
import "./chunk-
|
|
170
|
-
import "./chunk-
|
|
167
|
+
} from "./chunk-AXKIXVQA.js";
|
|
168
|
+
import "./chunk-AV2ZJ4WX.js";
|
|
169
|
+
import "./chunk-7FXZKQAC.js";
|
|
170
|
+
import "./chunk-YA44BG3N.js";
|
|
171
171
|
import "./chunk-Y5E2WNWB.js";
|
|
172
|
-
import "./chunk-
|
|
172
|
+
import "./chunk-HM6AMYHR.js";
|
|
173
173
|
import "./chunk-ZVVMGPBJ.js";
|
|
174
174
|
export {
|
|
175
175
|
ADDED_ACCOUNT,
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
BAGGAGE_META_KEY,
|
|
5
|
+
CLIENT_CAPABILITIES_META_KEY,
|
|
6
|
+
CLIENT_INFO_META_KEY,
|
|
7
|
+
DEFAULT_MAX_REQUEST_BODY_SIZE,
|
|
8
|
+
DEFAULT_NEGOTIATED_PROTOCOL_VERSION,
|
|
9
|
+
DEFAULT_REQUEST_TIMEOUT_MSEC,
|
|
10
|
+
INTERNAL_ERROR,
|
|
11
|
+
INVALID_PARAMS,
|
|
12
|
+
INVALID_REQUEST,
|
|
13
|
+
InMemoryServerEventBus,
|
|
14
|
+
InMemoryTransport,
|
|
15
|
+
JSONRPC_VERSION,
|
|
16
|
+
LATEST_PROTOCOL_VERSION,
|
|
17
|
+
LOG_LEVEL_META_KEY,
|
|
18
|
+
METHOD_NOT_FOUND,
|
|
19
|
+
McpServer,
|
|
20
|
+
MissingRequiredClientCapabilityError,
|
|
21
|
+
OAuthError,
|
|
22
|
+
OAuthErrorCode,
|
|
23
|
+
PARSE_ERROR,
|
|
24
|
+
PROTOCOL_VERSION_META_KEY,
|
|
25
|
+
PerRequestHTTPServerTransport,
|
|
26
|
+
Protocol,
|
|
27
|
+
ProtocolError,
|
|
28
|
+
ProtocolErrorCode,
|
|
29
|
+
RELATED_TASK_META_KEY,
|
|
30
|
+
ReadBuffer,
|
|
31
|
+
ResourceNotFoundError,
|
|
32
|
+
ResourceTemplate,
|
|
33
|
+
SERVER_INFO_META_KEY,
|
|
34
|
+
STDIO_DEFAULT_MAX_BUFFER_SIZE,
|
|
35
|
+
SUBSCRIPTION_ID_META_KEY,
|
|
36
|
+
SUPPORTED_PROTOCOL_VERSIONS,
|
|
37
|
+
SdkError,
|
|
38
|
+
SdkErrorCode,
|
|
39
|
+
SdkHttpError,
|
|
40
|
+
Server,
|
|
41
|
+
TRACEPARENT_META_KEY,
|
|
42
|
+
TRACESTATE_META_KEY,
|
|
43
|
+
UnsupportedProtocolVersionError,
|
|
44
|
+
UriTemplate,
|
|
45
|
+
UrlElicitationRequiredError,
|
|
46
|
+
WebStandardStreamableHTTPServerTransport,
|
|
47
|
+
acceptedContent,
|
|
48
|
+
assertCompleteRequestPrompt,
|
|
49
|
+
assertCompleteRequestResourceTemplate,
|
|
50
|
+
bearerAuthChallengeResponse,
|
|
51
|
+
buildOAuthProtectedResourceMetadata,
|
|
52
|
+
checkResourceAllowed,
|
|
53
|
+
classifyInboundRequest,
|
|
54
|
+
completable,
|
|
55
|
+
createFetchWithInit,
|
|
56
|
+
createMcpHandler,
|
|
57
|
+
createRequestStateCodec,
|
|
58
|
+
deserializeMessage,
|
|
59
|
+
fromJsonSchema,
|
|
60
|
+
getDisplayName,
|
|
61
|
+
getOAuthProtectedResourceMetadataUrl,
|
|
62
|
+
hostHeaderValidationResponse,
|
|
63
|
+
inputRequired,
|
|
64
|
+
inputResponse,
|
|
65
|
+
isCallToolResult,
|
|
66
|
+
isCompletable,
|
|
67
|
+
isInitializeRequest,
|
|
68
|
+
isInitializedNotification,
|
|
69
|
+
isInputRequiredResult,
|
|
70
|
+
isJSONRPCErrorResponse,
|
|
71
|
+
isJSONRPCNotification,
|
|
72
|
+
isJSONRPCRequest,
|
|
73
|
+
isJSONRPCResponse,
|
|
74
|
+
isJSONRPCResultResponse,
|
|
75
|
+
isJsonContentType,
|
|
76
|
+
isLegacyRequest,
|
|
77
|
+
isSpecType,
|
|
78
|
+
isTaskAugmentedRequestParams,
|
|
79
|
+
legacyStatelessFallback,
|
|
80
|
+
localhostAllowedHostnames,
|
|
81
|
+
localhostAllowedOrigins,
|
|
82
|
+
mergeCapabilities,
|
|
83
|
+
oauthMetadataResponse,
|
|
84
|
+
originValidationResponse,
|
|
85
|
+
parseJSONRPCMessage,
|
|
86
|
+
preloadSchemas,
|
|
87
|
+
readRequestBody,
|
|
88
|
+
requireBearerAuth,
|
|
89
|
+
requireScopes,
|
|
90
|
+
resourceUrlFromServerUrl,
|
|
91
|
+
serializeMessage,
|
|
92
|
+
specTypeSchemas,
|
|
93
|
+
validateHostHeader,
|
|
94
|
+
validateOriginHeader,
|
|
95
|
+
verifyBearerToken
|
|
96
|
+
} from "./chunk-PL5P7UKW.js";
|
|
97
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
98
|
+
export {
|
|
99
|
+
BAGGAGE_META_KEY,
|
|
100
|
+
CLIENT_CAPABILITIES_META_KEY,
|
|
101
|
+
CLIENT_INFO_META_KEY,
|
|
102
|
+
DEFAULT_MAX_REQUEST_BODY_SIZE,
|
|
103
|
+
DEFAULT_NEGOTIATED_PROTOCOL_VERSION,
|
|
104
|
+
DEFAULT_REQUEST_TIMEOUT_MSEC,
|
|
105
|
+
INTERNAL_ERROR,
|
|
106
|
+
INVALID_PARAMS,
|
|
107
|
+
INVALID_REQUEST,
|
|
108
|
+
InMemoryServerEventBus,
|
|
109
|
+
InMemoryTransport,
|
|
110
|
+
JSONRPC_VERSION,
|
|
111
|
+
LATEST_PROTOCOL_VERSION,
|
|
112
|
+
LOG_LEVEL_META_KEY,
|
|
113
|
+
METHOD_NOT_FOUND,
|
|
114
|
+
McpServer,
|
|
115
|
+
MissingRequiredClientCapabilityError,
|
|
116
|
+
OAuthError,
|
|
117
|
+
OAuthErrorCode,
|
|
118
|
+
PARSE_ERROR,
|
|
119
|
+
PROTOCOL_VERSION_META_KEY,
|
|
120
|
+
PerRequestHTTPServerTransport,
|
|
121
|
+
Protocol,
|
|
122
|
+
ProtocolError,
|
|
123
|
+
ProtocolErrorCode,
|
|
124
|
+
RELATED_TASK_META_KEY,
|
|
125
|
+
ReadBuffer,
|
|
126
|
+
ResourceNotFoundError,
|
|
127
|
+
ResourceTemplate,
|
|
128
|
+
SERVER_INFO_META_KEY,
|
|
129
|
+
STDIO_DEFAULT_MAX_BUFFER_SIZE,
|
|
130
|
+
SUBSCRIPTION_ID_META_KEY,
|
|
131
|
+
SUPPORTED_PROTOCOL_VERSIONS,
|
|
132
|
+
SdkError,
|
|
133
|
+
SdkErrorCode,
|
|
134
|
+
SdkHttpError,
|
|
135
|
+
Server,
|
|
136
|
+
TRACEPARENT_META_KEY,
|
|
137
|
+
TRACESTATE_META_KEY,
|
|
138
|
+
UnsupportedProtocolVersionError,
|
|
139
|
+
UriTemplate,
|
|
140
|
+
UrlElicitationRequiredError,
|
|
141
|
+
WebStandardStreamableHTTPServerTransport,
|
|
142
|
+
acceptedContent,
|
|
143
|
+
assertCompleteRequestPrompt,
|
|
144
|
+
assertCompleteRequestResourceTemplate,
|
|
145
|
+
bearerAuthChallengeResponse,
|
|
146
|
+
buildOAuthProtectedResourceMetadata,
|
|
147
|
+
checkResourceAllowed,
|
|
148
|
+
classifyInboundRequest,
|
|
149
|
+
completable,
|
|
150
|
+
createFetchWithInit,
|
|
151
|
+
createMcpHandler,
|
|
152
|
+
createRequestStateCodec,
|
|
153
|
+
deserializeMessage,
|
|
154
|
+
fromJsonSchema,
|
|
155
|
+
getDisplayName,
|
|
156
|
+
getOAuthProtectedResourceMetadataUrl,
|
|
157
|
+
hostHeaderValidationResponse,
|
|
158
|
+
inputRequired,
|
|
159
|
+
inputResponse,
|
|
160
|
+
isCallToolResult,
|
|
161
|
+
isCompletable,
|
|
162
|
+
isInitializeRequest,
|
|
163
|
+
isInitializedNotification,
|
|
164
|
+
isInputRequiredResult,
|
|
165
|
+
isJSONRPCErrorResponse,
|
|
166
|
+
isJSONRPCNotification,
|
|
167
|
+
isJSONRPCRequest,
|
|
168
|
+
isJSONRPCResponse,
|
|
169
|
+
isJSONRPCResultResponse,
|
|
170
|
+
isJsonContentType,
|
|
171
|
+
isLegacyRequest,
|
|
172
|
+
isSpecType,
|
|
173
|
+
isTaskAugmentedRequestParams,
|
|
174
|
+
legacyStatelessFallback,
|
|
175
|
+
localhostAllowedHostnames,
|
|
176
|
+
localhostAllowedOrigins,
|
|
177
|
+
mergeCapabilities,
|
|
178
|
+
oauthMetadataResponse,
|
|
179
|
+
originValidationResponse,
|
|
180
|
+
parseJSONRPCMessage,
|
|
181
|
+
preloadSchemas,
|
|
182
|
+
readRequestBody,
|
|
183
|
+
requireBearerAuth,
|
|
184
|
+
requireScopes,
|
|
185
|
+
resourceUrlFromServerUrl,
|
|
186
|
+
serializeMessage,
|
|
187
|
+
specTypeSchemas,
|
|
188
|
+
validateHostHeader,
|
|
189
|
+
validateOriginHeader,
|
|
190
|
+
verifyBearerToken
|
|
191
|
+
};
|
|
@@ -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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/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-7YMLEWTX.js";
|
|
17
|
+
import "./chunk-635AFLZO.js";
|
|
18
|
+
import "./chunk-ZYEU35MB.js";
|
|
19
|
+
import "./chunk-7FXZKQAC.js";
|
|
20
|
+
import "./chunk-YA44BG3N.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-HM6AMYHR.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-7YMLEWTX.js";
|
|
8
|
+
import "./chunk-635AFLZO.js";
|
|
9
|
+
import "./chunk-ZYEU35MB.js";
|
|
10
|
+
import "./chunk-7FXZKQAC.js";
|
|
11
|
+
import "./chunk-YA44BG3N.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-HM6AMYHR.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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/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,20 +5,20 @@ 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-W4JYGMTU.js";
|
|
9
|
+
import "./chunk-RQHWSNX4.js";
|
|
10
|
+
import "./chunk-CFQQTDSA.js";
|
|
11
|
+
import "./chunk-WDEVKKAD.js";
|
|
12
|
+
import "./chunk-ODQCRZX5.js";
|
|
13
|
+
import "./chunk-L4RCWRWS.js";
|
|
14
|
+
import "./chunk-Q5U2HIBJ.js";
|
|
15
|
+
import "./chunk-HVXOA4FO.js";
|
|
16
16
|
import "./chunk-D72URWJE.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-ZYEU35MB.js";
|
|
18
|
+
import "./chunk-7FXZKQAC.js";
|
|
19
|
+
import "./chunk-YA44BG3N.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-HM6AMYHR.js";
|
|
22
22
|
import "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
export {
|
|
24
24
|
askSetupQuestions,
|