@wirecat/drive-cli 0.45.0 → 0.45.1
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-LTHNCWQW.js → all-profiles-O7CNQ7FO.js} +8 -8
- package/dist/bundle/{anthropic-NOJEF3V2.js → anthropic-6T67J2CE.js} +5 -5
- package/dist/bundle/app-server-BVBZT3UY.js +237 -0
- package/dist/bundle/{bun-ADJVI4HY.js → bun-O6RL6LRQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-GNXLBF2A.js → bun-sqlite-54W7JUY3.js} +4 -4
- package/dist/bundle/{chunk-IGB5CJCA.js → chunk-2DLAJGRN.js} +1 -1
- package/dist/bundle/{chunk-NQ6LLDDC.js → chunk-3HRDEJJW.js} +4 -4
- package/dist/bundle/{chunk-XPEWOPJR.js → chunk-3Z7WSD2A.js} +10 -8
- package/dist/bundle/{chunk-WPGCDWPU.js → chunk-44FV5JAS.js} +21 -21
- package/dist/bundle/{chunk-GX4WEMAG.js → chunk-4DW6QGEV.js} +11 -11
- package/dist/bundle/{chunk-IP4OK7RQ.js → chunk-4NGLRHWO.js} +1 -1
- package/dist/bundle/{chunk-LNB7BIZL.js → chunk-5MGIL5LW.js} +19 -17
- package/dist/bundle/{chunk-MWUITL6N.js → chunk-5TC3NCAF.js} +2 -2
- package/dist/bundle/{chunk-4UE7AVHZ.js → chunk-A3FU4RR6.js} +4 -4
- package/dist/bundle/{chunk-PIN5RZ3D.js → chunk-AIXLOMH4.js} +1 -1
- package/dist/bundle/{chunk-WZUJKUBK.js → chunk-AOOD3RMK.js} +7 -7
- package/dist/bundle/{chunk-Z4O6C7WR.js → chunk-AUS6TKP5.js} +35 -33
- package/dist/bundle/{chunk-5ZVLM6YR.js → chunk-B2J6FJNL.js} +1 -1
- package/dist/bundle/{chunk-OECPFZLP.js → chunk-BEXHAGXH.js} +96 -95
- package/dist/bundle/{chunk-3V6NPZY7.js → chunk-BHE7ZY2N.js} +45 -45
- package/dist/bundle/{chunk-GKHM6I64.js → chunk-BJ3JRO34.js} +7 -7
- package/dist/bundle/{chunk-2FTZBZOB.js → chunk-BQUPOB5H.js} +8 -8
- package/dist/bundle/{chunk-CDI67JSB.js → chunk-CFZWPIVC.js} +20 -20
- package/dist/bundle/{chunk-EVWXODYV.js → chunk-CKR3DVUK.js} +11 -11
- package/dist/bundle/{chunk-AN3GVZTU.js → chunk-CVIKKIGE.js} +1 -1
- package/dist/bundle/{chunk-7XWUOCGW.js → chunk-D67JGWSC.js} +2 -2
- package/dist/bundle/{chunk-UC44ZMQV.js → chunk-DDYR6DYL.js} +1 -1
- package/dist/bundle/{chunk-C6SMAEED.js → chunk-DL7D6Y3B.js} +199 -199
- package/dist/bundle/{chunk-PDH2QQQV.js → chunk-DORXXBFC.js} +7 -7
- package/dist/bundle/{chunk-DCTXOMOR.js → chunk-DXKVEOSS.js} +20 -2
- package/dist/bundle/{chunk-66N2DGGC.js → chunk-DXQEJWI3.js} +21 -14
- package/dist/bundle/{chunk-ZQNXKWUY.js → chunk-FEULDMWM.js} +258 -244
- package/dist/bundle/{chunk-TDC6JGDA.js → chunk-G3FAOS52.js} +2 -2
- package/dist/bundle/{chunk-HOIUIKWS.js → chunk-GHOWRW7E.js} +4 -3
- package/dist/bundle/{chunk-C4XP5T73.js → chunk-GNFHZZ55.js} +5 -5
- package/dist/bundle/{chunk-K4N2DKE5.js → chunk-GOR3Z2FR.js} +2 -2
- package/dist/bundle/{chunk-WQMVSQPP.js → chunk-GQW4GRYR.js} +6 -6
- package/dist/bundle/{chunk-Y5EJSZXV.js → chunk-GWPKIRNQ.js} +5 -5
- package/dist/bundle/{chunk-4TIC23D2.js → chunk-GYCUY4CL.js} +1 -1
- package/dist/bundle/{chunk-HA3WCVGY.js → chunk-HEPIOCHN.js} +51 -49
- package/dist/bundle/{chunk-DC4T3FNP.js → chunk-IAW5A7OR.js} +27 -27
- package/dist/bundle/{chunk-4TQSNQVV.js → chunk-IGMRWQP3.js} +25 -25
- package/dist/bundle/{chunk-65GGKAQ7.js → chunk-IKNU5A5Y.js} +3 -3
- package/dist/bundle/{chunk-ZPMLLONT.js → chunk-JVTVAZ5X.js} +19 -19
- package/dist/bundle/{chunk-A6ZKTNTZ.js → chunk-K74PQVQZ.js} +7 -7
- package/dist/bundle/{server-2UQDEWTS.js → chunk-K7FRUB33.js} +40 -63
- package/dist/bundle/{chunk-ZS635F4O.js → chunk-KADPV4YA.js} +2 -2
- package/dist/bundle/{chunk-ZIHLE7LG.js → chunk-KJMBV574.js} +3252 -3019
- package/dist/bundle/{chunk-ICKNJIGE.js → chunk-LHIL46I3.js} +2 -2
- package/dist/bundle/{chunk-LWT55XC5.js → chunk-LJARCTGL.js} +4 -4
- package/dist/bundle/{chunk-64WJYT2F.js → chunk-LOTQ2HMT.js} +9 -9
- package/dist/bundle/{chunk-V7GN5BI7.js → chunk-MAXN7COO.js} +1 -1
- package/dist/bundle/{chunk-LW2G4U6W.js → chunk-MFS52LTZ.js} +1 -1
- package/dist/bundle/{chunk-MJR2OTO4.js → chunk-MFSIOSUM.js} +6 -6
- package/dist/bundle/{chunk-YJX4X564.js → chunk-NB2N6L3R.js} +6 -6
- package/dist/bundle/{chunk-GTYY6BIE.js → chunk-NDNTLUPS.js} +2 -2
- package/dist/bundle/{chunk-TOYPN2XX.js → chunk-NLEB26GA.js} +2 -2
- package/dist/bundle/{chunk-7PVNJAQ2.js → chunk-NP3XLLN3.js} +3 -3
- package/dist/bundle/{chunk-LY26NW3I.js → chunk-NW7IMGRR.js} +1 -1
- package/dist/bundle/{chunk-NZIHPYY5.js → chunk-OWXTPXIQ.js} +11 -11
- package/dist/bundle/{chunk-BPBIBVFH.js → chunk-PDBBBUY7.js} +10 -10
- package/dist/bundle/{chunk-ZU732VCC.js → chunk-PH74B2VZ.js} +3 -3
- package/dist/bundle/{chunk-PJDO7AFZ.js → chunk-PJ7IQVOM.js} +2 -2
- package/dist/bundle/{chunk-CFT7UHF6.js → chunk-QTJUH3LS.js} +3 -3
- package/dist/bundle/{chunk-YE3J6DLY.js → chunk-QW36EOAM.js} +2 -2
- package/dist/bundle/{chunk-HLONHTSG.js → chunk-QWSRPXCJ.js} +4 -4
- package/dist/bundle/{chunk-LVDHWNJF.js → chunk-R2A3K7ZF.js} +5 -5
- package/dist/bundle/{chunk-SGOPYPVW.js → chunk-R2QRP7EJ.js} +9 -9
- package/dist/bundle/{chunk-35GRI4DI.js → chunk-RCS2SCX5.js} +5 -5
- package/dist/bundle/{chunk-CEO5HPRL.js → chunk-RJ633GFA.js} +2 -2
- package/dist/bundle/{chunk-N47CYWEM.js → chunk-SMHQA5J6.js} +13 -8
- package/dist/bundle/{chunk-YFLKH3NZ.js → chunk-SWMMR3FR.js} +2 -2
- package/dist/bundle/{chunk-P5KGFT7U.js → chunk-TRMIV3OA.js} +2 -2
- package/dist/bundle/{chunk-7NCG2SHR.js → chunk-VAGF723Z.js} +1 -1
- package/dist/bundle/{chunk-PWKXHDBQ.js → chunk-VCYFEWPD.js} +26 -26
- package/dist/bundle/{chunk-NKZ6V4JW.js → chunk-VHQNVG3J.js} +5 -5
- package/dist/bundle/{chunk-6KFA6HOM.js → chunk-VHT2WI4I.js} +19 -19
- package/dist/bundle/{chunk-QLZGLPJL.js → chunk-VYBOYBLX.js} +6 -6
- package/dist/bundle/{chunk-YJZBJ2TM.js → chunk-WUFCYDKB.js} +2 -2
- package/dist/bundle/{chunk-2YU3CXFD.js → chunk-XAZQTJXR.js} +40 -29
- package/dist/bundle/{chunk-I5EJHKNC.js → chunk-XEBFFKXO.js} +3 -3
- package/dist/bundle/{chunk-AH3SNVCV.js → chunk-XF5MFUEB.js} +15 -15
- package/dist/bundle/{chunk-VO4KOLQZ.js → chunk-ZBM4GEV2.js} +5 -4
- package/dist/bundle/command-contract-MXCBV3GJ.js +38 -0
- package/dist/bundle/drive.js +7 -7
- package/dist/bundle/{echarts-RFTK737T.js → echarts-LD3AI55P.js} +2 -2
- package/dist/bundle/{embed-5NAGJUMD.js → embed-FJKIIM43.js} +5 -5
- package/dist/bundle/{embedder-EWXLIGBY.js → embedder-NNQ5ZC25.js} +8 -8
- package/dist/bundle/{entry-YCPJ6H6U.js → entry-ZYSNPDSD.js} +6 -6
- package/dist/bundle/failure-MJJXFR63.js +37 -0
- package/dist/bundle/{first-run-LNAZDBB4.js → first-run-KA2UPZAU.js} +9 -9
- package/dist/bundle/first-screen-VQ3RXDMF.js +36 -0
- package/dist/bundle/{google-5FFKRHHC.js → google-ZYDFTHLN.js} +9 -9
- package/dist/bundle/google-api-2GT5PAW2.js +82 -0
- package/dist/bundle/{identity-53ZMPL2O.js → identity-JQFQXQIR.js} +2 -2
- package/dist/bundle/{instructions-FHNL7CMW.js → instructions-RZMSW3OC.js} +3 -1
- package/dist/bundle/{login-VXXZZR6G.js → login-JU6NKW5P.js} +64 -64
- package/dist/bundle/{mcp-F4XZO76F.js → mcp-2PZDI7WE.js} +77 -83
- package/dist/bundle/mcp-JOQMFGBC.js +95 -0
- package/dist/bundle/{mcp-IXFC2VVR.js → mcp-OQBZXELQ.js} +2 -2
- package/dist/bundle/{node-ZMCACJVS.js → node-ZRLYQL7J.js} +2 -2
- package/dist/bundle/{node-sqlite-QJQ5S7KS.js → node-sqlite-TXPSRROT.js} +4 -4
- package/dist/bundle/{oauth-TZFDPAFE.js → oauth-NAIBKERJ.js} +6 -6
- package/dist/bundle/{open-IYM25QTL.js → open-3P5EPXPV.js} +3 -3
- package/dist/bundle/{process-ZPTLNVQS.js → process-LL77573L.js} +1 -1
- package/dist/bundle/{program-YX7DZMPR.js → program-CZ55L6EW.js} +129 -151
- package/dist/bundle/{prompt-TGWTVIEK.js → prompt-3TX2SWOY.js} +4 -4
- package/dist/bundle/{reasons-Q5LOQESQ.js → reasons-GF2TYGX6.js} +3 -3
- package/dist/bundle/{recognize-AGPMWKIY.js → recognize-IFXOJHEA.js} +5 -5
- package/dist/bundle/{remote-QV7QSLAK.js → remote-663M42Y5.js} +6 -6
- package/dist/bundle/{rerank-HZKJJCS4.js → rerank-OT2F2DBV.js} +6 -6
- package/dist/bundle/{serve-NRJQOVT4.js → serve-PDNNI6O6.js} +8 -8
- package/dist/bundle/server-BFOEPMR7.js +56 -0
- package/dist/bundle/server-K566PJ7H.js +69 -0
- package/dist/bundle/{services-NZQWVMOE.js → services-5MCTECBU.js} +28 -28
- package/dist/bundle/{sqlite-runtime-6MXHTYYU.js → sqlite-runtime-BF3KDM7W.js} +4 -4
- package/dist/bundle/{state-IF2FLTSY.js → state-SZX65E74.js} +5 -5
- package/dist/bundle/{store-HVIBXOXS.js → store-TCWNLA3V.js} +14 -14
- package/dist/bundle/{store-HBD54IRL.js → store-UKPGGAPW.js} +16 -16
- package/dist/bundle/store-maintenance-command-QHLUVBTJ.js +57 -0
- package/dist/bundle/tokens-DFCFRF7I.js +103 -0
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +5 -9
- package/dist/commands/mcp.js.map +1 -1
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +13 -32
- package/dist/contract-overrides.js.map +1 -1
- package/dist/mcp.d.ts +1 -8
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +1 -8
- package/dist/mcp.js.map +1 -1
- package/dist/state.d.ts +8 -0
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +7 -0
- package/dist/state.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/command-contract-HX35D7KV.js +0 -38
- package/dist/bundle/failure-XBWHHBEW.js +0 -37
- package/dist/bundle/first-screen-P5NNFJD7.js +0 -36
- package/dist/bundle/google-api-TJCFOOAP.js +0 -82
- package/dist/bundle/mcp-2CJCJXSW.js +0 -95
- package/dist/bundle/server-R4JUHFSW.js +0 -56
- package/dist/bundle/store-maintenance-command-U3F4RGJB.js +0 -57
- package/dist/bundle/tokens-5D5YUA2Q.js +0 -103
- /package/dist/bundle/{chunk-IVQ6342B.js → chunk-O5EHUB2V.js} +0 -0
- /package/dist/bundle/{chunk-X5DFDGWS.js → chunk-Q2Z3VCM4.js} +0 -0
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZBM4GEV2.js";
|
|
9
9
|
import {
|
|
10
10
|
filesPresent,
|
|
11
11
|
sharedModelsDirectory
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GNFHZZ55.js";
|
|
13
13
|
import {
|
|
14
14
|
TASK_ORIGINS,
|
|
15
15
|
TASK_STATES,
|
|
16
16
|
TASK_TYPES
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NB2N6L3R.js";
|
|
18
18
|
import {
|
|
19
19
|
TAG_TYPES
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BHE7ZY2N.js";
|
|
21
21
|
import {
|
|
22
22
|
createRecordLog,
|
|
23
23
|
resolvePaths,
|
|
24
24
|
writeSecurely
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-VHT2WI4I.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-BJ3JRO34.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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
896
896
|
var agendaChat = strictObject({
|
|
897
897
|
chat: reference,
|
|
898
898
|
title: nullable(text),
|
|
@@ -952,7 +952,7 @@ var agenda = strictObject({
|
|
|
952
952
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
953
953
|
});
|
|
954
954
|
|
|
955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
956
956
|
var conversation = strictObject({
|
|
957
957
|
id,
|
|
958
958
|
chat: reference,
|
|
@@ -967,7 +967,7 @@ var conversation = strictObject({
|
|
|
967
967
|
rules_version: count
|
|
968
968
|
});
|
|
969
969
|
|
|
970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
970
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
971
971
|
var attachment = strictObject({
|
|
972
972
|
/** The message it came with, as a locator; absent inside that message. */
|
|
973
973
|
message: optional(reference),
|
|
@@ -996,7 +996,7 @@ var attachment = strictObject({
|
|
|
996
996
|
}))))
|
|
997
997
|
});
|
|
998
998
|
|
|
999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
999
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
1000
1000
|
var tagging = strictObject({
|
|
1001
1001
|
tag: text,
|
|
1002
1002
|
type: picklist(TAG_TYPES),
|
|
@@ -1009,7 +1009,7 @@ var tagging = strictObject({
|
|
|
1009
1009
|
created_at: time
|
|
1010
1010
|
});
|
|
1011
1011
|
|
|
1012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1012
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
1013
1013
|
var WEIGHTS = {
|
|
1014
1014
|
bot: 3,
|
|
1015
1015
|
scam: 3,
|
|
@@ -3,24 +3,24 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
activeProfile,
|
|
5
5
|
paths
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GWPKIRNQ.js";
|
|
7
7
|
import {
|
|
8
8
|
READ_SCOPE,
|
|
9
9
|
WRITE_SCOPE,
|
|
10
10
|
providerRequest
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KJMBV574.js";
|
|
12
12
|
import {
|
|
13
13
|
googleError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2DLAJGRN.js";
|
|
15
15
|
import {
|
|
16
16
|
acquireLock
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DL7D6Y3B.js";
|
|
18
18
|
import {
|
|
19
19
|
Credentials,
|
|
20
20
|
keyringService,
|
|
21
21
|
pathsAreOverridden,
|
|
22
22
|
systemKeyring
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VHT2WI4I.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError,
|
|
26
26
|
isCliError,
|
|
@@ -32,12 +32,12 @@ import {
|
|
|
32
32
|
pipe,
|
|
33
33
|
safeParse,
|
|
34
34
|
string
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-BJ3JRO34.js";
|
|
36
36
|
import {
|
|
37
37
|
__name
|
|
38
38
|
} from "./chunk-ZVVMGPBJ.js";
|
|
39
39
|
|
|
40
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/oauth/authorize.js
|
|
41
41
|
import { createHash, randomBytes } from "node:crypto";
|
|
42
42
|
import { createServer } from "node:http";
|
|
43
43
|
var DEFAULT_TIMEOUT_MS = 3e5;
|
|
@@ -159,12 +159,12 @@ var authorize = /* @__PURE__ */ __name(async (options) => {
|
|
|
159
159
|
}
|
|
160
160
|
}, "authorize");
|
|
161
161
|
|
|
162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
|
|
163
163
|
import { createHash as createHash2 } from "node:crypto";
|
|
164
164
|
import { join } from "node:path";
|
|
165
165
|
import { setTimeout as delay } from "node:timers/promises";
|
|
166
166
|
|
|
167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/oauth/requests.js
|
|
168
168
|
var REQUEST_LIMIT_MS = 3e4;
|
|
169
169
|
var TOKEN_LOG_EVENT = "oauth.token";
|
|
170
170
|
var object2 = /* @__PURE__ */ __name((value) => {
|
|
@@ -281,7 +281,7 @@ var revokeToken = /* @__PURE__ */ __name(async (provider, tokens, context) => {
|
|
|
281
281
|
});
|
|
282
282
|
}, "revokeToken");
|
|
283
283
|
|
|
284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/oauth/keeper.js
|
|
285
285
|
var inFlight = /* @__PURE__ */ new Map();
|
|
286
286
|
var tokenKeeper = /* @__PURE__ */ __name((options) => {
|
|
287
287
|
const { provider, storage, signal, log } = options;
|
|
@@ -408,7 +408,7 @@ var tokenKeeper = /* @__PURE__ */ __name((options) => {
|
|
|
408
408
|
};
|
|
409
409
|
}, "tokenKeeper");
|
|
410
410
|
|
|
411
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
411
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/oauth/storage.js
|
|
412
412
|
var invalid = /* @__PURE__ */ __name(() => new CliError("authentication_error", "the saved sign-in cannot be read; sign in again", { reason: "oauth.invalid" }), "invalid");
|
|
413
413
|
var parse = /* @__PURE__ */ __name((raw) => {
|
|
414
414
|
let value;
|
|
@@ -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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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 = "";
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
singleLine,
|
|
9
9
|
visibleControls
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VHT2WI4I.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
16
16
|
import { styleText } from "node:util";
|
|
17
17
|
var TIME_WIDTH = 8;
|
|
18
18
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|