@wirecat/cli-memo 0.131.23 → 0.131.24
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/memo.js +2 -2
- package/dist/bundle/{all-profiles-VIPS6NHI.js → all-profiles-ZCJTYGOL.js} +5 -5
- package/dist/bundle/{anthropic-2QZHSXBA.js → anthropic-7WVLAKTX.js} +3 -3
- package/dist/bundle/{app-server-NTSADYGW.js → app-server-6G3SXEHO.js} +35 -35
- package/dist/bundle/auto-JWPM5654.js +86 -0
- package/dist/bundle/{bun-KF5QK2YN.js → bun-JVBDJKBB.js} +2 -2
- package/dist/bundle/{bun-sqlite-XUCC2PWC.js → bun-sqlite-P4I7NVMQ.js} +2 -2
- package/dist/bundle/{chunk-L6FKTS3L.js → chunk-2IRCJT4O.js} +7 -7
- package/dist/bundle/{chunk-IJI62T4U.js → chunk-3KNXQZMO.js} +27 -27
- package/dist/bundle/{chunk-R4V63U6A.js → chunk-3MER7NE6.js} +2 -2
- package/dist/bundle/{chunk-QZXHMQCM.js → chunk-3U7OUQV2.js} +1 -1
- package/dist/bundle/{chunk-UJEO3VWA.js → chunk-5YCNCXL5.js} +1 -1
- package/dist/bundle/{chunk-DIP3ENSY.js → chunk-AIGMYGEL.js} +1 -1
- package/dist/bundle/{chunk-AHFMQAJT.js → chunk-AIVUS6WA.js} +9 -9
- package/dist/bundle/{chunk-6EZ7XGRG.js → chunk-ALGIPJ6L.js} +1 -1
- package/dist/bundle/{chunk-5WCEWK2F.js → chunk-AWGV4VOA.js} +10 -10
- package/dist/bundle/{chunk-GDGY2KIX.js → chunk-BTQSFPIM.js} +4 -4
- package/dist/bundle/{chunk-AETJWLHX.js → chunk-CM2H7NRC.js} +3 -3
- package/dist/bundle/{chunk-QFO6K6CW.js → chunk-CPJEQK4V.js} +43 -43
- package/dist/bundle/{chunk-JRJIFGU2.js → chunk-DIMX5AEE.js} +3 -3
- package/dist/bundle/{chunk-32FPXLNY.js → chunk-DMQ3342A.js} +39 -37
- package/dist/bundle/{chunk-MJWFSOJN.js → chunk-EACY2ULS.js} +214 -173
- package/dist/bundle/{chunk-KQ5P5NLL.js → chunk-EB7LKK4K.js} +1 -1
- package/dist/bundle/{chunk-YKZNFSQE.js → chunk-EGG3PGCM.js} +1 -1
- package/dist/bundle/{chunk-N5L6YYYW.js → chunk-EKTZEF3Q.js} +1 -1
- package/dist/bundle/{chunk-UMWR5PKA.js → chunk-ELKYINWL.js} +12 -12
- package/dist/bundle/{chunk-BSR4QZW5.js → chunk-F2ED6KG6.js} +2 -2
- package/dist/bundle/{chunk-Z7XHH2Q5.js → chunk-FXHN2UZW.js} +14 -9
- package/dist/bundle/{chunk-24P36RXS.js → chunk-GQOXFZBX.js} +481 -308
- package/dist/bundle/{chunk-6PXE6QSQ.js → chunk-GRXVN2X7.js} +1 -1
- package/dist/bundle/{chunk-46WO42ZW.js → chunk-GSEDSGJF.js} +291 -260
- package/dist/bundle/{chunk-V7Y5FOYJ.js → chunk-IC2TL7RW.js} +2 -2
- package/dist/bundle/{chunk-XTARXRP6.js → chunk-IJC6MFLP.js} +7 -7
- package/dist/bundle/{chunk-NY4IKP35.js → chunk-INTF3YPV.js} +2 -2
- package/dist/bundle/{chunk-QSN5NUVL.js → chunk-ITQBXFMC.js} +2 -2
- package/dist/bundle/{chunk-W53TRO7J.js → chunk-J6D34BFP.js} +646 -324
- package/dist/bundle/{chunk-37NN65PB.js → chunk-JDDVGGUV.js} +4 -4
- package/dist/bundle/{chunk-5M4KSMYN.js → chunk-KQSHIQSV.js} +133 -58
- package/dist/bundle/{chunk-4QY7XOVI.js → chunk-LNXFM4FD.js} +11 -11
- package/dist/bundle/{chunk-PDQFWOR5.js → chunk-LWIMGWKB.js} +2 -2
- package/dist/bundle/{chunk-V5ZID7KC.js → chunk-M43DAAZ7.js} +1 -1
- package/dist/bundle/{chunk-UQA5UFJ2.js → chunk-MLMSQK76.js} +1 -1
- package/dist/bundle/{chunk-CTT5VK66.js → chunk-MPVW7BQZ.js} +5 -5
- package/dist/bundle/{chunk-4DKMYDLT.js → chunk-MROFZXAB.js} +41 -28
- package/dist/bundle/{chunk-6I7XGWGH.js → chunk-N5H6I7WQ.js} +5 -5
- package/dist/bundle/{chunk-ZCPUKUST.js → chunk-NAH473ZR.js} +1 -1
- package/dist/bundle/{chunk-7PQOYNMA.js → chunk-ND3GBFEY.js} +1 -1
- package/dist/bundle/{chunk-QWRBAQZ7.js → chunk-OQK2IKPB.js} +1 -1
- package/dist/bundle/{chunk-G4GEARGN.js → chunk-Q6MFBH6Q.js} +8 -8
- package/dist/bundle/{chunk-RE5SEGSR.js → chunk-R2LJDDZP.js} +3 -3
- package/dist/bundle/{chunk-2IKXEL4V.js → chunk-R3LNQ3I4.js} +1 -1
- package/dist/bundle/{chunk-STZMKXK5.js → chunk-RTESJ5O2.js} +3 -3
- package/dist/bundle/{chunk-H76MIWB2.js → chunk-SKTGBVYC.js} +4 -4
- package/dist/bundle/{chunk-JDNA36EX.js → chunk-UA2C4BCH.js} +7 -7
- package/dist/bundle/{chunk-CKLCJ6O7.js → chunk-UPXUE27A.js} +4 -4
- package/dist/bundle/{chunk-GQOFHKUX.js → chunk-UVR6U55E.js} +5 -5
- package/dist/bundle/{chunk-DIELPPLF.js → chunk-UXCDBNAY.js} +1 -1
- package/dist/bundle/{chunk-XRJIQC6P.js → chunk-UY2VH3QK.js} +1 -1
- package/dist/bundle/{chunk-BIYSJBQR.js → chunk-VLPMB3UU.js} +4 -4
- package/dist/bundle/{chunk-Z6YD3YK4.js → chunk-VVEFQEWP.js} +20 -20
- package/dist/bundle/{chunk-FXF34MI2.js → chunk-XF3LZ32F.js} +2 -2
- package/dist/bundle/{chunk-HBXZ7WIV.js → chunk-XSI5NYGB.js} +6 -6
- package/dist/bundle/{chunk-44NQLD5C.js → chunk-ZDOVR4PA.js} +4 -4
- package/dist/bundle/{chunk-O7OI5V7W.js → chunk-ZLZE5P6M.js} +5 -5
- package/dist/bundle/{chunk-BSDOH7DN.js → chunk-ZOYGY2PN.js} +1 -1
- package/dist/bundle/{command-contract-XBYNZVP5.js → command-contract-543RRFNU.js} +11 -11
- package/dist/bundle/{decode-LFASKQPE.js → decode-YHX3DQG2.js} +2 -2
- package/dist/bundle/{echarts-5AB3LFVD.js → echarts-FBVAP7BR.js} +2 -2
- package/dist/bundle/{embed-6KQN523T.js → embed-CQJ42S5C.js} +3 -3
- package/dist/bundle/{embedder-7SGPMINO.js → embedder-EDXLEJ27.js} +6 -6
- package/dist/bundle/{entry-CNZGHHZB.js → entry-HZEA7QFK.js} +4 -4
- package/dist/bundle/failure-62G7QSPX.js +66 -0
- package/dist/bundle/{first-run-UI6UT4OR.js → first-run-JZQN7R6M.js} +5 -5
- package/dist/bundle/{first-screen-3WDPZZXV.js → first-screen-56V3UOQE.js} +12 -12
- package/dist/bundle/{instructions-52W6ZQTU.js → instructions-NYVYNWVU.js} +1 -1
- package/dist/bundle/{mcp-JIOYIKWO.js → mcp-Y6IPYDS2.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-TL2PBNKO.js → node-2QE6UPGS.js} +2 -2
- package/dist/bundle/{node-sqlite-64QIEQ37.js → node-sqlite-SDHZJNY7.js} +3 -3
- package/dist/bundle/{oauth-GH7GLGEJ.js → oauth-FFUJREKS.js} +4 -4
- package/dist/bundle/{open-PCKU5XOH.js → open-NT2GYX6N.js} +2 -2
- package/dist/bundle/{openai-P5QVLTF6.js → openai-IQA2XR6Z.js} +7 -7
- package/dist/bundle/{process-PWAGP6YY.js → process-HIEJXYW6.js} +1 -1
- package/dist/bundle/{program-D7OTNHGU.js → program-DEMRKCZY.js} +90 -65
- package/dist/bundle/{prompt-FNBKJZLM.js → prompt-IOZAME2R.js} +2 -2
- package/dist/bundle/{recognize-5TKRMMA2.js → recognize-2XOAZJ5N.js} +1 -1
- package/dist/bundle/{remote-XZJ7ZAKJ.js → remote-2LE7OTDA.js} +4 -4
- package/dist/bundle/{rerank-JUH3QHX7.js → rerank-UKOVVZM6.js} +4 -4
- package/dist/bundle/{serve-JP6U3PUO.js → serve-S2UHPEBP.js} +6 -6
- package/dist/bundle/server-3YNOEPWU.js +61 -0
- package/dist/bundle/{server-VXI43PF5.js → server-BG4WWQHY.js} +50 -50
- package/dist/bundle/server-EZWQ5KP4.js +48 -0
- package/dist/bundle/{setup-YLI4S4TW.js → setup-2X7ADKFH.js} +39 -39
- package/dist/bundle/{state-G4NEN2OZ.js → state-F5KT3CBD.js} +3 -3
- package/dist/bundle/{store-NHFLFHD5.js → store-WBUUS7FO.js} +9 -9
- package/dist/bundle/store-maintenance-command-KLST56XF.js +48 -0
- package/dist/bundle/update-WH4CGJGP.js +69 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/auto-MJWSDIMF.js +0 -86
- package/dist/bundle/failure-LJAYEPTS.js +0 -66
- package/dist/bundle/server-5M4YI3V4.js +0 -48
- package/dist/bundle/server-XAHF22CQ.js +0 -61
- package/dist/bundle/store-maintenance-command-6UEORZWI.js +0 -48
- package/dist/bundle/update-6SD2JZUC.js +0 -69
- /package/dist/bundle/{chunk-WX2WLEEF.js → chunk-CWOKGEL3.js} +0 -0
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UXCDBNAY.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
8
|
} from "./chunk-T4LW6UYQ.js";
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
18
18
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname, join, resolve } from "node:path";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
22
22
|
var DEFAULT_TASK_CATEGORIES = [
|
|
23
23
|
{
|
|
24
24
|
name: "taxes",
|
|
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
773
773
|
}
|
|
774
774
|
}, "storedTaskCategories");
|
|
775
775
|
|
|
776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
777
777
|
var SECTION = "task_categories";
|
|
778
778
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
779
779
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AIGMYGEL.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-CCHHEMPM.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-P4I7NVMQ.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-SDHZJNY7.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -7,7 +7,7 @@ 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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { userInfo } from "node:os";
|
|
12
12
|
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
13
13
|
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LWIMGWKB.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
refuseLacking,
|
|
14
14
|
servicesFor,
|
|
15
15
|
throughWrapper
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J6D34BFP.js";
|
|
17
17
|
import {
|
|
18
18
|
CEILING_KEY,
|
|
19
19
|
LOG_ATTRIBUTES,
|
|
@@ -38,21 +38,21 @@ import {
|
|
|
38
38
|
rememberAccount,
|
|
39
39
|
rootOf2 as rootOf,
|
|
40
40
|
skipFlagFor
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-EACY2ULS.js";
|
|
42
42
|
import {
|
|
43
43
|
isCliFailure,
|
|
44
44
|
providerErrorKey
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-UA2C4BCH.js";
|
|
46
46
|
import {
|
|
47
47
|
MESSENGER_CHANGE_REFUSAL,
|
|
48
48
|
readOnlyRefusal
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-R3LNQ3I4.js";
|
|
50
50
|
import {
|
|
51
51
|
servingProfiles
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-LWIMGWKB.js";
|
|
53
53
|
import {
|
|
54
54
|
openStore
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-GQOXFZBX.js";
|
|
56
56
|
import {
|
|
57
57
|
logRecordOf,
|
|
58
58
|
realSleep,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
__name
|
|
67
67
|
} from "./chunk-ZVVMGPBJ.js";
|
|
68
68
|
|
|
69
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
69
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
70
70
|
import { openSync } from "node:fs";
|
|
71
71
|
import { createInterface } from "node:readline";
|
|
72
72
|
import { ReadStream } from "node:tty";
|
|
@@ -121,10 +121,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
121
121
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
122
122
|
}, "terminalAsker");
|
|
123
123
|
|
|
124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
124
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
125
125
|
import { randomUUID } from "node:crypto";
|
|
126
126
|
|
|
127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/flood.js
|
|
128
128
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
129
129
|
import { dirname, join } from "node:path";
|
|
130
130
|
var MOST_DEADLINES = 50;
|
|
@@ -208,11 +208,11 @@ var FloodMemory = class {
|
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
212
212
|
import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
213
213
|
import { dirname as dirname3, join as join2 } from "node:path";
|
|
214
214
|
|
|
215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
|
|
216
216
|
import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
|
|
217
217
|
import { dirname as dirname2 } from "node:path";
|
|
218
218
|
var LOCK_WAIT_MS = 5e3;
|
|
@@ -279,7 +279,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
|
|
|
279
279
|
}
|
|
280
280
|
}, "lockTime");
|
|
281
281
|
|
|
282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
283
283
|
var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
|
|
284
284
|
var SendJournal = class {
|
|
285
285
|
static {
|
|
@@ -356,7 +356,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
|
|
|
356
356
|
return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
|
|
357
357
|
}, "withSendId");
|
|
358
358
|
|
|
359
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
359
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/recipients.js
|
|
360
360
|
import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
|
|
361
361
|
import { join as join3 } from "node:path";
|
|
362
362
|
var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
|
|
@@ -468,7 +468,7 @@ var RecipientList = class {
|
|
|
468
468
|
}
|
|
469
469
|
};
|
|
470
470
|
|
|
471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
471
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
472
472
|
var HOUR_MS = 60 * 60 * 1e3;
|
|
473
473
|
var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
|
|
474
474
|
"attachments.extract",
|
|
@@ -661,7 +661,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
|
|
|
661
661
|
}), "guardFor");
|
|
662
662
|
var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
|
|
663
663
|
|
|
664
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
665
665
|
import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
666
666
|
import { join as join4 } from "node:path";
|
|
667
667
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -720,7 +720,7 @@ var Pacer = class {
|
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
722
|
|
|
723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
723
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
724
724
|
var pathOf = /* @__PURE__ */ __name((command) => {
|
|
725
725
|
const words = [];
|
|
726
726
|
for (let at = command; at?.parent; at = at.parent)
|
|
@@ -780,7 +780,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
780
780
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
781
781
|
}, "refuseUnknownPermissionKeys");
|
|
782
782
|
|
|
783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
784
784
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
785
785
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
786
786
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -899,7 +899,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
899
899
|
});
|
|
900
900
|
}, "flooded");
|
|
901
901
|
|
|
902
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
903
903
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
904
904
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
905
905
|
const write = currentOperation();
|
|
@@ -998,7 +998,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
998
998
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
999
999
|
}, "byPart");
|
|
1000
1000
|
|
|
1001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
1002
1002
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
1003
1003
|
var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
|
|
1004
1004
|
let warned = false;
|
|
@@ -1574,7 +1574,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
1574
1574
|
}
|
|
1575
1575
|
}, "keep");
|
|
1576
1576
|
|
|
1577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1578
1578
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1579
1579
|
let opened;
|
|
1580
1580
|
return {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ND3GBFEY.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-CCHHEMPM.js";
|
|
@@ -12,7 +12,7 @@ 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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3MER7NE6.js";
|
|
11
11
|
import {
|
|
12
12
|
Command,
|
|
13
13
|
Help,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
environmentOf,
|
|
19
19
|
metaOf,
|
|
20
20
|
takesProfile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EACY2ULS.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
24
|
} from "./chunk-JY4LVWGZ.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
33
33
|
var SECTIONS = {
|
|
34
34
|
read: "Read",
|
|
35
35
|
write: "Write",
|
|
@@ -94,7 +94,7 @@ var CORE_SECTIONS = {
|
|
|
94
94
|
upgrade: "setup"
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
97
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
98
98
|
var DESCRIPTION = 90;
|
|
99
99
|
var COLUMN = 52;
|
|
100
100
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -133,7 +133,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
133
133
|
`;
|
|
134
134
|
}, "commandsText");
|
|
135
135
|
|
|
136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
137
137
|
var ARGUMENT_KINDS = {
|
|
138
138
|
chat: "chat",
|
|
139
139
|
chats: "chat",
|
|
@@ -325,7 +325,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
325
325
|
command.addHelpText("after", () => commandHelpText(command));
|
|
326
326
|
}, "installCommandHelp");
|
|
327
327
|
|
|
328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
329
329
|
var WIRECAT_TOOLS = [
|
|
330
330
|
{
|
|
331
331
|
command: "tg",
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
decisionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DMQ3342A.js";
|
|
6
6
|
import {
|
|
7
7
|
compactText,
|
|
8
8
|
currentRun,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
rowsOfEntity,
|
|
16
16
|
sealed,
|
|
17
17
|
snakeKeysKeeping
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EACY2ULS.js";
|
|
19
19
|
import {
|
|
20
20
|
openStore
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GQOXFZBX.js";
|
|
22
22
|
import {
|
|
23
23
|
STORE_CLIENT
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EKTZEF3Q.js";
|
|
25
25
|
import {
|
|
26
26
|
createRenderer
|
|
27
27
|
} from "./chunk-T4LW6UYQ.js";
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DMQ3342A.js";
|
|
6
6
|
import {
|
|
7
7
|
upgradeCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GSEDSGJF.js";
|
|
9
9
|
import {
|
|
10
10
|
FETCH,
|
|
11
11
|
annotate,
|
|
12
12
|
overrideSharedContract
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EACY2ULS.js";
|
|
14
14
|
import {
|
|
15
15
|
latestVersion,
|
|
16
16
|
runUpdate,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
APP,
|
|
21
21
|
VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EKTZEF3Q.js";
|
|
23
23
|
import {
|
|
24
24
|
installerOf
|
|
25
25
|
} from "./chunk-ILHTNOIV.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
// dist/update.js
|
|
35
35
|
import { join } from "node:path";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
38
38
|
import { realpathSync } from "node:fs";
|
|
39
39
|
import { fileURLToPath } from "node:url";
|
|
40
40
|
var QUIET_WORDS = [
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/models/options.js
|
|
21
21
|
var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
22
22
|
const parsed = safeParse(schema, options);
|
|
23
23
|
if (!parsed.success) {
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
commandPathOf,
|
|
7
7
|
findCommand,
|
|
8
8
|
outputOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-3MER7NE6.js";
|
|
10
|
+
import "./chunk-EACY2ULS.js";
|
|
11
|
+
import "./chunk-UA2C4BCH.js";
|
|
12
|
+
import "./chunk-CM2H7NRC.js";
|
|
13
|
+
import "./chunk-R3LNQ3I4.js";
|
|
14
|
+
import "./chunk-5YCNCXL5.js";
|
|
15
|
+
import "./chunk-KQSHIQSV.js";
|
|
16
|
+
import "./chunk-GRXVN2X7.js";
|
|
17
|
+
import "./chunk-UPXUE27A.js";
|
|
18
|
+
import "./chunk-RTESJ5O2.js";
|
|
19
|
+
import "./chunk-UXCDBNAY.js";
|
|
20
20
|
import "./chunk-NUN6OGOV.js";
|
|
21
21
|
import "./chunk-T4LW6UYQ.js";
|
|
22
22
|
import "./chunk-JY4LVWGZ.js";
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
decodeChannels,
|
|
7
7
|
formatOf,
|
|
8
8
|
runFfmpeg
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-F2ED6KG6.js";
|
|
10
|
+
import "./chunk-R2LJDDZP.js";
|
|
11
11
|
import "./chunk-T4LW6UYQ.js";
|
|
12
12
|
import "./chunk-JY4LVWGZ.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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,9 +13,9 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-MPVW7BQZ.js";
|
|
17
|
+
import "./chunk-RTESJ5O2.js";
|
|
18
|
+
import "./chunk-UXCDBNAY.js";
|
|
19
19
|
import "./chunk-T4LW6UYQ.js";
|
|
20
20
|
import "./chunk-JY4LVWGZ.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
openSession,
|
|
5
5
|
truncated,
|
|
6
6
|
unit
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-MPVW7BQZ.js";
|
|
8
|
+
import "./chunk-RTESJ5O2.js";
|
|
9
|
+
import "./chunk-UXCDBNAY.js";
|
|
10
10
|
import "./chunk-T4LW6UYQ.js";
|
|
11
11
|
import "./chunk-JY4LVWGZ.js";
|
|
12
12
|
import {
|
|
@@ -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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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");
|
|
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
openBrowser,
|
|
5
5
|
startCli
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-AIVUS6WA.js";
|
|
7
|
+
import "./chunk-R3LNQ3I4.js";
|
|
8
|
+
import "./chunk-UVR6U55E.js";
|
|
9
|
+
import "./chunk-AIGMYGEL.js";
|
|
10
10
|
import "./chunk-T4LW6UYQ.js";
|
|
11
11
|
import "./chunk-JY4LVWGZ.js";
|
|
12
12
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
errorObject,
|
|
5
|
+
mcpFailure,
|
|
6
|
+
recognisable,
|
|
7
|
+
reportFailure,
|
|
8
|
+
throwParseFailures
|
|
9
|
+
} from "./chunk-DIMX5AEE.js";
|
|
10
|
+
import "./chunk-GSEDSGJF.js";
|
|
11
|
+
import "./chunk-M43DAAZ7.js";
|
|
12
|
+
import "./chunk-3U7OUQV2.js";
|
|
13
|
+
import "./chunk-MROFZXAB.js";
|
|
14
|
+
import "./chunk-EGG3PGCM.js";
|
|
15
|
+
import "./chunk-FXHN2UZW.js";
|
|
16
|
+
import "./chunk-CPJEQK4V.js";
|
|
17
|
+
import "./chunk-VVEFQEWP.js";
|
|
18
|
+
import "./chunk-J6D34BFP.js";
|
|
19
|
+
import "./chunk-ELKYINWL.js";
|
|
20
|
+
import "./chunk-XSI5NYGB.js";
|
|
21
|
+
import "./chunk-HTQTIKWP.js";
|
|
22
|
+
import "./chunk-3MER7NE6.js";
|
|
23
|
+
import "./chunk-EACY2ULS.js";
|
|
24
|
+
import "./chunk-UA2C4BCH.js";
|
|
25
|
+
import "./chunk-AWGV4VOA.js";
|
|
26
|
+
import "./chunk-JCCL7RGH.js";
|
|
27
|
+
import "./chunk-PQLBPYJR.js";
|
|
28
|
+
import "./chunk-CM2H7NRC.js";
|
|
29
|
+
import "./chunk-AIVUS6WA.js";
|
|
30
|
+
import "./chunk-R3LNQ3I4.js";
|
|
31
|
+
import "./chunk-VLPMB3UU.js";
|
|
32
|
+
import "./chunk-LWIMGWKB.js";
|
|
33
|
+
import "./chunk-5YCNCXL5.js";
|
|
34
|
+
import "./chunk-GQOXFZBX.js";
|
|
35
|
+
import "./chunk-KQSHIQSV.js";
|
|
36
|
+
import "./chunk-GRXVN2X7.js";
|
|
37
|
+
import "./chunk-2IRCJT4O.js";
|
|
38
|
+
import "./chunk-UPXUE27A.js";
|
|
39
|
+
import "./chunk-XF3LZ32F.js";
|
|
40
|
+
import "./chunk-ND3GBFEY.js";
|
|
41
|
+
import "./chunk-ZOYGY2PN.js";
|
|
42
|
+
import "./chunk-ALGIPJ6L.js";
|
|
43
|
+
import "./chunk-ITQBXFMC.js";
|
|
44
|
+
import "./chunk-MPVW7BQZ.js";
|
|
45
|
+
import "./chunk-RTESJ5O2.js";
|
|
46
|
+
import "./chunk-UXCDBNAY.js";
|
|
47
|
+
import "./chunk-BPGYTJNB.js";
|
|
48
|
+
import "./chunk-EKTZEF3Q.js";
|
|
49
|
+
import "./chunk-ILHTNOIV.js";
|
|
50
|
+
import "./chunk-NUN6OGOV.js";
|
|
51
|
+
import "./chunk-D72URWJE.js";
|
|
52
|
+
import "./chunk-UVR6U55E.js";
|
|
53
|
+
import "./chunk-AIGMYGEL.js";
|
|
54
|
+
import "./chunk-T4LW6UYQ.js";
|
|
55
|
+
import "./chunk-JY4LVWGZ.js";
|
|
56
|
+
import "./chunk-Y5E2WNWB.js";
|
|
57
|
+
import "./chunk-CCHHEMPM.js";
|
|
58
|
+
import "./chunk-OQK2IKPB.js";
|
|
59
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
60
|
+
export {
|
|
61
|
+
errorObject,
|
|
62
|
+
mcpFailure,
|
|
63
|
+
recognisable,
|
|
64
|
+
reportFailure,
|
|
65
|
+
throwParseFailures
|
|
66
|
+
};
|