@wirecat/mail-cli 0.13.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 +18 -0
- package/README.md +4 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-EEOMFTKE.js → all-profiles-O7HQNZOF.js} +8 -7
- package/dist/bundle/{anthropic-FPSVNB3F.js → anthropic-SNA6PTVO.js} +5 -5
- package/dist/bundle/{app-server-3T6UVR7B.js → app-server-LBKMJMKN.js} +43 -42
- package/dist/bundle/{bun-MSNAKMDK.js → bun-KF5QK2YN.js} +2 -2
- package/dist/bundle/{bun-sqlite-GIBBI5DV.js → bun-sqlite-2DKMM2PT.js} +4 -4
- package/dist/bundle/{chunk-URC4ATBD.js → chunk-2A4BAMNF.js} +4 -4
- package/dist/bundle/{chunk-7FCPLSSM.js → chunk-2F7D6YMB.js} +2 -2
- package/dist/bundle/{chunk-FVZST7ZH.js → chunk-2KVR7FF3.js} +11 -88
- package/dist/bundle/{chunk-Y2O3DACO.js → chunk-3EAAEF5U.js} +1 -1
- package/dist/bundle/{chunk-2Y3RKROM.js → chunk-3YGYB3LJ.js} +33 -6
- package/dist/bundle/{chunk-OHFSAYZG.js → chunk-5C74F7XX.js} +4 -4
- package/dist/bundle/{chunk-ZXLJ5EKZ.js → chunk-6CZQJ5XR.js} +7 -7
- package/dist/bundle/{chunk-3CBK26T2.js → chunk-6EZ7XGRG.js} +1 -1
- package/dist/bundle/{chunk-EFA7FRFJ.js → chunk-7GSE57K3.js} +2 -2
- package/dist/bundle/{chunk-UFWCJUGA.js → chunk-7LDC275M.js} +6 -6
- package/dist/bundle/{chunk-OHDDGTCH.js → chunk-AOVOIXGR.js} +9 -9
- package/dist/bundle/{chunk-VSHQITKC.js → chunk-B5XAETYU.js} +2 -2
- package/dist/bundle/chunk-BP3TZ4EY.js +91 -0
- package/dist/bundle/{chunk-V25TCQ3Z.js → chunk-DIP3ENSY.js} +1 -1
- package/dist/bundle/{chunk-WBI7J5B7.js → chunk-DPKHVBP3.js} +4 -4
- package/dist/bundle/{chunk-HANGU5HI.js → chunk-E7BTD4P6.js} +5 -5
- package/dist/bundle/{chunk-H5XCD6OG.js → chunk-ER6PJAPK.js} +2 -2
- package/dist/bundle/{chunk-JBLZ5XQG.js → chunk-F5SZVO3A.js} +3 -3
- package/dist/bundle/{chunk-3BC2XSNX.js → chunk-FTGCXIQA.js} +44 -24
- package/dist/bundle/{chunk-7L26RKOS.js → chunk-G53HRGTK.js} +16 -16
- package/dist/bundle/{chunk-H6Y2A4JA.js → chunk-H2ZURG7Q.js} +1 -1
- package/dist/bundle/{chunk-CJPEL2N5.js → chunk-H7OQ4YZV.js} +15 -15
- package/dist/bundle/{chunk-XV66LQXV.js → chunk-I62OTHDE.js} +2 -2
- package/dist/bundle/{chunk-CSJYZEFR.js → chunk-I7EWIIBC.js} +2 -2
- package/dist/bundle/{chunk-YMNF4QLY.js → chunk-IPKXRW6W.js} +22 -22
- package/dist/bundle/{chunk-M7JREJFC.js → chunk-IVDUR5Y4.js} +12 -0
- package/dist/bundle/{chunk-H3XWM2VA.js → chunk-KBFIKUCA.js} +27 -27
- package/dist/bundle/{chunk-7D7AKYQ2.js → chunk-KLLKDOO2.js} +2926 -1195
- package/dist/bundle/{chunk-UGXTDYUY.js → chunk-KQ5P5NLL.js} +1 -1
- package/dist/bundle/{chunk-SOCALLW5.js → chunk-M2YIJDBL.js} +5 -5
- package/dist/bundle/{chunk-6KDFUPBT.js → chunk-MQK2UNG4.js} +7 -7
- package/dist/bundle/{chunk-VNXCWZDW.js → chunk-MXG4L7NH.js} +248 -7
- package/dist/bundle/{chunk-NHVOJHHD.js → chunk-NGZW2JPK.js} +6 -6
- package/dist/bundle/{chunk-GQGJV53E.js → chunk-NVQUK2DH.js} +46 -46
- package/dist/bundle/{chunk-VNBQHV5H.js → chunk-OGK7LMYT.js} +5 -5
- package/dist/bundle/{chunk-BZBNBPCR.js → chunk-P547HU26.js} +9 -9
- package/dist/bundle/{chunk-XLCFCOT4.js → chunk-P62Z3Q35.js} +11 -11
- package/dist/bundle/{chunk-YHSXNUFQ.js → chunk-Q5EYTU3Q.js} +3 -3
- package/dist/bundle/{chunk-VD5UJUNR.js → chunk-QWRBAQZ7.js} +1 -1
- package/dist/bundle/{chunk-3QEYHTCQ.js → chunk-QZXHMQCM.js} +1 -1
- package/dist/bundle/{chunk-7CSK47S2.js → chunk-RE5SEGSR.js} +3 -3
- package/dist/bundle/{chunk-VMLGER4M.js → chunk-UHHARH5X.js} +192 -148
- package/dist/bundle/{chunk-LO66SLGD.js → chunk-UJEO3VWA.js} +1 -1
- package/dist/bundle/{chunk-JYZCISN7.js → chunk-UMWR5PKA.js} +12 -12
- package/dist/bundle/{chunk-XPBRNJ2V.js → chunk-V5ZID7KC.js} +1 -1
- package/dist/bundle/{chunk-MBWVZINS.js → chunk-VA3JKERH.js} +2 -2
- package/dist/bundle/{chunk-AXWTELO4.js → chunk-VERSKGJV.js} +2 -2
- package/dist/bundle/{chunk-6O6CM2ML.js → chunk-W643XZIR.js} +1 -1
- package/dist/bundle/{chunk-GIZILLRJ.js → chunk-WBJQEB6E.js} +11 -11
- package/dist/bundle/{chunk-UUBAWUUI.js → chunk-WVWNKZI4.js} +562 -404
- package/dist/bundle/chunk-X5XIFNTI.js +35 -0
- package/dist/bundle/{chunk-TBG3FRS6.js → chunk-XPREXN3W.js} +2 -2
- package/dist/bundle/{chunk-ZSS22YHM.js → chunk-XRJIQC6P.js} +1 -1
- package/dist/bundle/{chunk-5XTJUQZ5.js → chunk-YG4OI3HJ.js} +456 -201
- package/dist/bundle/{chunk-IGSHWMWC.js → chunk-ZCPUKUST.js} +1 -1
- package/dist/bundle/command-contract-B3OGAIDB.js +34 -0
- package/dist/bundle/{decode-YRTMNHC6.js → decode-X7Y2VSYZ.js} +4 -4
- package/dist/bundle/{dispatch-BCS2RDF4.js → dispatch-OWNO2CMC.js} +1 -1
- package/dist/bundle/{dist-NOBSXRL2.js → dist-L7FNC74Q.js} +40 -11
- package/dist/bundle/{echarts-5UKZVIF6.js → echarts-5AB3LFVD.js} +2 -2
- package/dist/bundle/{embed-G62XY6BJ.js → embed-VBS5LRCE.js} +5 -5
- package/dist/bundle/{embedder-SCHGLA74.js → embedder-VFSYBDKK.js} +8 -8
- package/dist/bundle/{failure-N5S6ZS62.js → failure-E534GZDF.js} +1 -1
- package/dist/bundle/{first-run-DPF2BBQN.js → first-run-NO2ODH2W.js} +8 -8
- package/dist/bundle/first-screen-7VJLGMJJ.js +32 -0
- package/dist/bundle/{instructions-7RP5OKLE.js → instructions-52W6ZQTU.js} +1 -1
- package/dist/bundle/mail.js +5 -5
- package/dist/bundle/{node-ENCKD6SS.js → node-TL2PBNKO.js} +2 -2
- package/dist/bundle/{node-sqlite-4ICXMPYY.js → node-sqlite-757HNQAD.js} +5 -5
- package/dist/bundle/{oauth-CX2WYMGN.js → oauth-VDRNJ7KN.js} +6 -6
- package/dist/bundle/{open-HQZYHMVE.js → open-NUWYOKPO.js} +4 -4
- package/dist/bundle/{openai-3ONJIA3F.js → openai-YLBFVK5X.js} +12 -12
- package/dist/bundle/{process-OK3HRPMD.js → process-PWAGP6YY.js} +1 -1
- package/dist/bundle/{program-FLKUE6LL.js → program-PPUPVL7O.js} +755 -646
- package/dist/bundle/{prompt-ZWKUQ42Y.js → prompt-M5U66RVJ.js} +4 -4
- package/dist/bundle/{recognize-PHDYO6DC.js → recognize-DCMDZA2U.js} +3 -3
- package/dist/bundle/{remote-4CX7GFMU.js → remote-4SHI5WJG.js} +6 -6
- package/dist/bundle/{rerank-ZCZTGXDQ.js → rerank-DYMZMNPQ.js} +6 -6
- package/dist/bundle/{serve-3LBS7CPR.js → serve-HO3WME4G.js} +8 -8
- package/dist/bundle/server-244FHPY4.js +64 -0
- package/dist/bundle/{server-2BKI2OQP.js → server-R3TIPRZN.js} +35 -34
- package/dist/bundle/{sqlite-runtime-J5T7SR5W.js → sqlite-runtime-DWRITUIH.js} +5 -5
- package/dist/bundle/{state-TIRNYVEL.js → state-QOMUDOGF.js} +5 -5
- package/dist/bundle/{store-F7ZXMIAP.js → store-LHHMOE5V.js} +21 -14
- package/dist/bundle/{store-NGE2E7KZ.js → store-RGO6IABA.js} +13 -12
- package/dist/bundle/store-maintenance-command-LU2ZBDUY.js +54 -0
- 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 +2 -2
- package/dist/bundle/chunk-72CGQMAZ.js +0 -18
- package/dist/bundle/command-contract-6QSZ5QHQ.js +0 -33
- package/dist/bundle/first-screen-4MRKF6RQ.js +0 -31
- package/dist/bundle/server-X5F7VD2E.js +0 -63
- package/dist/bundle/store-maintenance-command-QZV76KAH.js +0 -53
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// 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/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
SCHEMA_DIALECT,
|
|
5
|
+
commandContract,
|
|
6
|
+
commandPathOf,
|
|
7
|
+
findCommand,
|
|
8
|
+
outputOf
|
|
9
|
+
} from "./chunk-DPKHVBP3.js";
|
|
10
|
+
import "./chunk-YG4OI3HJ.js";
|
|
11
|
+
import "./chunk-7LDC275M.js";
|
|
12
|
+
import "./chunk-2KVR7FF3.js";
|
|
13
|
+
import "./chunk-ER6PJAPK.js";
|
|
14
|
+
import "./chunk-UJEO3VWA.js";
|
|
15
|
+
import "./chunk-F5SZVO3A.js";
|
|
16
|
+
import "./chunk-2A4BAMNF.js";
|
|
17
|
+
import "./chunk-NGZW2JPK.js";
|
|
18
|
+
import "./chunk-UHHARH5X.js";
|
|
19
|
+
import "./chunk-BP3TZ4EY.js";
|
|
20
|
+
import "./chunk-M2YIJDBL.js";
|
|
21
|
+
import "./chunk-X5XIFNTI.js";
|
|
22
|
+
import "./chunk-NUN6OGOV.js";
|
|
23
|
+
import "./chunk-3EAAEF5U.js";
|
|
24
|
+
import "./chunk-IVDUR5Y4.js";
|
|
25
|
+
import "./chunk-Y5E2WNWB.js";
|
|
26
|
+
import "./chunk-CCHHEMPM.js";
|
|
27
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
28
|
+
export {
|
|
29
|
+
SCHEMA_DIALECT,
|
|
30
|
+
commandContract,
|
|
31
|
+
commandPathOf,
|
|
32
|
+
findCommand,
|
|
33
|
+
outputOf
|
|
34
|
+
};
|
|
@@ -3,9 +3,9 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-RE5SEGSR.js";
|
|
7
|
+
import "./chunk-3EAAEF5U.js";
|
|
8
|
+
import "./chunk-IVDUR5Y4.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -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.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/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";
|
|
@@ -338,7 +338,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
|
|
|
338
338
|
});
|
|
339
339
|
}), "runTool");
|
|
340
340
|
var fail = /* @__PURE__ */ __name(async (error, json, context) => {
|
|
341
|
-
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-
|
|
341
|
+
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-E534GZDF.js");
|
|
342
342
|
const object = errorObjectOf(error);
|
|
343
343
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
344
344
|
`);
|
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
parseMarkdownSpans,
|
|
12
12
|
plainQr,
|
|
13
13
|
terminalQr
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AOVOIXGR.js";
|
|
15
15
|
import {
|
|
16
16
|
DETAILS,
|
|
17
17
|
REASONS,
|
|
18
18
|
failureContext
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3YGYB3LJ.js";
|
|
20
20
|
import {
|
|
21
21
|
pollLines,
|
|
22
22
|
renderMessage,
|
|
23
23
|
renderMessages
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-W643XZIR.js";
|
|
25
25
|
import {
|
|
26
26
|
ModerationRules,
|
|
27
27
|
act,
|
|
@@ -32,24 +32,35 @@ import {
|
|
|
32
32
|
pickChat,
|
|
33
33
|
pickPerson,
|
|
34
34
|
validateFormattedText
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-P547HU26.js";
|
|
36
36
|
import {
|
|
37
37
|
readSecret
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-XPREXN3W.js";
|
|
39
|
+
import "./chunk-H2ZURG7Q.js";
|
|
40
40
|
import "./chunk-HTQTIKWP.js";
|
|
41
41
|
import {
|
|
42
42
|
resolveOutput
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-7LDC275M.js";
|
|
44
44
|
import {
|
|
45
45
|
COUNTER_FIELDS,
|
|
46
|
+
CURRENCY_SCALES,
|
|
47
|
+
FINANCE_REVIEWS,
|
|
46
48
|
FOLDER_PROVIDERS,
|
|
49
|
+
INVOICE_DIRECTIONS,
|
|
50
|
+
INVOICE_STATUSES,
|
|
47
51
|
KINDS,
|
|
52
|
+
MONEY_DIRECTIONS,
|
|
48
53
|
PROVIDERS,
|
|
54
|
+
RECORDS_ENVELOPE_SCHEMA,
|
|
55
|
+
RECORDS_SCHEMA_VERSION,
|
|
56
|
+
RECORD_ENTITY_TYPES,
|
|
57
|
+
RECORD_OPERATIONS,
|
|
49
58
|
REF_KINDS,
|
|
50
59
|
UNKNOWN_PROVIDER,
|
|
51
60
|
canonicalReference,
|
|
52
61
|
counterValue,
|
|
62
|
+
currencyOf,
|
|
63
|
+
envelopeOfJsonl,
|
|
53
64
|
formatLocator,
|
|
54
65
|
formatReference,
|
|
55
66
|
isFolderProvider,
|
|
@@ -58,6 +69,9 @@ import {
|
|
|
58
69
|
kindIn,
|
|
59
70
|
kindOf,
|
|
60
71
|
looksLikeReference,
|
|
72
|
+
minorUnits,
|
|
73
|
+
moneyLabel,
|
|
74
|
+
moneyOf,
|
|
61
75
|
observedCounters,
|
|
62
76
|
parseLocator,
|
|
63
77
|
parseReference,
|
|
@@ -65,17 +79,18 @@ import {
|
|
|
65
79
|
providers,
|
|
66
80
|
rankingOptions,
|
|
67
81
|
useProviders
|
|
68
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-MXG4L7NH.js";
|
|
69
83
|
import {
|
|
70
84
|
TAG_TYPES,
|
|
71
85
|
canonicalMeetingReference,
|
|
72
86
|
formatMeetingReference,
|
|
73
87
|
normalizeTag,
|
|
74
88
|
parseMeetingReference
|
|
75
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-UHHARH5X.js";
|
|
90
|
+
import "./chunk-BP3TZ4EY.js";
|
|
76
91
|
import "./chunk-NUN6OGOV.js";
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-3EAAEF5U.js";
|
|
93
|
+
import "./chunk-IVDUR5Y4.js";
|
|
79
94
|
import "./chunk-Y5E2WNWB.js";
|
|
80
95
|
import "./chunk-CCHHEMPM.js";
|
|
81
96
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -83,11 +98,20 @@ export {
|
|
|
83
98
|
DETAILS as CORE_DETAILS,
|
|
84
99
|
REASONS as CORE_REASONS,
|
|
85
100
|
COUNTER_FIELDS,
|
|
101
|
+
CURRENCY_SCALES,
|
|
102
|
+
FINANCE_REVIEWS,
|
|
86
103
|
FOLDER_PROVIDERS,
|
|
104
|
+
INVOICE_DIRECTIONS,
|
|
105
|
+
INVOICE_STATUSES,
|
|
87
106
|
KINDS,
|
|
107
|
+
MONEY_DIRECTIONS,
|
|
88
108
|
ModerationRules,
|
|
89
109
|
PASTE_QR,
|
|
90
110
|
PROVIDERS,
|
|
111
|
+
RECORDS_ENVELOPE_SCHEMA,
|
|
112
|
+
RECORDS_SCHEMA_VERSION,
|
|
113
|
+
RECORD_ENTITY_TYPES,
|
|
114
|
+
RECORD_OPERATIONS,
|
|
91
115
|
REF_KINDS,
|
|
92
116
|
TAG_TYPES,
|
|
93
117
|
UNKNOWN_PROVIDER,
|
|
@@ -99,7 +123,9 @@ export {
|
|
|
99
123
|
checkWords,
|
|
100
124
|
countedPoll,
|
|
101
125
|
counterValue,
|
|
126
|
+
currencyOf,
|
|
102
127
|
defaultRules,
|
|
128
|
+
envelopeOfJsonl,
|
|
103
129
|
failureContext,
|
|
104
130
|
formatLocator,
|
|
105
131
|
formatMeetingReference,
|
|
@@ -113,7 +139,10 @@ export {
|
|
|
113
139
|
kindOf,
|
|
114
140
|
loginQr,
|
|
115
141
|
looksLikeReference,
|
|
142
|
+
minorUnits,
|
|
116
143
|
moderationPathFor,
|
|
144
|
+
moneyLabel,
|
|
145
|
+
moneyOf,
|
|
117
146
|
normalizeTag,
|
|
118
147
|
observedCounters,
|
|
119
148
|
parseLocator,
|
|
@@ -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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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,11 +13,11 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-OGK7LMYT.js";
|
|
17
|
+
import "./chunk-F5SZVO3A.js";
|
|
18
|
+
import "./chunk-X5XIFNTI.js";
|
|
19
|
+
import "./chunk-3EAAEF5U.js";
|
|
20
|
+
import "./chunk-IVDUR5Y4.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
22
|
import "./chunk-CCHHEMPM.js";
|
|
23
23
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
openSession,
|
|
5
5
|
truncated,
|
|
6
6
|
unit
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-OGK7LMYT.js";
|
|
8
|
+
import "./chunk-F5SZVO3A.js";
|
|
9
|
+
import "./chunk-X5XIFNTI.js";
|
|
10
|
+
import "./chunk-3EAAEF5U.js";
|
|
11
|
+
import "./chunk-IVDUR5Y4.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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,17 +5,17 @@ import {
|
|
|
5
5
|
asksAtStart,
|
|
6
6
|
setupAtStart,
|
|
7
7
|
systemLanguage
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-WBJQEB6E.js";
|
|
9
|
+
import "./chunk-2F7D6YMB.js";
|
|
10
10
|
import "./chunk-PQLBPYJR.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-ER6PJAPK.js";
|
|
12
|
+
import "./chunk-MQK2UNG4.js";
|
|
13
|
+
import "./chunk-M2YIJDBL.js";
|
|
14
|
+
import "./chunk-X5XIFNTI.js";
|
|
15
15
|
import "./chunk-ILHTNOIV.js";
|
|
16
16
|
import "./chunk-D72URWJE.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-3EAAEF5U.js";
|
|
18
|
+
import "./chunk-IVDUR5Y4.js";
|
|
19
19
|
import "./chunk-Y5E2WNWB.js";
|
|
20
20
|
import "./chunk-CCHHEMPM.js";
|
|
21
21
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -0,0 +1,32 @@
|
|
|
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-6CZQJ5XR.js";
|
|
8
|
+
import "./chunk-DPKHVBP3.js";
|
|
9
|
+
import "./chunk-HTQTIKWP.js";
|
|
10
|
+
import "./chunk-YG4OI3HJ.js";
|
|
11
|
+
import "./chunk-7LDC275M.js";
|
|
12
|
+
import "./chunk-2KVR7FF3.js";
|
|
13
|
+
import "./chunk-ER6PJAPK.js";
|
|
14
|
+
import "./chunk-UJEO3VWA.js";
|
|
15
|
+
import "./chunk-F5SZVO3A.js";
|
|
16
|
+
import "./chunk-2A4BAMNF.js";
|
|
17
|
+
import "./chunk-NGZW2JPK.js";
|
|
18
|
+
import "./chunk-UHHARH5X.js";
|
|
19
|
+
import "./chunk-BP3TZ4EY.js";
|
|
20
|
+
import "./chunk-M2YIJDBL.js";
|
|
21
|
+
import "./chunk-X5XIFNTI.js";
|
|
22
|
+
import "./chunk-NUN6OGOV.js";
|
|
23
|
+
import "./chunk-3EAAEF5U.js";
|
|
24
|
+
import "./chunk-IVDUR5Y4.js";
|
|
25
|
+
import "./chunk-Y5E2WNWB.js";
|
|
26
|
+
import "./chunk-CCHHEMPM.js";
|
|
27
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
28
|
+
export {
|
|
29
|
+
WIRECAT_TOOLS,
|
|
30
|
+
firstScreen,
|
|
31
|
+
installHelp
|
|
32
|
+
};
|
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
|
IDENTITY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I7EWIIBC.js";
|
|
7
7
|
import {
|
|
8
8
|
installerOf
|
|
9
9
|
} from "./chunk-ILHTNOIV.js";
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
shimFiles,
|
|
20
20
|
writeShim
|
|
21
21
|
} from "./chunk-EW3XTUPB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-3EAAEF5U.js";
|
|
23
23
|
import {
|
|
24
24
|
catchCrashes
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IVDUR5Y4.js";
|
|
26
26
|
import "./chunk-Y5E2WNWB.js";
|
|
27
27
|
import "./chunk-CCHHEMPM.js";
|
|
28
28
|
import {
|
|
@@ -132,7 +132,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
132
132
|
return { code: 0 };
|
|
133
133
|
}
|
|
134
134
|
if (first === DISPATCH_FLAG) {
|
|
135
|
-
const { runWcat } = await import("./dispatch-
|
|
135
|
+
const { runWcat } = await import("./dispatch-OWNO2CMC.js");
|
|
136
136
|
const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
|
|
137
137
|
return { code };
|
|
138
138
|
}
|
|
@@ -158,7 +158,7 @@ if (wcat.code !== void 0) {
|
|
|
158
158
|
process.exitCode = wcat.code;
|
|
159
159
|
} else {
|
|
160
160
|
const stopCatching = catchCrashes({ cli: IDENTITY.command, interactive: process.stdout.isTTY === true });
|
|
161
|
-
const { run } = await import("./program-
|
|
161
|
+
const { run } = await import("./program-PPUPVL7O.js");
|
|
162
162
|
try {
|
|
163
163
|
process.exitCode = await run(process.argv.slice(2));
|
|
164
164
|
} finally {
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QWRBAQZ7.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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/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,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XRJIQC6P.js";
|
|
7
7
|
import {
|
|
8
8
|
TIME_LIMIT_FUNCTION,
|
|
9
9
|
beforeTimeLimit
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-DIP3ENSY.js";
|
|
11
|
+
import "./chunk-3EAAEF5U.js";
|
|
12
|
+
import "./chunk-IVDUR5Y4.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
14
|
import "./chunk-CCHHEMPM.js";
|
|
15
15
|
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.563.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5d65fbd76a6eee16c9e760ce5c7a276b/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
20
20
|
import { DatabaseSync } from "node:sqlite";
|
|
21
21
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
22
22
|
var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
|
|
@@ -3,13 +3,13 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
ownerLogin,
|
|
5
5
|
revokeAll
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B5XAETYU.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-5C74F7XX.js";
|
|
9
|
+
import "./chunk-Q5EYTU3Q.js";
|
|
10
|
+
import "./chunk-UJEO3VWA.js";
|
|
11
|
+
import "./chunk-3EAAEF5U.js";
|
|
12
|
+
import "./chunk-IVDUR5Y4.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
14
|
import "./chunk-CCHHEMPM.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
openCache,
|
|
7
7
|
openFile,
|
|
8
8
|
storeCapable
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-E7BTD4P6.js";
|
|
10
|
+
import "./chunk-DIP3ENSY.js";
|
|
11
|
+
import "./chunk-3EAAEF5U.js";
|
|
12
|
+
import "./chunk-IVDUR5Y4.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
14
|
import "./chunk-CCHHEMPM.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -3,25 +3,25 @@ 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
|
|
@@ -30,7 +30,7 @@ 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
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
|
|
@@ -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";
|