@wirecat/drive-cli 0.49.0 → 0.51.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/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-WK2XXGPU.js → all-profiles-H3APJWSO.js} +8 -8
- package/dist/bundle/{anthropic-R354D7GT.js → anthropic-P7DXFYFE.js} +5 -5
- package/dist/bundle/{app-server-3YHJ757G.js → app-server-IQUR7ZC2.js} +52 -52
- package/dist/bundle/{bun-JVDJVDHL.js → bun-LZUEW2ML.js} +2 -2
- package/dist/bundle/{bun-sqlite-KZCZWSRZ.js → bun-sqlite-6LUE7UA6.js} +4 -4
- package/dist/bundle/{chunk-NFU3OBCC.js → chunk-2TPENYCK.js} +4 -4
- package/dist/bundle/{chunk-SSD2V4HR.js → chunk-35IHF562.js} +280 -259
- package/dist/bundle/{chunk-U77RLMOK.js → chunk-3KTDFSSK.js} +2 -2
- package/dist/bundle/{chunk-463NMG57.js → chunk-4GFAOETW.js} +3 -3
- package/dist/bundle/{chunk-EOZPMJJP.js → chunk-4YG2FZ53.js} +7 -7
- package/dist/bundle/{chunk-JMRHDZMV.js → chunk-5C7RKU7O.js} +33 -32
- package/dist/bundle/{chunk-75VCGSNB.js → chunk-6FXFYXTR.js} +15 -15
- package/dist/bundle/{chunk-QEM3MOSB.js → chunk-7LYVWMKD.js} +8 -8
- package/dist/bundle/{chunk-467AQO7E.js → chunk-7ZNM6KXP.js} +7 -7
- package/dist/bundle/{chunk-P7INAZIT.js → chunk-AKW5MNQP.js} +5 -5
- package/dist/bundle/{chunk-HD3TFIT4.js → chunk-AUW45JPI.js} +6 -6
- package/dist/bundle/{chunk-JZ3SUK2M.js → chunk-BMI5VCR4.js} +5 -5
- package/dist/bundle/{chunk-22LTNYO2.js → chunk-BVDAP3FQ.js} +9 -9
- package/dist/bundle/{chunk-CCLDCM7J.js → chunk-CT6Z6Z64.js} +410 -244
- package/dist/bundle/{chunk-ABVFH76X.js → chunk-CX7HQ6KK.js} +5 -5
- package/dist/bundle/{chunk-MC77UZVA.js → chunk-D222O57O.js} +6 -6
- package/dist/bundle/{chunk-HF2T7E67.js → chunk-D3UFQC7K.js} +49 -49
- package/dist/bundle/{chunk-KK3BA4IS.js → chunk-DDD3FS6G.js} +2 -2
- package/dist/bundle/{chunk-254VYUWN.js → chunk-DEVPGI27.js} +17 -17
- package/dist/bundle/{chunk-BJ3JRO34.js → chunk-EY4CUQW2.js} +7 -7
- package/dist/bundle/{chunk-RAAI3JLI.js → chunk-F3PPSIKI.js} +3 -3
- package/dist/bundle/{chunk-6Z3W7LTD.js → chunk-FCZ762RV.js} +8 -8
- package/dist/bundle/{chunk-Y2AUB4TJ.js → chunk-FV5WG4WU.js} +80 -33
- package/dist/bundle/{chunk-R2QRP7EJ.js → chunk-G75FZQAZ.js} +13 -9
- package/dist/bundle/{chunk-2BADVV4A.js → chunk-GK2VUKQY.js} +2 -2
- package/dist/bundle/{chunk-3UHJC6HH.js → chunk-HBRTKJ3J.js} +7 -7
- package/dist/bundle/{chunk-VHT2WI4I.js → chunk-HGWMX7BM.js} +101 -73
- package/dist/bundle/{chunk-XVXXWNAA.js → chunk-HYT3FJVB.js} +4 -4
- package/dist/bundle/{chunk-HIAO4MPA.js → chunk-I7EP3VPJ.js} +1 -1
- package/dist/bundle/{chunk-P4OU3OVF.js → chunk-J2S7QDOP.js} +14 -14
- package/dist/bundle/{chunk-FB7I5JWC.js → chunk-JI5KFKTL.js} +6 -6
- package/dist/bundle/{chunk-IRDGH7DV.js → chunk-K3EK4MTU.js} +3 -3
- package/dist/bundle/{chunk-5KR7BKDV.js → chunk-K6JSVXDN.js} +5 -5
- package/dist/bundle/{chunk-5ISHP4TK.js → chunk-LLMHJE5Q.js} +2 -2
- package/dist/bundle/{chunk-7BA3HL7N.js → chunk-LZKPT7GY.js} +35 -35
- package/dist/bundle/{chunk-CB5NGX6E.js → chunk-MPTD5P53.js} +2 -2
- package/dist/bundle/{chunk-MP2UCK3Z.js → chunk-N33EOINW.js} +4 -4
- package/dist/bundle/{chunk-KYJYOZYG.js → chunk-NO34DAIB.js} +6 -6
- package/dist/bundle/{chunk-PPXNEHYX.js → chunk-NRWDEBJB.js} +8 -8
- package/dist/bundle/{chunk-FZQSGLHU.js → chunk-NVHPYKYC.js} +11 -11
- package/dist/bundle/{chunk-2ZFR67KY.js → chunk-OASIFIXM.js} +2 -2
- package/dist/bundle/{chunk-MFS52LTZ.js → chunk-OKSS7YUN.js} +1 -1
- package/dist/bundle/{chunk-HVM5LS5Z.js → chunk-OQVJQSEH.js} +3 -3
- package/dist/bundle/{chunk-MAXN7COO.js → chunk-P3T2SZW2.js} +1 -1
- package/dist/bundle/{chunk-A3FU4RR6.js → chunk-PNUS224S.js} +4 -4
- package/dist/bundle/{chunk-FUJZ5S2Q.js → chunk-POFLDSTX.js} +10 -10
- package/dist/bundle/{chunk-R235IRSJ.js → chunk-PQGIV36R.js} +2 -2
- package/dist/bundle/{chunk-ZK7Y5K63.js → chunk-PRBPVOW4.js} +1 -1
- package/dist/bundle/{chunk-ITZI7T2X.js → chunk-PT6XDCOY.js} +2 -2
- package/dist/bundle/{chunk-2CKGGIWF.js → chunk-Q5CLTK5R.js} +3 -3
- package/dist/bundle/{chunk-NVHB2MHX.js → chunk-SRIPLP7N.js} +4 -4
- package/dist/bundle/{chunk-46X7Z4FD.js → chunk-SRONUWOM.js} +343 -282
- package/dist/bundle/{chunk-E2Y6GJZX.js → chunk-SZWQFR5X.js} +4 -4
- package/dist/bundle/{chunk-IRNX4CO5.js → chunk-TEH76MZK.js} +27 -27
- package/dist/bundle/{chunk-45TPBTR3.js → chunk-TSZJXI4N.js} +21 -21
- package/dist/bundle/{chunk-7WEISHFA.js → chunk-TVJU245P.js} +2 -2
- package/dist/bundle/{chunk-JMOX454R.js → chunk-U3OS6V6S.js} +1 -1
- package/dist/bundle/{chunk-AN7HENGZ.js → chunk-U7DPS46V.js} +108 -96
- package/dist/bundle/{chunk-XLJV3ZOH.js → chunk-UM4E2OFL.js} +1 -1
- package/dist/bundle/{chunk-DKJGYYCP.js → chunk-UMY4IQE2.js} +46 -46
- package/dist/bundle/{chunk-L5RZI2M5.js → chunk-UW7VXKKZ.js} +19 -19
- package/dist/bundle/{chunk-4ORK4UAY.js → chunk-VCPS7Q2W.js} +3 -3
- package/dist/bundle/{chunk-KKZYZ32J.js → chunk-VH4GVA2N.js} +2 -2
- package/dist/bundle/{chunk-IEAZAPC3.js → chunk-WACVI3CS.js} +42 -17
- package/dist/bundle/{chunk-LF7ACSTK.js → chunk-WX2NQO2D.js} +1 -1
- package/dist/bundle/{chunk-HBYE4EP2.js → chunk-WYWXOIGT.js} +1 -1
- package/dist/bundle/{chunk-P4NOTS3U.js → chunk-XBENRRBS.js} +2 -2
- package/dist/bundle/{chunk-W5IDHD6C.js → chunk-XCXUP76D.js} +27 -27
- package/dist/bundle/{chunk-NXFEZQDL.js → chunk-XE2GEE3E.js} +26 -26
- package/dist/bundle/{chunk-BQV3WYXW.js → chunk-XXLTVVMT.js} +31 -21
- package/dist/bundle/{chunk-YYMHFXHK.js → chunk-Y4YBW5S4.js} +2 -2
- package/dist/bundle/{chunk-VAGF723Z.js → chunk-Y73IZWRI.js} +1 -1
- package/dist/bundle/{chunk-624B6G64.js → chunk-YLC4JVQZ.js} +5 -5
- package/dist/bundle/{chunk-2DLAJGRN.js → chunk-YOABRW2M.js} +1 -1
- package/dist/bundle/{chunk-YOF5BC4G.js → chunk-YVQJPLPU.js} +2 -2
- package/dist/bundle/{chunk-EF2RCQ3L.js → chunk-YXHMEFL7.js} +1 -1
- package/dist/bundle/{chunk-W5EUHV3J.js → chunk-Z3GWVRW3.js} +1 -1
- package/dist/bundle/{chunk-65AW2AEQ.js → chunk-Z6KTSXE3.js} +2 -2
- package/dist/bundle/{chunk-HQ2PGEOK.js → chunk-ZKAAFY4C.js} +11 -11
- package/dist/bundle/command-contract-R6CGYG7L.js +38 -0
- package/dist/bundle/{decode-BE3VDYTJ.js → decode-4EENADOV.js} +4 -4
- package/dist/bundle/drive.js +7 -7
- package/dist/bundle/{echarts-4OQHS575.js → echarts-ZFC37XW7.js} +2 -2
- package/dist/bundle/{embed-QR76SJDI.js → embed-UZMNP26C.js} +5 -5
- package/dist/bundle/{embedder-EMIDKBYV.js → embedder-7VDWDBKF.js} +8 -8
- package/dist/bundle/{entry-FE4REJDO.js → entry-JJKCHVIK.js} +6 -6
- package/dist/bundle/failure-VBQBKCD5.js +37 -0
- package/dist/bundle/{first-run-ALPI62PX.js → first-run-FJTEUJBF.js} +9 -9
- package/dist/bundle/first-screen-NSPQWNMQ.js +36 -0
- package/dist/bundle/{google-NV75VSCD.js → google-JBJASYKY.js} +9 -9
- package/dist/bundle/google-api-2FKF4UUN.js +82 -0
- package/dist/bundle/{identity-NZ7SP6OL.js → identity-XE73ALJH.js} +2 -2
- package/dist/bundle/{instructions-3QZBKKPF.js → instructions-Q4ASITKO.js} +1 -1
- package/dist/bundle/{login-KNBM6XUX.js → login-BD2WQT5F.js} +62 -62
- package/dist/bundle/{mcp-XY2FGGUM.js → mcp-G6U2Q63E.js} +76 -76
- package/dist/bundle/mcp-H3XD47NW.js +95 -0
- package/dist/bundle/{mcp-OQBZXELQ.js → mcp-ZYZ4DFW2.js} +2 -2
- package/dist/bundle/{node-R2BLYUSB.js → node-CYM7VXFR.js} +2 -2
- package/dist/bundle/{node-sqlite-PMRVP442.js → node-sqlite-RK4MHW57.js} +4 -4
- package/dist/bundle/{oauth-NM2AKRRT.js → oauth-CQXQRHJR.js} +6 -6
- package/dist/bundle/{open-XZH5ZNDA.js → open-WSE4NBD2.js} +3 -3
- package/dist/bundle/{process-IX5YWGDP.js → process-7HHZZZLA.js} +1 -1
- package/dist/bundle/{program-MDWQHGBY.js → program-ZMQYZNV5.js} +95 -88
- package/dist/bundle/{prompt-5K6XGWSK.js → prompt-YSBBQJGF.js} +4 -4
- package/dist/bundle/{reasons-GF2TYGX6.js → reasons-366PI7OV.js} +3 -3
- package/dist/bundle/{recognize-U7GDD6T2.js → recognize-AZKGPCAS.js} +3 -3
- package/dist/bundle/{remote-ZWXOGNQX.js → remote-EYSK3XKD.js} +6 -6
- package/dist/bundle/{rerank-YRQBCS63.js → rerank-LOW6VIDF.js} +6 -6
- package/dist/bundle/{serve-6PQ7K5RK.js → serve-UJ52HGA7.js} +8 -8
- package/dist/bundle/server-CA2VLY25.js +56 -0
- package/dist/bundle/server-TW75RDEP.js +69 -0
- package/dist/bundle/{services-QBIQX236.js → services-B4QUSCFN.js} +28 -28
- package/dist/bundle/{sqlite-runtime-7Q5UD2VR.js → sqlite-runtime-GEURBVK5.js} +4 -4
- package/dist/bundle/{state-U72TC26L.js → state-OJNSKOXO.js} +5 -5
- package/dist/bundle/{store-B4RAJ63G.js → store-62SBP45X.js} +14 -14
- package/dist/bundle/{store-FYABCSIH.js → store-FTS2HVVB.js} +16 -16
- package/dist/bundle/store-maintenance-command-FQMB3R4E.js +57 -0
- package/dist/bundle/tokens-JALZUGEM.js +103 -0
- package/dist/commands/search.js +1 -1
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +10 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/contract-overrides.js +1 -1
- package/dist/contract-overrides.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +2 -2
- package/dist/tokens.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/command-contract-AEA45IX7.js +0 -38
- package/dist/bundle/failure-GYOTW6NN.js +0 -37
- package/dist/bundle/first-screen-JLS57PIT.js +0 -36
- package/dist/bundle/google-api-6623OUF2.js +0 -82
- package/dist/bundle/mcp-4NPK6BM3.js +0 -95
- package/dist/bundle/server-O7SS6NAY.js +0 -56
- package/dist/bundle/server-WT57TF6S.js +0 -69
- package/dist/bundle/store-maintenance-command-DAF5NI3T.js +0 -57
- package/dist/bundle/tokens-DISQJKDM.js +0 -103
- /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-2WNDZFGG.js} +0 -0
- /package/dist/bundle/{chunk-YLBNPI7H.js → chunk-UO5O3665.js} +0 -0
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SZWQFR5X.js";
|
|
9
9
|
import {
|
|
10
10
|
filesPresent,
|
|
11
11
|
sharedModelsDirectory
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CX7HQ6KK.js";
|
|
13
13
|
import {
|
|
14
14
|
TASK_ORIGINS,
|
|
15
15
|
TASK_STATES,
|
|
16
16
|
TASK_TYPES
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AUW45JPI.js";
|
|
18
18
|
import {
|
|
19
19
|
TAG_TYPES
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UMY4IQE2.js";
|
|
21
21
|
import {
|
|
22
22
|
createRecordLog,
|
|
23
23
|
resolvePaths,
|
|
24
24
|
writeSecurely
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-HGWMX7BM.js";
|
|
26
26
|
import {
|
|
27
27
|
CliError,
|
|
28
28
|
array,
|
|
@@ -35,12 +35,12 @@ import {
|
|
|
35
35
|
reference,
|
|
36
36
|
strictObject,
|
|
37
37
|
traceIdOf
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-EY4CUQW2.js";
|
|
39
39
|
import {
|
|
40
40
|
__name
|
|
41
41
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
44
44
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
45
45
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
46
46
|
var parseDuration = /* @__PURE__ */ __name((value, source) => {
|
|
@@ -54,7 +54,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source) => {
|
|
|
54
54
|
return ms;
|
|
55
55
|
}, "parseDuration");
|
|
56
56
|
|
|
57
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
57
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
58
58
|
var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
59
59
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
60
60
|
var renamed = /* @__PURE__ */ __name((record, name) => Object.fromEntries(Object.entries(record).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -67,7 +67,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
67
67
|
error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
|
|
68
68
|
}), "snakeLogger");
|
|
69
69
|
|
|
70
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
70
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
71
71
|
var diagnostic = {
|
|
72
72
|
event: true,
|
|
73
73
|
operation: true,
|
|
@@ -137,7 +137,7 @@ var LOG_ATTRIBUTES = [
|
|
|
137
137
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
138
138
|
].sort();
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
141
141
|
import { randomUUID } from "node:crypto";
|
|
142
142
|
import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
143
143
|
import { userInfo } from "node:os";
|
|
@@ -494,7 +494,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
494
494
|
};
|
|
495
495
|
}, "metadataOf");
|
|
496
496
|
|
|
497
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
497
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
498
498
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
499
499
|
import { randomBytes } from "node:crypto";
|
|
500
500
|
var scopes = new AsyncLocalStorage();
|
|
@@ -531,7 +531,7 @@ var attempts = new AsyncLocalStorage();
|
|
|
531
531
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
532
532
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
533
533
|
|
|
534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
535
535
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
536
536
|
var sentIds = /* @__PURE__ */ __name((typed, message) => ({
|
|
537
537
|
messageId: message.id,
|
|
@@ -637,7 +637,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled =
|
|
|
637
637
|
}, "guardedWrite");
|
|
638
638
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
639
639
|
|
|
640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
641
641
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
642
642
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
643
643
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -796,7 +796,7 @@ var rerankModel = /* @__PURE__ */ __name((id2) => {
|
|
|
796
796
|
var vectorModelKey = /* @__PURE__ */ __name((model) => `local:${model.id}:${model.dims}`, "vectorModelKey");
|
|
797
797
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
798
798
|
|
|
799
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
800
800
|
import { join as join2 } from "node:path";
|
|
801
801
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
802
802
|
var IMAGE_MODELS = [
|
|
@@ -850,7 +850,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
850
850
|
var placedImage = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedImage");
|
|
851
851
|
var isImageModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedImage(model, directory)), "isImageModelInstalled");
|
|
852
852
|
|
|
853
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
854
854
|
var closeSuggestion = strictObject({
|
|
855
855
|
as: picklist(["done", "dismissed"]),
|
|
856
856
|
/** The agent's name. */
|
|
@@ -892,7 +892,7 @@ var task = strictObject({
|
|
|
892
892
|
updated_at: optional(time)
|
|
893
893
|
});
|
|
894
894
|
|
|
895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
896
896
|
var agendaChat = strictObject({
|
|
897
897
|
chat: reference,
|
|
898
898
|
title: nullable(text),
|
|
@@ -903,7 +903,17 @@ var agendaChat = strictObject({
|
|
|
903
903
|
/** `null` when the newest message is not stored, or the messenger did not say who sent it. */
|
|
904
904
|
last_from_owner: nullable(boolean()),
|
|
905
905
|
/** Open tasks whose source is in this chat. */
|
|
906
|
-
open_tasks: array(id)
|
|
906
|
+
open_tasks: array(id),
|
|
907
|
+
/** `unknown` means nothing ever fetched the chat's history; `partial` that the store holds only part of it. */
|
|
908
|
+
completeness: strictObject({
|
|
909
|
+
state: picklist(["complete", "partial", "unknown"]),
|
|
910
|
+
up_to_date: nullable(boolean()),
|
|
911
|
+
gaps: boolean(),
|
|
912
|
+
reaches_start: boolean(),
|
|
913
|
+
fetched_at: nullable(time)
|
|
914
|
+
}),
|
|
915
|
+
/** What the store holds of the chat: the count and the span, never the text. */
|
|
916
|
+
held: strictObject({ messages: number(), oldest_at: nullable(time), newest_at: nullable(time) })
|
|
907
917
|
});
|
|
908
918
|
var agenda = strictObject({
|
|
909
919
|
at: time,
|
|
@@ -952,7 +962,7 @@ var agenda = strictObject({
|
|
|
952
962
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
953
963
|
});
|
|
954
964
|
|
|
955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
956
966
|
var conversation = strictObject({
|
|
957
967
|
id,
|
|
958
968
|
chat: reference,
|
|
@@ -967,7 +977,7 @@ var conversation = strictObject({
|
|
|
967
977
|
rules_version: count
|
|
968
978
|
});
|
|
969
979
|
|
|
970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
971
981
|
var attachment = strictObject({
|
|
972
982
|
/** The message it came with, as a locator; absent inside that message. */
|
|
973
983
|
message: optional(reference),
|
|
@@ -1004,7 +1014,7 @@ var attachment = strictObject({
|
|
|
1004
1014
|
}))))
|
|
1005
1015
|
});
|
|
1006
1016
|
|
|
1007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1017
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
1008
1018
|
var tagging = strictObject({
|
|
1009
1019
|
tag: text,
|
|
1010
1020
|
type: picklist(TAG_TYPES),
|
|
@@ -1017,7 +1027,7 @@ var tagging = strictObject({
|
|
|
1017
1027
|
created_at: time
|
|
1018
1028
|
});
|
|
1019
1029
|
|
|
1020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1030
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
1021
1031
|
var WEIGHTS = {
|
|
1022
1032
|
bot: 3,
|
|
1023
1033
|
scam: 3,
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EY4CUQW2.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.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
11
11
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
12
12
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
13
13
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
checkConfigText,
|
|
6
6
|
issueMessage,
|
|
7
7
|
usableProfileName
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5C7RKU7O.js";
|
|
9
9
|
import {
|
|
10
10
|
LEVELS
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Y4YBW5S4.js";
|
|
12
12
|
import {
|
|
13
13
|
MAX_TEXT_CHARS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3KTDFSSK.js";
|
|
15
15
|
import {
|
|
16
16
|
resolvePaths,
|
|
17
17
|
saveConfigFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HGWMX7BM.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError,
|
|
21
21
|
array,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
strictObject,
|
|
37
37
|
string,
|
|
38
38
|
union
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EY4CUQW2.js";
|
|
40
40
|
import {
|
|
41
41
|
__name
|
|
42
42
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CAPABILITY_STATEMENTS,
|
|
5
5
|
storeCapable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NO34DAIB.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
|
|
15
15
|
import { spawn, spawnSync } from "node:child_process";
|
|
16
16
|
import { readFileSync } from "node:fs";
|
|
17
17
|
import { dirname } from "node:path";
|
|
@@ -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.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
8
8
|
import { PassThrough, Writable } from "node:stream";
|
|
9
9
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
10
10
|
let rest = "";
|
|
@@ -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.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|
|
@@ -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-HGWMX7BM.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.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { join } from "node:path";
|
|
12
12
|
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|
|
13
13
|
var storePath = /* @__PURE__ */ __name((env = process.env) => env.MESSAGING_STORE ?? join(wirecatDirectory(env), "wirecat.db"), "storePath");
|
|
@@ -2,51 +2,51 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
botInstructions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WYWXOIGT.js";
|
|
6
6
|
import {
|
|
7
7
|
answered,
|
|
8
8
|
normal,
|
|
9
9
|
registerCommands,
|
|
10
10
|
runCommandForAgent,
|
|
11
11
|
toolsFromCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TEH76MZK.js";
|
|
13
13
|
import {
|
|
14
14
|
agentJson,
|
|
15
15
|
skillResource
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6FXFYXTR.js";
|
|
17
17
|
import {
|
|
18
18
|
callerOf,
|
|
19
19
|
serveStdio
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XBENRRBS.js";
|
|
21
21
|
import {
|
|
22
22
|
McpServer
|
|
23
23
|
} from "./chunk-5FONRUG6.js";
|
|
24
24
|
import {
|
|
25
25
|
wholeList
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UW7VXKKZ.js";
|
|
27
27
|
import {
|
|
28
28
|
changesMessenger,
|
|
29
29
|
itemOf
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-5C7RKU7O.js";
|
|
31
31
|
import {
|
|
32
32
|
flatten
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BVDAP3FQ.js";
|
|
34
34
|
import {
|
|
35
35
|
MESSENGER_CHANGE_REFUSAL,
|
|
36
36
|
readOnlyLockOf,
|
|
37
37
|
readOnlyRefusal
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-DDD3FS6G.js";
|
|
39
39
|
import {
|
|
40
40
|
mcpErrorResult
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-HGWMX7BM.js";
|
|
42
42
|
import {
|
|
43
43
|
object
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-EY4CUQW2.js";
|
|
45
45
|
import {
|
|
46
46
|
__name
|
|
47
47
|
} from "./chunk-ZVVMGPBJ.js";
|
|
48
48
|
|
|
49
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
49
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
|
|
50
50
|
import { randomUUID } from "node:crypto";
|
|
51
51
|
var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
|
|
52
52
|
var createBotServer = /* @__PURE__ */ __name((options) => {
|
|
@@ -0,0 +1,38 @@
|
|
|
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-HBRTKJ3J.js";
|
|
10
|
+
import "./chunk-U7DPS46V.js";
|
|
11
|
+
import "./chunk-5C7RKU7O.js";
|
|
12
|
+
import "./chunk-NRWDEBJB.js";
|
|
13
|
+
import "./chunk-BVDAP3FQ.js";
|
|
14
|
+
import "./chunk-Z3GWVRW3.js";
|
|
15
|
+
import "./chunk-XXLTVVMT.js";
|
|
16
|
+
import "./chunk-LLMHJE5Q.js";
|
|
17
|
+
import "./chunk-Y4YBW5S4.js";
|
|
18
|
+
import "./chunk-SZWQFR5X.js";
|
|
19
|
+
import "./chunk-2TPENYCK.js";
|
|
20
|
+
import "./chunk-DDD3FS6G.js";
|
|
21
|
+
import "./chunk-CX7HQ6KK.js";
|
|
22
|
+
import "./chunk-AUW45JPI.js";
|
|
23
|
+
import "./chunk-UMY4IQE2.js";
|
|
24
|
+
import "./chunk-G75FZQAZ.js";
|
|
25
|
+
import "./chunk-2WNDZFGG.js";
|
|
26
|
+
import "./chunk-JI5KFKTL.js";
|
|
27
|
+
import "./chunk-Z6KTSXE3.js";
|
|
28
|
+
import "./chunk-HGWMX7BM.js";
|
|
29
|
+
import "./chunk-EY4CUQW2.js";
|
|
30
|
+
import "./chunk-Y5E2WNWB.js";
|
|
31
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
32
|
+
export {
|
|
33
|
+
SCHEMA_DIALECT,
|
|
34
|
+
commandContract,
|
|
35
|
+
commandPathOf,
|
|
36
|
+
findCommand,
|
|
37
|
+
outputOf
|
|
38
|
+
};
|
|
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-HYT3FJVB.js";
|
|
7
|
+
import "./chunk-HGWMX7BM.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EY4CUQW2.js";
|
|
11
11
|
import {
|
|
12
12
|
importFrom
|
|
13
13
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
19
19
|
import { spawn } from "node:child_process";
|
|
20
20
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
21
21
|
import { createRequire } from "node:module";
|
package/dist/bundle/drive.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
exitCodeOfError,
|
|
7
7
|
processStreams,
|
|
8
8
|
renderError
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-HGWMX7BM.js";
|
|
10
|
+
import "./chunk-EY4CUQW2.js";
|
|
11
11
|
import "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
import { enableCompileCache } from "node:module";
|
|
18
18
|
enableCompileCache();
|
|
19
19
|
var [{ startCli }, { DRIVE_APP }, { REASONS }, { interactiveOf }] = await Promise.all([
|
|
20
|
-
import("./entry-
|
|
21
|
-
import("./identity-
|
|
22
|
-
import("./reasons-
|
|
20
|
+
import("./entry-JJKCHVIK.js"),
|
|
21
|
+
import("./identity-XE73ALJH.js"),
|
|
22
|
+
import("./reasons-366PI7OV.js"),
|
|
23
23
|
import("./terminal-TFCTWLOS.js")
|
|
24
24
|
]);
|
|
25
25
|
var program;
|
|
@@ -29,8 +29,8 @@ await startCli({
|
|
|
29
29
|
interactive: interactiveOf,
|
|
30
30
|
reasons: REASONS,
|
|
31
31
|
run: /* @__PURE__ */ __name(async (entry) => {
|
|
32
|
-
failure = await import("./failure-
|
|
33
|
-
const { createProgram } = await import("./program-
|
|
32
|
+
failure = await import("./failure-VBQBKCD5.js");
|
|
33
|
+
const { createProgram } = await import("./program-ZMQYZNV5.js");
|
|
34
34
|
program = createProgram({
|
|
35
35
|
signal: entry.signal,
|
|
36
36
|
atStart: entry.atStart,
|
|
@@ -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.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/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.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/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,12 +13,12 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AKW5MNQP.js";
|
|
17
17
|
import "./chunk-5DPV7X27.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-CX7HQ6KK.js";
|
|
19
|
+
import "./chunk-Z6KTSXE3.js";
|
|
20
|
+
import "./chunk-HGWMX7BM.js";
|
|
21
|
+
import "./chunk-EY4CUQW2.js";
|
|
22
22
|
import "./chunk-Y5E2WNWB.js";
|
|
23
23
|
import "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
export {
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
openSession,
|
|
5
5
|
truncated,
|
|
6
6
|
unit
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AKW5MNQP.js";
|
|
8
8
|
import "./chunk-5DPV7X27.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-CX7HQ6KK.js";
|
|
10
|
+
import "./chunk-Z6KTSXE3.js";
|
|
11
|
+
import "./chunk-HGWMX7BM.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EY4CUQW2.js";
|
|
15
15
|
import {
|
|
16
16
|
importFrom
|
|
17
17
|
} 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.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/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.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/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.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/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");
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
startCli
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-POFLDSTX.js";
|
|
6
|
+
import "./chunk-DDD3FS6G.js";
|
|
7
|
+
import "./chunk-YVQJPLPU.js";
|
|
8
|
+
import "./chunk-NO34DAIB.js";
|
|
9
|
+
import "./chunk-HGWMX7BM.js";
|
|
10
|
+
import "./chunk-EY4CUQW2.js";
|
|
11
11
|
import "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
export {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
errorObject,
|
|
5
|
+
mcpFailure,
|
|
6
|
+
reportFailure
|
|
7
|
+
} from "./chunk-D222O57O.js";
|
|
8
|
+
import "./chunk-K3EK4MTU.js";
|
|
9
|
+
import "./chunk-U3OS6V6S.js";
|
|
10
|
+
import {
|
|
11
|
+
REASONS
|
|
12
|
+
} from "./chunk-P3T2SZW2.js";
|
|
13
|
+
import {
|
|
14
|
+
interactiveOf
|
|
15
|
+
} from "./chunk-GNI7INK6.js";
|
|
16
|
+
import "./chunk-OASIFIXM.js";
|
|
17
|
+
import "./chunk-4YG2FZ53.js";
|
|
18
|
+
import "./chunk-HTQTIKWP.js";
|
|
19
|
+
import "./chunk-BVDAP3FQ.js";
|
|
20
|
+
import "./chunk-Y4YBW5S4.js";
|
|
21
|
+
import "./chunk-VCPS7Q2W.js";
|
|
22
|
+
import "./chunk-VH4GVA2N.js";
|
|
23
|
+
import "./chunk-7ZNM6KXP.js";
|
|
24
|
+
import "./chunk-UMY4IQE2.js";
|
|
25
|
+
import "./chunk-G75FZQAZ.js";
|
|
26
|
+
import "./chunk-2WNDZFGG.js";
|
|
27
|
+
import "./chunk-HGWMX7BM.js";
|
|
28
|
+
import "./chunk-EY4CUQW2.js";
|
|
29
|
+
import "./chunk-Y5E2WNWB.js";
|
|
30
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
31
|
+
export {
|
|
32
|
+
REASONS,
|
|
33
|
+
errorObject,
|
|
34
|
+
interactiveOf,
|
|
35
|
+
mcpFailure,
|
|
36
|
+
reportFailure
|
|
37
|
+
};
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
asksAtStart,
|
|
6
6
|
setupAtStart,
|
|
7
7
|
systemLanguage
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-NVHPYKYC.js";
|
|
9
|
+
import "./chunk-PNUS224S.js";
|
|
10
|
+
import "./chunk-OKSS7YUN.js";
|
|
11
|
+
import "./chunk-2TPENYCK.js";
|
|
12
|
+
import "./chunk-FCZ762RV.js";
|
|
13
|
+
import "./chunk-JI5KFKTL.js";
|
|
14
|
+
import "./chunk-Z6KTSXE3.js";
|
|
15
|
+
import "./chunk-HGWMX7BM.js";
|
|
16
|
+
import "./chunk-EY4CUQW2.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
18
|
import "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
export {
|