@wirecat/mail-cli 0.12.0 → 0.14.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 +38 -0
- package/README.md +4 -0
- package/dist/bin/mail.js +6 -2
- package/dist/bundle/{all-profiles-OJPRIFKU.js → all-profiles-O7HQNZOF.js} +10 -9
- package/dist/bundle/{anthropic-3AXHD4WH.js → anthropic-SNA6PTVO.js} +6 -6
- package/dist/bundle/{app-server-V4KHCUGE.js → app-server-LBKMJMKN.js} +48 -45
- package/dist/bundle/{bun-ISYNUTQJ.js → bun-KF5QK2YN.js} +2 -2
- package/dist/bundle/{bun-sqlite-FH3D4AXL.js → bun-sqlite-2DKMM2PT.js} +5 -5
- package/dist/bundle/{chunk-YDUES6ET.js → chunk-2A4BAMNF.js} +4 -4
- package/dist/bundle/{chunk-XTIQFMZH.js → chunk-2F7D6YMB.js} +4 -4
- package/dist/bundle/{chunk-SW5NVASW.js → chunk-2KVR7FF3.js} +12 -89
- package/dist/bundle/{chunk-JAWJZTFL.js → chunk-3EAAEF5U.js} +18 -18
- package/dist/bundle/{chunk-TTKNBUMT.js → chunk-3YGYB3LJ.js} +43 -6
- package/dist/bundle/{chunk-GYNHU56E.js → chunk-5C74F7XX.js} +4 -4
- package/dist/bundle/{chunk-5TACUBRJ.js → chunk-6CZQJ5XR.js} +8 -8
- package/dist/bundle/{chunk-OHC4GVWV.js → chunk-6EZ7XGRG.js} +2 -2
- package/dist/bundle/{chunk-6UT3MXOB.js → chunk-7GSE57K3.js} +3 -3
- package/dist/bundle/{chunk-AJ4JS2ZR.js → chunk-7LDC275M.js} +8 -7
- package/dist/bundle/{chunk-QPQSMJBW.js → chunk-AOVOIXGR.js} +10 -10
- package/dist/bundle/{chunk-DN54W657.js → chunk-B5XAETYU.js} +4 -4
- package/dist/bundle/chunk-BP3TZ4EY.js +91 -0
- package/dist/bundle/{chunk-4DPICEPQ.js → chunk-CCHHEMPM.js} +2 -2
- package/dist/bundle/chunk-DIP3ENSY.js +34 -0
- package/dist/bundle/{chunk-4GPPRLIG.js → chunk-DPKHVBP3.js} +5 -5
- package/dist/bundle/{chunk-K2F7YMMM.js → chunk-E7BTD4P6.js} +8 -13
- package/dist/bundle/{chunk-VEXXVLBM.js → chunk-ER6PJAPK.js} +3 -3
- package/dist/bundle/{chunk-JIIEJLAX.js → chunk-EW3XTUPB.js} +4 -4
- package/dist/bundle/{chunk-6LNRNQHJ.js → chunk-F5SZVO3A.js} +6 -4
- package/dist/bundle/{chunk-UDJIC6YL.js → chunk-FTGCXIQA.js} +54 -29
- package/dist/bundle/{chunk-V6K2GX2Y.js → chunk-G53HRGTK.js} +17 -17
- package/dist/bundle/{chunk-L3PVAY3M.js → chunk-H2ZURG7Q.js} +2 -2
- package/dist/bundle/{chunk-F3QDSQ7V.js → chunk-H7OQ4YZV.js} +27 -26
- package/dist/bundle/{chunk-S64N24ON.js → chunk-I62OTHDE.js} +3 -3
- package/dist/bundle/{chunk-AO32MFDY.js → chunk-I7EWIIBC.js} +2 -2
- package/dist/bundle/{chunk-JNUKTAMZ.js → chunk-ILHTNOIV.js} +1 -1
- package/dist/bundle/{chunk-GAIVTJ3E.js → chunk-IPKXRW6W.js} +24 -23
- package/dist/bundle/{chunk-NSDOYHIS.js → chunk-IVDUR5Y4.js} +20 -8
- package/dist/bundle/{chunk-KJP2B65C.js → chunk-KBFIKUCA.js} +29 -28
- package/dist/bundle/{chunk-IWHXM2S7.js → chunk-KLLKDOO2.js} +3207 -1149
- package/dist/bundle/{chunk-4D52FA34.js → chunk-KQ5P5NLL.js} +1 -1
- package/dist/bundle/{chunk-PLPSFJO6.js → chunk-M2YIJDBL.js} +6 -6
- package/dist/bundle/{chunk-IG2WXKIT.js → chunk-MQK2UNG4.js} +8 -8
- package/dist/bundle/{chunk-YRZ23RCS.js → chunk-MXG4L7NH.js} +249 -8
- package/dist/bundle/{chunk-LXHLQ6RK.js → chunk-NGZW2JPK.js} +7 -9
- package/dist/bundle/{chunk-GFCNSU3B.js → chunk-NVQUK2DH.js} +176 -47
- package/dist/bundle/{chunk-6QNPJSRM.js → chunk-OGK7LMYT.js} +6 -6
- package/dist/bundle/{chunk-N6P55LDU.js → chunk-P547HU26.js} +10 -10
- package/dist/bundle/{chunk-NBQQ2ZTF.js → chunk-P62Z3Q35.js} +14 -14
- package/dist/bundle/{chunk-TZGQPTZ2.js → chunk-PQLBPYJR.js} +1 -1
- package/dist/bundle/{chunk-BYQ3Z6UL.js → chunk-Q5EYTU3Q.js} +3 -3
- package/dist/bundle/{chunk-PSXAC6OO.js → chunk-QWRBAQZ7.js} +1 -1
- package/dist/bundle/{chunk-QB54TE52.js → chunk-QZXHMQCM.js} +1 -1
- package/dist/bundle/{chunk-FYMQPAE5.js → chunk-RE5SEGSR.js} +4 -4
- package/dist/bundle/{chunk-KVN4RY7E.js → chunk-UHHARH5X.js} +421 -205
- package/dist/bundle/{chunk-44LVUMS2.js → chunk-UJEO3VWA.js} +1 -1
- package/dist/bundle/{chunk-IXYKM7OJ.js → chunk-UMWR5PKA.js} +13 -13
- package/dist/bundle/{chunk-WL7CYT7O.js → chunk-V5ZID7KC.js} +1 -1
- package/dist/bundle/{chunk-2TTCKOQ7.js → chunk-VA3JKERH.js} +2 -2
- package/dist/bundle/{chunk-G2WDY5XB.js → chunk-VERSKGJV.js} +2 -2
- package/dist/bundle/{chunk-GUFWLTOW.js → chunk-W643XZIR.js} +2 -2
- package/dist/bundle/{chunk-X37KLD23.js → chunk-WBJQEB6E.js} +12 -12
- package/dist/bundle/{chunk-SYBMOE6F.js → chunk-WVWNKZI4.js} +6195 -5014
- package/dist/bundle/chunk-X5XIFNTI.js +35 -0
- package/dist/bundle/{chunk-LIQ5LICB.js → chunk-XPREXN3W.js} +3 -3
- package/dist/bundle/{chunk-35Y3INBK.js → chunk-XRJIQC6P.js} +2 -2
- package/dist/bundle/{chunk-T3AGR4TI.js → chunk-YG4OI3HJ.js} +966 -204
- package/dist/bundle/{chunk-HVVLSCFB.js → chunk-ZCPUKUST.js} +1 -1
- package/dist/bundle/command-contract-B3OGAIDB.js +34 -0
- package/dist/bundle/{decode-FM4C2WWG.js → decode-X7Y2VSYZ.js} +5 -5
- package/dist/bundle/{dispatch-K3HG4RYT.js → dispatch-OWNO2CMC.js} +8 -8
- package/dist/bundle/{dist-7LNVI7VB.js → dist-L7FNC74Q.js} +42 -13
- package/dist/bundle/{echarts-5C2A72XM.js → echarts-5AB3LFVD.js} +2 -2
- package/dist/bundle/{embed-N56P6YVY.js → embed-VBS5LRCE.js} +6 -6
- package/dist/bundle/{embedder-QLYKFLOL.js → embedder-VFSYBDKK.js} +9 -9
- package/dist/bundle/{failure-5ZLVZTRU.js → failure-E534GZDF.js} +2 -2
- package/dist/bundle/{first-run-VMF4PJ7Q.js → first-run-NO2ODH2W.js} +11 -11
- package/dist/bundle/first-screen-7VJLGMJJ.js +32 -0
- package/dist/bundle/{instructions-QA5FHDOJ.js → instructions-52W6ZQTU.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-LO2XDBBC.js → mcp-MNI62HHE.js} +2 -2
- package/dist/bundle/{node-OXJZWUYZ.js → node-TL2PBNKO.js} +2 -2
- package/dist/bundle/{node-sqlite-7GCEI67B.js → node-sqlite-757HNQAD.js} +11 -5
- package/dist/bundle/{oauth-VTPIYBTP.js → oauth-VDRNJ7KN.js} +7 -7
- package/dist/bundle/{open-7XX3YF2X.js → open-NUWYOKPO.js} +5 -4
- package/dist/bundle/{openai-D3KRCXSY.js → openai-YLBFVK5X.js} +14 -14
- package/dist/bundle/{process-KFI7SXQD.js → process-PWAGP6YY.js} +1 -1
- package/dist/bundle/{program-4B25STRN.js → program-PPUPVL7O.js} +2253 -885
- package/dist/bundle/{prompt-TBZT3APW.js → prompt-M5U66RVJ.js} +5 -5
- package/dist/bundle/{recognize-WQSE5ZPL.js → recognize-DCMDZA2U.js} +4 -4
- package/dist/bundle/{remote-J5HHRNVQ.js → remote-4SHI5WJG.js} +7 -7
- package/dist/bundle/{rerank-DP2Y3WDT.js → rerank-DYMZMNPQ.js} +7 -7
- package/dist/bundle/{serve-VXPOQDQO.js → serve-HO3WME4G.js} +11 -10
- package/dist/bundle/server-244FHPY4.js +64 -0
- package/dist/bundle/{server-OSBNGA2F.js → server-R3TIPRZN.js} +39 -37
- package/dist/bundle/{sqlite-runtime-XY32WOIT.js → sqlite-runtime-DWRITUIH.js} +6 -5
- package/dist/bundle/{state-KPOPMR6O.js → state-QOMUDOGF.js} +6 -6
- package/dist/bundle/{store-FWRGNGP3.js → store-LHHMOE5V.js} +36 -18
- package/dist/bundle/{store-UBI2YCRC.js → store-RGO6IABA.js} +17 -13
- package/dist/bundle/store-maintenance-command-LU2ZBDUY.js +54 -0
- package/dist/commands/session.js +1 -1
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +12 -7
- package/dist/commands/status.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.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-MDIRW3AT.js +0 -18
- package/dist/bundle/command-contract-TW44FY47.js +0 -33
- package/dist/bundle/first-screen-ZN7ODW5K.js +0 -31
- package/dist/bundle/server-XHWSCXVX.js +0 -62
- package/dist/bundle/store-maintenance-command-3ZXPEIGF.js +0 -52
- /package/dist/bundle/{chunk-MRLSUCHT.js → chunk-NUN6OGOV.js} +0 -0
|
@@ -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-RE5SEGSR.js";
|
|
7
|
+
import "./chunk-UMWR5PKA.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-7GSE57K3.js";
|
|
11
|
+
import "./chunk-OGK7LMYT.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-F5SZVO3A.js";
|
|
19
|
+
import "./chunk-X5XIFNTI.js";
|
|
20
20
|
import {
|
|
21
21
|
DEFAULT_RETRY,
|
|
22
22
|
backoffMs
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-3EAAEF5U.js";
|
|
24
|
+
import "./chunk-IVDUR5Y4.js";
|
|
25
25
|
import "./chunk-Y5E2WNWB.js";
|
|
26
26
|
import {
|
|
27
27
|
CliError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CCHHEMPM.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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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.75.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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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-DCMDZA2U.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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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";
|