@wirecat/mail-cli 0.34.0 → 0.36.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 +43 -0
- package/README.md +4 -1
- package/contracts/wirecat.json +52 -2
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/agent-MW7YWUIY.js +39 -0
- package/dist/bundle/{all-profiles-2KUKROHY.js → all-profiles-RS6OV3YO.js} +63 -21
- package/dist/bundle/{anthropic-E5KRCEVC.js → anthropic-PPQ7DTXN.js} +5 -5
- package/dist/bundle/{app-server-HIQ3QO5K.js → app-server-EBFBMFQC.js} +81 -71
- package/dist/bundle/{bun-KARJPE5D.js → bun-J7HAT7MW.js} +2 -2
- package/dist/bundle/{bun-sqlite-NHGX6ZUN.js → bun-sqlite-PCSNAXIQ.js} +6 -6
- package/dist/bundle/{chunk-WYGDALB3.js → chunk-2RV4V55B.js} +18 -18
- package/dist/bundle/{chunk-QXYNDMA6.js → chunk-2UNZ3L2H.js} +6 -6
- package/dist/bundle/{chunk-DYQGEZA2.js → chunk-2VEFNFYZ.js} +3 -3
- package/dist/bundle/chunk-3BYKGMRM.js +338 -0
- package/dist/bundle/{chunk-PRDKEVUL.js → chunk-3NOXZZJV.js} +1 -1
- package/dist/bundle/{chunk-4VM3UCSO.js → chunk-3ZKNXKM7.js} +2 -2
- package/dist/bundle/{chunk-JVGVLRBA.js → chunk-42XY6D5C.js} +5 -5
- package/dist/bundle/{chunk-A2Y2RFNW.js → chunk-437UHSIO.js} +123 -6
- package/dist/bundle/{chunk-FNYWC6A3.js → chunk-4WSTWZUB.js} +3 -3
- package/dist/bundle/{chunk-V43KEZYA.js → chunk-5G4MDFZ2.js} +9 -60
- package/dist/bundle/{chunk-ZZEWQR43.js → chunk-5JEKBYIH.js} +14 -14
- package/dist/bundle/{chunk-CKVWAUBW.js → chunk-5TIWO6AR.js} +12 -12
- package/dist/bundle/{chunk-X6IGETU6.js → chunk-5VPLQS4S.js} +2 -2
- package/dist/bundle/chunk-645FQC4G.js +559 -0
- package/dist/bundle/{chunk-PA4GEJXQ.js → chunk-6FZPFNEU.js} +9 -9
- package/dist/bundle/{chunk-XWU3A7H6.js → chunk-6LJIENVT.js} +2 -2
- package/dist/bundle/{chunk-2GDLJKPT.js → chunk-6NDPOY4N.js} +1 -1
- package/dist/bundle/{chunk-QXLYLVEC.js → chunk-6PKMUKUF.js} +1 -1
- package/dist/bundle/{chunk-TZJC4AOK.js → chunk-6TT62IUW.js} +53 -33
- package/dist/bundle/chunk-6UYIWQLU.js +52 -0
- package/dist/bundle/{chunk-MGXYIVVJ.js → chunk-6VMJLOYO.js} +12 -12
- package/dist/bundle/{chunk-ZGZADWD7.js → chunk-774VG5WZ.js} +1 -1
- package/dist/bundle/chunk-AVR4FPYG.js +192 -0
- package/dist/bundle/{chunk-KF6O4RZO.js → chunk-BBQERXQX.js} +3 -3
- package/dist/bundle/{chunk-LOSYDRJU.js → chunk-C3JSQ7UJ.js} +53 -11
- package/dist/bundle/{chunk-OJ3BI2U4.js → chunk-CJHO6B3M.js} +34 -28
- package/dist/bundle/{chunk-VRGEDK4T.js → chunk-CJMZQ2MZ.js} +35 -12
- package/dist/bundle/{chunk-4SKE5GYA.js → chunk-CMOO4INK.js} +1 -1
- package/dist/bundle/{chunk-DZRP4UCK.js → chunk-DVJPEZGV.js} +30 -15
- package/dist/bundle/{chunk-H77ALM2Y.js → chunk-EGR3YUWD.js} +4 -4
- package/dist/bundle/{chunk-4VHK5UBM.js → chunk-GBZIWCEP.js} +3 -3
- package/dist/bundle/{chunk-2SCQ7Z4I.js → chunk-GCTHVCJU.js} +4 -4
- package/dist/bundle/{chunk-4URI6EAV.js → chunk-GEU3WR75.js} +3 -3
- package/dist/bundle/{chunk-OX5MCGXL.js → chunk-GI6DNX7Q.js} +63 -54
- package/dist/bundle/{chunk-KLI5FKZ2.js → chunk-HH34WRQE.js} +7 -7
- package/dist/bundle/chunk-HPSESLOZ.js +7 -0
- package/dist/bundle/{chunk-6LFRZDPV.js → chunk-IBOWSQ7X.js} +3 -4
- package/dist/bundle/{chunk-XIF75Z7D.js → chunk-JCILSTFK.js} +1 -1
- package/dist/bundle/{chunk-OOYRMTX5.js → chunk-KLPFPNZP.js} +12 -26
- package/dist/bundle/{chunk-6G4VQFVX.js → chunk-KP7JHJVP.js} +17 -17
- package/dist/bundle/chunk-KTVQIKU5.js +726 -0
- package/dist/bundle/{chunk-2VBEBPGX.js → chunk-KVFBSOCV.js} +9 -9
- package/dist/bundle/{chunk-KGYK3OI3.js → chunk-L4QLZDBZ.js} +43 -64
- package/dist/bundle/{chunk-R2GS3GBJ.js → chunk-LQQIYBHN.js} +100 -66
- package/dist/bundle/{chunk-I3MS74OF.js → chunk-MQ6DQRRI.js} +4 -4
- package/dist/bundle/{chunk-FORAOCZ3.js → chunk-MRWV5VNQ.js} +6 -6
- package/dist/bundle/{chunk-NJVJH5MH.js → chunk-MT3LYU4T.js} +3245 -1644
- package/dist/bundle/{chunk-5GANGHQI.js → chunk-NCY55XIT.js} +9 -9
- package/dist/bundle/{chunk-QFJC6POK.js → chunk-NJZR3OFK.js} +1 -1
- package/dist/bundle/chunk-NSH2UHJR.js +353 -0
- package/dist/bundle/chunk-NTUP5RCP.js +116 -0
- package/dist/bundle/chunk-NYR7PIAG.js +80 -0
- package/dist/bundle/{chunk-PC3N3LH3.js → chunk-NYYMMIVW.js} +3 -3
- package/dist/bundle/{chunk-NXERDBEK.js → chunk-OEL4DQTT.js} +4 -4
- package/dist/bundle/{chunk-RPNQXWRS.js → chunk-PF7ZNIVP.js} +2 -2
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-QQGPV3QN.js → chunk-PMGAU6AP.js} +2 -2
- package/dist/bundle/{chunk-PVZMN3UZ.js → chunk-PMSZBUC7.js} +8 -8
- package/dist/bundle/{chunk-HH647UBC.js → chunk-PPIMXOBT.js} +104 -255
- package/dist/bundle/{chunk-YWX5X5RI.js → chunk-Q6TPXXOS.js} +19 -17
- package/dist/bundle/{chunk-Z6A6QPPW.js → chunk-QDNYJOWJ.js} +1 -1
- package/dist/bundle/{chunk-OG5QO5RR.js → chunk-QI2XGTFH.js} +8 -8
- package/dist/bundle/{chunk-T2EE5M7O.js → chunk-REWV37HQ.js} +144 -10
- package/dist/bundle/{chunk-LKTDW5LH.js → chunk-RJUVWJTA.js} +18 -8
- package/dist/bundle/{chunk-MDISZMK4.js → chunk-RMWS7IQ4.js} +4 -4
- package/dist/bundle/{chunk-VBVR6JRC.js → chunk-ROK7Z5LQ.js} +275 -174
- package/dist/bundle/{chunk-HRDCH2VB.js → chunk-SCJVKWMV.js} +3665 -3339
- package/dist/bundle/{chunk-NAENYLIO.js → chunk-SJNFPBPF.js} +2 -2
- package/dist/bundle/{chunk-6GGMFL7J.js → chunk-TV634B6T.js} +2 -100
- package/dist/bundle/{chunk-26DYRMXE.js → chunk-U3BO342P.js} +1 -1
- package/dist/bundle/{chunk-KNVTBDTE.js → chunk-U67XMAEE.js} +3 -3
- package/dist/bundle/chunk-V5I7QP4T.js +108 -0
- package/dist/bundle/{chunk-NI4GCP2T.js → chunk-VIDPFLFM.js} +2 -2
- package/dist/bundle/{chunk-AGZ7SNFF.js → chunk-VIJV474N.js} +1 -1
- package/dist/bundle/{chunk-QOQF2TX3.js → chunk-WNQECDIP.js} +338 -299
- package/dist/bundle/{chunk-SK3N4CK5.js → chunk-WPPPO427.js} +4 -4
- package/dist/bundle/{chunk-EZAX77SM.js → chunk-WZFGZBGD.js} +86 -75
- package/dist/bundle/{chunk-EGQJDEFY.js → chunk-XRVZMM5B.js} +158 -562
- package/dist/bundle/{chunk-NWD7AFOR.js → chunk-YPB5BEAD.js} +2 -2
- package/dist/bundle/{chunk-NHD5BOJU.js → chunk-ZRSLG3B3.js} +6 -6
- package/dist/bundle/{chunk-IMQ4CVZJ.js → chunk-ZV57PIPE.js} +2 -2
- package/dist/bundle/command-contract-WFTIRPL5.js +39 -0
- package/dist/bundle/{command-server-entry-NF45UPEV.js → command-server-entry-73RJELAV.js} +28 -28
- package/dist/bundle/{decode-DUZA3EHC.js → decode-7BUWBDPT.js} +5 -5
- package/dist/bundle/{dispatch-CDJZAMVP.js → dispatch-IBOMVWZA.js} +8 -8
- package/dist/bundle/{dist-RH7EMC4J.js → dist-MULVCVSR.js} +25 -23
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-GZHZBNRA.js → echarts-VLWFC322.js} +2 -2
- package/dist/bundle/{embed-VE3CSJN4.js → embed-W3VH4HPY.js} +6 -6
- package/dist/bundle/{embedder-DSJ77DX5.js → embedder-I7ERQZJV.js} +9 -9
- package/dist/bundle/{failure-YH6HAGFT.js → failure-QMAPSQ7X.js} +2 -2
- package/dist/bundle/{first-run-3L7HLYTI.js → first-run-LCVER6QN.js} +12 -12
- package/dist/bundle/first-screen-DCTHI4NQ.js +39 -0
- package/dist/bundle/{instructions-OZK3BLIO.js → instructions-BNCVLSYQ.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-YUG4YR4R.js → mcp-Z2KZNCXB.js} +2 -2
- package/dist/bundle/meeting-combined-ITU7SZ7E.js +24 -0
- package/dist/bundle/{meeting-model-U7LW5WEN.js → meeting-model-BWLSTNXA.js} +11 -11
- package/dist/bundle/{meeting-semantic-64IOIQRR.js → meeting-semantic-ZIEHXN2R.js} +6 -6
- package/dist/bundle/{node-OS3VWBUZ.js → node-RYFTRSG4.js} +2 -2
- package/dist/bundle/{node-sqlite-RQ623VFA.js → node-sqlite-XCHVNTGQ.js} +7 -7
- package/dist/bundle/{oauth-CBPAG734.js → oauth-FNUJSKKJ.js} +8 -8
- package/dist/bundle/{open-H4DGOMBC.js → open-WVWSJ3WI.js} +5 -5
- package/dist/bundle/{openai-EMWRGR54.js → openai-QOUTYYTF.js} +15 -15
- package/dist/bundle/{process-3TOIYASI.js → process-W5KPID53.js} +1 -1
- package/dist/bundle/{program-WA6RGAJL.js → program-L5UANM3I.js} +3397 -2219
- package/dist/bundle/{prompt-22KNCMBI.js → prompt-JSBAPNJE.js} +5 -5
- package/dist/bundle/{recognize-UWD4RSCZ.js → recognize-FDX4SJ6Q.js} +4 -4
- package/dist/bundle/{remote-LJY7MF2E.js → remote-MYOXOQHM.js} +9 -9
- package/dist/bundle/{rerank-JJ6KNJFB.js → rerank-NY5MSZCR.js} +7 -7
- package/dist/bundle/{serve-3EPLJYVZ.js → serve-URI6NZA3.js} +10 -10
- package/dist/bundle/{server-5JOFO4V4.js → server-HQ25RHQM.js} +75 -64
- package/dist/bundle/server-UVYFU2JN.js +84 -0
- package/dist/bundle/{sqlite-runtime-MGJA5E27.js → sqlite-runtime-6UUPSSKG.js} +6 -6
- package/dist/bundle/{state-UCRDOWOP.js → state-NDDVFPCI.js} +6 -6
- package/dist/bundle/{store-265VRRQV.js → store-2RDOICVN.js} +28 -23
- package/dist/bundle/{store-HS272YSA.js → store-PKYWPKKR.js} +34 -21
- package/dist/bundle/store-maintenance-command-Y5XTO47X.js +71 -0
- package/dist/bundle/surface-3XKM3MQ2.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/session-start.js +1 -1
- package/dist/commands/session-start.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 +5 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -1
- package/dist/config.js.map +1 -1
- package/dist/oauth.d.ts.map +1 -1
- package/dist/oauth.js +2 -1
- package/dist/oauth.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-FEBUZHU3.js +0 -2
- package/dist/bundle/command-contract-PZ7VOOXP.js +0 -39
- package/dist/bundle/first-screen-MY5KID77.js +0 -37
- package/dist/bundle/meeting-combined-RYMUPY54.js +0 -24
- package/dist/bundle/server-EOQNS7B7.js +0 -75
- package/dist/bundle/store-maintenance-command-IKZM5NRP.js +0 -66
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
LEVELS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RJUVWJTA.js";
|
|
6
6
|
import {
|
|
7
7
|
WORD_BODY,
|
|
8
8
|
e164Of
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2RV4V55B.js";
|
|
10
10
|
import {
|
|
11
11
|
resolvePaths,
|
|
12
12
|
writeSecurely
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WZFGZBGD.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
getDotPath,
|
|
@@ -29,16 +29,16 @@ import {
|
|
|
29
29
|
string,
|
|
30
30
|
transform,
|
|
31
31
|
unknown
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-C3JSQ7UJ.js";
|
|
33
33
|
import {
|
|
34
34
|
CliError,
|
|
35
35
|
visibleControls
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-PMGAU6AP.js";
|
|
37
37
|
import {
|
|
38
38
|
__name
|
|
39
39
|
} from "./chunk-ZVVMGPBJ.js";
|
|
40
40
|
|
|
41
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/vcard.js
|
|
42
42
|
import { createHash } from "node:crypto";
|
|
43
43
|
var MAX_ID = 512;
|
|
44
44
|
var AS_WORD = new RegExp(`^${WORD_BODY}$`);
|
|
@@ -269,7 +269,7 @@ var envelopeOfVcard = /* @__PURE__ */ __name((text, { provider, account, batchId
|
|
|
269
269
|
};
|
|
270
270
|
}, "envelopeOfVcard");
|
|
271
271
|
|
|
272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
273
273
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
274
274
|
var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
275
275
|
const { text, spans } = formatted;
|
|
@@ -329,7 +329,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
|
329
329
|
};
|
|
330
330
|
}, "visibleFormattedText");
|
|
331
331
|
|
|
332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
333
333
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
334
334
|
var LINK = /https?:\/\/\S+/i;
|
|
335
335
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -517,7 +517,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
517
517
|
}, "nextPoint");
|
|
518
518
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
519
519
|
|
|
520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
521
521
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
522
522
|
import { join } from "node:path";
|
|
523
523
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -5,23 +5,23 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GCTHVCJU.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PMGAU6AP.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.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,66 +678,45 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
|
-
var
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
name: `onnxruntime-node-${ONNX_RUNTIME_VERSION}.tgz`,
|
|
691
|
-
url: `https://registry.npmjs.org/onnxruntime-node/-/onnxruntime-node-${ONNX_RUNTIME_VERSION}.tgz`,
|
|
692
|
-
sha256: "6e3390d6b783e7be946fad629292799da28d0b42f84856e50d2c1b0383291e75",
|
|
693
|
-
bytes: 113507888
|
|
694
|
-
};
|
|
695
|
-
var NATIVE = {
|
|
696
|
-
"linux-x64": {
|
|
697
|
-
archive: release("onnxruntime-linux-x64-1.30.0.tgz", "a5ed5a3cac51fbb2e90da632ae43d19212faaa20e76484e62bcb7c23ddb3b3fd", 11306877),
|
|
698
|
-
member: "onnxruntime-linux-x64-1.30.0/lib/libonnxruntime.so.1.30.0",
|
|
699
|
-
library: {
|
|
700
|
-
name: "libonnxruntime.so.1",
|
|
701
|
-
sha256: "245a6f8c38127551057a1cd1ffd59f0a186a227ade4f3492dea2494eb565542e",
|
|
702
|
-
bytes: 28985152
|
|
703
|
-
}
|
|
704
|
-
},
|
|
705
|
-
"linux-arm64": {
|
|
706
|
-
archive: release("onnxruntime-linux-aarch64-1.30.0.tgz", "e16a27a8ed330bbc698df7330b0cf56e722f354e3bcc92118682c74ef3c3e3da", 10269495),
|
|
707
|
-
member: "onnxruntime-linux-aarch64-1.30.0/lib/libonnxruntime.so.1.30.0",
|
|
708
|
-
library: {
|
|
709
|
-
name: "libonnxruntime.so.1",
|
|
710
|
-
sha256: "64e903a43a041240fd6bcffe0ac6d4fea47ef87bf24b9d097801bd00a9612a4b",
|
|
711
|
-
bytes: 25135496
|
|
712
|
-
}
|
|
713
|
-
},
|
|
714
|
-
"darwin-arm64": {
|
|
715
|
-
archive: release("onnxruntime-osx-arm64-1.30.0.tgz", "6ebb5062a934537c352937821f9fe9718e7de1a2db1122a93dd363ffd53a7012", 42373116),
|
|
716
|
-
member: "onnxruntime-osx-arm64-1.30.0/lib/libonnxruntime.1.30.0.dylib",
|
|
717
|
-
library: {
|
|
718
|
-
name: "libonnxruntime.1.dylib",
|
|
719
|
-
sha256: "bcc9110f9d638a119de2db7afb3ba9a1da8085f0cb3401e1c48ae1caf450b6fa",
|
|
720
|
-
bytes: 43879424
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
"win32-x64": {
|
|
724
|
-
archive: npmTarball,
|
|
725
|
-
member: "package/bin/napi-v6/win32/x64/onnxruntime.dll",
|
|
726
|
-
library: {
|
|
727
|
-
name: "onnxruntime.dll",
|
|
728
|
-
sha256: "508c362f5673483dd3a086379c392795b2e42d10d5e6f3f90ebd7ac21c97af67",
|
|
729
|
-
bytes: 28754232
|
|
730
|
-
}
|
|
683
|
+
var REGISTRY = "https://registry.npmjs.org";
|
|
684
|
+
var wirecat = /* @__PURE__ */ __name((target, sha256, bytes, library) => ({
|
|
685
|
+
archive: {
|
|
686
|
+
name: `onnxruntime-${target}-${ONNX_RUNTIME_VERSION}.tgz`,
|
|
687
|
+
url: `${REGISTRY}/@wirecat/onnxruntime-${target}/-/onnxruntime-${target}-${ONNX_RUNTIME_VERSION}.tgz`,
|
|
688
|
+
sha256,
|
|
689
|
+
bytes
|
|
731
690
|
},
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
}
|
|
691
|
+
member: `package/${library.name}`,
|
|
692
|
+
library
|
|
693
|
+
}), "wirecat");
|
|
694
|
+
var NATIVE = {
|
|
695
|
+
"linux-x64": wirecat("linux-x64", "9c12e88ae495ae04e28802e52c2524a7a9c31aa715a67eeb636c85efcb08e5d9", 11305384, {
|
|
696
|
+
name: "libonnxruntime.so.1",
|
|
697
|
+
sha256: "245a6f8c38127551057a1cd1ffd59f0a186a227ade4f3492dea2494eb565542e",
|
|
698
|
+
bytes: 28985152
|
|
699
|
+
}),
|
|
700
|
+
"linux-arm64": wirecat("linux-arm64", "4ec23a63f0e7f49edb63590f4bc8b0e8526bff5b3a2b19d768112f37dc50d09c", 10386392, {
|
|
701
|
+
name: "libonnxruntime.so.1",
|
|
702
|
+
sha256: "64e903a43a041240fd6bcffe0ac6d4fea47ef87bf24b9d097801bd00a9612a4b",
|
|
703
|
+
bytes: 25135496
|
|
704
|
+
}),
|
|
705
|
+
"darwin-arm64": wirecat("darwin-arm64", "0e543a584a048b301ff96b81af4b001288e048577ce0f0b4a5a9c2df97979615", 12921423, {
|
|
706
|
+
name: "libonnxruntime.1.dylib",
|
|
707
|
+
sha256: "bffaa6ef856dba2c26f09c7c0e7018fd1562625f3485292c7ad28b83748c6879",
|
|
708
|
+
bytes: 43879424
|
|
709
|
+
}),
|
|
710
|
+
"win32-x64": wirecat("win32-x64", "55924c8e4c3f975d131e943712c5fac6e5423fb2b0c356c96230f2ad18dc2792", 10652326, {
|
|
711
|
+
name: "onnxruntime.dll",
|
|
712
|
+
sha256: "508c362f5673483dd3a086379c392795b2e42d10d5e6f3f90ebd7ac21c97af67",
|
|
713
|
+
bytes: 28754232
|
|
714
|
+
}),
|
|
715
|
+
"win32-arm64": wirecat("win32-arm64", "77e43743e580d6641e49b7cdeed57fd11f21a8cf27a186dd33a3db817b3ff7f2", 10778591, {
|
|
716
|
+
name: "onnxruntime.dll",
|
|
717
|
+
sha256: "6c3a2abf5c6aca11c48a0d338a91af309f2266f25ce2e4084e6a87bbcb0fbfd0",
|
|
718
|
+
bytes: 29815136
|
|
719
|
+
})
|
|
741
720
|
};
|
|
742
721
|
var onMusl = /* @__PURE__ */ __name(() => {
|
|
743
722
|
try {
|
|
@@ -771,7 +750,7 @@ var installNativeRuntime = /* @__PURE__ */ __name(async ({ env = process.env, pr
|
|
|
771
750
|
const folder = runtimeFolder(runtime, env);
|
|
772
751
|
if (isInstalled(runtime, folder))
|
|
773
752
|
return folder;
|
|
774
|
-
progress(`ONNX Runtime ${ONNX_RUNTIME_VERSION} for ${runtime.target}: ${megabytes(runtime.archive.bytes)} from
|
|
753
|
+
progress(`ONNX Runtime ${ONNX_RUNTIME_VERSION} for ${runtime.target}: ${megabytes(runtime.archive.bytes)} from npm`);
|
|
775
754
|
const parent = sharedModelsDirectory("runtime", env);
|
|
776
755
|
mkdirSync(parent, { recursive: true, mode: 448 });
|
|
777
756
|
const staging = mkdtempSync(join(parent, ".onnxruntime-"));
|
|
@@ -858,7 +837,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
837
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
838
|
}, "openSession");
|
|
860
839
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
841
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
842
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
843
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|