@wirecat/mail-cli 0.4.0 → 0.6.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 +115 -0
- package/README.md +41 -10
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-55XPXQHY.js → all-profiles-GBFTKUHA.js} +9 -9
- package/dist/bundle/{anthropic-K5B6I4LB.js → anthropic-PTSCWUG6.js} +6 -6
- package/dist/bundle/{app-server-VWWLQLTZ.js → app-server-5VJ2WCKJ.js} +46 -46
- package/dist/bundle/{bun-EO7AI6YP.js → bun-2KRUBPIN.js} +2 -2
- package/dist/bundle/{bun-sqlite-F24A4IOP.js → bun-sqlite-ELSRSJBM.js} +5 -5
- package/dist/bundle/{chunk-X7AXH2IC.js → chunk-3KY7DA5A.js} +428 -434
- package/dist/bundle/{chunk-ANRI6EZY.js → chunk-4PKHZQIM.js} +8 -8
- package/dist/bundle/{chunk-CADRRSQK.js → chunk-56PI2BRH.js} +1 -1
- package/dist/bundle/{chunk-2ADB5DSG.js → chunk-5AQKM47C.js} +3 -3
- package/dist/bundle/{chunk-VP5GCMHM.js → chunk-5KHJUYHQ.js} +8 -8
- package/dist/bundle/{chunk-HUB42T2Z.js → chunk-6MV2TBDB.js} +57 -54
- package/dist/bundle/{chunk-4KLJN3LK.js → chunk-AGX7NR3S.js} +26 -13
- package/dist/bundle/{chunk-ZD3WUGR2.js → chunk-B337KHJ5.js} +4 -4
- package/dist/bundle/{chunk-5BVIWP3S.js → chunk-BM445GYF.js} +2 -2
- package/dist/bundle/{chunk-H7K2DN3R.js → chunk-BVIHT7KR.js} +9 -9
- package/dist/bundle/{chunk-EDKV6D6T.js → chunk-DA46WQEA.js} +1 -1
- package/dist/bundle/{chunk-UO7X2VW4.js → chunk-DV4RSEAH.js} +6 -6
- package/dist/bundle/{chunk-JZFIHVRB.js → chunk-ES4PWHBJ.js} +28 -28
- package/dist/bundle/{chunk-7X64JS6S.js → chunk-FIQOBLHS.js} +1 -1
- package/dist/bundle/{chunk-TI6VBZKJ.js → chunk-FUB3X25H.js} +4 -4
- package/dist/bundle/{chunk-VWXCEEUH.js → chunk-H4VFIH5W.js} +3 -3
- package/dist/bundle/{chunk-JKHI3PH7.js → chunk-J4C32YKH.js} +1 -1
- package/dist/bundle/{chunk-F6JTOQIK.js → chunk-J5MYH4L5.js} +12 -6
- package/dist/bundle/{chunk-QYWDC7NP.js → chunk-JFJTDL22.js} +47 -46
- package/dist/bundle/{chunk-UZDHK26H.js → chunk-JIQAFFPV.js} +2 -2
- package/dist/bundle/{chunk-BHKI5OCD.js → chunk-JKA2AICL.js} +2 -2
- package/dist/bundle/{dist-FMN7UZ7R.js → chunk-JKLQHPED.js} +16 -116
- package/dist/bundle/{chunk-J3QXTBD2.js → chunk-JLRMSNPX.js} +18 -18
- package/dist/bundle/{chunk-HORM6VRV.js → chunk-K5JUROGN.js} +1 -1
- package/dist/bundle/{chunk-SY3SP7EI.js → chunk-KUQYWIVR.js} +6 -6
- package/dist/bundle/{chunk-7QQ4EMYF.js → chunk-LWTG5UOF.js} +2 -2
- package/dist/bundle/{chunk-YSSMDVT3.js → chunk-M7V3GSJQ.js} +1 -1
- package/dist/bundle/chunk-MD2J3POF.js +52 -0
- package/dist/bundle/{chunk-SWRNMYDL.js → chunk-NCWO2FNC.js} +2 -2
- package/dist/bundle/{chunk-LKDK5YMI.js → chunk-NOU6MWEM.js} +2 -2
- package/dist/bundle/{chunk-LQ37ALDJ.js → chunk-NXJLC2WK.js} +8 -8
- package/dist/bundle/{chunk-ZAR67WKR.js → chunk-NZB4WGQS.js} +6 -6
- package/dist/bundle/{chunk-5RUTHKXZ.js → chunk-O555ZEQR.js} +4 -4
- package/dist/bundle/{chunk-MGBGE2Y4.js → chunk-O7VK7CJX.js} +2 -2
- package/dist/bundle/{chunk-WFBTPZK3.js → chunk-OHV5RDFE.js} +4 -4
- package/dist/bundle/{chunk-HJEMHZRU.js → chunk-P5B7IFOG.js} +2 -2
- package/dist/bundle/{chunk-VWHRIGYJ.js → chunk-PBYDT3CG.js} +13 -3
- package/dist/bundle/{chunk-7IYDIU4P.js → chunk-PHPC72DP.js} +7 -7
- package/dist/bundle/{chunk-ID24SLH3.js → chunk-PKU6V4EQ.js} +17 -17
- package/dist/bundle/{chunk-P7P5MNAU.js → chunk-QZBT6BOU.js} +1 -1
- package/dist/bundle/{chunk-NL5LNYGX.js → chunk-RAZOSYEO.js} +23 -23
- package/dist/bundle/{chunk-CCNHVZ3G.js → chunk-RDSAI6DC.js} +398 -293
- package/dist/bundle/{chunk-CSI73XJ5.js → chunk-SAZJDKEI.js} +8 -8
- package/dist/bundle/{chunk-QX7RCLRS.js → chunk-SQLCCKEL.js} +1 -1
- package/dist/bundle/{chunk-ORYYYM5Y.js → chunk-TKJDGAHT.js} +23 -23
- package/dist/bundle/{chunk-RLSGMMGC.js → chunk-TPNC5VCJ.js} +4 -4
- package/dist/bundle/{chunk-IIO6NXCA.js → chunk-UAXBLHZK.js} +2 -2
- package/dist/bundle/{chunk-2NZGUKYK.js → chunk-VEAP5RVI.js} +10 -8
- package/dist/bundle/{chunk-6BNMEOVS.js → chunk-VF24ZAPX.js} +4 -4
- package/dist/bundle/{chunk-FFKNUVVD.js → chunk-WCL3WBH5.js} +3 -3
- package/dist/bundle/{chunk-M4NTQ247.js → chunk-WGK4AIRL.js} +12 -12
- package/dist/bundle/{chunk-OM4ZBLT7.js → chunk-XERTHQ6D.js} +88 -34
- package/dist/bundle/{chunk-6BR6JMCR.js → chunk-XZGLY2LU.js} +14 -14
- package/dist/bundle/{chunk-2LP46EUH.js → chunk-Y7JKWQC2.js} +96 -94
- package/dist/bundle/{chunk-F7KAJNNK.js → chunk-YBJMBPL7.js} +6 -6
- package/dist/bundle/{chunk-YYTWV5GU.js → chunk-ZMMIIBTM.js} +73 -57
- package/dist/bundle/{chunk-EOEYP7CJ.js → chunk-ZPGLWMNH.js} +3 -3
- package/dist/bundle/{chunk-UJYCKCFR.js → chunk-ZRYFEEXZ.js} +3 -3
- package/dist/bundle/command-contract-NZF4B5OR.js +34 -0
- package/dist/bundle/{decode-ON4KBMEX.js → decode-HVXDCQ63.js} +5 -5
- package/dist/bundle/{dispatch-EUKKT3PD.js → dispatch-GDAH4JHS.js} +8 -8
- package/dist/bundle/dist-43DZXMBL.js +134 -0
- package/dist/bundle/{echarts-XPA226QR.js → echarts-LZ74IXHG.js} +2 -2
- package/dist/bundle/{embed-QERDAB73.js → embed-OQF5U2C6.js} +6 -6
- package/dist/bundle/{embedder-I76YT3E5.js → embedder-OCWQAWKO.js} +9 -9
- package/dist/bundle/{failure-OAIC5VAP.js → failure-6COJAO7T.js} +2 -2
- package/dist/bundle/{first-run-KZJFR55N.js → first-run-MTZPUPGA.js} +11 -11
- package/dist/bundle/first-screen-4PBS6QK5.js +32 -0
- package/dist/bundle/{instructions-NN3BCFIM.js → instructions-M6F4FP7U.js} +1 -1
- package/dist/bundle/mail.js +12 -11
- package/dist/bundle/{mcp-L7SRVDRN.js → mcp-GAPDLFWA.js} +2 -2
- package/dist/bundle/{node-2S75QJ6B.js → node-NYBBFHGN.js} +2 -2
- package/dist/bundle/{node-sqlite-RC7WM3EG.js → node-sqlite-CWCNWO75.js} +5 -5
- package/dist/bundle/{oauth-FUHLZCKV.js → oauth-DVX45EME.js} +7 -7
- package/dist/bundle/{open-JOKT7LKY.js → open-M7EQWWHL.js} +4 -4
- package/dist/bundle/{openai-U3IMQ6UI.js → openai-63KRU5H2.js} +14 -14
- package/dist/bundle/{process-LKODK722.js → process-DV5GQIGM.js} +1 -1
- package/dist/bundle/{program-RMLIQXCA.js → program-EPR3QCMX.js} +20570 -7622
- package/dist/bundle/{prompt-23VYMNNB.js → prompt-EPWPWTB3.js} +5 -5
- package/dist/bundle/{recognize-TXO3462R.js → recognize-R46KDXK4.js} +4 -4
- package/dist/bundle/{remote-5F4ZOASM.js → remote-RENCYB5X.js} +7 -7
- package/dist/bundle/{rerank-TXSDPEFE.js → rerank-VHPC5O73.js} +7 -7
- package/dist/bundle/{serve-TWYECYWM.js → serve-KCH3ORYO.js} +9 -9
- package/dist/bundle/server-FMCPE2ZK.js +63 -0
- package/dist/bundle/{server-3S3BKE6D.js → server-HZVXSK7B.js} +38 -38
- package/dist/bundle/{sqlite-runtime-BEOBGC6K.js → sqlite-runtime-XP7ZJCKJ.js} +5 -5
- package/dist/bundle/{state-ERWIUTQQ.js → state-GQ4MEQJ5.js} +6 -6
- package/dist/bundle/{store-2JO4JGQL.js → store-CQNLNINW.js} +13 -13
- package/dist/bundle/{store-4RY5UMOP.js → store-WT7YTR3Y.js} +15 -15
- package/dist/bundle/store-maintenance-command-YYR42IT4.js +52 -0
- package/dist/commands/attachments.d.ts +3 -0
- package/dist/commands/attachments.d.ts.map +1 -0
- package/dist/commands/attachments.js +97 -0
- package/dist/commands/attachments.js.map +1 -0
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +11 -1
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/drafts-send.d.ts +7 -0
- package/dist/commands/drafts-send.d.ts.map +1 -0
- package/dist/commands/drafts-send.js +58 -0
- package/dist/commands/drafts-send.js.map +1 -0
- package/dist/commands/drafts.d.ts +3 -0
- package/dist/commands/drafts.d.ts.map +1 -0
- package/dist/commands/drafts.js +239 -0
- package/dist/commands/drafts.js.map +1 -0
- package/dist/commands/export.d.ts +3 -0
- package/dist/commands/export.d.ts.map +1 -0
- package/dist/commands/export.js +275 -0
- package/dist/commands/export.js.map +1 -0
- package/dist/commands/folders.d.ts.map +1 -1
- package/dist/commands/folders.js +120 -2
- package/dist/commands/folders.js.map +1 -1
- package/dist/commands/messages.d.ts +25 -0
- package/dist/commands/messages.d.ts.map +1 -0
- package/dist/commands/messages.js +502 -0
- package/dist/commands/messages.js.map +1 -0
- package/dist/commands/read.d.ts +4 -1
- package/dist/commands/read.d.ts.map +1 -1
- package/dist/commands/read.js +12 -2
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/rules.d.ts +3 -0
- package/dist/commands/rules.d.ts.map +1 -0
- package/dist/commands/rules.js +292 -0
- package/dist/commands/rules.js.map +1 -0
- package/dist/commands/send.d.ts +39 -0
- package/dist/commands/send.d.ts.map +1 -0
- package/dist/commands/send.js +309 -0
- package/dist/commands/send.js.map +1 -0
- package/dist/commands/server-search.d.ts +8 -0
- package/dist/commands/server-search.d.ts.map +1 -0
- package/dist/commands/server-search.js +38 -0
- package/dist/commands/server-search.js.map +1 -0
- package/dist/commands/stats.d.ts +3 -0
- package/dist/commands/stats.d.ts.map +1 -0
- package/dist/commands/stats.js +90 -0
- package/dist/commands/stats.js.map +1 -0
- package/dist/commands/sync.d.ts +7 -0
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +22 -7
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/tags.d.ts +3 -0
- package/dist/commands/tags.d.ts.map +1 -0
- package/dist/commands/tags.js +144 -0
- package/dist/commands/tags.js.map +1 -0
- package/dist/config.d.ts +13 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +47 -1
- package/dist/config.js.map +1 -1
- package/dist/export/format.d.ts +19 -0
- package/dist/export/format.d.ts.map +1 -0
- package/dist/export/format.js +40 -0
- package/dist/export/format.js.map +1 -0
- package/dist/export/journal.d.ts +32 -0
- package/dist/export/journal.d.ts.map +1 -0
- package/dist/export/journal.js +84 -0
- package/dist/export/journal.js.map +1 -0
- package/dist/export/write.d.ts +14 -0
- package/dist/export/write.d.ts.map +1 -0
- package/dist/export/write.js +42 -0
- package/dist/export/write.js.map +1 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +3 -0
- package/dist/identity.js.map +1 -1
- package/dist/mail/backend.d.ts +81 -1
- package/dist/mail/backend.d.ts.map +1 -1
- package/dist/mail/changes.d.ts +91 -0
- package/dist/mail/changes.d.ts.map +1 -0
- package/dist/mail/changes.js +198 -0
- package/dist/mail/changes.js.map +1 -0
- package/dist/mail/cleanup.d.ts +41 -0
- package/dist/mail/cleanup.d.ts.map +1 -0
- package/dist/mail/cleanup.js +119 -0
- package/dist/mail/cleanup.js.map +1 -0
- package/dist/mail/compose.d.ts +73 -0
- package/dist/mail/compose.d.ts.map +1 -0
- package/dist/mail/compose.js +122 -0
- package/dist/mail/compose.js.map +1 -0
- package/dist/mail/doctor.d.ts +25 -0
- package/dist/mail/doctor.d.ts.map +1 -0
- package/dist/mail/doctor.js +39 -0
- package/dist/mail/doctor.js.map +1 -0
- package/dist/mail/drafts.d.ts +54 -0
- package/dist/mail/drafts.d.ts.map +1 -0
- package/dist/mail/drafts.js +104 -0
- package/dist/mail/drafts.js.map +1 -0
- package/dist/mail/imap/connection.d.ts +7 -0
- package/dist/mail/imap/connection.d.ts.map +1 -1
- package/dist/mail/imap/connection.js +24 -2
- package/dist/mail/imap/connection.js.map +1 -1
- package/dist/mail/imap/index.d.ts +1 -1
- package/dist/mail/imap/index.d.ts.map +1 -1
- package/dist/mail/imap/index.js +12 -2
- package/dist/mail/imap/index.js.map +1 -1
- package/dist/mail/imap/messages.d.ts +5 -6
- package/dist/mail/imap/messages.d.ts.map +1 -1
- package/dist/mail/imap/messages.js +14 -28
- package/dist/mail/imap/messages.js.map +1 -1
- package/dist/mail/imap/read.d.ts.map +1 -1
- package/dist/mail/imap/read.js +27 -13
- package/dist/mail/imap/read.js.map +1 -1
- package/dist/mail/imap/search.d.ts +14 -0
- package/dist/mail/imap/search.d.ts.map +1 -0
- package/dist/mail/imap/search.js +49 -0
- package/dist/mail/imap/search.js.map +1 -0
- package/dist/mail/imap/write.d.ts +5 -0
- package/dist/mail/imap/write.d.ts.map +1 -0
- package/dist/mail/imap/write.js +93 -0
- package/dist/mail/imap/write.js.map +1 -0
- package/dist/mail/organise.d.ts +116 -0
- package/dist/mail/organise.d.ts.map +1 -0
- package/dist/mail/organise.js +531 -0
- package/dist/mail/organise.js.map +1 -0
- package/dist/mail/rethread.d.ts +1 -2
- package/dist/mail/rethread.d.ts.map +1 -1
- package/dist/mail/rethread.js +8 -3
- package/dist/mail/rethread.js.map +1 -1
- package/dist/mail/rules/apply.d.ts +40 -0
- package/dist/mail/rules/apply.d.ts.map +1 -0
- package/dist/mail/rules/apply.js +114 -0
- package/dist/mail/rules/apply.js.map +1 -0
- package/dist/mail/rules/file.d.ts +9 -0
- package/dist/mail/rules/file.d.ts.map +1 -0
- package/dist/mail/rules/file.js +51 -0
- package/dist/mail/rules/file.js.map +1 -0
- package/dist/mail/rules/filters.d.ts +11 -0
- package/dist/mail/rules/filters.d.ts.map +1 -0
- package/dist/mail/rules/filters.js +150 -0
- package/dist/mail/rules/filters.js.map +1 -0
- package/dist/mail/rules/folders.d.ts +11 -0
- package/dist/mail/rules/folders.d.ts.map +1 -0
- package/dist/mail/rules/folders.js +17 -0
- package/dist/mail/rules/folders.js.map +1 -0
- package/dist/mail/rules/query.d.ts +15 -0
- package/dist/mail/rules/query.d.ts.map +1 -0
- package/dist/mail/rules/query.js +103 -0
- package/dist/mail/rules/query.js.map +1 -0
- package/dist/mail/rules/store.d.ts +9 -0
- package/dist/mail/rules/store.d.ts.map +1 -0
- package/dist/mail/rules/store.js +17 -0
- package/dist/mail/rules/store.js.map +1 -0
- package/dist/mail/save.d.ts +12 -0
- package/dist/mail/save.d.ts.map +1 -0
- package/dist/mail/save.js +71 -0
- package/dist/mail/save.js.map +1 -0
- package/dist/mail/send.d.ts +67 -0
- package/dist/mail/send.d.ts.map +1 -0
- package/dist/mail/send.js +172 -0
- package/dist/mail/send.js.map +1 -0
- package/dist/mail/smtp.d.ts +4 -0
- package/dist/mail/smtp.d.ts.map +1 -0
- package/dist/mail/smtp.js +97 -0
- package/dist/mail/smtp.js.map +1 -0
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +28 -6
- package/dist/program.js.map +1 -1
- package/dist/providers.d.ts +71 -6
- package/dist/providers.d.ts.map +1 -1
- package/dist/providers.js +38 -9
- package/dist/providers.js.map +1 -1
- package/dist/reasons.d.ts +9 -0
- package/dist/reasons.d.ts.map +1 -0
- package/dist/reasons.js +21 -0
- package/dist/reasons.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +8 -5
- package/skills/mail-cli/SKILL.md +30 -3
- package/dist/bundle/chunk-XJ5TBPCK.js +0 -27
- package/dist/bundle/command-contract-L65UZ7AF.js +0 -34
- package/dist/bundle/first-screen-EORANEAK.js +0 -32
- package/dist/bundle/server-2GEAXKX2.js +0 -63
- package/dist/bundle/store-maintenance-command-T7D4OTN7.js +0 -52
- /package/dist/bundle/{chunk-NPGVOZVK.js → chunk-WJWLHLQ7.js} +0 -0
|
@@ -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-VF24ZAPX.js";
|
|
7
|
+
import "./chunk-JLRMSNPX.js";
|
|
8
|
+
import "./chunk-NXJLC2WK.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-BM445GYF.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.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
20
20
|
import { spawn } from "node:child_process";
|
|
21
21
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
22
22
|
import { createRequire } from "node:module";
|
|
@@ -13,22 +13,22 @@ import {
|
|
|
13
13
|
parseDescribe,
|
|
14
14
|
shimFiles,
|
|
15
15
|
writeShim
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FUB3X25H.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
18
|
import {
|
|
19
19
|
CliError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BM445GYF.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.71.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
|
|
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.71.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
|
|
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.71.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
|
|
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.71.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.71.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-6COJAO7T.js");
|
|
342
342
|
const object = errorObjectOf(error);
|
|
343
343
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
344
344
|
`);
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
PASTE_QR,
|
|
5
|
+
atTerminal,
|
|
6
|
+
bareCheck,
|
|
7
|
+
checkWords,
|
|
8
|
+
countedPoll,
|
|
9
|
+
loginQr,
|
|
10
|
+
parseMarkdown,
|
|
11
|
+
parseMarkdownSpans,
|
|
12
|
+
plainQr,
|
|
13
|
+
terminalQr
|
|
14
|
+
} from "./chunk-JKLQHPED.js";
|
|
15
|
+
import {
|
|
16
|
+
DETAILS,
|
|
17
|
+
REASONS,
|
|
18
|
+
failureContext
|
|
19
|
+
} from "./chunk-PBYDT3CG.js";
|
|
20
|
+
import {
|
|
21
|
+
pollLines,
|
|
22
|
+
renderMessage,
|
|
23
|
+
renderMessages
|
|
24
|
+
} from "./chunk-NOU6MWEM.js";
|
|
25
|
+
import {
|
|
26
|
+
ModerationRules,
|
|
27
|
+
act,
|
|
28
|
+
defaultRules,
|
|
29
|
+
isId,
|
|
30
|
+
judge,
|
|
31
|
+
moderationPathFor,
|
|
32
|
+
pickChat,
|
|
33
|
+
pickPerson,
|
|
34
|
+
validateFormattedText
|
|
35
|
+
} from "./chunk-5KHJUYHQ.js";
|
|
36
|
+
import {
|
|
37
|
+
readSecret
|
|
38
|
+
} from "./chunk-5AQKM47C.js";
|
|
39
|
+
import "./chunk-P5B7IFOG.js";
|
|
40
|
+
import "./chunk-HTQTIKWP.js";
|
|
41
|
+
import {
|
|
42
|
+
resolveOutput
|
|
43
|
+
} from "./chunk-J5MYH4L5.js";
|
|
44
|
+
import {
|
|
45
|
+
COUNTER_FIELDS,
|
|
46
|
+
FOLDER_PROVIDERS,
|
|
47
|
+
KINDS,
|
|
48
|
+
PROVIDERS,
|
|
49
|
+
UNKNOWN_PROVIDER,
|
|
50
|
+
canonicalReference,
|
|
51
|
+
counterValue,
|
|
52
|
+
formatLocator,
|
|
53
|
+
formatReference,
|
|
54
|
+
isFolderProvider,
|
|
55
|
+
isKind,
|
|
56
|
+
isLocator,
|
|
57
|
+
kindIn,
|
|
58
|
+
kindOf,
|
|
59
|
+
observedCounters,
|
|
60
|
+
parseLocator,
|
|
61
|
+
parseReference,
|
|
62
|
+
providerNamed,
|
|
63
|
+
providers,
|
|
64
|
+
rankingOptions,
|
|
65
|
+
useProviders
|
|
66
|
+
} from "./chunk-KUQYWIVR.js";
|
|
67
|
+
import {
|
|
68
|
+
TAG_TYPES,
|
|
69
|
+
canonicalMeetingReference,
|
|
70
|
+
formatMeetingReference,
|
|
71
|
+
normalizeTag,
|
|
72
|
+
parseMeetingReference
|
|
73
|
+
} from "./chunk-ZMMIIBTM.js";
|
|
74
|
+
import "./chunk-WJWLHLQ7.js";
|
|
75
|
+
import "./chunk-JLRMSNPX.js";
|
|
76
|
+
import "./chunk-NXJLC2WK.js";
|
|
77
|
+
import "./chunk-Y5E2WNWB.js";
|
|
78
|
+
import "./chunk-BM445GYF.js";
|
|
79
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
80
|
+
export {
|
|
81
|
+
DETAILS as CORE_DETAILS,
|
|
82
|
+
REASONS as CORE_REASONS,
|
|
83
|
+
COUNTER_FIELDS,
|
|
84
|
+
FOLDER_PROVIDERS,
|
|
85
|
+
KINDS,
|
|
86
|
+
ModerationRules,
|
|
87
|
+
PASTE_QR,
|
|
88
|
+
PROVIDERS,
|
|
89
|
+
TAG_TYPES,
|
|
90
|
+
UNKNOWN_PROVIDER,
|
|
91
|
+
act,
|
|
92
|
+
atTerminal,
|
|
93
|
+
bareCheck,
|
|
94
|
+
canonicalMeetingReference,
|
|
95
|
+
canonicalReference,
|
|
96
|
+
checkWords,
|
|
97
|
+
countedPoll,
|
|
98
|
+
counterValue,
|
|
99
|
+
defaultRules,
|
|
100
|
+
failureContext,
|
|
101
|
+
formatLocator,
|
|
102
|
+
formatMeetingReference,
|
|
103
|
+
formatReference,
|
|
104
|
+
isFolderProvider,
|
|
105
|
+
isId,
|
|
106
|
+
isKind,
|
|
107
|
+
isLocator,
|
|
108
|
+
judge,
|
|
109
|
+
kindIn,
|
|
110
|
+
kindOf,
|
|
111
|
+
loginQr,
|
|
112
|
+
moderationPathFor,
|
|
113
|
+
normalizeTag,
|
|
114
|
+
observedCounters,
|
|
115
|
+
parseLocator,
|
|
116
|
+
parseMarkdown,
|
|
117
|
+
parseMarkdownSpans,
|
|
118
|
+
parseMeetingReference,
|
|
119
|
+
parseReference,
|
|
120
|
+
pickChat,
|
|
121
|
+
pickPerson,
|
|
122
|
+
plainQr,
|
|
123
|
+
pollLines,
|
|
124
|
+
providerNamed,
|
|
125
|
+
providers,
|
|
126
|
+
rankingOptions,
|
|
127
|
+
readSecret,
|
|
128
|
+
renderMessage,
|
|
129
|
+
renderMessages,
|
|
130
|
+
resolveOutput,
|
|
131
|
+
terminalQr,
|
|
132
|
+
useProviders,
|
|
133
|
+
validateFormattedText
|
|
134
|
+
};
|
|
@@ -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.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/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.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/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-NZB4WGQS.js";
|
|
17
|
+
import "./chunk-OHV5RDFE.js";
|
|
18
|
+
import "./chunk-JIQAFFPV.js";
|
|
19
|
+
import "./chunk-JLRMSNPX.js";
|
|
20
|
+
import "./chunk-NXJLC2WK.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-BM445GYF.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-NZB4WGQS.js";
|
|
8
|
+
import "./chunk-OHV5RDFE.js";
|
|
9
|
+
import "./chunk-JIQAFFPV.js";
|
|
10
|
+
import "./chunk-JLRMSNPX.js";
|
|
11
|
+
import "./chunk-NXJLC2WK.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-BM445GYF.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.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/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.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/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.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/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-
|
|
8
|
+
} from "./chunk-WGK4AIRL.js";
|
|
9
|
+
import "./chunk-B337KHJ5.js";
|
|
10
|
+
import "./chunk-QZBT6BOU.js";
|
|
11
|
+
import "./chunk-H4VFIH5W.js";
|
|
12
|
+
import "./chunk-4PKHZQIM.js";
|
|
13
|
+
import "./chunk-YBJMBPL7.js";
|
|
14
|
+
import "./chunk-SQLCCKEL.js";
|
|
15
15
|
import "./chunk-D72URWJE.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-JIQAFFPV.js";
|
|
17
|
+
import "./chunk-JLRMSNPX.js";
|
|
18
|
+
import "./chunk-NXJLC2WK.js";
|
|
19
19
|
import "./chunk-Y5E2WNWB.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-BM445GYF.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-SAZJDKEI.js";
|
|
8
|
+
import "./chunk-PHPC72DP.js";
|
|
9
|
+
import "./chunk-Y7JKWQC2.js";
|
|
10
|
+
import "./chunk-HTQTIKWP.js";
|
|
11
|
+
import "./chunk-6MV2TBDB.js";
|
|
12
|
+
import "./chunk-J5MYH4L5.js";
|
|
13
|
+
import "./chunk-BVIHT7KR.js";
|
|
14
|
+
import "./chunk-H4VFIH5W.js";
|
|
15
|
+
import "./chunk-56PI2BRH.js";
|
|
16
|
+
import "./chunk-O555ZEQR.js";
|
|
17
|
+
import "./chunk-VEAP5RVI.js";
|
|
18
|
+
import "./chunk-ZMMIIBTM.js";
|
|
19
|
+
import "./chunk-YBJMBPL7.js";
|
|
20
|
+
import "./chunk-WJWLHLQ7.js";
|
|
21
|
+
import "./chunk-OHV5RDFE.js";
|
|
22
|
+
import "./chunk-JIQAFFPV.js";
|
|
23
|
+
import "./chunk-JLRMSNPX.js";
|
|
24
|
+
import "./chunk-NXJLC2WK.js";
|
|
25
|
+
import "./chunk-Y5E2WNWB.js";
|
|
26
|
+
import "./chunk-BM445GYF.js";
|
|
27
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
28
|
+
export {
|
|
29
|
+
WIRECAT_TOOLS,
|
|
30
|
+
firstScreen,
|
|
31
|
+
installHelp
|
|
32
|
+
};
|
package/dist/bundle/mail.js
CHANGED
|
@@ -3,10 +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-MD2J3POF.js";
|
|
7
7
|
import {
|
|
8
8
|
installerOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SQLCCKEL.js";
|
|
10
|
+
import "./chunk-WJWLHLQ7.js";
|
|
10
11
|
import {
|
|
11
12
|
DESCRIBE_FLAG,
|
|
12
13
|
DISPATCH_FLAG,
|
|
@@ -17,13 +18,13 @@ import {
|
|
|
17
18
|
fileState,
|
|
18
19
|
shimFiles,
|
|
19
20
|
writeShim
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-FUB3X25H.js";
|
|
22
|
+
import "./chunk-JLRMSNPX.js";
|
|
22
23
|
import {
|
|
23
24
|
catchCrashes
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NXJLC2WK.js";
|
|
25
26
|
import "./chunk-Y5E2WNWB.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-BM445GYF.js";
|
|
27
28
|
import {
|
|
28
29
|
__name
|
|
29
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -31,10 +32,10 @@ import {
|
|
|
31
32
|
// dist/bin/mail.js
|
|
32
33
|
import { enableCompileCache } from "node:module";
|
|
33
34
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
35
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.71.0_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
|
|
35
36
|
import { fileURLToPath } from "node:url";
|
|
36
37
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
38
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.71.0_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
|
|
38
39
|
import { readFileSync } from "node:fs";
|
|
39
40
|
import { basename, dirname, join, resolve } from "node:path";
|
|
40
41
|
var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
|
|
@@ -118,7 +119,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
|
|
|
118
119
|
}
|
|
119
120
|
}, "ensureLauncher");
|
|
120
121
|
|
|
121
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
122
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.71.0_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
|
|
122
123
|
var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
123
124
|
const argv = io.argv ?? process.argv;
|
|
124
125
|
const env = io.env ?? process.env;
|
|
@@ -131,7 +132,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
131
132
|
return { code: 0 };
|
|
132
133
|
}
|
|
133
134
|
if (first === DISPATCH_FLAG) {
|
|
134
|
-
const { runWcat } = await import("./dispatch-
|
|
135
|
+
const { runWcat } = await import("./dispatch-GDAH4JHS.js");
|
|
135
136
|
const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
|
|
136
137
|
return { code };
|
|
137
138
|
}
|
|
@@ -157,7 +158,7 @@ if (wcat.code !== void 0) {
|
|
|
157
158
|
process.exitCode = wcat.code;
|
|
158
159
|
} else {
|
|
159
160
|
const stopCatching = catchCrashes({ cli: IDENTITY.command, interactive: process.stdout.isTTY === true });
|
|
160
|
-
const { run } = await import("./program-
|
|
161
|
+
const { run } = await import("./program-EPR3QCMX.js");
|
|
161
162
|
try {
|
|
162
163
|
process.exitCode = await run(process.argv.slice(2));
|
|
163
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-QZBT6BOU.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.71.0_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-FIQOBLHS.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.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/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,16 +3,16 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-NCWO2FNC.js";
|
|
7
|
+
import "./chunk-JLRMSNPX.js";
|
|
8
|
+
import "./chunk-NXJLC2WK.js";
|
|
9
9
|
import "./chunk-Y5E2WNWB.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-BM445GYF.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
16
16
|
import { DatabaseSync } from "node:sqlite";
|
|
17
17
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
18
18
|
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-UAXBLHZK.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-TPNC5VCJ.js";
|
|
9
|
+
import "./chunk-ZPGLWMNH.js";
|
|
10
|
+
import "./chunk-56PI2BRH.js";
|
|
11
|
+
import "./chunk-JLRMSNPX.js";
|
|
12
|
+
import "./chunk-NXJLC2WK.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-BM445GYF.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
export {
|
|
17
17
|
ownerLogin,
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
openCache,
|
|
7
7
|
openFile,
|
|
8
8
|
storeCapable
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-DV4RSEAH.js";
|
|
10
|
+
import "./chunk-JLRMSNPX.js";
|
|
11
|
+
import "./chunk-NXJLC2WK.js";
|
|
12
12
|
import "./chunk-Y5E2WNWB.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-BM445GYF.js";
|
|
14
14
|
import "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
export {
|
|
16
16
|
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-VF24ZAPX.js";
|
|
7
|
+
import "./chunk-AGX7NR3S.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-ZRYFEEXZ.js";
|
|
11
|
+
import "./chunk-NZB4WGQS.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-OHV5RDFE.js";
|
|
19
|
+
import "./chunk-JIQAFFPV.js";
|
|
20
20
|
import {
|
|
21
21
|
DEFAULT_RETRY,
|
|
22
22
|
backoffMs
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-JLRMSNPX.js";
|
|
24
|
+
import "./chunk-NXJLC2WK.js";
|
|
25
25
|
import "./chunk-Y5E2WNWB.js";
|
|
26
26
|
import {
|
|
27
27
|
CliError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BM445GYF.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.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/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.71.0_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.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/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.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/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-R46KDXK4.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.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/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";
|