@wirecat/mail-cli 0.28.0 → 0.30.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 +32 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-Q4E2LPB4.js → all-profiles-523GLORJ.js} +7 -7
- package/dist/bundle/{anthropic-S3N4JDJU.js → anthropic-KKYGROQR.js} +2 -2
- package/dist/bundle/{app-server-XS7ABUNU.js → app-server-RJR7U5NT.js} +44 -44
- package/dist/bundle/{bun-RDYA5FCZ.js → bun-EBQHHLKR.js} +2 -2
- package/dist/bundle/{bun-sqlite-FPVHKI24.js → bun-sqlite-LTG2RRSL.js} +3 -3
- package/dist/bundle/{chunk-UUM7AF32.js → chunk-26H2HVJD.js} +2 -2
- package/dist/bundle/{chunk-3RBUACSJ.js → chunk-2M7PPII5.js} +71 -71
- package/dist/bundle/{chunk-FOZXPSHA.js → chunk-3ECFSRLQ.js} +3 -3
- package/dist/bundle/{chunk-TVMBGHUW.js → chunk-3HCEKXXB.js} +6 -6
- package/dist/bundle/{chunk-FHQ32JKS.js → chunk-4F7WQHDO.js} +1 -1
- package/dist/bundle/{chunk-TXDA437R.js → chunk-54JKDFOV.js} +1 -1
- package/dist/bundle/{chunk-5ZJ6IHVE.js → chunk-5X5A3CAX.js} +1 -1
- package/dist/bundle/{chunk-YE464BDT.js → chunk-6C7SA4LD.js} +52 -52
- package/dist/bundle/{chunk-54ZEOOL7.js → chunk-A3YXTDTP.js} +15 -15
- package/dist/bundle/{chunk-HYMSFNTS.js → chunk-B3NXAN6J.js} +148 -391
- package/dist/bundle/{chunk-7ESXP4TG.js → chunk-BOGGQOVO.js} +1 -1
- package/dist/bundle/{chunk-MT5KDBOM.js → chunk-CWAA73PJ.js} +5 -5
- package/dist/bundle/{chunk-HKC6ZJA5.js → chunk-D3J4T5OZ.js} +12 -12
- package/dist/bundle/{chunk-HFROBAHY.js → chunk-DBI22GQL.js} +378 -293
- package/dist/bundle/{chunk-LY2QIBFL.js → chunk-E2SL7HIZ.js} +9 -9
- package/dist/bundle/{chunk-45ET53MO.js → chunk-ENKZEQ4Y.js} +2 -2
- package/dist/bundle/{chunk-IKTBM64M.js → chunk-F22PLRCG.js} +7 -7
- package/dist/bundle/{chunk-7E4KECG4.js → chunk-FL2TKSZY.js} +1 -1
- package/dist/bundle/{chunk-ATJANIQR.js → chunk-FYXGD6R6.js} +2 -2
- package/dist/bundle/{chunk-2MTIGJHQ.js → chunk-GCSFZTRI.js} +9 -8
- package/dist/bundle/{chunk-YAQGWHMH.js → chunk-GDFJKUMK.js} +6 -6
- package/dist/bundle/{chunk-YSR2XBDO.js → chunk-GXKFRZUP.js} +3 -3
- package/dist/bundle/{chunk-4CRO7EHW.js → chunk-HVJ2WQI7.js} +10 -10
- package/dist/bundle/{chunk-ODPYXNHI.js → chunk-HZUUVNWC.js} +1 -1
- package/dist/bundle/{chunk-KBTVVHFP.js → chunk-IIV43UIC.js} +12 -12
- package/dist/bundle/{chunk-VFRI6RF7.js → chunk-IJONJTST.js} +1 -1
- package/dist/bundle/{chunk-3AH7UEM6.js → chunk-J5PUHGK2.js} +1 -1
- package/dist/bundle/{chunk-NUHUTJTM.js → chunk-JKWNPRZD.js} +1 -1
- package/dist/bundle/{chunk-PIKOQWTL.js → chunk-K5FTIIYR.js} +4 -4
- package/dist/bundle/{chunk-WZNQ2P7H.js → chunk-KE2RQUQO.js} +1307 -1307
- package/dist/bundle/{chunk-Z5D6CRY6.js → chunk-KIZYN3NG.js} +322 -11
- package/dist/bundle/{chunk-FM4B357N.js → chunk-L2D5QYI3.js} +2 -2
- package/dist/bundle/{chunk-IUIL6OQY.js → chunk-LM4K6K2R.js} +4 -4
- package/dist/bundle/{chunk-KSFPMRH6.js → chunk-LN2LWPN2.js} +1 -1
- package/dist/bundle/{chunk-UQZJ2GFQ.js → chunk-MP572GP7.js} +2 -2
- package/dist/bundle/{chunk-ZPVVSA5R.js → chunk-MVDP7VL6.js} +1 -1
- package/dist/bundle/{chunk-EVO4FGYJ.js → chunk-NMN7RTX5.js} +15 -15
- package/dist/bundle/{chunk-OLTJB5PW.js → chunk-NV2REPY6.js} +1 -1
- package/dist/bundle/{chunk-MVGFB7IS.js → chunk-ONA3UI3R.js} +2 -2
- package/dist/bundle/{chunk-5PDWUD3W.js → chunk-Q23EEGPC.js} +1 -1
- package/dist/bundle/{chunk-ZIFB6KGQ.js → chunk-QGIQ62KV.js} +1554 -940
- package/dist/bundle/{chunk-PYOM4J73.js → chunk-R3IFRHZ2.js} +2 -2
- package/dist/bundle/{chunk-XEMARUGS.js → chunk-RLPWLGP6.js} +7 -7
- package/dist/bundle/{chunk-P7TVXYJZ.js → chunk-S2KKQA7O.js} +29 -29
- package/dist/bundle/{chunk-VXHL3XI6.js → chunk-SN5V6CKH.js} +2 -2
- package/dist/bundle/{chunk-IZEK7JI7.js → chunk-SNZFQ5SS.js} +6 -2
- package/dist/bundle/{chunk-D4QALV67.js → chunk-SPWKGRTO.js} +1 -1
- package/dist/bundle/{chunk-D6VV655V.js → chunk-T7A6HSBF.js} +2 -1
- package/dist/bundle/{chunk-6B2BBL35.js → chunk-TIMBTN5Z.js} +5 -5
- package/dist/bundle/{chunk-44IAJV2T.js → chunk-U7VYDTXN.js} +16 -16
- package/dist/bundle/{chunk-KNTAOY5J.js → chunk-WHS3CTTM.js} +7 -7
- package/dist/bundle/{chunk-DZYGVA6V.js → chunk-WXQK5RO5.js} +21 -21
- package/dist/bundle/{chunk-DMW6J2P3.js → chunk-XGEPAJBY.js} +1 -1
- package/dist/bundle/{chunk-BDWOTD7E.js → chunk-YMJXGIYG.js} +80 -80
- package/dist/bundle/{chunk-PCYTU7HS.js → chunk-YNI57LTZ.js} +1 -1
- package/dist/bundle/{chunk-TV6OJBK6.js → chunk-ZG2XBWFT.js} +3 -3
- package/dist/bundle/{command-contract-4PTK23CK.js → command-contract-ETECA2AC.js} +15 -15
- package/dist/bundle/{command-server-entry-KSAHRZOO.js → command-server-entry-BFXRYTBC.js} +21 -21
- package/dist/bundle/{decode-SIVT4JWX.js → decode-4QRYNPD5.js} +2 -2
- package/dist/bundle/{dist-YWSF5MHP.js → dist-MHJPECI4.js} +11 -11
- package/dist/bundle/{echarts-CABLIXX7.js → echarts-EJXBKCJT.js} +2 -2
- package/dist/bundle/{embed-OHENS6RB.js → embed-46WZZMUQ.js} +3 -3
- package/dist/bundle/{embedder-JINT4Y4O.js → embedder-56WHJKJE.js} +6 -6
- package/dist/bundle/{first-run-4XEWECC3.js → first-run-CATDBOBV.js} +6 -6
- package/dist/bundle/first-screen-WCDR3QUR.js +34 -0
- package/dist/bundle/{instructions-3D22PA4T.js → instructions-Z7GVGWXS.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-42G4RGMW.js → node-L2PVEW3N.js} +2 -2
- package/dist/bundle/{node-sqlite-KQZM5M3N.js → node-sqlite-RIGII7U7.js} +4 -4
- package/dist/bundle/{oauth-7BNCNKQV.js → oauth-OWT6NYRS.js} +4 -4
- package/dist/bundle/{open-ULOQOP7K.js → open-D3SPYL7O.js} +2 -2
- package/dist/bundle/{openai-O5AH6VGT.js → openai-IPTZDMFD.js} +12 -12
- package/dist/bundle/{process-6D767IDN.js → process-MNZTQ2DA.js} +1 -1
- package/dist/bundle/{program-UXFXSGIW.js → program-QCHTCOCR.js} +1354 -1053
- package/dist/bundle/{prompt-WN7EBVKT.js → prompt-BN6AKRWN.js} +2 -2
- package/dist/bundle/{recognize-IX33XEXZ.js → recognize-I5TH7OEW.js} +1 -1
- package/dist/bundle/{remote-22N3FQUC.js → remote-R324LAUL.js} +6 -6
- package/dist/bundle/{rerank-IGX4EFA2.js → rerank-ZMGZCUJV.js} +4 -4
- package/dist/bundle/{serve-XWIRR2QZ.js → serve-YUFZSNJC.js} +6 -6
- package/dist/bundle/{server-OQV2MVCA.js → server-54ULZ3RA.js} +35 -35
- package/dist/bundle/server-UD75CYDG.js +68 -0
- package/dist/bundle/{sqlite-runtime-WFBTXXXJ.js → sqlite-runtime-AYQTUQXM.js} +3 -3
- package/dist/bundle/{state-4J5ERHJA.js → state-PHEBOYYI.js} +3 -3
- package/dist/bundle/{store-YRBX7XLM.js → store-4PHDSXEV.js} +13 -13
- package/dist/bundle/{store-YSP2NPRJ.js → store-NGX3A5XT.js} +19 -15
- package/dist/bundle/store-maintenance-command-WHBIV6HC.js +58 -0
- package/dist/commands/rules.d.ts.map +1 -1
- package/dist/commands/rules.js +78 -20
- package/dist/commands/rules.js.map +1 -1
- package/dist/commands/words.d.ts.map +1 -1
- package/dist/commands/words.js +2 -0
- package/dist/commands/words.js.map +1 -1
- package/dist/mail/imap/connection.d.ts.map +1 -1
- package/dist/mail/imap/connection.js +10 -2
- package/dist/mail/imap/connection.js.map +1 -1
- package/dist/mail/rules/apply.d.ts +10 -2
- package/dist/mail/rules/apply.d.ts.map +1 -1
- package/dist/mail/rules/apply.js +110 -30
- package/dist/mail/rules/apply.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +1 -0
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/first-screen-YI2YNTYY.js +0 -34
- package/dist/bundle/server-DF2SECWB.js +0 -68
- package/dist/bundle/store-maintenance-command-4TW6FABJ.js +0 -58
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GXKFRZUP.js";
|
|
7
7
|
import "./chunk-7MEVD5PI.js";
|
|
8
8
|
import "./chunk-ECZSYLSL.js";
|
|
9
9
|
import {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
20
20
|
import { spawn } from "node:child_process";
|
|
21
21
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
22
22
|
import { createRequire } from "node:module";
|
|
@@ -24,17 +24,17 @@ import {
|
|
|
24
24
|
recordTemplate,
|
|
25
25
|
refsForLink,
|
|
26
26
|
terminalQr
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-D3J4T5OZ.js";
|
|
28
28
|
import {
|
|
29
29
|
DETAILS,
|
|
30
30
|
REASONS,
|
|
31
31
|
failureContext
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-SNZFQ5SS.js";
|
|
33
33
|
import {
|
|
34
34
|
pollLines,
|
|
35
35
|
renderMessage,
|
|
36
36
|
renderMessages
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-J5PUHGK2.js";
|
|
38
38
|
import {
|
|
39
39
|
ModerationRules,
|
|
40
40
|
act,
|
|
@@ -44,15 +44,15 @@ import {
|
|
|
44
44
|
judge,
|
|
45
45
|
moderationPathFor,
|
|
46
46
|
validateFormattedText
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-GDFJKUMK.js";
|
|
48
48
|
import {
|
|
49
49
|
readSecret
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-R3IFRHZ2.js";
|
|
51
|
+
import "./chunk-4F7WQHDO.js";
|
|
52
52
|
import "./chunk-HTQTIKWP.js";
|
|
53
53
|
import {
|
|
54
54
|
resolveOutput
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-GCSFZTRI.js";
|
|
56
56
|
import {
|
|
57
57
|
COUNTER_FIELDS,
|
|
58
58
|
PHONE_COUNTRIES,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
pickChat,
|
|
77
77
|
pickPerson,
|
|
78
78
|
rankingOptions
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-KE2RQUQO.js";
|
|
80
80
|
import {
|
|
81
81
|
ADDED_ACCOUNT,
|
|
82
82
|
ADDED_PROVIDER,
|
|
@@ -155,9 +155,9 @@ import {
|
|
|
155
155
|
standingOf,
|
|
156
156
|
usableLink,
|
|
157
157
|
useProviders
|
|
158
|
-
} from "./chunk-
|
|
159
|
-
import "./chunk-
|
|
160
|
-
import "./chunk-
|
|
158
|
+
} from "./chunk-2M7PPII5.js";
|
|
159
|
+
import "./chunk-MVDP7VL6.js";
|
|
160
|
+
import "./chunk-SPWKGRTO.js";
|
|
161
161
|
import "./chunk-XWBPP2HX.js";
|
|
162
162
|
import "./chunk-7MEVD5PI.js";
|
|
163
163
|
import "./chunk-ECZSYLSL.js";
|
|
@@ -42399,7 +42399,7 @@ function install11(registers) {
|
|
|
42399
42399
|
}
|
|
42400
42400
|
__name(install11, "install");
|
|
42401
42401
|
|
|
42402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
|
|
42403
42403
|
var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
42404
42404
|
animation: false,
|
|
42405
42405
|
backgroundColor: "#111827",
|
|
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
|
42447
42447
|
} : {}
|
|
42448
42448
|
}), "echartsOption");
|
|
42449
42449
|
|
|
42450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/charts/echarts.js
|
|
42451
42451
|
use([install2, install, install6, install5, install10, install7, install11]);
|
|
42452
42452
|
var echartsRenderer = {
|
|
42453
42453
|
render: /* @__PURE__ */ __name(async (chart, size) => {
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-CWAA73PJ.js";
|
|
17
|
+
import "./chunk-3ECFSRLQ.js";
|
|
18
|
+
import "./chunk-54JKDFOV.js";
|
|
19
19
|
import "./chunk-7MEVD5PI.js";
|
|
20
20
|
import "./chunk-ECZSYLSL.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
openSession,
|
|
5
5
|
truncated,
|
|
6
6
|
unit
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-CWAA73PJ.js";
|
|
8
|
+
import "./chunk-3ECFSRLQ.js";
|
|
9
|
+
import "./chunk-54JKDFOV.js";
|
|
10
10
|
import "./chunk-7MEVD5PI.js";
|
|
11
11
|
import "./chunk-ECZSYLSL.js";
|
|
12
12
|
import {
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
23
23
|
import { readFileSync } from "node:fs";
|
|
24
24
|
import { join } from "node:path";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
|
|
27
27
|
var SIZE = 224;
|
|
28
28
|
var MEAN = [0.48145466, 0.4578275, 0.40821073];
|
|
29
29
|
var STD = [0.26862954, 0.26130258, 0.27577711];
|
|
@@ -62,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
|
|
|
62
62
|
return pixels;
|
|
63
63
|
}, "preprocess");
|
|
64
64
|
|
|
65
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
65
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
66
66
|
var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
|
|
67
67
|
const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
|
|
68
68
|
const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
asksAtStart,
|
|
6
6
|
setupAtStart,
|
|
7
7
|
systemLanguage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HVJ2WQI7.js";
|
|
9
9
|
import "./chunk-7C6FGWDH.js";
|
|
10
10
|
import "./chunk-FIVFP53N.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-MP572GP7.js";
|
|
12
|
+
import "./chunk-F22PLRCG.js";
|
|
13
|
+
import "./chunk-SPWKGRTO.js";
|
|
14
|
+
import "./chunk-KIZYN3NG.js";
|
|
15
15
|
import "./chunk-M4OP5ASJ.js";
|
|
16
16
|
import "./chunk-D72URWJE.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-54JKDFOV.js";
|
|
18
18
|
import "./chunk-7MEVD5PI.js";
|
|
19
19
|
import "./chunk-ECZSYLSL.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -0,0 +1,34 @@
|
|
|
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-LM4K6K2R.js";
|
|
8
|
+
import "./chunk-ZG2XBWFT.js";
|
|
9
|
+
import "./chunk-HTQTIKWP.js";
|
|
10
|
+
import "./chunk-B3NXAN6J.js";
|
|
11
|
+
import "./chunk-GCSFZTRI.js";
|
|
12
|
+
import "./chunk-RLPWLGP6.js";
|
|
13
|
+
import "./chunk-BOGGQOVO.js";
|
|
14
|
+
import "./chunk-MP572GP7.js";
|
|
15
|
+
import "./chunk-ENKZEQ4Y.js";
|
|
16
|
+
import "./chunk-YMJXGIYG.js";
|
|
17
|
+
import "./chunk-2M7PPII5.js";
|
|
18
|
+
import "./chunk-JKWNPRZD.js";
|
|
19
|
+
import "./chunk-MVDP7VL6.js";
|
|
20
|
+
import "./chunk-Q23EEGPC.js";
|
|
21
|
+
import "./chunk-KIZYN3NG.js";
|
|
22
|
+
import "./chunk-3ECFSRLQ.js";
|
|
23
|
+
import "./chunk-XWBPP2HX.js";
|
|
24
|
+
import "./chunk-54JKDFOV.js";
|
|
25
|
+
import "./chunk-7MEVD5PI.js";
|
|
26
|
+
import "./chunk-ECZSYLSL.js";
|
|
27
|
+
import "./chunk-Y5E2WNWB.js";
|
|
28
|
+
import "./chunk-7KCBPAQS.js";
|
|
29
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
30
|
+
export {
|
|
31
|
+
WIRECAT_TOOLS,
|
|
32
|
+
firstScreen,
|
|
33
|
+
installHelp
|
|
34
|
+
};
|
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
|
DESKTOP
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-T7A6HSBF.js";
|
|
7
7
|
import {
|
|
8
8
|
installerOf
|
|
9
9
|
} from "./chunk-M4OP5ASJ.js";
|
|
@@ -177,7 +177,7 @@ if (wcat.code !== void 0) {
|
|
|
177
177
|
process.exitCode = wcat.code;
|
|
178
178
|
} else {
|
|
179
179
|
const stopCatching = catchCrashes({ cli: DESKTOP.command, interactive: process.stdout.isTTY === true });
|
|
180
|
-
const { run } = await import("./program-
|
|
180
|
+
const { run } = await import("./program-QCHTCOCR.js");
|
|
181
181
|
try {
|
|
182
182
|
process.exitCode = await run(process.argv.slice(2));
|
|
183
183
|
} finally {
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XGEPAJBY.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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5X5A3CAX.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-54JKDFOV.js";
|
|
10
10
|
import {
|
|
11
11
|
TIME_LIMIT_FUNCTION,
|
|
12
12
|
beforeTimeLimit
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NV2REPY6.js";
|
|
14
14
|
import "./chunk-7MEVD5PI.js";
|
|
15
15
|
import "./chunk-ECZSYLSL.js";
|
|
16
16
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
23
23
|
import { DatabaseSync } from "node:sqlite";
|
|
24
24
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
25
25
|
var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
|
|
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
ownerLogin,
|
|
5
5
|
revokeAll
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-L2D5QYI3.js";
|
|
7
7
|
import "./chunk-5D4AEUVA.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-K5FTIIYR.js";
|
|
9
|
+
import "./chunk-ONA3UI3R.js";
|
|
10
|
+
import "./chunk-BOGGQOVO.js";
|
|
11
11
|
import "./chunk-7MEVD5PI.js";
|
|
12
12
|
import "./chunk-ECZSYLSL.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
openCache,
|
|
7
7
|
openFile,
|
|
8
8
|
storeCapable
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-TIMBTN5Z.js";
|
|
10
|
+
import "./chunk-NV2REPY6.js";
|
|
11
11
|
import "./chunk-7MEVD5PI.js";
|
|
12
12
|
import "./chunk-ECZSYLSL.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -3,26 +3,26 @@ 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-GXKFRZUP.js";
|
|
7
|
+
import "./chunk-IIV43UIC.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL,
|
|
10
10
|
refuseModelAddress
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WHS3CTTM.js";
|
|
12
12
|
import {
|
|
13
13
|
endpointFetch,
|
|
14
14
|
providerWaitMs
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-Q23EEGPC.js";
|
|
16
|
+
import "./chunk-KIZYN3NG.js";
|
|
17
|
+
import "./chunk-CWAA73PJ.js";
|
|
18
18
|
import {
|
|
19
19
|
OPENAI_TRANSCRIBE_MODEL,
|
|
20
20
|
VAD,
|
|
21
21
|
filesPresent,
|
|
22
22
|
modelsDirectory,
|
|
23
23
|
vadPath
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-3ECFSRLQ.js";
|
|
25
|
+
import "./chunk-54JKDFOV.js";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_RETRY,
|
|
28
28
|
backoffMs
|
|
@@ -36,10 +36,10 @@ import {
|
|
|
36
36
|
__name
|
|
37
37
|
} from "./chunk-ZVVMGPBJ.js";
|
|
38
38
|
|
|
39
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
39
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
40
40
|
import { setTimeout as wait } from "node:timers/promises";
|
|
41
41
|
|
|
42
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
43
43
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
44
44
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
45
45
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -60,7 +60,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
60
60
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
61
61
|
}, "encodeWav");
|
|
62
62
|
|
|
63
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
63
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
64
64
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
65
65
|
var JOINED_SECONDS = 0.2;
|
|
66
66
|
var PAD_SECONDS = 0.2;
|
|
@@ -183,7 +183,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
183
183
|
return pieces;
|
|
184
184
|
}, "piecesOf");
|
|
185
185
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
186
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
186
|
+
const { openSpeechCutter } = await import("./recognize-I5TH7OEW.js");
|
|
187
187
|
return openSpeechCutter(vadModel);
|
|
188
188
|
}, "openCutter");
|
|
189
189
|
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.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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";
|