@wirecat/mail-cli 0.7.0 → 0.8.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 +20 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-SI67TKZM.js → all-profiles-MXGDUBAM.js} +9 -9
- package/dist/bundle/{anthropic-DALMLC3Y.js → anthropic-A2QA4W7L.js} +6 -6
- package/dist/bundle/{app-server-XOH327Z2.js → app-server-PMIMK6FK.js} +48 -48
- package/dist/bundle/{bun-ORL67CJ6.js → bun-3UW3LFNL.js} +2 -2
- package/dist/bundle/{bun-sqlite-DGXFNFHI.js → bun-sqlite-TGFZFKAX.js} +5 -5
- package/dist/bundle/{chunk-IYZHM3ZN.js → chunk-2KZJWBXB.js} +3 -3
- package/dist/bundle/{chunk-2M4K7HYR.js → chunk-2MQXXPPK.js} +17 -17
- package/dist/bundle/{chunk-VBOMKZ4E.js → chunk-4QDBMYK4.js} +70 -53
- package/dist/bundle/{chunk-23IEVVL2.js → chunk-5PWKPRTD.js} +4 -4
- package/dist/bundle/{chunk-RQVWZBW3.js → chunk-5W74YMCK.js} +3 -3
- package/dist/bundle/{chunk-7K6KJWTO.js → chunk-6J3DKKOV.js} +12 -12
- package/dist/bundle/{chunk-4NYWHINR.js → chunk-6JK46V5X.js} +6 -6
- package/dist/bundle/{chunk-CAKBG5FC.js → chunk-6U6Z3GXR.js} +6 -6
- package/dist/bundle/{chunk-V4TDG4KF.js → chunk-7JUTNCQX.js} +14 -14
- package/dist/bundle/{chunk-6XNPXAJU.js → chunk-AO3XYONW.js} +23 -23
- package/dist/bundle/{chunk-JFMUI4H6.js → chunk-BCDPLG7T.js} +1 -1
- package/dist/bundle/{chunk-PDL4UREY.js → chunk-BEUQ2X7U.js} +8 -8
- package/dist/bundle/{chunk-DXGMPMFP.js → chunk-CMNFLAUG.js} +4 -4
- package/dist/bundle/{chunk-U6UJ3HRS.js → chunk-CRS63C3T.js} +2 -2
- package/dist/bundle/{chunk-SQLCCKEL.js → chunk-DLB2JPLU.js} +1 -1
- package/dist/bundle/{chunk-XQJWMBDY.js → chunk-DM4ULDS3.js} +6 -6
- package/dist/bundle/{chunk-BGUMGCUY.js → chunk-DYCPBLUC.js} +2 -2
- package/dist/bundle/{chunk-3TYEJRMZ.js → chunk-EN3UZPGB.js} +4 -4
- package/dist/bundle/{chunk-DKQWTQVY.js → chunk-EU35YQXE.js} +23 -23
- package/dist/bundle/{chunk-GJUUTUK4.js → chunk-EVO77D3Y.js} +8 -8
- package/dist/bundle/{chunk-S4YUR4S3.js → chunk-FSBKLJXM.js} +219 -206
- package/dist/bundle/{chunk-EYT33MM3.js → chunk-J5RKMQ6A.js} +46 -46
- package/dist/bundle/{chunk-ZNGQ3NZ4.js → chunk-J6ACLZKV.js} +9 -9
- package/dist/bundle/{chunk-45KA5667.js → chunk-KBKEZV4L.js} +13 -13
- package/dist/bundle/{chunk-73OJJGZE.js → chunk-KEZHPPMI.js} +17 -3
- package/dist/bundle/{chunk-4ULY3GDL.js → chunk-KF4YULWC.js} +10 -10
- package/dist/bundle/{chunk-HFJNEXU7.js → chunk-L2ZHPIFC.js} +2 -2
- package/dist/bundle/{chunk-BM445GYF.js → chunk-L3KMVMRJ.js} +2 -2
- package/dist/bundle/{chunk-FTFNWGIR.js → chunk-LN7TNZIS.js} +8 -8
- package/dist/bundle/{chunk-NXJLC2WK.js → chunk-NAIJNJZZ.js} +12 -8
- package/dist/bundle/{chunk-5JEYIHS6.js → chunk-NEBO3NZU.js} +3 -3
- package/dist/bundle/{chunk-VNJMO5F6.js → chunk-NI6WX55Z.js} +2 -2
- package/dist/bundle/{chunk-M2JCUVCJ.js → chunk-NSODLSEL.js} +94 -94
- package/dist/bundle/{chunk-6RMMAUUW.js → chunk-NWKLBZN5.js} +30 -30
- package/dist/bundle/{chunk-5BSEGMNE.js → chunk-OAQ4UB6V.js} +4 -4
- package/dist/bundle/{chunk-FUB3X25H.js → chunk-PEF637VV.js} +4 -4
- package/dist/bundle/{chunk-NNIXREJH.js → chunk-PXCIM6D5.js} +7 -7
- package/dist/bundle/{chunk-6LK7KTWB.js → chunk-Q5DOXSBM.js} +1 -1
- package/dist/bundle/{chunk-35KD2CI2.js → chunk-QBBKSCQD.js} +286 -252
- package/dist/bundle/{chunk-MHQKHWCJ.js → chunk-RFWTPSJX.js} +34 -28
- package/dist/bundle/{chunk-QZBT6BOU.js → chunk-ROZBXOES.js} +1 -1
- package/dist/bundle/{chunk-AP7V256W.js → chunk-RVZ4JIRR.js} +1 -1
- package/dist/bundle/{chunk-MMXMVGA6.js → chunk-SZ5PKNDF.js} +7 -7
- package/dist/bundle/{chunk-VSHJWTX5.js → chunk-TCWJYOZV.js} +6 -6
- package/dist/bundle/{chunk-HV3EIYX4.js → chunk-TMQA4KR7.js} +1 -1
- package/dist/bundle/{chunk-VKPWP3AK.js → chunk-U4IF2MOB.js} +2 -2
- package/dist/bundle/{chunk-ZKCNMW7G.js → chunk-UR6WHUJF.js} +2 -2
- package/dist/bundle/{chunk-MCJ7LKYR.js → chunk-VGR3AGAC.js} +6 -6
- package/dist/bundle/{chunk-R5MML3FC.js → chunk-VSDVH2M2.js} +67 -59
- package/dist/bundle/{chunk-E3DRM6YP.js → chunk-W5J6I5GW.js} +3 -3
- package/dist/bundle/{chunk-FPOGVDLS.js → chunk-W7H3PZ67.js} +2 -2
- package/dist/bundle/{chunk-BEMLGWY4.js → chunk-WS4L47DG.js} +1 -1
- package/dist/bundle/{chunk-ZKZABB4K.js → chunk-WWNAQ75T.js} +3 -3
- package/dist/bundle/{chunk-Q44AYEOB.js → chunk-XWNCXFR5.js} +2 -2
- package/dist/bundle/{chunk-LZ5J3UXD.js → chunk-YS2WUWY7.js} +4 -4
- package/dist/bundle/{chunk-OHTR4WFO.js → chunk-Z5GDZ3QF.js} +2 -2
- package/dist/bundle/{chunk-Q2C3VMSU.js → chunk-ZISFMUYB.js} +18 -18
- package/dist/bundle/{chunk-3GZK5GTU.js → chunk-ZKAT6I2I.js} +1 -1
- package/dist/bundle/command-contract-Q32SL5KX.js +34 -0
- package/dist/bundle/{decode-KOBURZIQ.js → decode-NF4TGOR3.js} +5 -5
- package/dist/bundle/{dispatch-GDAH4JHS.js → dispatch-5C6XNGEE.js} +8 -8
- package/dist/bundle/{dist-T7HMT675.js → dist-DVYY3YFG.js} +13 -13
- package/dist/bundle/{echarts-LEWTQO6H.js → echarts-F3USGP5B.js} +2 -2
- package/dist/bundle/{embed-PUFE4BSQ.js → embed-2RXV3BEC.js} +6 -6
- package/dist/bundle/{embedder-3G4BQQ6X.js → embedder-I2SJMC6N.js} +9 -9
- package/dist/bundle/{failure-6COJAO7T.js → failure-YRGRZBTX.js} +2 -2
- package/dist/bundle/{first-run-FLXOC53U.js → first-run-3GA7YCKZ.js} +11 -11
- package/dist/bundle/first-screen-JFIXKYAK.js +32 -0
- package/dist/bundle/{instructions-HGSXDCBT.js → instructions-VHI5CWH5.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-4RBB3RDY.js} +2 -2
- package/dist/bundle/{node-sqlite-OAW7APIX.js → node-sqlite-FWYX3P2D.js} +5 -5
- package/dist/bundle/{oauth-ZFZWPAJN.js → oauth-6JKKRGLX.js} +7 -7
- package/dist/bundle/{open-ZQMBZVH4.js → open-7JSNC3MR.js} +4 -4
- package/dist/bundle/{openai-XT2RIXAK.js → openai-ASLWL3D6.js} +14 -14
- package/dist/bundle/{process-VVEQIHPE.js → process-AB2D2G2Q.js} +1 -1
- package/dist/bundle/{program-RD3BBDNY.js → program-ZJPQ3IDU.js} +447 -382
- package/dist/bundle/{prompt-PU7GE4Z4.js → prompt-JDFVQR3L.js} +5 -5
- package/dist/bundle/{recognize-AG4A3KUK.js → recognize-PKYA4HRC.js} +4 -4
- package/dist/bundle/{remote-D6TQ6T7F.js → remote-USBVVO4O.js} +7 -7
- package/dist/bundle/{rerank-GO24HJPF.js → rerank-UBMV6KO6.js} +7 -7
- package/dist/bundle/{serve-WCHJAH6G.js → serve-SVS3YOYS.js} +9 -9
- package/dist/bundle/{server-CAVNBG3P.js → server-7PZMYXY6.js} +38 -38
- package/dist/bundle/server-KA7Q5XCL.js +63 -0
- package/dist/bundle/{sqlite-runtime-ANXC4AW2.js → sqlite-runtime-IDPTXAM7.js} +5 -5
- package/dist/bundle/{state-EGJ66A62.js → state-6G2TSVP7.js} +6 -6
- package/dist/bundle/{store-OON7FCMQ.js → store-7A464D4X.js} +15 -15
- package/dist/bundle/{store-SBFA444C.js → store-L56GFI4P.js} +13 -13
- package/dist/bundle/store-maintenance-command-2LM4GOI3.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/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,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-U4IF2MOB.js";
|
|
7
|
+
import "./chunk-ZISFMUYB.js";
|
|
8
|
+
import "./chunk-NAIJNJZZ.js";
|
|
9
9
|
import "./chunk-Y5E2WNWB.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-L3KMVMRJ.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.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/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-Z5GDZ3QF.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-CMNFLAUG.js";
|
|
9
|
+
import "./chunk-NEBO3NZU.js";
|
|
10
|
+
import "./chunk-Q5DOXSBM.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-DM4ULDS3.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-YS2WUWY7.js";
|
|
7
|
+
import "./chunk-KBKEZV4L.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-5W74YMCK.js";
|
|
11
|
+
import "./chunk-6U6Z3GXR.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-EN3UZPGB.js";
|
|
19
|
+
import "./chunk-XWNCXFR5.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.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/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.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/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.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/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-PKYA4HRC.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.541.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_5e2b4e61bcb779e86c364517878b6f21/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";
|