@wirecat/mail-cli 0.7.0 → 0.9.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 +28 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-SI67TKZM.js → all-profiles-X6ROLLMF.js} +9 -9
- package/dist/bundle/{anthropic-DALMLC3Y.js → anthropic-MPARKCMJ.js} +6 -6
- package/dist/bundle/{app-server-XOH327Z2.js → app-server-JQ5XCXWT.js} +48 -48
- package/dist/bundle/{bun-ORL67CJ6.js → bun-H7LT5433.js} +2 -2
- package/dist/bundle/{bun-sqlite-DGXFNFHI.js → bun-sqlite-AGK2BHAN.js} +5 -5
- package/dist/bundle/{chunk-35KD2CI2.js → chunk-24MHYGNE.js} +286 -252
- package/dist/bundle/{chunk-XQJWMBDY.js → chunk-25N52S7U.js} +6 -6
- package/dist/bundle/{chunk-VNJMO5F6.js → chunk-2FDROA4Q.js} +2 -2
- package/dist/bundle/{chunk-CAKBG5FC.js → chunk-3LMWAO6A.js} +6 -6
- package/dist/bundle/{chunk-AP7V256W.js → chunk-3W6VSSQQ.js} +1 -1
- package/dist/bundle/{chunk-U6UJ3HRS.js → chunk-3Y7H3CXI.js} +2 -2
- package/dist/bundle/{chunk-GJUUTUK4.js → chunk-4EFKQXA5.js} +8 -8
- package/dist/bundle/{chunk-BEMLGWY4.js → chunk-4MIC7S7B.js} +1 -1
- package/dist/bundle/{chunk-VKPWP3AK.js → chunk-5NYUCY5W.js} +2 -2
- package/dist/bundle/{chunk-23IEVVL2.js → chunk-5PWKPRTD.js} +4 -4
- package/dist/bundle/{chunk-E3DRM6YP.js → chunk-64FN5JK6.js} +3 -3
- package/dist/bundle/{chunk-IYZHM3ZN.js → chunk-65SVO3T7.js} +3 -3
- package/dist/bundle/{chunk-NNIXREJH.js → chunk-6FBBDIX6.js} +7 -7
- package/dist/bundle/{chunk-PDL4UREY.js → chunk-BNPCRWZ6.js} +8 -8
- package/dist/bundle/{chunk-JFMUI4H6.js → chunk-CHK3V7FG.js} +1 -1
- package/dist/bundle/{chunk-7K6KJWTO.js → chunk-DL32PWLR.js} +12 -12
- package/dist/bundle/{chunk-SQLCCKEL.js → chunk-DLB2JPLU.js} +1 -1
- package/dist/bundle/{chunk-MMXMVGA6.js → chunk-DQHAXX33.js} +7 -7
- package/dist/bundle/{chunk-VBOMKZ4E.js → chunk-EUJTQY43.js} +70 -53
- package/dist/bundle/{chunk-M2JCUVCJ.js → chunk-EVG7MOAH.js} +94 -94
- package/dist/bundle/{chunk-OHTR4WFO.js → chunk-FEA5E7WQ.js} +2 -2
- package/dist/bundle/{chunk-6XNPXAJU.js → chunk-FUDHVV4R.js} +23 -23
- package/dist/bundle/{chunk-5BSEGMNE.js → chunk-GPCKNZIA.js} +4 -4
- package/dist/bundle/{chunk-2M4K7HYR.js → chunk-HWLAV2HM.js} +17 -17
- package/dist/bundle/{chunk-Q44AYEOB.js → chunk-HZ42NO25.js} +2 -2
- package/dist/bundle/{chunk-EYT33MM3.js → chunk-INVEYTAL.js} +46 -46
- package/dist/bundle/{chunk-FPOGVDLS.js → chunk-IYC3IHEZ.js} +2 -2
- package/dist/bundle/{chunk-MHQKHWCJ.js → chunk-J4MY3QIN.js} +34 -28
- package/dist/bundle/{chunk-73OJJGZE.js → chunk-JYVZDJNO.js} +17 -3
- package/dist/bundle/{chunk-BGUMGCUY.js → chunk-JZMPDFM4.js} +2 -2
- package/dist/bundle/{chunk-FTFNWGIR.js → chunk-K3RWO7LR.js} +8 -8
- package/dist/bundle/{chunk-DKQWTQVY.js → chunk-KWHFDVAF.js} +23 -23
- package/dist/bundle/{chunk-BM445GYF.js → chunk-L3KMVMRJ.js} +2 -2
- package/dist/bundle/{chunk-ZNGQ3NZ4.js → chunk-M55XFZMG.js} +9 -9
- package/dist/bundle/{chunk-S4YUR4S3.js → chunk-N6YA4OQI.js} +219 -206
- package/dist/bundle/{chunk-NXJLC2WK.js → chunk-NAIJNJZZ.js} +12 -8
- package/dist/bundle/{chunk-HV3EIYX4.js → chunk-NTWORG4T.js} +1 -1
- package/dist/bundle/{chunk-6RMMAUUW.js → chunk-OZGDPG6I.js} +30 -30
- package/dist/bundle/{chunk-3TYEJRMZ.js → chunk-PC3AFEEA.js} +4 -4
- package/dist/bundle/{chunk-FUB3X25H.js → chunk-PEF637VV.js} +4 -4
- package/dist/bundle/{chunk-V4TDG4KF.js → chunk-PTDJXPXG.js} +14 -14
- package/dist/bundle/{chunk-RQVWZBW3.js → chunk-PXQ7A5HQ.js} +3 -3
- package/dist/bundle/{chunk-4NYWHINR.js → chunk-QO4K6R7K.js} +6 -6
- package/dist/bundle/{chunk-4ULY3GDL.js → chunk-QXXBDW6N.js} +10 -10
- package/dist/bundle/{chunk-5JEYIHS6.js → chunk-RGM66WZ3.js} +3 -3
- package/dist/bundle/{chunk-QZBT6BOU.js → chunk-ROZBXOES.js} +1 -1
- package/dist/bundle/{chunk-VSHJWTX5.js → chunk-SEL7SJCM.js} +6 -6
- package/dist/bundle/{chunk-ZKZABB4K.js → chunk-SUB4DRMA.js} +3 -3
- package/dist/bundle/{chunk-HFJNEXU7.js → chunk-SYFBRZ5F.js} +2 -2
- package/dist/bundle/{chunk-MCJ7LKYR.js → chunk-TKFQ3GNY.js} +6 -6
- package/dist/bundle/{chunk-45KA5667.js → chunk-TVZFDVZP.js} +13 -13
- package/dist/bundle/{chunk-3GZK5GTU.js → chunk-U6BDAY55.js} +1 -1
- package/dist/bundle/{chunk-6LK7KTWB.js → chunk-UHBCL66Y.js} +1 -1
- package/dist/bundle/{chunk-ZKCNMW7G.js → chunk-VOGSDGVL.js} +2 -2
- package/dist/bundle/{chunk-DXGMPMFP.js → chunk-YLSV3WOO.js} +4 -4
- package/dist/bundle/{chunk-LZ5J3UXD.js → chunk-YXQIZORE.js} +4 -4
- package/dist/bundle/{chunk-R5MML3FC.js → chunk-Z3TZTOR2.js} +67 -59
- package/dist/bundle/{chunk-Q2C3VMSU.js → chunk-ZISFMUYB.js} +18 -18
- package/dist/bundle/command-contract-T3H5CAX3.js +34 -0
- package/dist/bundle/{decode-KOBURZIQ.js → decode-ZATANRER.js} +5 -5
- package/dist/bundle/{dispatch-GDAH4JHS.js → dispatch-5C6XNGEE.js} +8 -8
- package/dist/bundle/{dist-T7HMT675.js → dist-JN22LNLZ.js} +13 -13
- package/dist/bundle/{echarts-LEWTQO6H.js → echarts-WKTVUY3O.js} +2 -2
- package/dist/bundle/{embed-PUFE4BSQ.js → embed-AVKPYK4V.js} +6 -6
- package/dist/bundle/{embedder-3G4BQQ6X.js → embedder-PSV2E5TR.js} +9 -9
- package/dist/bundle/{failure-6COJAO7T.js → failure-YRGRZBTX.js} +2 -2
- package/dist/bundle/{first-run-FLXOC53U.js → first-run-YN4SF5RZ.js} +11 -11
- package/dist/bundle/first-screen-IJJZJP6Q.js +32 -0
- package/dist/bundle/{instructions-HGSXDCBT.js → instructions-W5SJW23S.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-GAPDLFWA.js → mcp-B25MZCS7.js} +2 -2
- package/dist/bundle/{node-5Z7PS4F5.js → node-BHBFRH6H.js} +2 -2
- package/dist/bundle/{node-sqlite-OAW7APIX.js → node-sqlite-7FHC3W5U.js} +5 -5
- package/dist/bundle/{oauth-ZFZWPAJN.js → oauth-ORPM6FLL.js} +7 -7
- package/dist/bundle/{open-ZQMBZVH4.js → open-AY5KLPWO.js} +4 -4
- package/dist/bundle/{openai-XT2RIXAK.js → openai-U7VALRI7.js} +14 -14
- package/dist/bundle/{process-VVEQIHPE.js → process-7AWARSC5.js} +1 -1
- package/dist/bundle/{program-RD3BBDNY.js → program-2W4J47LM.js} +468 -389
- package/dist/bundle/{prompt-PU7GE4Z4.js → prompt-STNX6JL7.js} +5 -5
- package/dist/bundle/{recognize-AG4A3KUK.js → recognize-2XWWTN6Y.js} +4 -4
- package/dist/bundle/{remote-D6TQ6T7F.js → remote-OIC32DKQ.js} +7 -7
- package/dist/bundle/{rerank-GO24HJPF.js → rerank-IFTSO576.js} +7 -7
- package/dist/bundle/{serve-WCHJAH6G.js → serve-P2D2AJAU.js} +9 -9
- package/dist/bundle/server-6D7W5Q4A.js +63 -0
- package/dist/bundle/{server-CAVNBG3P.js → server-DFEJBMXO.js} +38 -38
- package/dist/bundle/{sqlite-runtime-ANXC4AW2.js → sqlite-runtime-DD4Y35DQ.js} +5 -5
- package/dist/bundle/{state-EGJ66A62.js → state-XUSQMIKJ.js} +6 -6
- package/dist/bundle/{store-SBFA444C.js → store-EQC5DKSY.js} +13 -13
- package/dist/bundle/{store-OON7FCMQ.js → store-T3PKOLER.js} +15 -15
- package/dist/bundle/store-maintenance-command-7YQZXE4V.js +52 -0
- package/dist/commands/read.d.ts.map +1 -1
- package/dist/commands/read.js +1 -0
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/server-search.d.ts.map +1 -1
- package/dist/commands/server-search.js +3 -2
- package/dist/commands/server-search.js.map +1 -1
- package/dist/oauth.d.ts +2 -5
- package/dist/oauth.d.ts.map +1 -1
- package/dist/oauth.js +4 -7
- package/dist/oauth.js.map +1 -1
- package/dist/providers.d.ts +8 -0
- package/dist/providers.d.ts.map +1 -1
- package/dist/providers.js +2 -0
- package/dist/providers.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/command-contract-CB5BII3S.js +0 -34
- package/dist/bundle/first-screen-VUZEDSQW.js +0 -32
- package/dist/bundle/server-5KJJ3D6P.js +0 -63
- package/dist/bundle/store-maintenance-command-UEOJLYMJ.js +0 -52
- /package/dist/bundle/{chunk-WJWLHLQ7.js → chunk-EKRM2QJB.js} +0 -0
|
@@ -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-FEA5E7WQ.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-YLSV3WOO.js";
|
|
9
|
+
import "./chunk-RGM66WZ3.js";
|
|
10
|
+
import "./chunk-UHBCL66Y.js";
|
|
11
|
+
import "./chunk-ZISFMUYB.js";
|
|
12
|
+
import "./chunk-NAIJNJZZ.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-L3KMVMRJ.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-25N52S7U.js";
|
|
10
|
+
import "./chunk-ZISFMUYB.js";
|
|
11
|
+
import "./chunk-NAIJNJZZ.js";
|
|
12
12
|
import "./chunk-Y5E2WNWB.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-L3KMVMRJ.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-YXQIZORE.js";
|
|
7
|
+
import "./chunk-TVZFDVZP.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-PXQ7A5HQ.js";
|
|
11
|
+
import "./chunk-3LMWAO6A.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-PC3AFEEA.js";
|
|
19
|
+
import "./chunk-HZ42NO25.js";
|
|
20
20
|
import {
|
|
21
21
|
DEFAULT_RETRY,
|
|
22
22
|
backoffMs
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-ZISFMUYB.js";
|
|
24
|
+
import "./chunk-NAIJNJZZ.js";
|
|
25
25
|
import "./chunk-Y5E2WNWB.js";
|
|
26
26
|
import {
|
|
27
27
|
CliError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-L3KMVMRJ.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.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/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.72.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.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/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.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/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-2XWWTN6Y.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.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/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";
|