@wirecat/mail-cli 0.33.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 +39 -0
- package/README.md +4 -1
- package/contracts/wirecat.json +54 -4
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/agent-KWLCQCSC.js +39 -0
- package/dist/bundle/{all-profiles-W3CGXEEJ.js → all-profiles-6BDSMVOO.js} +63 -21
- package/dist/bundle/{anthropic-UMDO5AKP.js → anthropic-C3XUXUCJ.js} +8 -8
- package/dist/bundle/{app-server-4SICQ5RP.js → app-server-GUHDK4OR.js} +82 -64
- package/dist/bundle/{bun-QVVCH4MJ.js → bun-FN7AM4AG.js} +2 -2
- package/dist/bundle/{bun-sqlite-CHD4AIUK.js → bun-sqlite-56IVBF22.js} +6 -6
- package/dist/bundle/{chunk-HFFHL7SV.js → chunk-2B67TUIF.js} +101 -69
- package/dist/bundle/{chunk-OOYIPK4F.js → chunk-2UNQTKRH.js} +1 -1
- package/dist/bundle/{chunk-LXUHYDNE.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-2BFXHCZW.js → chunk-3WAZKCDF.js} +2 -2
- package/dist/bundle/{chunk-LKGJMM6W.js → chunk-46SBNO67.js} +12 -63
- package/dist/bundle/{chunk-LB5FTCPZ.js → chunk-4IASS7NQ.js} +128 -10
- package/dist/bundle/chunk-4U5ODZO7.js +360 -0
- package/dist/bundle/{chunk-QN423PC6.js → chunk-5WYBI35N.js} +3 -3
- package/dist/bundle/{chunk-GZYICXO4.js → chunk-5XQI7WCJ.js} +1 -1
- package/dist/bundle/{chunk-JUYUWMTG.js → chunk-635AFLZO.js} +4 -4
- package/dist/bundle/{chunk-2P44S7XK.js → chunk-6B4WZVLN.js} +36 -28
- package/dist/bundle/{chunk-47YNANPZ.js → chunk-6Q5THDNW.js} +3 -3
- package/dist/bundle/chunk-6VARUB3J.js +787 -0
- package/dist/bundle/{chunk-BRRHYXUP.js → chunk-7FXZKQAC.js} +87 -76
- package/dist/bundle/{chunk-EW3JFV7J.js → chunk-7JVKQ6NM.js} +4 -4
- package/dist/bundle/{chunk-OWAJN74H.js → chunk-7KMI47AP.js} +106 -257
- package/dist/bundle/{chunk-BF73DBAA.js → chunk-7PXAUMK5.js} +30 -15
- package/dist/bundle/{chunk-UX76GMQM.js → chunk-7YMLEWTX.js} +43 -64
- package/dist/bundle/{chunk-2L6D54BR.js → chunk-AISQNKT7.js} +8 -8
- package/dist/bundle/chunk-AV2ZJ4WX.js +7 -0
- package/dist/bundle/{chunk-OFMYFFEF.js → chunk-AXKIXVQA.js} +991 -1609
- package/dist/bundle/{chunk-UAV74EY4.js → chunk-CDGVYQXG.js} +1 -1
- package/dist/bundle/{chunk-RXUVXAMM.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/chunk-CMGZXBJW.js +259 -0
- package/dist/bundle/{chunk-H46MANPR.js → chunk-DD2P67NP.js} +3 -3
- package/dist/bundle/{chunk-IBIFX2LK.js → chunk-DFHUJTP5.js} +2 -2
- package/dist/bundle/{chunk-DI74RP6R.js → chunk-DREU6TN6.js} +31 -85
- package/dist/bundle/{chunk-XQXYAOBV.js → chunk-DZHEVVXA.js} +53 -33
- package/dist/bundle/{chunk-LFBD6RTX.js → chunk-E6HSSKRX.js} +4 -4
- package/dist/bundle/{chunk-UYZDH5LK.js → chunk-EHAXFDDP.js} +1 -1
- package/dist/bundle/chunk-EU4J6GCJ.js +52 -0
- package/dist/bundle/{chunk-CHNNKHLL.js → chunk-EX4Z7CCO.js} +4051 -2788
- package/dist/bundle/chunk-G662S2M4.js +559 -0
- package/dist/bundle/{chunk-XN5KH24X.js → chunk-GG634DR3.js} +5 -5
- package/dist/bundle/{chunk-FSMCXQH2.js → chunk-GU3PYIV2.js} +2 -2
- package/dist/bundle/{chunk-SW7YGW3T.js → chunk-HF5QWKK2.js} +18 -8
- package/dist/bundle/chunk-HJDIMVFW.js +108 -0
- package/dist/bundle/chunk-HKWZG7CZ.js +334 -0
- package/dist/bundle/{chunk-BI5P7JWM.js → chunk-HM6AMYHR.js} +2 -2
- package/dist/bundle/{chunk-35AH33VJ.js → chunk-HVXOA4FO.js} +1 -1
- package/dist/bundle/{chunk-LXAX6AZU.js → chunk-I3QZCQJT.js} +6 -6
- package/dist/bundle/{chunk-I3UAD4EI.js → chunk-ILEKGH44.js} +68 -59
- package/dist/bundle/{chunk-SDWYOYGN.js → chunk-J5ULUTWE.js} +4 -4
- package/dist/bundle/{chunk-TK77DCE5.js → chunk-L4RCWRWS.js} +1 -1
- package/dist/bundle/chunk-MCJYJIH5.js +192 -0
- package/dist/bundle/{chunk-S6CHYNFE.js → chunk-NEDS4ORI.js} +2 -2
- package/dist/bundle/{chunk-QO7BK4WD.js → chunk-ODQCRZX5.js} +35 -12
- package/dist/bundle/chunk-OO4OKMNB.js +80 -0
- package/dist/bundle/{chunk-JCQ47WR4.js → chunk-OOQFBRNR.js} +144 -10
- package/dist/bundle/{chunk-LACMDMDI.js → chunk-OTP2HJ67.js} +9 -9
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-AEKWEYIG.js → chunk-PQDQCCGG.js} +19 -19
- package/dist/bundle/{chunk-BZY5W35X.js → chunk-Q5U2HIBJ.js} +7 -7
- package/dist/bundle/{chunk-74BYHR44.js → chunk-QFMKCU42.js} +3738 -3415
- package/dist/bundle/{chunk-SYUIAMVA.js → chunk-QYCMB7JY.js} +373 -533
- package/dist/bundle/{chunk-KLLT572M.js → chunk-RBV2AM52.js} +2 -100
- package/dist/bundle/{chunk-6VCQ4CTK.js → chunk-RJNKM3CQ.js} +1 -1
- package/dist/bundle/{chunk-6IS4BEN4.js → chunk-RQHWSNX4.js} +4 -4
- package/dist/bundle/chunk-RQJGX7F7.js +170 -0
- package/dist/bundle/{chunk-RENCSP47.js → chunk-TARNPINT.js} +3 -3
- package/dist/bundle/chunk-TP2BCK2Z.js +721 -0
- package/dist/bundle/{chunk-MJ7DUSHT.js → chunk-TP766H4O.js} +18 -14
- package/dist/bundle/{chunk-2X344EUT.js → chunk-UHGKN5US.js} +8 -8
- package/dist/bundle/{chunk-L3MKFI3Y.js → chunk-UWDRU3R6.js} +2 -2
- package/dist/bundle/chunk-V4O47JV6.js +72 -0
- package/dist/bundle/{chunk-CIG4UVP6.js → chunk-W4JYGMTU.js} +14 -13
- package/dist/bundle/{chunk-JADBHKBP.js → chunk-W7ICCFG5.js} +1 -1
- package/dist/bundle/{chunk-MNJ3BMPZ.js → chunk-WDEVKKAD.js} +3 -3
- package/dist/bundle/{chunk-TBZLGT7R.js → chunk-WZKM5I7B.js} +23 -119
- package/dist/bundle/{chunk-MT7T5N2N.js → chunk-XKKYRMGG.js} +4 -4
- package/dist/bundle/chunk-XQNKAM26.js +338 -0
- package/dist/bundle/{chunk-UWF3SSRL.js → chunk-YA44BG3N.js} +58 -9
- package/dist/bundle/{chunk-Y2P2LC5R.js → chunk-YCIWSKOH.js} +9 -9
- package/dist/bundle/{chunk-7OYZU5SP.js → chunk-YQTRKNZQ.js} +4 -4
- package/dist/bundle/chunk-YRAJFTFU.js +353 -0
- package/dist/bundle/chunk-YTI533XF.js +29 -0
- package/dist/bundle/{chunk-UG2QDGAH.js → chunk-ZMYRPMAJ.js} +1 -1
- package/dist/bundle/{chunk-CZ6ZXDSO.js → chunk-ZX7HZDD6.js} +182 -562
- package/dist/bundle/{chunk-IPSLQX64.js → chunk-ZYEU35MB.js} +2 -2
- package/dist/bundle/command-contract-D5UXWHMS.js +39 -0
- package/dist/bundle/{command-server-entry-G2ZHCN5J.js → command-server-entry-TPJ47FYS.js} +28 -25
- package/dist/bundle/decode-XHUASXQK.js +296 -0
- package/dist/bundle/{dispatch-RHIK22OA.js → dispatch-MQZHGGVP.js} +8 -8
- package/dist/bundle/{dist-X5G2IMYG.js → dist-BAE4IQ52.js} +34 -29
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-UZJ6AREV.js → echarts-U7Z2PKIG.js} +2 -2
- package/dist/bundle/{embed-FEXLUH3T.js → embed-W7GPB6EI.js} +6 -6
- package/dist/bundle/{embedder-NHQARKFJ.js → embedder-T72XLFQ5.js} +9 -9
- package/dist/bundle/{failure-7DIA4OET.js → failure-MP6VKL5Y.js} +2 -2
- package/dist/bundle/{first-run-PS5NR2QG.js → first-run-C44TJXRI.js} +12 -12
- package/dist/bundle/first-screen-IESI7DAU.js +39 -0
- package/dist/bundle/{instructions-SDDUBGH4.js → instructions-WGMWQNPP.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-GN4FTJX5.js → mcp-YGOAUNC3.js} +2 -2
- package/dist/bundle/meeting-combined-XGZBSWIQ.js +24 -0
- package/dist/bundle/meeting-model-QVHLD4WI.js +24 -0
- package/dist/bundle/meeting-semantic-QKQHUHXX.js +21 -0
- package/dist/bundle/{node-ELCNUOCE.js → node-WANDMJJQ.js} +2 -2
- package/dist/bundle/{node-sqlite-2E5MKZMH.js → node-sqlite-NM5XA4DR.js} +7 -7
- package/dist/bundle/{oauth-JGPEIY3M.js → oauth-6E63ELEE.js} +8 -8
- package/dist/bundle/{open-6DEMCZAB.js → open-5542RTLE.js} +5 -5
- package/dist/bundle/{openai-IVKDU5AH.js → openai-NOYNPFB5.js} +28 -26
- package/dist/bundle/{process-67DAKAAQ.js → process-7AEXXSBX.js} +1 -1
- package/dist/bundle/{program-ESJDQMAJ.js → program-VMA5CGNR.js} +5712 -3640
- package/dist/bundle/{prompt-ZBWOT5KG.js → prompt-WYYO4AJL.js} +5 -5
- package/dist/bundle/{recognize-UUBH2DOH.js → recognize-UGCCOMAS.js} +4 -4
- package/dist/bundle/{remote-UYTNWNOB.js → remote-VZS6BNQB.js} +9 -9
- package/dist/bundle/{rerank-X2633CQN.js → rerank-O46D5GJ2.js} +7 -7
- package/dist/bundle/{serve-CP7Q4OVW.js → serve-QAAF2LCW.js} +10 -10
- package/dist/bundle/server-456MYK3X.js +84 -0
- package/dist/bundle/{server-I7MXRSAG.js → server-Q3PUZLLX.js} +77 -58
- package/dist/bundle/{sqlite-runtime-BX55LI5G.js → sqlite-runtime-EQBCDO2U.js} +6 -6
- package/dist/bundle/{state-LLNJQXFH.js → state-XIOHYXCR.js} +6 -6
- package/dist/bundle/{store-N27XI3VV.js → store-OXJZZUR7.js} +34 -17
- package/dist/bundle/{store-K4KU5N75.js → store-VJBL5XKR.js} +30 -20
- 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 +6 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -1
- package/dist/config.js.map +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +2 -2
- package/dist/identity.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-BDCC2J2Z.js +0 -2
- package/dist/bundle/command-contract-NRNQAFFE.js +0 -36
- package/dist/bundle/decode-U6V6D6XH.js +0 -162
- package/dist/bundle/first-screen-C2WTLOG2.js +0 -34
- package/dist/bundle/server-QGTMJ7SF.js +0 -67
- package/dist/bundle/store-maintenance-command-VPAFQCNA.js +0 -58
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
SAMPLE_RATE,
|
|
5
|
-
decodeOgg
|
|
6
|
-
} from "./chunk-MT7T5N2N.js";
|
|
7
|
-
import "./chunk-BRRHYXUP.js";
|
|
8
|
-
import "./chunk-UWF3SSRL.js";
|
|
9
|
-
import {
|
|
10
|
-
importFrom
|
|
11
|
-
} from "./chunk-Y5E2WNWB.js";
|
|
12
|
-
import {
|
|
13
|
-
CliError
|
|
14
|
-
} from "./chunk-BI5P7JWM.js";
|
|
15
|
-
import {
|
|
16
|
-
__name
|
|
17
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
18
|
-
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
20
|
-
import { spawn } from "node:child_process";
|
|
21
|
-
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
22
|
-
import { createRequire } from "node:module";
|
|
23
|
-
import { tmpdir } from "node:os";
|
|
24
|
-
import { join } from "node:path";
|
|
25
|
-
import { pathToFileURL } from "node:url";
|
|
26
|
-
var LONGEST_AUDIO_SECONDS = 3600;
|
|
27
|
-
var FFMPEG_TIMEOUT_MS = 12e4;
|
|
28
|
-
var FFMPEG_FORMATS = "mov,mp4,m4a,3gp,3g2,mj2,aac,mp3,wav,amr,caf,aiff,flac,ogg,matroska,webm,asf";
|
|
29
|
-
var text = /* @__PURE__ */ __name((bytes, from, length) => String.fromCharCode(...bytes.subarray(from, from + length)), "text");
|
|
30
|
-
var contains = /* @__PURE__ */ __name((bytes, needle, within) => Buffer.from(bytes.buffer, bytes.byteOffset, Math.min(bytes.length, within)).includes(needle, 0, "latin1"), "contains");
|
|
31
|
-
var formatOf = /* @__PURE__ */ __name((bytes) => {
|
|
32
|
-
if (text(bytes, 0, 4) === "OggS") {
|
|
33
|
-
if (contains(bytes, "OpusHead", 128))
|
|
34
|
-
return "opus";
|
|
35
|
-
if (contains(bytes, "vorbis", 128))
|
|
36
|
-
return "vorbis";
|
|
37
|
-
return "other";
|
|
38
|
-
}
|
|
39
|
-
if (text(bytes, 0, 4) === "fLaC")
|
|
40
|
-
return "flac";
|
|
41
|
-
const frame = bytes[0] === 255 && ((bytes[1] ?? 0) & 224) === 224 && ((bytes[1] ?? 0) >> 1 & 3) !== 0;
|
|
42
|
-
if (text(bytes, 0, 3) === "ID3" || frame)
|
|
43
|
-
return "mp3";
|
|
44
|
-
return "other";
|
|
45
|
-
}, "formatOf");
|
|
46
|
-
var everyChannel = /* @__PURE__ */ __name((decoded) => {
|
|
47
|
-
if (!decoded.channelData[0] || decoded.samplesDecoded === 0)
|
|
48
|
-
throw new CliError("validation_error", "no audio in that file");
|
|
49
|
-
return decoded.channelData.map((samples) => ({ samples, rate: decoded.sampleRate }));
|
|
50
|
-
}, "everyChannel");
|
|
51
|
-
var load = /* @__PURE__ */ __name((name) => importFrom(new URL("speech/decode.js", import.meta.resolve("@wirecat/cli-core")).href, pathToFileURL(createRequire(new URL("speech/decode.js", import.meta.resolve("@wirecat/cli-core")).href).resolve(name)).href), "load");
|
|
52
|
-
var decodeVorbis = /* @__PURE__ */ __name(async (bytes) => {
|
|
53
|
-
const { OggVorbisDecoder } = await load("@wasm-audio-decoders/ogg-vorbis");
|
|
54
|
-
const decoder = new OggVorbisDecoder();
|
|
55
|
-
await decoder.ready;
|
|
56
|
-
try {
|
|
57
|
-
return everyChannel(await decoder.decodeFile(bytes));
|
|
58
|
-
} finally {
|
|
59
|
-
decoder.free();
|
|
60
|
-
}
|
|
61
|
-
}, "decodeVorbis");
|
|
62
|
-
var decodeFlac = /* @__PURE__ */ __name(async (bytes) => {
|
|
63
|
-
const { FLACDecoder } = await load("@wasm-audio-decoders/flac");
|
|
64
|
-
const decoder = new FLACDecoder();
|
|
65
|
-
await decoder.ready;
|
|
66
|
-
try {
|
|
67
|
-
return everyChannel(await decoder.decodeFile(bytes));
|
|
68
|
-
} finally {
|
|
69
|
-
decoder.free();
|
|
70
|
-
}
|
|
71
|
-
}, "decodeFlac");
|
|
72
|
-
var decodeMp3 = /* @__PURE__ */ __name(async (bytes) => {
|
|
73
|
-
const { MPEGDecoder } = await load("mpg123-decoder");
|
|
74
|
-
const decoder = new MPEGDecoder();
|
|
75
|
-
await decoder.ready;
|
|
76
|
-
try {
|
|
77
|
-
return everyChannel(decoder.decode(bytes));
|
|
78
|
-
} finally {
|
|
79
|
-
decoder.free();
|
|
80
|
-
}
|
|
81
|
-
}, "decodeMp3");
|
|
82
|
-
var runFfmpeg = /* @__PURE__ */ __name(async (bytes) => {
|
|
83
|
-
const directory = await mkdtemp(join(tmpdir(), "wirecat-audio-"));
|
|
84
|
-
try {
|
|
85
|
-
const input = join(directory, "audio");
|
|
86
|
-
await writeFile(input, bytes, { mode: 384 });
|
|
87
|
-
const largest = LONGEST_AUDIO_SECONDS * SAMPLE_RATE * 4;
|
|
88
|
-
const output = await new Promise((resolve, reject) => {
|
|
89
|
-
const child = spawn("ffmpeg", [
|
|
90
|
-
"-nostdin",
|
|
91
|
-
"-hide_banner",
|
|
92
|
-
"-loglevel",
|
|
93
|
-
"error",
|
|
94
|
-
"-protocol_whitelist",
|
|
95
|
-
"file",
|
|
96
|
-
"-format_whitelist",
|
|
97
|
-
FFMPEG_FORMATS,
|
|
98
|
-
"-i",
|
|
99
|
-
input,
|
|
100
|
-
"-vn",
|
|
101
|
-
"-ac",
|
|
102
|
-
"1",
|
|
103
|
-
"-ar",
|
|
104
|
-
String(SAMPLE_RATE),
|
|
105
|
-
"-f",
|
|
106
|
-
"f32le",
|
|
107
|
-
"pipe:1"
|
|
108
|
-
], { stdio: ["ignore", "pipe", "pipe"], timeout: FFMPEG_TIMEOUT_MS });
|
|
109
|
-
const chunks = [];
|
|
110
|
-
let size = 0;
|
|
111
|
-
let errors = "";
|
|
112
|
-
child.stdout.on("data", (chunk) => {
|
|
113
|
-
size += chunk.length;
|
|
114
|
-
if (size > largest)
|
|
115
|
-
child.kill();
|
|
116
|
-
else
|
|
117
|
-
chunks.push(chunk);
|
|
118
|
-
});
|
|
119
|
-
child.stderr.on("data", (chunk) => {
|
|
120
|
-
errors = (errors + chunk.toString()).slice(-500);
|
|
121
|
-
});
|
|
122
|
-
child.on("error", (error) => reject(error.code === "ENOENT" ? new CliError("validation_error", "only ffmpeg reads this audio format, and ffmpeg is not installed") : error));
|
|
123
|
-
child.on("close", (code) => {
|
|
124
|
-
if (size > largest)
|
|
125
|
-
reject(new CliError("validation_error", `the audio is longer than ${LONGEST_AUDIO_SECONDS / 60} minutes`));
|
|
126
|
-
else if (code === 0)
|
|
127
|
-
resolve(Buffer.concat(chunks));
|
|
128
|
-
else
|
|
129
|
-
reject(new CliError("validation_error", `ffmpeg could not read the audio: ${errors.trim() || code}`));
|
|
130
|
-
});
|
|
131
|
-
});
|
|
132
|
-
const samples = new Float32Array(Math.floor(output.length / 4));
|
|
133
|
-
Buffer.from(samples.buffer).set(output.subarray(0, samples.length * 4));
|
|
134
|
-
return { samples, rate: SAMPLE_RATE };
|
|
135
|
-
} finally {
|
|
136
|
-
await rm(directory, { recursive: true, force: true });
|
|
137
|
-
}
|
|
138
|
-
}, "runFfmpeg");
|
|
139
|
-
var BUNDLED = {
|
|
140
|
-
opus: decodeOgg,
|
|
141
|
-
vorbis: decodeVorbis,
|
|
142
|
-
flac: decodeFlac,
|
|
143
|
-
mp3: decodeMp3
|
|
144
|
-
};
|
|
145
|
-
var tooLong = /* @__PURE__ */ __name((pcm) => pcm.samples.length / pcm.rate > LONGEST_AUDIO_SECONDS, "tooLong");
|
|
146
|
-
var decodeChannels = /* @__PURE__ */ __name(async (bytes, ffmpeg = runFfmpeg) => {
|
|
147
|
-
const format = formatOf(bytes);
|
|
148
|
-
const decoded = format === "other" ? { channels: [await ffmpeg(bytes)], mixed: true } : await BUNDLED[format](bytes).then((channels) => ({ channels, mixed: false }), (error) => ffmpeg(bytes).then((pcm) => ({ channels: [pcm], mixed: true }), () => {
|
|
149
|
-
throw error;
|
|
150
|
-
}));
|
|
151
|
-
if (decoded.channels.some(tooLong))
|
|
152
|
-
throw new CliError("validation_error", `the audio is longer than ${LONGEST_AUDIO_SECONDS / 60} minutes`);
|
|
153
|
-
return decoded;
|
|
154
|
-
}, "decodeChannels");
|
|
155
|
-
var decodeAudio = /* @__PURE__ */ __name(async (bytes, ffmpeg = runFfmpeg) => (await decodeChannels(bytes, ffmpeg)).channels[0], "decodeAudio");
|
|
156
|
-
export {
|
|
157
|
-
LONGEST_AUDIO_SECONDS,
|
|
158
|
-
decodeAudio,
|
|
159
|
-
decodeChannels,
|
|
160
|
-
formatOf,
|
|
161
|
-
runFfmpeg
|
|
162
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
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-LKGJMM6W.js";
|
|
8
|
-
import "./chunk-XN5KH24X.js";
|
|
9
|
-
import "./chunk-HTQTIKWP.js";
|
|
10
|
-
import "./chunk-SYUIAMVA.js";
|
|
11
|
-
import "./chunk-SW7YGW3T.js";
|
|
12
|
-
import "./chunk-2X344EUT.js";
|
|
13
|
-
import "./chunk-UG2QDGAH.js";
|
|
14
|
-
import "./chunk-MNJ3BMPZ.js";
|
|
15
|
-
import "./chunk-H46MANPR.js";
|
|
16
|
-
import "./chunk-XQXYAOBV.js";
|
|
17
|
-
import "./chunk-OFMYFFEF.js";
|
|
18
|
-
import "./chunk-L3MKFI3Y.js";
|
|
19
|
-
import "./chunk-LXUHYDNE.js";
|
|
20
|
-
import "./chunk-JCQ47WR4.js";
|
|
21
|
-
import "./chunk-BZY5W35X.js";
|
|
22
|
-
import "./chunk-JUYUWMTG.js";
|
|
23
|
-
import "./chunk-BDCC2J2Z.js";
|
|
24
|
-
import "./chunk-IPSLQX64.js";
|
|
25
|
-
import "./chunk-BRRHYXUP.js";
|
|
26
|
-
import "./chunk-UWF3SSRL.js";
|
|
27
|
-
import "./chunk-Y5E2WNWB.js";
|
|
28
|
-
import "./chunk-BI5P7JWM.js";
|
|
29
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
30
|
-
export {
|
|
31
|
-
WIRECAT_TOOLS,
|
|
32
|
-
firstScreen,
|
|
33
|
-
installHelp
|
|
34
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
PER_RUN,
|
|
5
|
-
createServer,
|
|
6
|
-
envelope,
|
|
7
|
-
serveOverHttpUntilStopped,
|
|
8
|
-
serveOverStdio
|
|
9
|
-
} from "./chunk-I3UAD4EI.js";
|
|
10
|
-
import "./chunk-2P44S7XK.js";
|
|
11
|
-
import "./chunk-UAV74EY4.js";
|
|
12
|
-
import "./chunk-CZ6ZXDSO.js";
|
|
13
|
-
import "./chunk-OWAJN74H.js";
|
|
14
|
-
import "./chunk-LB5FTCPZ.js";
|
|
15
|
-
import "./chunk-6VCQ4CTK.js";
|
|
16
|
-
import "./chunk-KLLT572M.js";
|
|
17
|
-
import "./chunk-5D4AEUVA.js";
|
|
18
|
-
import "./chunk-7OYZU5SP.js";
|
|
19
|
-
import "./chunk-TBZLGT7R.js";
|
|
20
|
-
import "./chunk-74BYHR44.js";
|
|
21
|
-
import "./chunk-BF73DBAA.js";
|
|
22
|
-
import "./chunk-Y2P2LC5R.js";
|
|
23
|
-
import "./chunk-SDWYOYGN.js";
|
|
24
|
-
import "./chunk-RENCSP47.js";
|
|
25
|
-
import "./chunk-S6CHYNFE.js";
|
|
26
|
-
import "./chunk-XN5KH24X.js";
|
|
27
|
-
import "./chunk-SYUIAMVA.js";
|
|
28
|
-
import "./chunk-SW7YGW3T.js";
|
|
29
|
-
import "./chunk-2X344EUT.js";
|
|
30
|
-
import "./chunk-UG2QDGAH.js";
|
|
31
|
-
import "./chunk-6IS4BEN4.js";
|
|
32
|
-
import "./chunk-RXUVXAMM.js";
|
|
33
|
-
import "./chunk-MNJ3BMPZ.js";
|
|
34
|
-
import "./chunk-AEKWEYIG.js";
|
|
35
|
-
import "./chunk-H46MANPR.js";
|
|
36
|
-
import "./chunk-CHNNKHLL.js";
|
|
37
|
-
import "./chunk-DI74RP6R.js";
|
|
38
|
-
import "./chunk-XQXYAOBV.js";
|
|
39
|
-
import "./chunk-OFMYFFEF.js";
|
|
40
|
-
import "./chunk-L3MKFI3Y.js";
|
|
41
|
-
import "./chunk-LXUHYDNE.js";
|
|
42
|
-
import "./chunk-QO7BK4WD.js";
|
|
43
|
-
import "./chunk-TK77DCE5.js";
|
|
44
|
-
import "./chunk-LACMDMDI.js";
|
|
45
|
-
import "./chunk-JCQ47WR4.js";
|
|
46
|
-
import "./chunk-BZY5W35X.js";
|
|
47
|
-
import "./chunk-UX76GMQM.js";
|
|
48
|
-
import "./chunk-JUYUWMTG.js";
|
|
49
|
-
import "./chunk-35AH33VJ.js";
|
|
50
|
-
import "./chunk-BDCC2J2Z.js";
|
|
51
|
-
import "./chunk-D72URWJE.js";
|
|
52
|
-
import "./chunk-IPSLQX64.js";
|
|
53
|
-
import "./chunk-LXAX6AZU.js";
|
|
54
|
-
import "./chunk-OOYIPK4F.js";
|
|
55
|
-
import "./chunk-BRRHYXUP.js";
|
|
56
|
-
import "./chunk-UWF3SSRL.js";
|
|
57
|
-
import "./chunk-Y5E2WNWB.js";
|
|
58
|
-
import "./chunk-BI5P7JWM.js";
|
|
59
|
-
import "./chunk-JADBHKBP.js";
|
|
60
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
61
|
-
export {
|
|
62
|
-
PER_RUN,
|
|
63
|
-
createServer,
|
|
64
|
-
envelope,
|
|
65
|
-
serveOverHttpUntilStopped,
|
|
66
|
-
serveOverStdio
|
|
67
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
addStoreMaintenanceCommands,
|
|
5
|
-
buildStems,
|
|
6
|
-
storeMaintenanceCommands,
|
|
7
|
-
storeSummary
|
|
8
|
-
} from "./chunk-HFFHL7SV.js";
|
|
9
|
-
import "./chunk-2BFXHCZW.js";
|
|
10
|
-
import "./chunk-TBZLGT7R.js";
|
|
11
|
-
import "./chunk-74BYHR44.js";
|
|
12
|
-
import "./chunk-BF73DBAA.js";
|
|
13
|
-
import "./chunk-Y2P2LC5R.js";
|
|
14
|
-
import "./chunk-SDWYOYGN.js";
|
|
15
|
-
import "./chunk-RENCSP47.js";
|
|
16
|
-
import "./chunk-QN423PC6.js";
|
|
17
|
-
import "./chunk-S6CHYNFE.js";
|
|
18
|
-
import "./chunk-HTQTIKWP.js";
|
|
19
|
-
import "./chunk-SYUIAMVA.js";
|
|
20
|
-
import "./chunk-SW7YGW3T.js";
|
|
21
|
-
import "./chunk-2X344EUT.js";
|
|
22
|
-
import "./chunk-UG2QDGAH.js";
|
|
23
|
-
import "./chunk-6IS4BEN4.js";
|
|
24
|
-
import "./chunk-RXUVXAMM.js";
|
|
25
|
-
import "./chunk-MNJ3BMPZ.js";
|
|
26
|
-
import "./chunk-AEKWEYIG.js";
|
|
27
|
-
import "./chunk-H46MANPR.js";
|
|
28
|
-
import "./chunk-CHNNKHLL.js";
|
|
29
|
-
import "./chunk-DI74RP6R.js";
|
|
30
|
-
import "./chunk-XQXYAOBV.js";
|
|
31
|
-
import "./chunk-OFMYFFEF.js";
|
|
32
|
-
import "./chunk-L3MKFI3Y.js";
|
|
33
|
-
import "./chunk-LXUHYDNE.js";
|
|
34
|
-
import "./chunk-QO7BK4WD.js";
|
|
35
|
-
import "./chunk-TK77DCE5.js";
|
|
36
|
-
import "./chunk-LACMDMDI.js";
|
|
37
|
-
import "./chunk-JCQ47WR4.js";
|
|
38
|
-
import "./chunk-BZY5W35X.js";
|
|
39
|
-
import "./chunk-UX76GMQM.js";
|
|
40
|
-
import "./chunk-JUYUWMTG.js";
|
|
41
|
-
import "./chunk-35AH33VJ.js";
|
|
42
|
-
import "./chunk-BDCC2J2Z.js";
|
|
43
|
-
import "./chunk-D72URWJE.js";
|
|
44
|
-
import "./chunk-IPSLQX64.js";
|
|
45
|
-
import "./chunk-LXAX6AZU.js";
|
|
46
|
-
import "./chunk-OOYIPK4F.js";
|
|
47
|
-
import "./chunk-BRRHYXUP.js";
|
|
48
|
-
import "./chunk-UWF3SSRL.js";
|
|
49
|
-
import "./chunk-Y5E2WNWB.js";
|
|
50
|
-
import "./chunk-BI5P7JWM.js";
|
|
51
|
-
import "./chunk-JADBHKBP.js";
|
|
52
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
53
|
-
export {
|
|
54
|
-
addStoreMaintenanceCommands,
|
|
55
|
-
buildStems,
|
|
56
|
-
storeMaintenanceCommands,
|
|
57
|
-
storeSummary
|
|
58
|
-
};
|