@wirecat/mail-cli 0.34.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 +23 -0
- package/README.md +4 -1
- package/contracts/wirecat.json +52 -2
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/agent-KWLCQCSC.js +39 -0
- package/dist/bundle/{all-profiles-2KUKROHY.js → all-profiles-6BDSMVOO.js} +63 -21
- package/dist/bundle/{anthropic-E5KRCEVC.js → anthropic-C3XUXUCJ.js} +5 -5
- package/dist/bundle/{app-server-HIQ3QO5K.js → app-server-GUHDK4OR.js} +81 -71
- package/dist/bundle/{bun-KARJPE5D.js → bun-FN7AM4AG.js} +2 -2
- package/dist/bundle/{bun-sqlite-NHGX6ZUN.js → bun-sqlite-56IVBF22.js} +6 -6
- package/dist/bundle/{chunk-R2GS3GBJ.js → chunk-2B67TUIF.js} +96 -66
- package/dist/bundle/{chunk-4SKE5GYA.js → chunk-2UNQTKRH.js} +1 -1
- package/dist/bundle/{chunk-QXLYLVEC.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-NAENYLIO.js → chunk-3WAZKCDF.js} +2 -2
- package/dist/bundle/{chunk-V43KEZYA.js → chunk-46SBNO67.js} +9 -60
- package/dist/bundle/{chunk-A2Y2RFNW.js → chunk-4IASS7NQ.js} +57 -4
- package/dist/bundle/{chunk-OOYRMTX5.js → chunk-4U5ODZO7.js} +12 -26
- package/dist/bundle/{chunk-DYQGEZA2.js → chunk-5WYBI35N.js} +3 -3
- package/dist/bundle/{chunk-QFJC6POK.js → chunk-5XQI7WCJ.js} +1 -1
- package/dist/bundle/{chunk-2SCQ7Z4I.js → chunk-635AFLZO.js} +4 -4
- package/dist/bundle/{chunk-OJ3BI2U4.js → chunk-6B4WZVLN.js} +34 -28
- package/dist/bundle/{chunk-FNYWC6A3.js → chunk-6Q5THDNW.js} +3 -3
- package/dist/bundle/{chunk-CKVWAUBW.js → chunk-6VARUB3J.js} +12 -12
- package/dist/bundle/{chunk-EZAX77SM.js → chunk-7FXZKQAC.js} +86 -75
- package/dist/bundle/{chunk-H77ALM2Y.js → chunk-7JVKQ6NM.js} +4 -4
- package/dist/bundle/{chunk-HH647UBC.js → chunk-7KMI47AP.js} +104 -255
- package/dist/bundle/{chunk-DZRP4UCK.js → chunk-7PXAUMK5.js} +30 -15
- package/dist/bundle/{chunk-KGYK3OI3.js → chunk-7YMLEWTX.js} +43 -64
- package/dist/bundle/{chunk-OG5QO5RR.js → chunk-AISQNKT7.js} +8 -8
- package/dist/bundle/chunk-AV2ZJ4WX.js +7 -0
- package/dist/bundle/{chunk-QOQF2TX3.js → chunk-AXKIXVQA.js} +338 -299
- package/dist/bundle/{chunk-ZGZADWD7.js → chunk-CDGVYQXG.js} +1 -1
- package/dist/bundle/{chunk-Z6A6QPPW.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/{chunk-QXYNDMA6.js → chunk-CMGZXBJW.js} +6 -6
- package/dist/bundle/{chunk-4URI6EAV.js → chunk-DD2P67NP.js} +3 -3
- package/dist/bundle/{chunk-X6IGETU6.js → chunk-DFHUJTP5.js} +2 -2
- package/dist/bundle/{chunk-WYGDALB3.js → chunk-DREU6TN6.js} +18 -18
- package/dist/bundle/{chunk-TZJC4AOK.js → chunk-DZHEVVXA.js} +53 -33
- package/dist/bundle/{chunk-RPNQXWRS.js → chunk-E6HSSKRX.js} +2 -2
- package/dist/bundle/{chunk-6LFRZDPV.js → chunk-EHAXFDDP.js} +1 -1
- package/dist/bundle/chunk-EU4J6GCJ.js +52 -0
- package/dist/bundle/{chunk-NJVJH5MH.js → chunk-EX4Z7CCO.js} +3245 -1644
- package/dist/bundle/chunk-G662S2M4.js +559 -0
- package/dist/bundle/{chunk-JVGVLRBA.js → chunk-GG634DR3.js} +5 -5
- package/dist/bundle/{chunk-IMQ4CVZJ.js → chunk-GU3PYIV2.js} +2 -2
- package/dist/bundle/{chunk-LKTDW5LH.js → chunk-HF5QWKK2.js} +18 -8
- package/dist/bundle/chunk-HJDIMVFW.js +108 -0
- package/dist/bundle/{chunk-FORAOCZ3.js → chunk-HKWZG7CZ.js} +6 -6
- package/dist/bundle/{chunk-QQGPV3QN.js → chunk-HM6AMYHR.js} +2 -2
- package/dist/bundle/{chunk-AGZ7SNFF.js → chunk-HVXOA4FO.js} +1 -1
- package/dist/bundle/{chunk-NHD5BOJU.js → chunk-I3QZCQJT.js} +6 -6
- package/dist/bundle/{chunk-OX5MCGXL.js → chunk-ILEKGH44.js} +63 -54
- package/dist/bundle/{chunk-I3MS74OF.js → chunk-J5ULUTWE.js} +4 -4
- package/dist/bundle/{chunk-26DYRMXE.js → chunk-L4RCWRWS.js} +1 -1
- package/dist/bundle/chunk-MCJYJIH5.js +192 -0
- package/dist/bundle/{chunk-NWD7AFOR.js → chunk-NEDS4ORI.js} +2 -2
- package/dist/bundle/{chunk-VRGEDK4T.js → chunk-ODQCRZX5.js} +35 -12
- package/dist/bundle/chunk-OO4OKMNB.js +80 -0
- package/dist/bundle/{chunk-T2EE5M7O.js → chunk-OOQFBRNR.js} +144 -10
- package/dist/bundle/{chunk-PA4GEJXQ.js → chunk-OTP2HJ67.js} +9 -9
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-6G4VQFVX.js → chunk-PQDQCCGG.js} +17 -17
- package/dist/bundle/{chunk-KLI5FKZ2.js → chunk-Q5U2HIBJ.js} +7 -7
- package/dist/bundle/{chunk-HRDCH2VB.js → chunk-QFMKCU42.js} +3664 -3339
- package/dist/bundle/{chunk-VBVR6JRC.js → chunk-QYCMB7JY.js} +269 -173
- package/dist/bundle/{chunk-6GGMFL7J.js → chunk-RBV2AM52.js} +2 -100
- package/dist/bundle/{chunk-XIF75Z7D.js → chunk-RJNKM3CQ.js} +1 -1
- package/dist/bundle/{chunk-SK3N4CK5.js → chunk-RQHWSNX4.js} +4 -4
- package/dist/bundle/{chunk-4VHK5UBM.js → chunk-RQJGX7F7.js} +3 -3
- package/dist/bundle/{chunk-PC3N3LH3.js → chunk-TARNPINT.js} +3 -3
- package/dist/bundle/{chunk-5GANGHQI.js → chunk-TP2BCK2Z.js} +9 -9
- package/dist/bundle/{chunk-ZZEWQR43.js → chunk-TP766H4O.js} +14 -14
- package/dist/bundle/{chunk-PVZMN3UZ.js → chunk-UHGKN5US.js} +8 -8
- package/dist/bundle/{chunk-4VM3UCSO.js → chunk-UWDRU3R6.js} +2 -2
- package/dist/bundle/{chunk-KNVTBDTE.js → chunk-V4O47JV6.js} +3 -3
- package/dist/bundle/{chunk-MGXYIVVJ.js → chunk-W4JYGMTU.js} +12 -12
- package/dist/bundle/{chunk-2GDLJKPT.js → chunk-W7ICCFG5.js} +1 -1
- package/dist/bundle/{chunk-KF6O4RZO.js → chunk-WDEVKKAD.js} +3 -3
- package/dist/bundle/{chunk-YWX5X5RI.js → chunk-WZKM5I7B.js} +19 -17
- package/dist/bundle/{chunk-MDISZMK4.js → chunk-XKKYRMGG.js} +4 -4
- package/dist/bundle/chunk-XQNKAM26.js +338 -0
- package/dist/bundle/{chunk-LOSYDRJU.js → chunk-YA44BG3N.js} +38 -9
- package/dist/bundle/{chunk-2VBEBPGX.js → chunk-YCIWSKOH.js} +9 -9
- package/dist/bundle/{chunk-NXERDBEK.js → chunk-YQTRKNZQ.js} +4 -4
- package/dist/bundle/chunk-YRAJFTFU.js +353 -0
- package/dist/bundle/{chunk-XWU3A7H6.js → chunk-YTI533XF.js} +2 -2
- package/dist/bundle/{chunk-PRDKEVUL.js → chunk-ZMYRPMAJ.js} +1 -1
- package/dist/bundle/{chunk-EGQJDEFY.js → chunk-ZX7HZDD6.js} +144 -562
- package/dist/bundle/{chunk-NI4GCP2T.js → chunk-ZYEU35MB.js} +2 -2
- package/dist/bundle/command-contract-D5UXWHMS.js +39 -0
- package/dist/bundle/{command-server-entry-NF45UPEV.js → command-server-entry-TPJ47FYS.js} +28 -28
- package/dist/bundle/{decode-DUZA3EHC.js → decode-XHUASXQK.js} +5 -5
- package/dist/bundle/{dispatch-CDJZAMVP.js → dispatch-MQZHGGVP.js} +8 -8
- package/dist/bundle/{dist-RH7EMC4J.js → dist-BAE4IQ52.js} +23 -23
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-GZHZBNRA.js → echarts-U7Z2PKIG.js} +2 -2
- package/dist/bundle/{embed-VE3CSJN4.js → embed-W7GPB6EI.js} +6 -6
- package/dist/bundle/{embedder-DSJ77DX5.js → embedder-T72XLFQ5.js} +9 -9
- package/dist/bundle/{failure-YH6HAGFT.js → failure-MP6VKL5Y.js} +2 -2
- package/dist/bundle/{first-run-3L7HLYTI.js → first-run-C44TJXRI.js} +12 -12
- package/dist/bundle/first-screen-IESI7DAU.js +39 -0
- package/dist/bundle/{instructions-OZK3BLIO.js → instructions-WGMWQNPP.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-YUG4YR4R.js → mcp-YGOAUNC3.js} +2 -2
- package/dist/bundle/meeting-combined-XGZBSWIQ.js +24 -0
- package/dist/bundle/{meeting-model-U7LW5WEN.js → meeting-model-QVHLD4WI.js} +11 -11
- package/dist/bundle/{meeting-semantic-64IOIQRR.js → meeting-semantic-QKQHUHXX.js} +6 -6
- package/dist/bundle/{node-OS3VWBUZ.js → node-WANDMJJQ.js} +2 -2
- package/dist/bundle/{node-sqlite-RQ623VFA.js → node-sqlite-NM5XA4DR.js} +7 -7
- package/dist/bundle/{oauth-CBPAG734.js → oauth-6E63ELEE.js} +8 -8
- package/dist/bundle/{open-H4DGOMBC.js → open-5542RTLE.js} +5 -5
- package/dist/bundle/{openai-EMWRGR54.js → openai-NOYNPFB5.js} +15 -15
- package/dist/bundle/{process-3TOIYASI.js → process-7AEXXSBX.js} +1 -1
- package/dist/bundle/{program-WA6RGAJL.js → program-VMA5CGNR.js} +3184 -2163
- package/dist/bundle/{prompt-22KNCMBI.js → prompt-WYYO4AJL.js} +5 -5
- package/dist/bundle/{recognize-UWD4RSCZ.js → recognize-UGCCOMAS.js} +4 -4
- package/dist/bundle/{remote-LJY7MF2E.js → remote-VZS6BNQB.js} +9 -9
- package/dist/bundle/{rerank-JJ6KNJFB.js → rerank-O46D5GJ2.js} +7 -7
- package/dist/bundle/{serve-3EPLJYVZ.js → serve-QAAF2LCW.js} +10 -10
- package/dist/bundle/server-456MYK3X.js +84 -0
- package/dist/bundle/{server-5JOFO4V4.js → server-Q3PUZLLX.js} +75 -64
- package/dist/bundle/{sqlite-runtime-MGJA5E27.js → sqlite-runtime-EQBCDO2U.js} +6 -6
- package/dist/bundle/{state-UCRDOWOP.js → state-XIOHYXCR.js} +6 -6
- package/dist/bundle/{store-HS272YSA.js → store-OXJZZUR7.js} +34 -21
- package/dist/bundle/{store-265VRRQV.js → store-VJBL5XKR.js} +28 -23
- 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 +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/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
|
@@ -5,23 +5,23 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-635AFLZO.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-HM6AMYHR.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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/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");
|
|
@@ -2,33 +2,33 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
stdinFieldOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CDGVYQXG.js";
|
|
6
6
|
import {
|
|
7
7
|
commandPathOf
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GG634DR3.js";
|
|
9
9
|
import {
|
|
10
10
|
commandServerRequest,
|
|
11
11
|
metaOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QYCMB7JY.js";
|
|
13
13
|
import {
|
|
14
14
|
errorObjectOf,
|
|
15
15
|
renderError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YA44BG3N.js";
|
|
17
17
|
import {
|
|
18
18
|
CliError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HM6AMYHR.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
22
|
} from "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// 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.js
|
|
25
25
|
import { createInterface } from "node:readline";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// 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-argv.js
|
|
28
28
|
var COMMAND_SERVER_ARGV = ["commands", "--serve"];
|
|
29
29
|
var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// 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.js
|
|
32
32
|
var COMMAND_SERVER_PROTOCOL = 1;
|
|
33
33
|
var COMMAND_SERVER_IDLE_MS = 10 * 6e4;
|
|
34
34
|
var COMMAND_SERVER_CONCURRENT = 8;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
|
|
4
|
+
// 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/standards/monthly.js
|
|
5
|
+
import { dirname, join } from "node:path";
|
|
6
|
+
import { fileURLToPath } from "node:url";
|
|
7
|
+
var CI_PAGE = join(dirname(fileURLToPath(new URL("standards/monthly.js", import.meta.resolve("@wirecat/cli-base")).href)), "../../docs/standards/ci.md");
|