@wirecat/mail-cli 0.33.0 → 0.35.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 +39 -0
- package/README.md +4 -1
- package/contracts/wirecat.json +54 -4
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/agent-KWLCQCSC.js +39 -0
- package/dist/bundle/{all-profiles-W3CGXEEJ.js → all-profiles-6BDSMVOO.js} +63 -21
- package/dist/bundle/{anthropic-UMDO5AKP.js → anthropic-C3XUXUCJ.js} +8 -8
- package/dist/bundle/{app-server-4SICQ5RP.js → app-server-GUHDK4OR.js} +82 -64
- package/dist/bundle/{bun-QVVCH4MJ.js → bun-FN7AM4AG.js} +2 -2
- package/dist/bundle/{bun-sqlite-CHD4AIUK.js → bun-sqlite-56IVBF22.js} +6 -6
- package/dist/bundle/{chunk-HFFHL7SV.js → chunk-2B67TUIF.js} +101 -69
- package/dist/bundle/{chunk-OOYIPK4F.js → chunk-2UNQTKRH.js} +1 -1
- package/dist/bundle/{chunk-LXUHYDNE.js → chunk-3ACF6TIV.js} +1 -1
- package/dist/bundle/chunk-3EV2B7KZ.js +726 -0
- package/dist/bundle/chunk-3KAJCOJP.js +109 -0
- package/dist/bundle/{chunk-2BFXHCZW.js → chunk-3WAZKCDF.js} +2 -2
- package/dist/bundle/{chunk-LKGJMM6W.js → chunk-46SBNO67.js} +12 -63
- package/dist/bundle/{chunk-LB5FTCPZ.js → chunk-4IASS7NQ.js} +128 -10
- package/dist/bundle/chunk-4U5ODZO7.js +360 -0
- package/dist/bundle/{chunk-QN423PC6.js → chunk-5WYBI35N.js} +3 -3
- package/dist/bundle/{chunk-GZYICXO4.js → chunk-5XQI7WCJ.js} +1 -1
- package/dist/bundle/{chunk-JUYUWMTG.js → chunk-635AFLZO.js} +4 -4
- package/dist/bundle/{chunk-2P44S7XK.js → chunk-6B4WZVLN.js} +36 -28
- package/dist/bundle/{chunk-47YNANPZ.js → chunk-6Q5THDNW.js} +3 -3
- package/dist/bundle/chunk-6VARUB3J.js +787 -0
- package/dist/bundle/{chunk-BRRHYXUP.js → chunk-7FXZKQAC.js} +87 -76
- package/dist/bundle/{chunk-EW3JFV7J.js → chunk-7JVKQ6NM.js} +4 -4
- package/dist/bundle/{chunk-OWAJN74H.js → chunk-7KMI47AP.js} +106 -257
- package/dist/bundle/{chunk-BF73DBAA.js → chunk-7PXAUMK5.js} +30 -15
- package/dist/bundle/{chunk-UX76GMQM.js → chunk-7YMLEWTX.js} +43 -64
- package/dist/bundle/{chunk-2L6D54BR.js → chunk-AISQNKT7.js} +8 -8
- package/dist/bundle/chunk-AV2ZJ4WX.js +7 -0
- package/dist/bundle/{chunk-OFMYFFEF.js → chunk-AXKIXVQA.js} +991 -1609
- package/dist/bundle/{chunk-UAV74EY4.js → chunk-CDGVYQXG.js} +1 -1
- package/dist/bundle/{chunk-RXUVXAMM.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/chunk-CMGZXBJW.js +259 -0
- package/dist/bundle/{chunk-H46MANPR.js → chunk-DD2P67NP.js} +3 -3
- package/dist/bundle/{chunk-IBIFX2LK.js → chunk-DFHUJTP5.js} +2 -2
- package/dist/bundle/{chunk-DI74RP6R.js → chunk-DREU6TN6.js} +31 -85
- package/dist/bundle/{chunk-XQXYAOBV.js → chunk-DZHEVVXA.js} +53 -33
- package/dist/bundle/{chunk-LFBD6RTX.js → chunk-E6HSSKRX.js} +4 -4
- package/dist/bundle/{chunk-UYZDH5LK.js → chunk-EHAXFDDP.js} +1 -1
- package/dist/bundle/chunk-EU4J6GCJ.js +52 -0
- package/dist/bundle/{chunk-CHNNKHLL.js → chunk-EX4Z7CCO.js} +4051 -2788
- package/dist/bundle/chunk-G662S2M4.js +559 -0
- package/dist/bundle/{chunk-XN5KH24X.js → chunk-GG634DR3.js} +5 -5
- package/dist/bundle/{chunk-FSMCXQH2.js → chunk-GU3PYIV2.js} +2 -2
- package/dist/bundle/{chunk-SW7YGW3T.js → chunk-HF5QWKK2.js} +18 -8
- package/dist/bundle/chunk-HJDIMVFW.js +108 -0
- package/dist/bundle/chunk-HKWZG7CZ.js +334 -0
- package/dist/bundle/{chunk-BI5P7JWM.js → chunk-HM6AMYHR.js} +2 -2
- package/dist/bundle/{chunk-35AH33VJ.js → chunk-HVXOA4FO.js} +1 -1
- package/dist/bundle/{chunk-LXAX6AZU.js → chunk-I3QZCQJT.js} +6 -6
- package/dist/bundle/{chunk-I3UAD4EI.js → chunk-ILEKGH44.js} +68 -59
- package/dist/bundle/{chunk-SDWYOYGN.js → chunk-J5ULUTWE.js} +4 -4
- package/dist/bundle/{chunk-TK77DCE5.js → chunk-L4RCWRWS.js} +1 -1
- package/dist/bundle/chunk-MCJYJIH5.js +192 -0
- package/dist/bundle/{chunk-S6CHYNFE.js → chunk-NEDS4ORI.js} +2 -2
- package/dist/bundle/{chunk-QO7BK4WD.js → chunk-ODQCRZX5.js} +35 -12
- package/dist/bundle/chunk-OO4OKMNB.js +80 -0
- package/dist/bundle/{chunk-JCQ47WR4.js → chunk-OOQFBRNR.js} +144 -10
- package/dist/bundle/{chunk-LACMDMDI.js → chunk-OTP2HJ67.js} +9 -9
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-AEKWEYIG.js → chunk-PQDQCCGG.js} +19 -19
- package/dist/bundle/{chunk-BZY5W35X.js → chunk-Q5U2HIBJ.js} +7 -7
- package/dist/bundle/{chunk-74BYHR44.js → chunk-QFMKCU42.js} +3738 -3415
- package/dist/bundle/{chunk-SYUIAMVA.js → chunk-QYCMB7JY.js} +373 -533
- package/dist/bundle/{chunk-KLLT572M.js → chunk-RBV2AM52.js} +2 -100
- package/dist/bundle/{chunk-6VCQ4CTK.js → chunk-RJNKM3CQ.js} +1 -1
- package/dist/bundle/{chunk-6IS4BEN4.js → chunk-RQHWSNX4.js} +4 -4
- package/dist/bundle/chunk-RQJGX7F7.js +170 -0
- package/dist/bundle/{chunk-RENCSP47.js → chunk-TARNPINT.js} +3 -3
- package/dist/bundle/chunk-TP2BCK2Z.js +721 -0
- package/dist/bundle/{chunk-MJ7DUSHT.js → chunk-TP766H4O.js} +18 -14
- package/dist/bundle/{chunk-2X344EUT.js → chunk-UHGKN5US.js} +8 -8
- package/dist/bundle/{chunk-L3MKFI3Y.js → chunk-UWDRU3R6.js} +2 -2
- package/dist/bundle/chunk-V4O47JV6.js +72 -0
- package/dist/bundle/{chunk-CIG4UVP6.js → chunk-W4JYGMTU.js} +14 -13
- package/dist/bundle/{chunk-JADBHKBP.js → chunk-W7ICCFG5.js} +1 -1
- package/dist/bundle/{chunk-MNJ3BMPZ.js → chunk-WDEVKKAD.js} +3 -3
- package/dist/bundle/{chunk-TBZLGT7R.js → chunk-WZKM5I7B.js} +23 -119
- package/dist/bundle/{chunk-MT7T5N2N.js → chunk-XKKYRMGG.js} +4 -4
- package/dist/bundle/chunk-XQNKAM26.js +338 -0
- package/dist/bundle/{chunk-UWF3SSRL.js → chunk-YA44BG3N.js} +58 -9
- package/dist/bundle/{chunk-Y2P2LC5R.js → chunk-YCIWSKOH.js} +9 -9
- package/dist/bundle/{chunk-7OYZU5SP.js → chunk-YQTRKNZQ.js} +4 -4
- package/dist/bundle/chunk-YRAJFTFU.js +353 -0
- package/dist/bundle/chunk-YTI533XF.js +29 -0
- package/dist/bundle/{chunk-UG2QDGAH.js → chunk-ZMYRPMAJ.js} +1 -1
- package/dist/bundle/{chunk-CZ6ZXDSO.js → chunk-ZX7HZDD6.js} +182 -562
- package/dist/bundle/{chunk-IPSLQX64.js → chunk-ZYEU35MB.js} +2 -2
- package/dist/bundle/command-contract-D5UXWHMS.js +39 -0
- package/dist/bundle/{command-server-entry-G2ZHCN5J.js → command-server-entry-TPJ47FYS.js} +28 -25
- package/dist/bundle/decode-XHUASXQK.js +296 -0
- package/dist/bundle/{dispatch-RHIK22OA.js → dispatch-MQZHGGVP.js} +8 -8
- package/dist/bundle/{dist-X5G2IMYG.js → dist-BAE4IQ52.js} +34 -29
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-UZJ6AREV.js → echarts-U7Z2PKIG.js} +2 -2
- package/dist/bundle/{embed-FEXLUH3T.js → embed-W7GPB6EI.js} +6 -6
- package/dist/bundle/{embedder-NHQARKFJ.js → embedder-T72XLFQ5.js} +9 -9
- package/dist/bundle/{failure-7DIA4OET.js → failure-MP6VKL5Y.js} +2 -2
- package/dist/bundle/{first-run-PS5NR2QG.js → first-run-C44TJXRI.js} +12 -12
- package/dist/bundle/first-screen-IESI7DAU.js +39 -0
- package/dist/bundle/{instructions-SDDUBGH4.js → instructions-WGMWQNPP.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-GN4FTJX5.js → mcp-YGOAUNC3.js} +2 -2
- package/dist/bundle/meeting-combined-XGZBSWIQ.js +24 -0
- package/dist/bundle/meeting-model-QVHLD4WI.js +24 -0
- package/dist/bundle/meeting-semantic-QKQHUHXX.js +21 -0
- package/dist/bundle/{node-ELCNUOCE.js → node-WANDMJJQ.js} +2 -2
- package/dist/bundle/{node-sqlite-2E5MKZMH.js → node-sqlite-NM5XA4DR.js} +7 -7
- package/dist/bundle/{oauth-JGPEIY3M.js → oauth-6E63ELEE.js} +8 -8
- package/dist/bundle/{open-6DEMCZAB.js → open-5542RTLE.js} +5 -5
- package/dist/bundle/{openai-IVKDU5AH.js → openai-NOYNPFB5.js} +28 -26
- package/dist/bundle/{process-67DAKAAQ.js → process-7AEXXSBX.js} +1 -1
- package/dist/bundle/{program-ESJDQMAJ.js → program-VMA5CGNR.js} +5712 -3640
- package/dist/bundle/{prompt-ZBWOT5KG.js → prompt-WYYO4AJL.js} +5 -5
- package/dist/bundle/{recognize-UUBH2DOH.js → recognize-UGCCOMAS.js} +4 -4
- package/dist/bundle/{remote-UYTNWNOB.js → remote-VZS6BNQB.js} +9 -9
- package/dist/bundle/{rerank-X2633CQN.js → rerank-O46D5GJ2.js} +7 -7
- package/dist/bundle/{serve-CP7Q4OVW.js → serve-QAAF2LCW.js} +10 -10
- package/dist/bundle/server-456MYK3X.js +84 -0
- package/dist/bundle/{server-I7MXRSAG.js → server-Q3PUZLLX.js} +77 -58
- package/dist/bundle/{sqlite-runtime-BX55LI5G.js → sqlite-runtime-EQBCDO2U.js} +6 -6
- package/dist/bundle/{state-LLNJQXFH.js → state-XIOHYXCR.js} +6 -6
- package/dist/bundle/{store-N27XI3VV.js → store-OXJZZUR7.js} +34 -17
- package/dist/bundle/{store-K4KU5N75.js → store-VJBL5XKR.js} +30 -20
- package/dist/bundle/store-maintenance-command-D7XYIX52.js +71 -0
- package/dist/bundle/surface-N7LK7PKN.js +70 -0
- package/dist/commands/read.d.ts +2 -2
- package/dist/commands/read.d.ts.map +1 -1
- package/dist/commands/read.js +5 -4
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/sync.d.ts +2 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +16 -9
- package/dist/commands/sync.js.map +1 -1
- package/dist/config.d.ts +6 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -1
- package/dist/config.js.map +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +2 -2
- package/dist/identity.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/chunk-BDCC2J2Z.js +0 -2
- package/dist/bundle/command-contract-NRNQAFFE.js +0 -36
- package/dist/bundle/decode-U6V6D6XH.js +0 -162
- package/dist/bundle/first-screen-C2WTLOG2.js +0 -34
- package/dist/bundle/server-QGTMJ7SF.js +0 -67
- package/dist/bundle/store-maintenance-command-VPAFQCNA.js +0 -58
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
resolvePaths
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7FXZKQAC.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { realpathSync } from "node:fs";
|
|
12
12
|
import { userInfo } from "node:os";
|
|
13
13
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
@@ -0,0 +1,39 @@
|
|
|
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-GG634DR3.js";
|
|
10
|
+
import "./chunk-QYCMB7JY.js";
|
|
11
|
+
import "./chunk-HF5QWKK2.js";
|
|
12
|
+
import "./chunk-UHGKN5US.js";
|
|
13
|
+
import "./chunk-WDEVKKAD.js";
|
|
14
|
+
import "./chunk-HKWZG7CZ.js";
|
|
15
|
+
import "./chunk-ZMYRPMAJ.js";
|
|
16
|
+
import "./chunk-DD2P67NP.js";
|
|
17
|
+
import "./chunk-DZHEVVXA.js";
|
|
18
|
+
import "./chunk-6VARUB3J.js";
|
|
19
|
+
import "./chunk-UWDRU3R6.js";
|
|
20
|
+
import "./chunk-3ACF6TIV.js";
|
|
21
|
+
import "./chunk-YTI533XF.js";
|
|
22
|
+
import "./chunk-AXKIXVQA.js";
|
|
23
|
+
import "./chunk-OOQFBRNR.js";
|
|
24
|
+
import "./chunk-Q5U2HIBJ.js";
|
|
25
|
+
import "./chunk-635AFLZO.js";
|
|
26
|
+
import "./chunk-AV2ZJ4WX.js";
|
|
27
|
+
import "./chunk-ZYEU35MB.js";
|
|
28
|
+
import "./chunk-7FXZKQAC.js";
|
|
29
|
+
import "./chunk-YA44BG3N.js";
|
|
30
|
+
import "./chunk-Y5E2WNWB.js";
|
|
31
|
+
import "./chunk-HM6AMYHR.js";
|
|
32
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
33
|
+
export {
|
|
34
|
+
SCHEMA_DIALECT,
|
|
35
|
+
commandContract,
|
|
36
|
+
commandPathOf,
|
|
37
|
+
findCommand,
|
|
38
|
+
outputOf
|
|
39
|
+
};
|
|
@@ -4,48 +4,51 @@ import {
|
|
|
4
4
|
COMMAND_SERVER_CONCURRENT,
|
|
5
5
|
enterCommandServer,
|
|
6
6
|
serveCommands
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AISQNKT7.js";
|
|
8
|
+
import "./chunk-CDGVYQXG.js";
|
|
8
9
|
import {
|
|
9
10
|
ensureSqlite
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-XN5KH24X.js";
|
|
11
|
+
} from "./chunk-GU3PYIV2.js";
|
|
12
|
+
import "./chunk-GG634DR3.js";
|
|
13
13
|
import {
|
|
14
14
|
commandServerRequest,
|
|
15
15
|
exitCodeSet,
|
|
16
16
|
inCommandServerRequest
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-QYCMB7JY.js";
|
|
18
|
+
import "./chunk-HF5QWKK2.js";
|
|
19
|
+
import "./chunk-UHGKN5US.js";
|
|
20
|
+
import "./chunk-WDEVKKAD.js";
|
|
21
|
+
import "./chunk-HKWZG7CZ.js";
|
|
22
|
+
import "./chunk-ZMYRPMAJ.js";
|
|
23
|
+
import "./chunk-DD2P67NP.js";
|
|
23
24
|
import {
|
|
24
25
|
asOwnProcess
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-DZHEVVXA.js";
|
|
27
|
+
import "./chunk-6VARUB3J.js";
|
|
28
|
+
import "./chunk-UWDRU3R6.js";
|
|
29
|
+
import "./chunk-3ACF6TIV.js";
|
|
30
|
+
import "./chunk-YTI533XF.js";
|
|
31
|
+
import "./chunk-AXKIXVQA.js";
|
|
32
|
+
import "./chunk-OOQFBRNR.js";
|
|
33
|
+
import "./chunk-Q5U2HIBJ.js";
|
|
34
|
+
import "./chunk-635AFLZO.js";
|
|
35
|
+
import "./chunk-AV2ZJ4WX.js";
|
|
36
|
+
import "./chunk-ZYEU35MB.js";
|
|
37
|
+
import "./chunk-I3QZCQJT.js";
|
|
38
|
+
import "./chunk-2UNQTKRH.js";
|
|
39
|
+
import "./chunk-7FXZKQAC.js";
|
|
37
40
|
import {
|
|
38
41
|
catchCrashes
|
|
39
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-YA44BG3N.js";
|
|
40
43
|
import "./chunk-Y5E2WNWB.js";
|
|
41
44
|
import {
|
|
42
45
|
CliError
|
|
43
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-HM6AMYHR.js";
|
|
44
47
|
import {
|
|
45
48
|
__name
|
|
46
49
|
} from "./chunk-ZVVMGPBJ.js";
|
|
47
50
|
|
|
48
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
51
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
|
|
49
52
|
import { PassThrough } from "node:stream";
|
|
50
53
|
var route = /* @__PURE__ */ __name((stream, sink) => {
|
|
51
54
|
const original = stream.write;
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
SAMPLE_RATE,
|
|
5
|
+
decodeOgg
|
|
6
|
+
} from "./chunk-XKKYRMGG.js";
|
|
7
|
+
import "./chunk-7FXZKQAC.js";
|
|
8
|
+
import "./chunk-YA44BG3N.js";
|
|
9
|
+
import {
|
|
10
|
+
importFrom
|
|
11
|
+
} from "./chunk-Y5E2WNWB.js";
|
|
12
|
+
import {
|
|
13
|
+
CliError
|
|
14
|
+
} from "./chunk-HM6AMYHR.js";
|
|
15
|
+
import {
|
|
16
|
+
__name
|
|
17
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
18
|
+
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
20
|
+
import { spawn } from "node:child_process";
|
|
21
|
+
import { mkdtemp, open, readFile, rm, writeFile } from "node:fs/promises";
|
|
22
|
+
import { createRequire } from "node:module";
|
|
23
|
+
import { tmpdir } from "node:os";
|
|
24
|
+
import { join } from "node:path";
|
|
25
|
+
import { pathToFileURL } from "node:url";
|
|
26
|
+
var LONGEST_AUDIO_SECONDS = 3600;
|
|
27
|
+
var FFMPEG_TIMEOUT_MS = 12e4;
|
|
28
|
+
var FFMPEG_FORMATS = "mov,mp4,m4a,3gp,3g2,mj2,aac,mp3,wav,amr,caf,aiff,flac,ogg,matroska,webm,asf";
|
|
29
|
+
var text = /* @__PURE__ */ __name((bytes, from, length) => String.fromCharCode(...bytes.subarray(from, from + length)), "text");
|
|
30
|
+
var contains = /* @__PURE__ */ __name((bytes, needle, within) => Buffer.from(bytes.buffer, bytes.byteOffset, Math.min(bytes.length, within)).includes(needle, 0, "latin1"), "contains");
|
|
31
|
+
var formatOf = /* @__PURE__ */ __name((bytes) => {
|
|
32
|
+
if (text(bytes, 0, 4) === "OggS") {
|
|
33
|
+
if (contains(bytes, "OpusHead", 128))
|
|
34
|
+
return "opus";
|
|
35
|
+
if (contains(bytes, "vorbis", 128))
|
|
36
|
+
return "vorbis";
|
|
37
|
+
return "other";
|
|
38
|
+
}
|
|
39
|
+
if (text(bytes, 0, 4) === "fLaC")
|
|
40
|
+
return "flac";
|
|
41
|
+
const frame = bytes[0] === 255 && ((bytes[1] ?? 0) & 224) === 224 && ((bytes[1] ?? 0) >> 1 & 3) !== 0;
|
|
42
|
+
if (text(bytes, 0, 3) === "ID3" || frame)
|
|
43
|
+
return "mp3";
|
|
44
|
+
return "other";
|
|
45
|
+
}, "formatOf");
|
|
46
|
+
var everyChannel = /* @__PURE__ */ __name((decoded) => {
|
|
47
|
+
if (!decoded.channelData[0] || decoded.samplesDecoded === 0)
|
|
48
|
+
throw new CliError("validation_error", "no audio in that file");
|
|
49
|
+
return decoded.channelData.map((samples) => ({ samples, rate: decoded.sampleRate }));
|
|
50
|
+
}, "everyChannel");
|
|
51
|
+
var load = /* @__PURE__ */ __name((name) => importFrom(new URL("speech/decode.js", import.meta.resolve("@wirecat/cli-core")).href, pathToFileURL(createRequire(new URL("speech/decode.js", import.meta.resolve("@wirecat/cli-core")).href).resolve(name)).href), "load");
|
|
52
|
+
var decodeVorbis = /* @__PURE__ */ __name(async (bytes) => {
|
|
53
|
+
const { OggVorbisDecoder } = await load("@wasm-audio-decoders/ogg-vorbis");
|
|
54
|
+
const decoder = new OggVorbisDecoder();
|
|
55
|
+
await decoder.ready;
|
|
56
|
+
try {
|
|
57
|
+
return everyChannel(await decoder.decodeFile(bytes));
|
|
58
|
+
} finally {
|
|
59
|
+
decoder.free();
|
|
60
|
+
}
|
|
61
|
+
}, "decodeVorbis");
|
|
62
|
+
var decodeFlac = /* @__PURE__ */ __name(async (bytes) => {
|
|
63
|
+
const { FLACDecoder } = await load("@wasm-audio-decoders/flac");
|
|
64
|
+
const decoder = new FLACDecoder();
|
|
65
|
+
await decoder.ready;
|
|
66
|
+
try {
|
|
67
|
+
return everyChannel(await decoder.decodeFile(bytes));
|
|
68
|
+
} finally {
|
|
69
|
+
decoder.free();
|
|
70
|
+
}
|
|
71
|
+
}, "decodeFlac");
|
|
72
|
+
var decodeMp3 = /* @__PURE__ */ __name(async (bytes) => {
|
|
73
|
+
const { MPEGDecoder } = await load("mpg123-decoder");
|
|
74
|
+
const decoder = new MPEGDecoder();
|
|
75
|
+
await decoder.ready;
|
|
76
|
+
try {
|
|
77
|
+
return everyChannel(decoder.decode(bytes));
|
|
78
|
+
} finally {
|
|
79
|
+
decoder.free();
|
|
80
|
+
}
|
|
81
|
+
}, "decodeMp3");
|
|
82
|
+
var tooLongError = /* @__PURE__ */ __name(() => new CliError("validation_error", `the audio is longer than ${LONGEST_AUDIO_SECONDS / 60} minutes`), "tooLongError");
|
|
83
|
+
var FLOAT = 3;
|
|
84
|
+
var LONGEST_HEADER = 64 * 1024;
|
|
85
|
+
var EXTENSIBLE = 65534;
|
|
86
|
+
var wavStream = /* @__PURE__ */ __name((most) => {
|
|
87
|
+
let head = Buffer.alloc(0);
|
|
88
|
+
let channels = 0;
|
|
89
|
+
let rate = 0;
|
|
90
|
+
let rest = Buffer.alloc(0);
|
|
91
|
+
let length = 0;
|
|
92
|
+
let parts = [];
|
|
93
|
+
const header = /* @__PURE__ */ __name(() => {
|
|
94
|
+
if (head.length < 12)
|
|
95
|
+
return false;
|
|
96
|
+
if (head.toString("latin1", 0, 4) !== "RIFF" || head.toString("latin1", 8, 12) !== "WAVE")
|
|
97
|
+
throw new CliError("validation_error", "ffmpeg did not answer with WAV audio");
|
|
98
|
+
for (let at = 12; at + 8 <= head.length; ) {
|
|
99
|
+
const id = head.toString("latin1", at, at + 4);
|
|
100
|
+
const size = head.readUInt32LE(at + 4);
|
|
101
|
+
if (id === "data") {
|
|
102
|
+
rest = head.subarray(at + 8);
|
|
103
|
+
head = Buffer.alloc(0);
|
|
104
|
+
return true;
|
|
105
|
+
}
|
|
106
|
+
if (at + 8 + size > head.length)
|
|
107
|
+
return false;
|
|
108
|
+
if (id === "fmt ") {
|
|
109
|
+
const tag = head.readUInt16LE(at + 8);
|
|
110
|
+
channels = head.readUInt16LE(at + 10);
|
|
111
|
+
rate = head.readUInt32LE(at + 12);
|
|
112
|
+
if (tag !== FLOAT && tag !== EXTENSIBLE || head.readUInt16LE(at + 22) !== 32 || channels < 1)
|
|
113
|
+
throw new CliError("validation_error", "ffmpeg did not answer with 32-bit float samples");
|
|
114
|
+
parts = Array.from({ length: channels }, () => []);
|
|
115
|
+
}
|
|
116
|
+
at += 8 + size + size % 2;
|
|
117
|
+
}
|
|
118
|
+
return false;
|
|
119
|
+
}, "header");
|
|
120
|
+
return {
|
|
121
|
+
push: /* @__PURE__ */ __name((chunk) => {
|
|
122
|
+
if (channels === 0 || head.length > 0) {
|
|
123
|
+
head = Buffer.concat([head, chunk]);
|
|
124
|
+
if (head.length > LONGEST_HEADER)
|
|
125
|
+
throw new CliError("validation_error", "ffmpeg's WAV header never ended");
|
|
126
|
+
if (!header())
|
|
127
|
+
return true;
|
|
128
|
+
chunk = Buffer.alloc(0);
|
|
129
|
+
}
|
|
130
|
+
const bytes = rest.length ? Buffer.concat([rest, chunk]) : chunk;
|
|
131
|
+
const frame = channels * 4;
|
|
132
|
+
const frames = Math.floor(bytes.length / frame);
|
|
133
|
+
rest = Buffer.from(bytes.subarray(frames * frame));
|
|
134
|
+
if (frames === 0)
|
|
135
|
+
return length <= most;
|
|
136
|
+
const view = new DataView(bytes.buffer, bytes.byteOffset, frames * frame);
|
|
137
|
+
for (let channel = 0; channel < channels; channel++) {
|
|
138
|
+
const samples = new Float32Array(frames);
|
|
139
|
+
for (let index = 0; index < frames; index++)
|
|
140
|
+
samples[index] = view.getFloat32(index * frame + channel * 4, true);
|
|
141
|
+
parts[channel]?.push(samples);
|
|
142
|
+
}
|
|
143
|
+
length += frames;
|
|
144
|
+
return length <= most;
|
|
145
|
+
}, "push"),
|
|
146
|
+
end: /* @__PURE__ */ __name(() => {
|
|
147
|
+
if (channels === 0)
|
|
148
|
+
throw new CliError("validation_error", "no audio in that file");
|
|
149
|
+
return parts.map((pieces, channel) => {
|
|
150
|
+
const samples = new Float32Array(length);
|
|
151
|
+
let at = 0;
|
|
152
|
+
for (const piece of pieces) {
|
|
153
|
+
samples.set(piece, at);
|
|
154
|
+
at += piece.length;
|
|
155
|
+
}
|
|
156
|
+
parts[channel] = [];
|
|
157
|
+
return { samples, rate };
|
|
158
|
+
});
|
|
159
|
+
}, "end")
|
|
160
|
+
};
|
|
161
|
+
}, "wavStream");
|
|
162
|
+
var runFfmpegFile = /* @__PURE__ */ __name((path) => new Promise((resolve, reject) => {
|
|
163
|
+
const child = spawn("ffmpeg", [
|
|
164
|
+
"-nostdin",
|
|
165
|
+
"-hide_banner",
|
|
166
|
+
"-loglevel",
|
|
167
|
+
"error",
|
|
168
|
+
"-protocol_whitelist",
|
|
169
|
+
"file",
|
|
170
|
+
"-format_whitelist",
|
|
171
|
+
FFMPEG_FORMATS,
|
|
172
|
+
"-i",
|
|
173
|
+
path,
|
|
174
|
+
"-vn",
|
|
175
|
+
"-af",
|
|
176
|
+
"aformat=channel_layouts=mono|stereo",
|
|
177
|
+
"-ar",
|
|
178
|
+
String(SAMPLE_RATE),
|
|
179
|
+
"-c:a",
|
|
180
|
+
"pcm_f32le",
|
|
181
|
+
"-bitexact",
|
|
182
|
+
"-f",
|
|
183
|
+
"wav",
|
|
184
|
+
"pipe:1"
|
|
185
|
+
], { stdio: ["ignore", "pipe", "pipe"], timeout: FFMPEG_TIMEOUT_MS });
|
|
186
|
+
const wav = wavStream(LONGEST_AUDIO_SECONDS * SAMPLE_RATE);
|
|
187
|
+
let long = false;
|
|
188
|
+
let broken;
|
|
189
|
+
let errors = "";
|
|
190
|
+
child.stdout.on("data", (chunk) => {
|
|
191
|
+
if (long || broken)
|
|
192
|
+
return;
|
|
193
|
+
try {
|
|
194
|
+
long = !wav.push(chunk);
|
|
195
|
+
} catch (error) {
|
|
196
|
+
broken = error;
|
|
197
|
+
}
|
|
198
|
+
if (long || broken)
|
|
199
|
+
child.kill();
|
|
200
|
+
});
|
|
201
|
+
child.stderr.on("data", (chunk) => {
|
|
202
|
+
errors = (errors + chunk.toString()).slice(-500);
|
|
203
|
+
});
|
|
204
|
+
child.on("error", (error) => reject(error.code === "ENOENT" ? new CliError("validation_error", "only ffmpeg reads this audio format, and ffmpeg is not installed") : error));
|
|
205
|
+
child.on("close", (code) => {
|
|
206
|
+
if (long)
|
|
207
|
+
return reject(tooLongError());
|
|
208
|
+
if (broken)
|
|
209
|
+
return reject(broken);
|
|
210
|
+
if (code !== 0)
|
|
211
|
+
return reject(new CliError("validation_error", `ffmpeg could not read the audio: ${errors.trim() || code}`));
|
|
212
|
+
try {
|
|
213
|
+
resolve(wav.end());
|
|
214
|
+
} catch (error) {
|
|
215
|
+
reject(error);
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
}), "runFfmpegFile");
|
|
219
|
+
var runFfmpeg = /* @__PURE__ */ __name(async (bytes) => {
|
|
220
|
+
const directory = await mkdtemp(join(tmpdir(), "wirecat-audio-"));
|
|
221
|
+
try {
|
|
222
|
+
const input = join(directory, "audio");
|
|
223
|
+
await writeFile(input, bytes, { mode: 384 });
|
|
224
|
+
return await runFfmpegFile(input);
|
|
225
|
+
} finally {
|
|
226
|
+
await rm(directory, { recursive: true, force: true });
|
|
227
|
+
}
|
|
228
|
+
}, "runFfmpeg");
|
|
229
|
+
var BUNDLED = {
|
|
230
|
+
opus: decodeOgg,
|
|
231
|
+
vorbis: decodeVorbis,
|
|
232
|
+
flac: decodeFlac,
|
|
233
|
+
mp3: decodeMp3
|
|
234
|
+
};
|
|
235
|
+
var tooLong = /* @__PURE__ */ __name((pcm) => pcm.samples.length / pcm.rate > LONGEST_AUDIO_SECONDS, "tooLong");
|
|
236
|
+
var fromFfmpeg = /* @__PURE__ */ __name((answer) => Array.isArray(answer) ? { channels: answer, mixed: false } : { channels: [answer], mixed: true }, "fromFfmpeg");
|
|
237
|
+
var decodeChannels = /* @__PURE__ */ __name(async (bytes, ffmpeg = runFfmpeg) => {
|
|
238
|
+
const format = formatOf(bytes);
|
|
239
|
+
const decoded = format === "other" ? fromFfmpeg(await ffmpeg(bytes)) : await BUNDLED[format](bytes).then((channels) => ({ channels, mixed: false }), (error) => ffmpeg(bytes).then(fromFfmpeg, () => {
|
|
240
|
+
throw error;
|
|
241
|
+
}));
|
|
242
|
+
if (decoded.channels.length === 0)
|
|
243
|
+
throw new CliError("validation_error", "no audio in that file");
|
|
244
|
+
if (decoded.channels.some(tooLong))
|
|
245
|
+
throw tooLongError();
|
|
246
|
+
return decoded;
|
|
247
|
+
}, "decodeChannels");
|
|
248
|
+
var decodeChannelsFile = /* @__PURE__ */ __name(async (path, { maxBytes = 64 * 1024 * 1024, ffmpegFile = runFfmpegFile } = {}) => {
|
|
249
|
+
const file = await open(path, "r");
|
|
250
|
+
let start;
|
|
251
|
+
let size;
|
|
252
|
+
try {
|
|
253
|
+
size = (await file.stat()).size;
|
|
254
|
+
const head = Buffer.alloc(Math.min(size, 128));
|
|
255
|
+
await file.read(head, 0, head.length, 0);
|
|
256
|
+
start = head;
|
|
257
|
+
} finally {
|
|
258
|
+
await file.close();
|
|
259
|
+
}
|
|
260
|
+
if (formatOf(start) === "other") {
|
|
261
|
+
const channels = await ffmpegFile(path);
|
|
262
|
+
if (channels.some(tooLong))
|
|
263
|
+
throw tooLongError();
|
|
264
|
+
return { channels, mixed: false };
|
|
265
|
+
}
|
|
266
|
+
if (size > maxBytes)
|
|
267
|
+
throw new CliError("validation_error", `the audio file is larger than ${Math.round(maxBytes / 1024 / 1024)} MB`, {
|
|
268
|
+
reason: "file.too-large"
|
|
269
|
+
});
|
|
270
|
+
return decodeChannels(new Uint8Array(await readFile(path)), () => ffmpegFile(path));
|
|
271
|
+
}, "decodeChannelsFile");
|
|
272
|
+
var mixDown = /* @__PURE__ */ __name((channels) => {
|
|
273
|
+
const [first] = channels;
|
|
274
|
+
if (!first)
|
|
275
|
+
throw new CliError("validation_error", "no audio in that file");
|
|
276
|
+
if (channels.length === 1)
|
|
277
|
+
return first;
|
|
278
|
+
const length = channels.reduce((longest, { samples: samples2 }) => Math.max(longest, samples2.length), 0);
|
|
279
|
+
const samples = new Float32Array(length);
|
|
280
|
+
for (const channel of channels)
|
|
281
|
+
for (let index = 0; index < channel.samples.length; index++)
|
|
282
|
+
samples[index] = (samples[index] ?? 0) + (channel.samples[index] ?? 0) / channels.length;
|
|
283
|
+
return { samples, rate: first.rate };
|
|
284
|
+
}, "mixDown");
|
|
285
|
+
var decodeAudio = /* @__PURE__ */ __name(async (bytes, ffmpeg = runFfmpeg) => mixDown((await decodeChannels(bytes, ffmpeg)).channels), "decodeAudio");
|
|
286
|
+
export {
|
|
287
|
+
LONGEST_AUDIO_SECONDS,
|
|
288
|
+
decodeAudio,
|
|
289
|
+
decodeChannels,
|
|
290
|
+
decodeChannelsFile,
|
|
291
|
+
formatOf,
|
|
292
|
+
mixDown,
|
|
293
|
+
runFfmpeg,
|
|
294
|
+
runFfmpegFile,
|
|
295
|
+
wavStream
|
|
296
|
+
};
|
|
@@ -14,22 +14,22 @@ import {
|
|
|
14
14
|
parseDescribe,
|
|
15
15
|
shimFiles,
|
|
16
16
|
writeShim
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7JVKQ6NM.js";
|
|
18
18
|
import "./chunk-Y5E2WNWB.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HM6AMYHR.js";
|
|
22
22
|
import {
|
|
23
23
|
__name,
|
|
24
24
|
__toESM
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
28
28
|
var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
29
29
|
import { randomUUID } from "node:crypto";
|
|
30
30
|
import { constants } from "node:os";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/path.js
|
|
33
33
|
import { readdirSync, statSync } from "node:fs";
|
|
34
34
|
import { join } from "node:path";
|
|
35
35
|
var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
|
|
@@ -101,7 +101,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
|
|
|
101
101
|
}, "findTools");
|
|
102
102
|
var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
|
|
103
103
|
|
|
104
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
104
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/probe.js
|
|
105
105
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
106
106
|
import { readFileSync } from "node:fs";
|
|
107
107
|
var probeDescribe = /* @__PURE__ */ __name((path, { env, timeoutMs }) => new Promise((resolve) => {
|
|
@@ -149,7 +149,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
|
|
|
149
149
|
}
|
|
150
150
|
}, "baseVersion");
|
|
151
151
|
|
|
152
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
152
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shortcuts.js
|
|
153
153
|
import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
|
|
154
154
|
import { basename, dirname } from "node:path";
|
|
155
155
|
var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
|
|
@@ -241,7 +241,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
|
|
|
241
241
|
return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
|
|
242
242
|
}), "removeShortcuts");
|
|
243
243
|
|
|
244
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
244
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
245
245
|
var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
|
|
246
246
|
var listTools = /* @__PURE__ */ __name(async (context) => {
|
|
247
247
|
const installed = installedPrograms(context);
|
|
@@ -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-MP6VKL5Y.js");
|
|
342
342
|
const object = errorObjectOf(error);
|
|
343
343
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
344
344
|
`);
|
|
@@ -24,17 +24,18 @@ import {
|
|
|
24
24
|
recordTemplate,
|
|
25
25
|
refsForLink,
|
|
26
26
|
terminalQr
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import {
|
|
29
|
-
DETAILS,
|
|
30
|
-
REASONS,
|
|
31
|
-
failureContext
|
|
32
|
-
} from "./chunk-LB5FTCPZ.js";
|
|
27
|
+
} from "./chunk-TP766H4O.js";
|
|
33
28
|
import {
|
|
34
29
|
pollLines,
|
|
35
30
|
renderMessage,
|
|
36
31
|
renderMessages
|
|
37
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3WAZKCDF.js";
|
|
33
|
+
import "./chunk-HTQTIKWP.js";
|
|
34
|
+
import {
|
|
35
|
+
DETAILS,
|
|
36
|
+
REASONS,
|
|
37
|
+
failureContext
|
|
38
|
+
} from "./chunk-4IASS7NQ.js";
|
|
38
39
|
import {
|
|
39
40
|
ModerationRules,
|
|
40
41
|
act,
|
|
@@ -44,15 +45,14 @@ import {
|
|
|
44
45
|
judge,
|
|
45
46
|
moderationPathFor,
|
|
46
47
|
validateFormattedText
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import {
|
|
49
|
-
readSecret
|
|
50
|
-
} from "./chunk-QN423PC6.js";
|
|
51
|
-
import "./chunk-S6CHYNFE.js";
|
|
52
|
-
import "./chunk-HTQTIKWP.js";
|
|
48
|
+
} from "./chunk-YCIWSKOH.js";
|
|
53
49
|
import {
|
|
54
50
|
resolveOutput
|
|
55
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-HF5QWKK2.js";
|
|
52
|
+
import {
|
|
53
|
+
readSecret
|
|
54
|
+
} from "./chunk-5WYBI35N.js";
|
|
55
|
+
import "./chunk-NEDS4ORI.js";
|
|
56
56
|
import {
|
|
57
57
|
COUNTER_FIELDS,
|
|
58
58
|
PHONE_COUNTRIES,
|
|
@@ -76,11 +76,12 @@ import {
|
|
|
76
76
|
pickChat,
|
|
77
77
|
pickPerson,
|
|
78
78
|
rankingOptions
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-DREU6TN6.js";
|
|
80
|
+
import "./chunk-V4O47JV6.js";
|
|
81
|
+
import "./chunk-L4RCWRWS.js";
|
|
80
82
|
import {
|
|
81
83
|
ADDED_ACCOUNT,
|
|
82
84
|
ADDED_PROVIDER,
|
|
83
|
-
BACKENDS,
|
|
84
85
|
CATALOG_KINDS,
|
|
85
86
|
CONTRACT_KINDS,
|
|
86
87
|
CONTRACT_ROLES,
|
|
@@ -114,18 +115,15 @@ import {
|
|
|
114
115
|
STAGE_OUTCOMES,
|
|
115
116
|
STANDINGS,
|
|
116
117
|
SUBSCRIPTION_STATUSES,
|
|
117
|
-
TAG_TYPES,
|
|
118
118
|
TRANSACTION_STATUSES,
|
|
119
119
|
UNKNOWN_PROVIDER,
|
|
120
120
|
WALLET_KINDS,
|
|
121
121
|
byEngagement,
|
|
122
|
-
canonicalMeetingReference,
|
|
123
122
|
canonicalReference,
|
|
124
123
|
currencyOf,
|
|
125
124
|
engagementRank,
|
|
126
125
|
formatDecimal,
|
|
127
126
|
formatLocator,
|
|
128
|
-
formatMeetingReference,
|
|
129
127
|
formatReference,
|
|
130
128
|
holdsKind,
|
|
131
129
|
intervalOf,
|
|
@@ -145,26 +143,33 @@ import {
|
|
|
145
143
|
moneyLabel,
|
|
146
144
|
moneyOf,
|
|
147
145
|
normalCrmUserId,
|
|
148
|
-
normalizeTag,
|
|
149
146
|
parseLocator,
|
|
150
|
-
parseMeetingReference,
|
|
151
147
|
parseReference,
|
|
152
148
|
providerNamed,
|
|
153
149
|
providers,
|
|
154
150
|
rolesOf,
|
|
155
|
-
serviceCallsOf,
|
|
156
151
|
signedMinorUnits,
|
|
157
152
|
standingOf,
|
|
158
153
|
usableLink,
|
|
159
154
|
useProviders
|
|
160
|
-
} from "./chunk-
|
|
161
|
-
import "./chunk-
|
|
162
|
-
import
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
155
|
+
} from "./chunk-6VARUB3J.js";
|
|
156
|
+
import "./chunk-3ACF6TIV.js";
|
|
157
|
+
import {
|
|
158
|
+
TAG_TYPES,
|
|
159
|
+
normalizeTag
|
|
160
|
+
} from "./chunk-YTI533XF.js";
|
|
161
|
+
import {
|
|
162
|
+
BACKENDS,
|
|
163
|
+
canonicalMeetingReference,
|
|
164
|
+
formatMeetingReference,
|
|
165
|
+
parseMeetingReference,
|
|
166
|
+
serviceCallsOf
|
|
167
|
+
} from "./chunk-AXKIXVQA.js";
|
|
168
|
+
import "./chunk-AV2ZJ4WX.js";
|
|
169
|
+
import "./chunk-7FXZKQAC.js";
|
|
170
|
+
import "./chunk-YA44BG3N.js";
|
|
166
171
|
import "./chunk-Y5E2WNWB.js";
|
|
167
|
-
import "./chunk-
|
|
172
|
+
import "./chunk-HM6AMYHR.js";
|
|
168
173
|
import "./chunk-ZVVMGPBJ.js";
|
|
169
174
|
export {
|
|
170
175
|
ADDED_ACCOUNT,
|