@wirecat/mail-cli 0.24.0 → 0.25.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 +13 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-VS7P6DJY.js → all-profiles-QEV2PSOR.js} +9 -9
- package/dist/bundle/{anthropic-C5JXKGBS.js → anthropic-5NKQXIHM.js} +16 -9
- package/dist/bundle/{app-server-HU3LVU42.js → app-server-G2CJNT4R.js} +56 -45
- package/dist/bundle/{bun-QLFX47WZ.js → bun-6HBYWQIX.js} +2 -2
- package/dist/bundle/{bun-sqlite-W4PGAKVY.js → bun-sqlite-DXIQ7BVR.js} +8 -4
- package/dist/bundle/{chunk-U6MMQNNK.js → chunk-37F6QYTO.js} +5 -5
- package/dist/bundle/{chunk-5NLHDK7P.js → chunk-3XVR2ROR.js} +30 -30
- package/dist/bundle/{chunk-TI7ZIPA2.js → chunk-434YOD6A.js} +3 -3
- package/dist/bundle/{chunk-NCRSE647.js → chunk-5QYK3LWS.js} +57 -25
- package/dist/bundle/{chunk-WOX7FZJP.js → chunk-5ZYFV6FD.js} +82 -61
- package/dist/bundle/chunk-7GLJSJ7M.js +16 -0
- package/dist/bundle/{chunk-XBEO472U.js → chunk-A6BPOX5O.js} +11804 -10024
- package/dist/bundle/{chunk-VVL4MKYH.js → chunk-ADKMBXY4.js} +1 -1
- package/dist/bundle/{chunk-PRQ2U7HF.js → chunk-B7SWTH5O.js} +2 -2
- package/dist/bundle/{chunk-64ZG5ERD.js → chunk-BC7PFQL7.js} +2 -2
- package/dist/bundle/{chunk-Q6K2XUGU.js → chunk-CBYBZCQP.js} +1 -1
- package/dist/bundle/{chunk-ZO4MQWIK.js → chunk-CIWWNBVW.js} +7 -7
- package/dist/bundle/{chunk-Q4OKEN3B.js → chunk-DIA56CS7.js} +7 -6
- package/dist/bundle/{chunk-QI3PXUOJ.js → chunk-EXVY76VO.js} +36 -30
- package/dist/bundle/{chunk-RNZKQMFY.js → chunk-FZZD4AFY.js} +11 -11
- package/dist/bundle/{chunk-5X3GU5LI.js → chunk-G5LHHAW2.js} +5 -5
- package/dist/bundle/{chunk-YI544LHI.js → chunk-GJRYZXBN.js} +8 -8
- package/dist/bundle/{chunk-NSIN5IM4.js → chunk-GY4XCLCO.js} +9 -14
- package/dist/bundle/{chunk-IRUN4XOV.js → chunk-HEIDAHRC.js} +2 -2
- package/dist/bundle/{chunk-4QNHAM3J.js → chunk-HEYVMAAQ.js} +1 -1
- package/dist/bundle/{chunk-RLQZFZLK.js → chunk-HJSJBNCJ.js} +61 -6
- package/dist/bundle/{chunk-H5FJTHVA.js → chunk-HLXVUMZJ.js} +2 -2
- package/dist/bundle/{chunk-DW3F6DUW.js → chunk-IACWKZWS.js} +1 -1
- package/dist/bundle/{chunk-JOQGJUFT.js → chunk-IXO4SCKE.js} +1 -1
- package/dist/bundle/{chunk-X7J3TTDO.js → chunk-IZOYW4Z4.js} +24 -0
- package/dist/bundle/{chunk-6PWCQKMD.js → chunk-J4OYK4WL.js} +13 -13
- package/dist/bundle/{chunk-ZR2BDNGG.js → chunk-JG4MNYG2.js} +1 -1
- package/dist/bundle/{chunk-JMLIKXFO.js → chunk-K2OGF7KC.js} +1 -1
- package/dist/bundle/chunk-K6HR6HCO.js +32 -0
- package/dist/bundle/{chunk-FKWUUCX2.js → chunk-KFB2X6KE.js} +385 -178
- package/dist/bundle/{chunk-3FD3IATT.js → chunk-KK4HD3SI.js} +5 -5
- package/dist/bundle/{chunk-HBZAJINU.js → chunk-L4QVOEOB.js} +2 -2
- package/dist/bundle/chunk-LGZPKKBN.js +53 -0
- package/dist/bundle/{chunk-O373QEAJ.js → chunk-MBFPFWCO.js} +25 -25
- package/dist/bundle/{chunk-SWKQ6IAR.js → chunk-MWGH3M46.js} +2 -2
- package/dist/bundle/{chunk-C5BMCLCQ.js → chunk-ND5H5ADM.js} +3 -3
- package/dist/bundle/{chunk-EKGRNFYQ.js → chunk-NMZQTYKJ.js} +1 -1
- package/dist/bundle/{chunk-RUASZW3M.js → chunk-OLKCJBZY.js} +4 -4
- package/dist/bundle/{chunk-MTO6YVMN.js → chunk-OLLIWNFG.js} +3 -3
- package/dist/bundle/{chunk-X47BL4M5.js → chunk-P6GXNT7Z.js} +12 -12
- package/dist/bundle/{chunk-YBQ5AYLZ.js → chunk-PGC5TRH6.js} +3 -3
- package/dist/bundle/{chunk-RN7OI5KL.js → chunk-PHHH2NQP.js} +14 -8
- package/dist/bundle/{chunk-KGOVFEWZ.js → chunk-PP3YOAWG.js} +2 -2
- package/dist/bundle/{chunk-YA45XV6G.js → chunk-PQMJ5BXH.js} +4 -4
- package/dist/bundle/{chunk-NWKKPDZV.js → chunk-QB3DP2TN.js} +1 -1
- package/dist/bundle/{chunk-BFQQV22T.js → chunk-QQUY4MZY.js} +1 -1
- package/dist/bundle/{chunk-VNKWSCN7.js → chunk-S2QRAKQI.js} +16 -16
- package/dist/bundle/{chunk-6VV7J2TN.js → chunk-SMTBV62X.js} +31 -26
- package/dist/bundle/{chunk-A6J4MPTI.js → chunk-T27IMG6X.js} +1 -1
- package/dist/bundle/{chunk-FNLUKODV.js → chunk-TY644DKQ.js} +1 -1
- package/dist/bundle/{chunk-3KSK5BBB.js → chunk-U6IQ6YQ2.js} +1 -1
- package/dist/bundle/{chunk-PT6MF2VU.js → chunk-VFU7PVPQ.js} +336 -106
- package/dist/bundle/{chunk-QVMOEB3I.js → chunk-VL6H2BND.js} +13 -13
- package/dist/bundle/{chunk-OQW6GHUA.js → chunk-WOAYHCM2.js} +1 -1
- package/dist/bundle/{chunk-TLEBSMC7.js → chunk-WX6OYVCH.js} +3968 -3527
- package/dist/bundle/{chunk-C3NYJW6B.js → chunk-XMDEM6BZ.js} +631 -79
- package/dist/bundle/{chunk-AUTX2MLF.js → chunk-XQYKIZMG.js} +11 -9
- package/dist/bundle/{chunk-KV4VTKF3.js → chunk-YNS2YVUR.js} +68 -5
- package/dist/bundle/{chunk-JWMLMAHP.js → chunk-Z5T6OW3V.js} +13 -4
- package/dist/bundle/command-contract-XSW2Q33S.js +36 -0
- package/dist/bundle/{command-server-entry-5E3PPDE5.js → command-server-entry-XMSSY5ID.js} +23 -22
- package/dist/bundle/{decode-AVWV7SVZ.js → decode-RYGB4PGT.js} +4 -4
- package/dist/bundle/{dispatch-BXPHSNK5.js → dispatch-PLQOIZG5.js} +1 -1
- package/dist/bundle/{dist-PIOOKBWT.js → dist-GY2AQETI.js} +23 -16
- package/dist/bundle/{echarts-7K6YQV52.js → echarts-7CM2MCMW.js} +2 -2
- package/dist/bundle/{embed-4NT76GJK.js → embed-FTBDPOPT.js} +5 -5
- package/dist/bundle/{embedder-ITQFF7EN.js → embedder-B43WGNBD.js} +8 -8
- package/dist/bundle/{failure-3Q65JOPD.js → failure-XP5QYV2T.js} +1 -1
- package/dist/bundle/{first-run-PM74YU4X.js → first-run-XIIUARNM.js} +9 -8
- package/dist/bundle/first-screen-Z7HC6PQU.js +34 -0
- package/dist/bundle/{instructions-JDSITYHV.js → instructions-R7OHVAWH.js} +1 -1
- package/dist/bundle/mail.js +5 -5
- package/dist/bundle/{node-D6YIJOJI.js → node-3N2JGZ7V.js} +2 -2
- package/dist/bundle/{node-sqlite-PJOHHB4X.js → node-sqlite-WFJXW3CZ.js} +9 -5
- package/dist/bundle/{oauth-BOWJ3IBT.js → oauth-SVJLQTWV.js} +6 -6
- package/dist/bundle/{open-FIAKKZMW.js → open-ZDONVKSX.js} +4 -4
- package/dist/bundle/{openai-QL54VVLC.js → openai-XVEW6XOU.js} +17 -13
- package/dist/bundle/{process-AYHK7WRC.js → process-YAHHUFR5.js} +1 -1
- package/dist/bundle/{program-6FKWOTBK.js → program-HU2UVMJE.js} +5742 -5008
- package/dist/bundle/{prompt-XJZCBELC.js → prompt-JAJ2CUJI.js} +4 -4
- package/dist/bundle/{recognize-OQKWAHBY.js → recognize-UFBWUNFR.js} +3 -3
- package/dist/bundle/{remote-NLVUZ5WK.js → remote-2GFOVLCR.js} +8 -6
- package/dist/bundle/{rerank-NRPZDTJ7.js → rerank-BGPSMXTL.js} +6 -6
- package/dist/bundle/{serve-O4YUI7F6.js → serve-CB3XJTH3.js} +8 -8
- package/dist/bundle/server-34GEF22R.js +68 -0
- package/dist/bundle/{server-WAL3M4OO.js → server-M7FQY7TX.js} +38 -36
- package/dist/bundle/{sqlite-runtime-5YHGI4D4.js → sqlite-runtime-AEV6PGDR.js} +5 -5
- package/dist/bundle/{state-WYYOJ7KK.js → state-YLBEQLBI.js} +5 -5
- package/dist/bundle/{store-6BJO3F2J.js → store-CDUL3HKK.js} +17 -14
- package/dist/bundle/{store-X72GOJHD.js → store-EKWKY6GG.js} +22 -17
- package/dist/bundle/store-maintenance-command-XH2JUM5F.js +58 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/chunk-B72343TK.js +0 -35
- package/dist/bundle/command-contract-ERYYPAD2.js +0 -35
- package/dist/bundle/first-screen-WBVGVSMY.js +0 -33
- package/dist/bundle/server-6OT5ZEWL.js +0 -66
- package/dist/bundle/store-maintenance-command-ASS7RBYC.js +0 -54
package/dist/bundle/mail.js
CHANGED
|
@@ -3,7 +3,7 @@ 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-BC7PFQL7.js";
|
|
7
7
|
import {
|
|
8
8
|
installerOf
|
|
9
9
|
} from "./chunk-RX5CJ55S.js";
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
shimFiles,
|
|
20
20
|
writeShim
|
|
21
21
|
} from "./chunk-4W4EVVL4.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-TY644DKQ.js";
|
|
23
23
|
import {
|
|
24
24
|
catchCrashes
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IZOYW4Z4.js";
|
|
26
26
|
import "./chunk-Y5E2WNWB.js";
|
|
27
27
|
import "./chunk-VUBZFMGP.js";
|
|
28
28
|
import {
|
|
@@ -137,7 +137,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
137
137
|
return { code: 0 };
|
|
138
138
|
}
|
|
139
139
|
if (first === DISPATCH_FLAG) {
|
|
140
|
-
const { runWcat } = await import("./dispatch-
|
|
140
|
+
const { runWcat } = await import("./dispatch-PLQOIZG5.js");
|
|
141
141
|
const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
|
|
142
142
|
return { code };
|
|
143
143
|
}
|
|
@@ -182,7 +182,7 @@ if (wcat.code !== void 0) {
|
|
|
182
182
|
process.exitCode = wcat.code;
|
|
183
183
|
} else {
|
|
184
184
|
const stopCatching = catchCrashes({ cli: IDENTITY.command, interactive: process.stdout.isTTY === true });
|
|
185
|
-
const { run } = await import("./program-
|
|
185
|
+
const { run } = await import("./program-HU2UVMJE.js");
|
|
186
186
|
try {
|
|
187
187
|
process.exitCode = await run(process.argv.slice(2));
|
|
188
188
|
} finally {
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IXO4SCKE.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.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/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,23 +3,27 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K2OGF7KC.js";
|
|
7
|
+
import {
|
|
8
|
+
refuseOwnerStoreInTests
|
|
9
|
+
} from "./chunk-LGZPKKBN.js";
|
|
7
10
|
import {
|
|
8
11
|
TIME_LIMIT_FUNCTION,
|
|
9
12
|
beforeTimeLimit
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-T27IMG6X.js";
|
|
14
|
+
import "./chunk-TY644DKQ.js";
|
|
15
|
+
import "./chunk-IZOYW4Z4.js";
|
|
13
16
|
import "./chunk-Y5E2WNWB.js";
|
|
14
17
|
import "./chunk-VUBZFMGP.js";
|
|
15
18
|
import {
|
|
16
19
|
__name
|
|
17
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
21
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
20
23
|
import { DatabaseSync } from "node:sqlite";
|
|
21
24
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
22
25
|
var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
|
|
26
|
+
refuseOwnerStoreInTests(path);
|
|
23
27
|
const extension = await vectorExtension();
|
|
24
28
|
const client = new DatabaseSync(path, { readOnly, allowExtension: true });
|
|
25
29
|
try {
|
|
@@ -3,13 +3,13 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
ownerLogin,
|
|
5
5
|
revokeAll
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B7SWTH5O.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-PQMJ5BXH.js";
|
|
9
|
+
import "./chunk-PGC5TRH6.js";
|
|
10
|
+
import "./chunk-IACWKZWS.js";
|
|
11
|
+
import "./chunk-TY644DKQ.js";
|
|
12
|
+
import "./chunk-IZOYW4Z4.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
14
|
import "./chunk-VUBZFMGP.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -6,10 +6,10 @@ 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-37F6QYTO.js";
|
|
10
|
+
import "./chunk-T27IMG6X.js";
|
|
11
|
+
import "./chunk-TY644DKQ.js";
|
|
12
|
+
import "./chunk-IZOYW4Z4.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
14
|
import "./chunk-VUBZFMGP.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -6,25 +6,28 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
SAMPLE_RATE,
|
|
8
8
|
toModelRate
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ND5H5ADM.js";
|
|
10
|
+
import "./chunk-P6GXNT7Z.js";
|
|
11
11
|
import {
|
|
12
|
-
OPENAI_URL
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
OPENAI_URL,
|
|
13
|
+
refuseModelAddress
|
|
14
|
+
} from "./chunk-YNS2YVUR.js";
|
|
15
|
+
import "./chunk-K6HR6HCO.js";
|
|
16
|
+
import "./chunk-KK4HD3SI.js";
|
|
17
|
+
import "./chunk-G5LHHAW2.js";
|
|
15
18
|
import {
|
|
16
19
|
OPENAI_TRANSCRIBE_MODEL,
|
|
17
20
|
VAD,
|
|
18
21
|
filesPresent,
|
|
19
22
|
modelsDirectory,
|
|
20
23
|
vadPath
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-434YOD6A.js";
|
|
25
|
+
import "./chunk-LGZPKKBN.js";
|
|
23
26
|
import {
|
|
24
27
|
DEFAULT_RETRY,
|
|
25
28
|
backoffMs
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-TY644DKQ.js";
|
|
30
|
+
import "./chunk-IZOYW4Z4.js";
|
|
28
31
|
import "./chunk-Y5E2WNWB.js";
|
|
29
32
|
import {
|
|
30
33
|
CliError
|
|
@@ -33,10 +36,10 @@ import {
|
|
|
33
36
|
__name
|
|
34
37
|
} from "./chunk-ZVVMGPBJ.js";
|
|
35
38
|
|
|
36
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
37
40
|
import { setTimeout as wait } from "node:timers/promises";
|
|
38
41
|
|
|
39
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
40
43
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
41
44
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
42
45
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -57,7 +60,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
57
60
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
58
61
|
}, "encodeWav");
|
|
59
62
|
|
|
60
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
63
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
61
64
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
62
65
|
var JOINED_SECONDS = 0.2;
|
|
63
66
|
var PAD_SECONDS = 0.2;
|
|
@@ -179,7 +182,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
179
182
|
return pieces;
|
|
180
183
|
}, "piecesOf");
|
|
181
184
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
182
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
185
|
+
const { openSpeechCutter } = await import("./recognize-UFBWUNFR.js");
|
|
183
186
|
return openSpeechCutter(vadModel);
|
|
184
187
|
}, "openCutter");
|
|
185
188
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -188,6 +191,7 @@ var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
|
188
191
|
throw new CliError("validation_error", "a keyword must be a non-empty single line without < or > \u2014 OpenAI refuses the whole request otherwise");
|
|
189
192
|
}, "checkKeywords");
|
|
190
193
|
var transcribeOpenAI = /* @__PURE__ */ __name(async (audio, options) => {
|
|
194
|
+
refuseModelAddress(options.env ?? process.env, options.baseUrl ?? OPENAI_URL, "audio");
|
|
191
195
|
if (!options.apiKey)
|
|
192
196
|
throw new CliError("authentication_error", "no OpenAI key \u2014 `models keys set openai`, or OPENAI_API_KEY", {
|
|
193
197
|
reason: "transcription.no-key"
|
|
@@ -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.647.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_a46df5420a4458268e3f15f3e8c41b99/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";
|