@wirecat/tg-cli 0.124.0 → 0.125.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/contracts/wirecat.json +7 -1
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-GEIZVMWU.js → adapter-H2LTOLOA.js} +52 -53
- package/dist/bundle/{all-profiles-EY4GJFWN.js → all-profiles-75HGEFL7.js} +10 -10
- package/dist/bundle/{anthropic-RIANJ7WM.js → anthropic-N54MKE4C.js} +5 -5
- package/dist/bundle/{app-server-LW7WBFIF.js → app-server-3N5INKKI.js} +45 -45
- package/dist/bundle/{bot-api-FHIQ66OM.js → bot-api-V65KTEAH.js} +53 -54
- package/dist/bundle/{bot-history-O34YZEFH.js → bot-history-TT2EAHEE.js} +18 -18
- package/dist/bundle/{bun-MJWD4VGV.js → bun-LN4J7PA7.js} +2 -2
- package/dist/bundle/{bun-sqlite-LCHVO3OB.js → bun-sqlite-6PDBFBUI.js} +6 -6
- package/dist/bundle/{chunk-N5UM63JW.js → chunk-37SZHAEA.js} +55 -55
- package/dist/bundle/{chunk-A5RWKKBZ.js → chunk-3GILMKQ2.js} +3 -3
- package/dist/bundle/{chunk-XDHGM2Z7.js → chunk-4KIOWSDL.js} +3 -3
- package/dist/bundle/{chunk-ZL5YG2WK.js → chunk-4TCBRKWQ.js} +7 -7
- package/dist/bundle/{chunk-CDSSKK5J.js → chunk-6HLB73UN.js} +3 -3
- package/dist/bundle/{chunk-OH3IZ6GW.js → chunk-6Y6SSZ34.js} +100 -91
- package/dist/bundle/{chunk-3VVZFBE2.js → chunk-77Z3OGAT.js} +3 -3
- package/dist/bundle/{chunk-E6VSARSU.js → chunk-7KCBPAQS.js} +2 -2
- package/dist/bundle/{chunk-F3GHTPAO.js → chunk-7OBSIDBJ.js} +4 -4
- package/dist/bundle/{chunk-OVDB5CQM.js → chunk-AI2J3WJT.js} +1 -1
- package/dist/bundle/{chunk-HSRO77SW.js → chunk-AMPHPP4P.js} +15 -15
- package/dist/bundle/{chunk-SGBH3D5D.js → chunk-B252D7V4.js} +3 -3
- package/dist/bundle/{chunk-2YLIVDWJ.js → chunk-BLNMM3AX.js} +2 -2
- package/dist/bundle/{chunk-GUL6QLNI.js → chunk-CNEJQQMD.js} +17 -17
- package/dist/bundle/{chunk-QFV36CAH.js → chunk-DI3RJ3MJ.js} +4 -4
- package/dist/bundle/{chunk-DFSLHF46.js → chunk-DNCOELTM.js} +1 -1
- package/dist/bundle/{chunk-54JPEGQA.js → chunk-DYOZ7CUV.js} +2 -2
- package/dist/bundle/{chunk-E66JBGZZ.js → chunk-E4HDE5DN.js} +2 -2
- package/dist/bundle/{chunk-5EL6E6PW.js → chunk-EIGV2JKX.js} +1 -1
- package/dist/bundle/{chunk-RHJHOOUL.js → chunk-FHPEUAHQ.js} +181 -155
- package/dist/bundle/{chunk-PJGOQSE5.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-ISGXVFA4.js → chunk-FSP74THJ.js} +4 -4
- package/dist/bundle/{chunk-UP3J3YXH.js → chunk-FUYCAROL.js} +6 -6
- package/dist/bundle/{chunk-VGUWIHXD.js → chunk-GRDVBJCR.js} +1 -1
- package/dist/bundle/{chunk-NL4COYPY.js → chunk-GUPMDMFM.js} +7 -7
- package/dist/bundle/{chunk-KVJSCJGZ.js → chunk-HHG5FR5H.js} +2 -2
- package/dist/bundle/{chunk-PP4ZBLS4.js → chunk-IN3NAFUN.js} +9 -9
- package/dist/bundle/{chunk-NQXVZ5WT.js → chunk-INZAZMUF.js} +6 -6
- package/dist/bundle/{chunk-OK4M4MWI.js → chunk-IX3GUNGV.js} +4 -4
- package/dist/bundle/{chunk-RBV4M2TC.js → chunk-JB4BO5XZ.js} +1 -1
- package/dist/bundle/{chunk-42R4YO4L.js → chunk-JC6HMPL7.js} +1076 -877
- package/dist/bundle/{chunk-3PLMMFP6.js → chunk-JCNKGZQG.js} +17 -17
- package/dist/bundle/{chunk-PI4XXMPG.js → chunk-JKF7LZBU.js} +6 -6
- package/dist/bundle/{chunk-XSGUG5WG.js → chunk-LD42OGKK.js} +4 -4
- package/dist/bundle/{chunk-VMWJGUVV.js → chunk-LU2CHHPC.js} +4 -4
- package/dist/bundle/{chunk-OIF4B526.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-2GFGZDWS.js → chunk-MK4IKICN.js} +2 -2
- package/dist/bundle/{chunk-4CIVGT4P.js → chunk-NM5GBJME.js} +19 -19
- package/dist/bundle/{chunk-IVFUSI7G.js → chunk-NTHALPDT.js} +2 -2
- package/dist/bundle/{chunk-M4W4Y5YR.js → chunk-OG2ONSH6.js} +53 -32
- package/dist/bundle/{chunk-2NG4JPP7.js → chunk-PCC7GWOS.js} +4 -4
- package/dist/bundle/{chunk-UII3D3HR.js → chunk-QVK7NF3A.js} +30 -30
- package/dist/bundle/{chunk-QGCVQRHV.js → chunk-QYT6HDCL.js} +1 -1
- package/dist/bundle/{chunk-BV3HZYOX.js → chunk-RX5GU7GQ.js} +359 -326
- package/dist/bundle/{chunk-LKMZ53GC.js → chunk-RZ7KBWDQ.js} +2 -2
- package/dist/bundle/{chunk-7AWJZ6NJ.js → chunk-S4SOS27T.js} +8 -8
- package/dist/bundle/{chunk-W4LMTNN2.js → chunk-SGHF75RQ.js} +2 -2
- package/dist/bundle/{chunk-WSLIXJET.js → chunk-TAFH5K5D.js} +346 -268
- package/dist/bundle/{chunk-QK4T3VN7.js → chunk-TVQBOIWC.js} +1 -1
- package/dist/bundle/{chunk-4EGB7GSW.js → chunk-UG66U2T7.js} +18 -19
- package/dist/bundle/{chunk-I4JUKRW7.js → chunk-URFBZNLU.js} +2 -2
- package/dist/bundle/{chunk-VAKSXD4F.js → chunk-UTNK2PFE.js} +13 -13
- package/dist/bundle/{chunk-PZ6H65D6.js → chunk-VG3EQJYV.js} +34 -5
- package/dist/bundle/{chunk-ZNICTHSC.js → chunk-VHD4V64E.js} +1 -1
- package/dist/bundle/{chunk-ZTMV5M3D.js → chunk-VUBSGQ2O.js} +26 -24
- package/dist/bundle/{chunk-HEV23NIB.js → chunk-VZDAVZYX.js} +6 -6
- package/dist/bundle/{chunk-IK6XKMLL.js → chunk-WH4T44L3.js} +1 -1
- package/dist/bundle/{chunk-YQFO7WXQ.js → chunk-X6436BYW.js} +2 -2
- package/dist/bundle/{chunk-UR62DZ7Q.js → chunk-XS5C5TQ7.js} +8 -8
- package/dist/bundle/{chunk-WKOVQ4OU.js → chunk-XTNOBJRP.js} +12 -12
- package/dist/bundle/{chunk-ASEBKZFY.js → chunk-YRZXOQOB.js} +2 -2
- package/dist/bundle/{chunk-QWAMX6CN.js → chunk-ZX5OSZHH.js} +12 -12
- package/dist/bundle/command-contract-JP6SCP7U.js +34 -0
- package/dist/bundle/{command-server-entry-K52OEKIO.js → command-server-entry-BLSFT3T6.js} +24 -24
- package/dist/bundle/{decode-OAE25LEJ.js → decode-NNLEQU7B.js} +5 -5
- package/dist/bundle/{dispatch-6GVTXIZ2.js → dispatch-PRAIGIFS.js} +8 -8
- package/dist/bundle/{echarts-EO4ZGKMN.js → echarts-XAZHGDOM.js} +2 -2
- package/dist/bundle/{embed-TB2AS4AT.js → embed-Q7ZCVSCO.js} +6 -6
- package/dist/bundle/{embedder-YKC42G6L.js → embedder-MVS3PVWQ.js} +9 -9
- package/dist/bundle/{entry-AB6FU7BN.js → entry-XN3ZZAOK.js} +9 -9
- package/dist/bundle/{failure-CY7ACT6V.js → failure-7Y34AUJT.js} +2 -2
- package/dist/bundle/{first-run-CMQZHDI5.js → first-run-G4EFTONI.js} +11 -11
- package/dist/bundle/first-screen-RIDJEPC3.js +32 -0
- package/dist/bundle/{instructions-RM3IB6ID.js → instructions-QDHYYZBU.js} +1 -1
- package/dist/bundle/{mcp-M5YCSWJJ.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{node-D2PM62TA.js → node-3Y7OVY2U.js} +2 -2
- package/dist/bundle/{node-sqlite-UK5DE525.js → node-sqlite-R2SBROJM.js} +7 -7
- package/dist/bundle/{oauth-SKRG67A2.js → oauth-WSPWMWTV.js} +7 -7
- package/dist/bundle/{open-XP3SY62D.js → open-VFLF4HRQ.js} +5 -5
- package/dist/bundle/{openai-Q3U46UPA.js → openai-DFCKZZDV.js} +21 -20
- package/dist/bundle/{process-YJ4LHMJB.js → process-VZKFAGNP.js} +1 -1
- package/dist/bundle/{program-EEPEFKTR.js → program-2LB3CUZX.js} +62 -60
- package/dist/bundle/{prompt-WYTODP4U.js → prompt-RVLA2PEY.js} +5 -5
- package/dist/bundle/{proxy-transport-HJMQ5QFT.js → proxy-transport-DP7SIMIC.js} +5 -5
- package/dist/bundle/{recognize-K2S5QQU2.js → recognize-LEKNA3G5.js} +4 -4
- package/dist/bundle/{remote-7RSAJ3JC.js → remote-WG5V2I2G.js} +9 -9
- package/dist/bundle/{rerank-RJX77BKD.js → rerank-ONAEQVJ6.js} +7 -7
- package/dist/bundle/{serve-3E7NN3VW.js → serve-BL2X6FZG.js} +9 -9
- package/dist/bundle/{server-O3KU56A4.js → server-3LSC4BMK.js} +36 -36
- package/dist/bundle/server-7EYEEGJT.js +62 -0
- package/dist/bundle/{sqlite-runtime-RCS5WSG5.js → sqlite-runtime-RQXPRH6C.js} +6 -6
- package/dist/bundle/{state-PLWSPSAG.js → state-O7LRA526.js} +6 -6
- package/dist/bundle/{store-3FYLH53Z.js → store-7C4UAND2.js} +15 -15
- package/dist/bundle/{store-DWMKCXYL.js → store-HMJUPK45.js} +13 -13
- package/dist/bundle/store-maintenance-command-I7PSA3SZ.js +52 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +6 -2
- package/dist/bundle/chunk-VIIIC5LU.js +0 -32
- package/dist/bundle/command-contract-UKOL455D.js +0 -34
- package/dist/bundle/first-screen-XZ73W3VE.js +0 -32
- package/dist/bundle/server-ITHYDPWQ.js +0 -62
- package/dist/bundle/store-maintenance-command-3UEKINRB.js +0 -52
- /package/dist/bundle/{chunk-HVJJWJYQ.js → chunk-XWBPP2HX.js} +0 -0
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
errorCodes,
|
|
5
5
|
isCliError,
|
|
6
6
|
visibleControls
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7KCBPAQS.js";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
10
|
} from "./chunk-ZVVMGPBJ.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
12
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
13
13
|
var EXIT_CODES = {
|
|
14
14
|
validation_error: 2,
|
|
15
15
|
configuration_error: 3,
|
|
@@ -1329,7 +1329,7 @@ function unwrap(schema) {
|
|
|
1329
1329
|
}
|
|
1330
1330
|
__name(unwrap, "unwrap");
|
|
1331
1331
|
|
|
1332
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1332
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
|
|
1333
1333
|
var EFFECT_LEVELS = ["none", "read", "write"];
|
|
1334
1334
|
var effectsSchema = strictObject({
|
|
1335
1335
|
remote: picklist(EFFECT_LEVELS),
|
|
@@ -1966,7 +1966,7 @@ function toStandardJsonSchema(schema) {
|
|
|
1966
1966
|
}
|
|
1967
1967
|
__name(toStandardJsonSchema, "toStandardJsonSchema");
|
|
1968
1968
|
|
|
1969
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1969
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
|
|
1970
1970
|
var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
|
|
1971
1971
|
var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
|
|
1972
1972
|
var text = pipe(string(), regex(/\S/, "must not be empty"));
|
|
@@ -2008,7 +2008,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
|
|
|
2008
2008
|
return String(value);
|
|
2009
2009
|
}), "fill");
|
|
2010
2010
|
|
|
2011
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2011
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
|
|
2012
2012
|
var MAX_NEXT_STEPS = 2;
|
|
2013
2013
|
var COMPACT_FLAG = "--compact";
|
|
2014
2014
|
var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
|
|
@@ -2135,7 +2135,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
2135
2135
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
2136
2136
|
].join("\n"), "jsonlOf");
|
|
2137
2137
|
|
|
2138
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2138
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
|
|
2139
2139
|
var CRASH_CODE = "internal_error";
|
|
2140
2140
|
var CRASH_REASON = "command.crashed";
|
|
2141
2141
|
var errorObjectSchema = strictObject({
|
|
@@ -2228,7 +2228,7 @@ var BASE_REASONS = defineReasons([
|
|
|
2228
2228
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
2229
2229
|
]);
|
|
2230
2230
|
|
|
2231
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2231
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
|
|
2232
2232
|
var SAME_COMMAND = "*";
|
|
2233
2233
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
2234
2234
|
var stepSchema = union([
|
|
@@ -2307,7 +2307,7 @@ var STEPS = defineSteps([
|
|
|
2307
2307
|
}
|
|
2308
2308
|
]);
|
|
2309
2309
|
|
|
2310
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2310
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
2311
2311
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
2312
2312
|
if (isCliError(failure))
|
|
2313
2313
|
return failure;
|
|
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
isCommandServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EIGV2JKX.js";
|
|
6
6
|
import {
|
|
7
7
|
ensureSqlite
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RZ7KBWDQ.js";
|
|
9
9
|
import {
|
|
10
10
|
envName,
|
|
11
11
|
readOnlyLockOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DYOZ7CUV.js";
|
|
13
13
|
import {
|
|
14
14
|
catchCrashes
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XS5C5TQ7.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7KCBPAQS.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
24
24
|
import { spawn } from "node:child_process";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
|
|
27
27
|
import { appendFileSync } from "node:fs";
|
|
28
28
|
var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
|
|
29
29
|
const words = [];
|
|
@@ -47,7 +47,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
|
|
|
47
47
|
`);
|
|
48
48
|
}, "logVersion");
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
51
51
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
52
52
|
argv: process.argv,
|
|
53
53
|
env: process.env,
|
|
@@ -67,7 +67,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
67
67
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
|
|
68
68
|
return printVersion(entry.app, io);
|
|
69
69
|
if (isCommandServer(args)) {
|
|
70
|
-
const { serveEntry } = await import("./command-server-entry-
|
|
70
|
+
const { serveEntry } = await import("./command-server-entry-BLSFT3T6.js");
|
|
71
71
|
return serveEntry(entry, io, { firstRunAt, commanderExit });
|
|
72
72
|
}
|
|
73
73
|
const tty = io.stdout.isTTY === true;
|
|
@@ -105,7 +105,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
105
105
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
106
106
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
107
107
|
return false;
|
|
108
|
-
const { readSecret } = await import("./prompt-
|
|
108
|
+
const { readSecret } = await import("./prompt-RVLA2PEY.js");
|
|
109
109
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
110
110
|
input: io.stdin,
|
|
111
111
|
output: io.stderr,
|
|
@@ -148,8 +148,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
|
|
|
148
148
|
if (command.optsWithGlobals().dryRun === true)
|
|
149
149
|
return;
|
|
150
150
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
151
|
-
import("./first-run-
|
|
152
|
-
import("./command-contract-
|
|
151
|
+
import("./first-run-G4EFTONI.js"),
|
|
152
|
+
import("./command-contract-JP6SCP7U.js")
|
|
153
153
|
]);
|
|
154
154
|
await setupAtStart({
|
|
155
155
|
command: entry.app.command,
|
|
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
proxyError,
|
|
5
5
|
proxyLabel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-URFBZNLU.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7KCBPAQS.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
updateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LD42OGKK.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_STEMMERS,
|
|
8
8
|
LANGUAGES
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-S4SOS27T.js";
|
|
10
10
|
import {
|
|
11
11
|
installerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-M4OP5ASJ.js";
|
|
13
13
|
import {
|
|
14
14
|
QUESTIONS,
|
|
15
15
|
readSetupAnswers,
|
|
16
16
|
unanswered,
|
|
17
17
|
writeSetupAnswers
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-B252D7V4.js";
|
|
19
19
|
import {
|
|
20
20
|
sharedConfigPath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FUYCAROL.js";
|
|
22
22
|
import {
|
|
23
23
|
storePath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NTHALPDT.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-HMJUPK45.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-VFLF4HRQ.js"),
|
|
117
|
+
import("./store-maintenance-command-I7PSA3SZ.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-RIDJEPC3.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
199
199
|
contentLanguages: start.contentLanguages,
|
|
200
200
|
all: start.path[0] === "setup",
|
|
201
201
|
io: {
|
|
202
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
202
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-RVLA2PEY.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
203
203
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
204
204
|
`), "say")
|
|
205
205
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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-7OBSIDBJ.js";
|
|
10
|
+
import "./chunk-FHPEUAHQ.js";
|
|
11
|
+
import "./chunk-4TCBRKWQ.js";
|
|
12
|
+
import "./chunk-B252D7V4.js";
|
|
13
|
+
import "./chunk-DYOZ7CUV.js";
|
|
14
|
+
import "./chunk-TVQBOIWC.js";
|
|
15
|
+
import "./chunk-VG3EQJYV.js";
|
|
16
|
+
import "./chunk-3GILMKQ2.js";
|
|
17
|
+
import "./chunk-PCC7GWOS.js";
|
|
18
|
+
import "./chunk-6Y6SSZ34.js";
|
|
19
|
+
import "./chunk-77Z3OGAT.js";
|
|
20
|
+
import "./chunk-FUYCAROL.js";
|
|
21
|
+
import "./chunk-XWBPP2HX.js";
|
|
22
|
+
import "./chunk-NTHALPDT.js";
|
|
23
|
+
import "./chunk-NM5GBJME.js";
|
|
24
|
+
import "./chunk-XS5C5TQ7.js";
|
|
25
|
+
import "./chunk-Y5E2WNWB.js";
|
|
26
|
+
import "./chunk-7KCBPAQS.js";
|
|
27
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
28
|
+
export {
|
|
29
|
+
SCHEMA_DIALECT,
|
|
30
|
+
commandContract,
|
|
31
|
+
commandPathOf,
|
|
32
|
+
findCommand,
|
|
33
|
+
outputOf
|
|
34
|
+
};
|
|
@@ -4,47 +4,47 @@ import {
|
|
|
4
4
|
COMMAND_SERVER_CONCURRENT,
|
|
5
5
|
enterCommandServer,
|
|
6
6
|
serveCommands
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-GUPMDMFM.js";
|
|
8
|
+
import "./chunk-EIGV2JKX.js";
|
|
9
|
+
import "./chunk-WH4T44L3.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureSqlite
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-RZ7KBWDQ.js";
|
|
13
|
+
import "./chunk-VZDAVZYX.js";
|
|
14
|
+
import "./chunk-VHD4V64E.js";
|
|
15
|
+
import "./chunk-7OBSIDBJ.js";
|
|
16
16
|
import {
|
|
17
17
|
commandServerRequest,
|
|
18
18
|
exitCodeSet,
|
|
19
19
|
inCommandServerRequest
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-FHPEUAHQ.js";
|
|
21
|
+
import "./chunk-4TCBRKWQ.js";
|
|
22
|
+
import "./chunk-B252D7V4.js";
|
|
23
|
+
import "./chunk-DYOZ7CUV.js";
|
|
24
|
+
import "./chunk-TVQBOIWC.js";
|
|
25
|
+
import "./chunk-VG3EQJYV.js";
|
|
26
|
+
import "./chunk-3GILMKQ2.js";
|
|
27
|
+
import "./chunk-PCC7GWOS.js";
|
|
28
28
|
import {
|
|
29
29
|
asOwnProcess
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-6Y6SSZ34.js";
|
|
31
|
+
import "./chunk-77Z3OGAT.js";
|
|
32
|
+
import "./chunk-FUYCAROL.js";
|
|
33
|
+
import "./chunk-XWBPP2HX.js";
|
|
34
|
+
import "./chunk-NTHALPDT.js";
|
|
35
|
+
import "./chunk-NM5GBJME.js";
|
|
36
36
|
import {
|
|
37
37
|
catchCrashes
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-XS5C5TQ7.js";
|
|
39
39
|
import "./chunk-Y5E2WNWB.js";
|
|
40
40
|
import {
|
|
41
41
|
CliError
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-7KCBPAQS.js";
|
|
43
43
|
import {
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
|
|
48
48
|
import { PassThrough } from "node:stream";
|
|
49
49
|
var route = /* @__PURE__ */ __name((stream, sink) => {
|
|
50
50
|
const original = stream.write;
|
|
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-DI3RJ3MJ.js";
|
|
7
|
+
import "./chunk-NM5GBJME.js";
|
|
8
|
+
import "./chunk-XS5C5TQ7.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7KCBPAQS.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
20
20
|
import { spawn } from "node:child_process";
|
|
21
21
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
22
22
|
import { createRequire } from "node:module";
|
|
@@ -14,22 +14,22 @@ import {
|
|
|
14
14
|
parseDescribe,
|
|
15
15
|
shimFiles,
|
|
16
16
|
writeShim
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IX3GUNGV.js";
|
|
18
18
|
import "./chunk-Y5E2WNWB.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7KCBPAQS.js";
|
|
22
22
|
import {
|
|
23
23
|
__name,
|
|
24
24
|
__toESM
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
28
28
|
var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
29
29
|
import { randomUUID } from "node:crypto";
|
|
30
30
|
import { constants } from "node:os";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/path.js
|
|
33
33
|
import { readdirSync, statSync } from "node:fs";
|
|
34
34
|
import { join } from "node:path";
|
|
35
35
|
var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
|
|
@@ -101,7 +101,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
|
|
|
101
101
|
}, "findTools");
|
|
102
102
|
var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
|
|
103
103
|
|
|
104
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
104
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/probe.js
|
|
105
105
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
106
106
|
import { readFileSync } from "node:fs";
|
|
107
107
|
var probeDescribe = /* @__PURE__ */ __name((path, { env, timeoutMs }) => new Promise((resolve) => {
|
|
@@ -149,7 +149,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
|
|
|
149
149
|
}
|
|
150
150
|
}, "baseVersion");
|
|
151
151
|
|
|
152
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
152
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shortcuts.js
|
|
153
153
|
import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
|
|
154
154
|
import { basename, dirname } from "node:path";
|
|
155
155
|
var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
|
|
@@ -241,7 +241,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
|
|
|
241
241
|
return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
|
|
242
242
|
}), "removeShortcuts");
|
|
243
243
|
|
|
244
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
244
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
245
245
|
var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
|
|
246
246
|
var listTools = /* @__PURE__ */ __name(async (context) => {
|
|
247
247
|
const installed = installedPrograms(context);
|
|
@@ -338,7 +338,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
|
|
|
338
338
|
});
|
|
339
339
|
}), "runTool");
|
|
340
340
|
var fail = /* @__PURE__ */ __name(async (error, json, context) => {
|
|
341
|
-
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-
|
|
341
|
+
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-7Y34AUJT.js");
|
|
342
342
|
const object = errorObjectOf(error);
|
|
343
343
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
344
344
|
`);
|
|
@@ -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.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/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.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/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,13 +13,13 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-JKF7LZBU.js";
|
|
17
|
+
import "./chunk-PCC7GWOS.js";
|
|
18
|
+
import "./chunk-NTHALPDT.js";
|
|
19
|
+
import "./chunk-NM5GBJME.js";
|
|
20
|
+
import "./chunk-XS5C5TQ7.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-7KCBPAQS.js";
|
|
23
23
|
import "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
export {
|
|
25
25
|
WARM_IDLE_MS,
|
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
openSession,
|
|
5
5
|
truncated,
|
|
6
6
|
unit
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-JKF7LZBU.js";
|
|
8
|
+
import "./chunk-PCC7GWOS.js";
|
|
9
|
+
import "./chunk-NTHALPDT.js";
|
|
10
|
+
import "./chunk-NM5GBJME.js";
|
|
11
|
+
import "./chunk-XS5C5TQ7.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
15
15
|
import {
|
|
16
16
|
CliError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7KCBPAQS.js";
|
|
18
18
|
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.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/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.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/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.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/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");
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
firstRunAt,
|
|
5
5
|
openBrowser,
|
|
6
6
|
startCli
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-XTNOBJRP.js";
|
|
8
|
+
import "./chunk-EIGV2JKX.js";
|
|
9
|
+
import "./chunk-RZ7KBWDQ.js";
|
|
10
|
+
import "./chunk-VZDAVZYX.js";
|
|
11
|
+
import "./chunk-VHD4V64E.js";
|
|
12
|
+
import "./chunk-DYOZ7CUV.js";
|
|
13
|
+
import "./chunk-NM5GBJME.js";
|
|
14
|
+
import "./chunk-XS5C5TQ7.js";
|
|
15
15
|
import "./chunk-Y5E2WNWB.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-7KCBPAQS.js";
|
|
17
17
|
import "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
export {
|
|
19
19
|
firstRunAt,
|
|
@@ -5,19 +5,19 @@ 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-
|
|
8
|
+
} from "./chunk-ZX5OSZHH.js";
|
|
9
|
+
import "./chunk-LD42OGKK.js";
|
|
10
|
+
import "./chunk-FIVFP53N.js";
|
|
11
|
+
import "./chunk-S4SOS27T.js";
|
|
12
|
+
import "./chunk-M4OP5ASJ.js";
|
|
13
13
|
import "./chunk-D72URWJE.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-B252D7V4.js";
|
|
15
|
+
import "./chunk-FUYCAROL.js";
|
|
16
|
+
import "./chunk-NTHALPDT.js";
|
|
17
|
+
import "./chunk-NM5GBJME.js";
|
|
18
|
+
import "./chunk-XS5C5TQ7.js";
|
|
19
19
|
import "./chunk-Y5E2WNWB.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-7KCBPAQS.js";
|
|
21
21
|
import "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
export {
|
|
23
23
|
askSetupQuestions,
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
WIRECAT_TOOLS,
|
|
5
|
+
firstScreen,
|
|
6
|
+
installHelp
|
|
7
|
+
} from "./chunk-INZAZMUF.js";
|
|
8
|
+
import "./chunk-2ABQZVK4.js";
|
|
9
|
+
import "./chunk-7OBSIDBJ.js";
|
|
10
|
+
import "./chunk-FHPEUAHQ.js";
|
|
11
|
+
import "./chunk-4TCBRKWQ.js";
|
|
12
|
+
import "./chunk-B252D7V4.js";
|
|
13
|
+
import "./chunk-DYOZ7CUV.js";
|
|
14
|
+
import "./chunk-TVQBOIWC.js";
|
|
15
|
+
import "./chunk-VG3EQJYV.js";
|
|
16
|
+
import "./chunk-3GILMKQ2.js";
|
|
17
|
+
import "./chunk-PCC7GWOS.js";
|
|
18
|
+
import "./chunk-6Y6SSZ34.js";
|
|
19
|
+
import "./chunk-77Z3OGAT.js";
|
|
20
|
+
import "./chunk-FUYCAROL.js";
|
|
21
|
+
import "./chunk-XWBPP2HX.js";
|
|
22
|
+
import "./chunk-NTHALPDT.js";
|
|
23
|
+
import "./chunk-NM5GBJME.js";
|
|
24
|
+
import "./chunk-XS5C5TQ7.js";
|
|
25
|
+
import "./chunk-Y5E2WNWB.js";
|
|
26
|
+
import "./chunk-7KCBPAQS.js";
|
|
27
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
28
|
+
export {
|
|
29
|
+
WIRECAT_TOOLS,
|
|
30
|
+
firstScreen,
|
|
31
|
+
installHelp
|
|
32
|
+
};
|