@wirecat/cli-memo 0.131.77 → 0.131.78
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-4UWCPMRQ.js → all-profiles-ZEUEPNFD.js} +5 -5
- package/dist/bundle/{anthropic-HECHQVOK.js → anthropic-VF75LSDZ.js} +2 -2
- package/dist/bundle/{app-server-GQEQWFYQ.js → app-server-Z4TY5VP5.js} +36 -36
- package/dist/bundle/auto-SA667UAT.js +91 -0
- package/dist/bundle/{bun-IWGIAD7H.js → bun-OUR5UZAI.js} +2 -2
- package/dist/bundle/{bun-sqlite-VJFM4TVN.js → bun-sqlite-26ZGEVH3.js} +2 -2
- package/dist/bundle/{chunk-UD5JUJES.js → chunk-22RYCAAO.js} +1602 -1112
- package/dist/bundle/{chunk-HKDUGTWQ.js → chunk-3QV5JWFN.js} +3 -3
- package/dist/bundle/{chunk-DJYMK7EI.js → chunk-4LZLU2V3.js} +2 -2
- package/dist/bundle/{chunk-CFZZUGUD.js → chunk-5NBQOU5V.js} +20 -20
- package/dist/bundle/{chunk-5APYWW46.js → chunk-5PCPPT43.js} +29 -29
- package/dist/bundle/{chunk-XLZPP5MB.js → chunk-6ABWVQ4T.js} +1 -1
- package/dist/bundle/{chunk-KYW7RWGE.js → chunk-6GHBGGN7.js} +2 -2
- package/dist/bundle/{chunk-6RN34ZWU.js → chunk-7DKS4GIW.js} +5 -5
- package/dist/bundle/{chunk-ZPB3VTS7.js → chunk-7ENXMVT5.js} +17 -9
- package/dist/bundle/{chunk-INXIJXU2.js → chunk-AZIXZIXT.js} +5 -5
- package/dist/bundle/{chunk-3URQNBDV.js → chunk-B2ZAEF5Z.js} +2 -2
- package/dist/bundle/{chunk-7YALAAL4.js → chunk-D67YDJ35.js} +424 -283
- package/dist/bundle/{chunk-HFZHXP4U.js → chunk-DAEPTQ6N.js} +5 -5
- package/dist/bundle/{chunk-AH6V2UJZ.js → chunk-DDPZY27T.js} +12 -12
- package/dist/bundle/{chunk-A54EZ6DV.js → chunk-E5JVYVRX.js} +13 -13
- package/dist/bundle/{chunk-TFXKS2WG.js → chunk-EF33DKMR.js} +1 -1
- package/dist/bundle/{chunk-DE5BNDIA.js → chunk-EI7LYQQA.js} +4 -4
- package/dist/bundle/{chunk-D7KQYLAN.js → chunk-EIQ6HCIB.js} +5 -5
- package/dist/bundle/{chunk-LHVNZ25W.js → chunk-ELKRFQ5Y.js} +12 -12
- package/dist/bundle/{chunk-TXXKLYJQ.js → chunk-F7MKFYYP.js} +3 -3
- package/dist/bundle/{chunk-DNPE4LOZ.js → chunk-GXHPPHGB.js} +10 -10
- package/dist/bundle/{chunk-IYINNZQE.js → chunk-H2AQV772.js} +9 -9
- package/dist/bundle/{chunk-CPKS7JKX.js → chunk-I6CZU7X7.js} +1 -1
- package/dist/bundle/{chunk-S5T4SO7I.js → chunk-IFANDP3T.js} +7 -1
- package/dist/bundle/{chunk-ZPPMGXER.js → chunk-JHW2ARPA.js} +32 -32
- package/dist/bundle/{chunk-VMTTWF2M.js → chunk-KUY35N7Q.js} +7 -7
- package/dist/bundle/{chunk-4EFQOTNQ.js → chunk-LJRXD44C.js} +6 -6
- package/dist/bundle/{chunk-QNJ6O6J4.js → chunk-MUFU4LNS.js} +2 -2
- package/dist/bundle/{chunk-NGWUFB4K.js → chunk-MW6IAMUI.js} +1 -1
- package/dist/bundle/{chunk-YZ4J67GU.js → chunk-N7CHOWDF.js} +2 -2
- package/dist/bundle/{chunk-UDRKGCDS.js → chunk-NGWKI3E6.js} +1 -1
- package/dist/bundle/{chunk-EY46RMMS.js → chunk-NXQFVHG4.js} +153 -148
- package/dist/bundle/{chunk-76T57Y3Q.js → chunk-OHMF7LWW.js} +4 -4
- package/dist/bundle/{chunk-VIY77EDM.js → chunk-OMCET4QP.js} +45 -45
- package/dist/bundle/{chunk-W36BMC6F.js → chunk-OMGNXKSH.js} +4 -4
- package/dist/bundle/{chunk-UIS44ZMF.js → chunk-OUATPEPP.js} +5 -5
- package/dist/bundle/{chunk-4VO2RJAE.js → chunk-P3UQGKGY.js} +8 -8
- package/dist/bundle/{chunk-OAWNQZ3V.js → chunk-PTKJIA7M.js} +3 -3
- package/dist/bundle/{chunk-MRUE3BWX.js → chunk-Q2CQNT3A.js} +1 -1
- package/dist/bundle/{chunk-JSGRDE5Q.js → chunk-QEJHNTCX.js} +293 -293
- package/dist/bundle/{chunk-WZZ426CJ.js → chunk-QU7UPCW2.js} +77 -77
- package/dist/bundle/{chunk-BFEXVALS.js → chunk-T37LLOZR.js} +1 -1
- package/dist/bundle/{chunk-LO74ISD6.js → chunk-T6LXUBXY.js} +3 -3
- package/dist/bundle/{chunk-KTBPBMNR.js → chunk-TT5RMHM6.js} +4 -4
- package/dist/bundle/{chunk-C3HS26N5.js → chunk-TWWYDJBW.js} +1 -1
- package/dist/bundle/{chunk-MZHH5XMX.js → chunk-UIJBGS6K.js} +2 -2
- package/dist/bundle/{chunk-6VISMU6R.js → chunk-UWF6WXM7.js} +6 -6
- package/dist/bundle/{chunk-YABNPKKQ.js → chunk-VHA3LJQT.js} +1 -1
- package/dist/bundle/{chunk-M4MM4QUM.js → chunk-VJLJFLKZ.js} +1 -1
- package/dist/bundle/{chunk-BNOSAHVH.js → chunk-WETWQO6X.js} +2 -2
- package/dist/bundle/{chunk-2DLCQ4AK.js → chunk-WHMKYJZR.js} +1 -1
- package/dist/bundle/{chunk-HWIKY7KF.js → chunk-WHZJHUK6.js} +2 -2
- package/dist/bundle/{chunk-SHO3T3F2.js → chunk-WYSFOL74.js} +4 -4
- package/dist/bundle/{chunk-TIHQFMH2.js → chunk-XC26CUGL.js} +4 -4
- package/dist/bundle/{chunk-PPARTGFE.js → chunk-XTCN3VUP.js} +7 -7
- package/dist/bundle/{chunk-JTLPFUIQ.js → chunk-Y2J52Y3A.js} +2 -2
- package/dist/bundle/{chunk-JKLJM7EG.js → chunk-YOM4PA3A.js} +1 -1
- package/dist/bundle/{chunk-OB3OPV55.js → chunk-Z4TPRASF.js} +5 -5
- package/dist/bundle/{chunk-OQSIFLZS.js → chunk-ZKCAR2OL.js} +1 -1
- package/dist/bundle/{command-contract-SEDOYJIJ.js → command-contract-L5GTW74N.js} +11 -11
- package/dist/bundle/{command-server-entry-TQBKNSM3.js → command-server-entry-A7ZCZWHH.js} +17 -17
- package/dist/bundle/{decode-VFRSEIBD.js → decode-FO2ELPW6.js} +2 -2
- package/dist/bundle/{echarts-DP2GC2C6.js → echarts-HTY3OB2X.js} +2 -2
- package/dist/bundle/{embed-BIINGRNY.js → embed-2DTGMR7Z.js} +3 -3
- package/dist/bundle/{embedder-2AUO2PHQ.js → embedder-N3IGQ2M6.js} +6 -6
- package/dist/bundle/{entry-APUFP74B.js → entry-Q7CIJ3TU.js} +5 -5
- package/dist/bundle/{entry-LGJ2Y7AS.js → entry-YDEKGRCA.js} +5 -5
- package/dist/bundle/failure-QL3RJILP.js +71 -0
- package/dist/bundle/{first-run-7UMKRQL7.js → first-run-SAADMYEA.js} +5 -5
- package/dist/bundle/{first-screen-H5CQSLIX.js → first-screen-WXKAIMY6.js} +12 -12
- package/dist/bundle/{instructions-WDKCHEG6.js → instructions-XB5Y5DFA.js} +1 -1
- package/dist/bundle/{mcp-3HKOGYHL.js → mcp-IRJS472M.js} +35 -35
- package/dist/bundle/memo.js +3 -3
- package/dist/bundle/{node-QBL3F2VF.js → node-4ZOD7X75.js} +2 -2
- package/dist/bundle/{node-sqlite-WFKC73E5.js → node-sqlite-DWXKYFW6.js} +3 -3
- package/dist/bundle/{oauth-4PT7N4SE.js → oauth-GMIBNJQB.js} +4 -4
- package/dist/bundle/{open-I7XENSGI.js → open-3DBI3MHV.js} +2 -2
- package/dist/bundle/{openai-DUSBTUFI.js → openai-HFJAR7W5.js} +7 -7
- package/dist/bundle/{process-TVXEHAK6.js → process-2H5HNPHH.js} +1 -1
- package/dist/bundle/{program-3X4EPBEW.js → program-VXKN6DLP.js} +68 -67
- package/dist/bundle/{prompt-QRYXTON7.js → prompt-WETKFAQS.js} +2 -2
- package/dist/bundle/{recognize-ZLDPIN36.js → recognize-5LC3DQ2W.js} +1 -1
- package/dist/bundle/{remote-3GRP5YE3.js → remote-FURTWZ25.js} +4 -4
- package/dist/bundle/{rerank-6B2FI6LN.js → rerank-CMQWT3WC.js} +4 -4
- package/dist/bundle/{serve-ZP3TEANT.js → serve-LEF3PX34.js} +6 -6
- package/dist/bundle/server-C2EVLJLW.js +64 -0
- package/dist/bundle/{server-3SJJNNSX.js → server-GYLFN6Y7.js} +52 -52
- package/dist/bundle/server-L7GHFXJF.js +50 -0
- package/dist/bundle/{state-JDH2X2CY.js → state-OVZT24JF.js} +3 -3
- package/dist/bundle/{store-FDNYGJUF.js → store-SV46T732.js} +9 -9
- package/dist/bundle/store-maintenance-command-TZYC5HVL.js +49 -0
- package/dist/bundle/update-PRBIV3RG.js +74 -0
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +3 -2
- package/dist/people/command.js.map +1 -1
- package/dist/people/identities-command.d.ts.map +1 -1
- package/dist/people/identities-command.js +2 -0
- package/dist/people/identities-command.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/sources/readers/ai-model.js +3 -3
- package/dist/sources/readers/ai-model.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/auto-3O7JD27U.js +0 -91
- package/dist/bundle/failure-5QSMH2CD.js +0 -71
- package/dist/bundle/server-72VZYABL.js +0 -50
- package/dist/bundle/server-UY47EXPQ.js +0 -64
- package/dist/bundle/store-maintenance-command-5LFS45JM.js +0 -49
- package/dist/bundle/update-257J2SPM.js +0 -74
- /package/dist/bundle/{chunk-6AALVDEA.js → chunk-DK3W4FPW.js} +0 -0
|
@@ -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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VHA3LJQT.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-BA6GHX5B.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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -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-VHA3LJQT.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
8
|
} from "./chunk-2IQWMWMC.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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/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 });
|
|
@@ -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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
8
8
|
import { PassThrough, Writable } from "node:stream";
|
|
9
9
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
10
10
|
let rest = "";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ACCESS_SECONDS,
|
|
5
5
|
REFRESH_SECONDS,
|
|
6
6
|
readStored
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EI7LYQQA.js";
|
|
8
8
|
import {
|
|
9
9
|
OAuthError,
|
|
10
10
|
OAuthErrorCode
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Y2J52Y3A.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-NXQFVHG4.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
24
|
} from "./chunk-6A37YXAL.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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
33
33
|
var SECTIONS = {
|
|
34
34
|
read: "Read",
|
|
35
35
|
write: "Write",
|
|
@@ -95,7 +95,7 @@ var CORE_SECTIONS = {
|
|
|
95
95
|
upgrade: "setup"
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
98
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
99
99
|
var DESCRIPTION = 90;
|
|
100
100
|
var COLUMN = 52;
|
|
101
101
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -134,7 +134,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
134
134
|
`;
|
|
135
135
|
}, "commandsText");
|
|
136
136
|
|
|
137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
138
138
|
var ARGUMENT_KINDS = {
|
|
139
139
|
chat: "chat",
|
|
140
140
|
chats: "chat",
|
|
@@ -326,7 +326,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
326
326
|
command.addHelpText("after", () => commandHelpText(command));
|
|
327
327
|
}, "installCommandHelp");
|
|
328
328
|
|
|
329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
330
330
|
var WIRECAT_TOOLS = [
|
|
331
331
|
{
|
|
332
332
|
command: "tg",
|
|
@@ -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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/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");
|
|
@@ -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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
|
|
8
8
|
var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
|
|
9
9
|
var kindsByConstructor = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
function collectKinds(ctor) {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZKCAR2OL.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-BA6GHX5B.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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/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 EMPTY_TRIES = 3;
|
|
@@ -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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
__name
|
|
9
9
|
} from "./chunk-ZVVMGPBJ.js";
|
|
10
10
|
|
|
11
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
12
12
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
13
13
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
14
14
|
const { code, exitCode } = value ?? {};
|
|
@@ -55,7 +55,7 @@ var damagedFile = /* @__PURE__ */ __name(async (files, work) => {
|
|
|
55
55
|
}, "damagedFile");
|
|
56
56
|
var isStoreDamage = /* @__PURE__ */ __name((error) => damageIn(error) !== void 0, "isStoreDamage");
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
59
59
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
60
60
|
"authorization",
|
|
61
61
|
"cookie",
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TWWYDJBW.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
callerOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B2ZAEF5Z.js";
|
|
11
11
|
import {
|
|
12
12
|
StdioServerTransport,
|
|
13
13
|
serveStdio
|
|
@@ -19,7 +19,7 @@ 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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
23
23
|
import { spawn } from "node:child_process";
|
|
24
24
|
import { randomUUID } from "node:crypto";
|
|
25
25
|
var PROTOCOL = "2025-06-18";
|
|
@@ -253,7 +253,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
253
253
|
}, "serveAllProfilesOverStdio");
|
|
254
254
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
255
255
|
const { build, close } = allProfilesServer(options);
|
|
256
|
-
const { serveOverHttp } = await import("./serve-
|
|
256
|
+
const { serveOverHttp } = await import("./serve-LEF3PX34.js");
|
|
257
257
|
const listening = await serveOverHttp(build, {
|
|
258
258
|
...http,
|
|
259
259
|
appName: options.command,
|
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
agentResult,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7ENXMVT5.js";
|
|
11
11
|
import {
|
|
12
12
|
APP
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IFANDP3T.js";
|
|
14
14
|
import {
|
|
15
15
|
CommanderError,
|
|
16
16
|
judgedEffects,
|
|
17
17
|
metaOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NXQFVHG4.js";
|
|
19
19
|
import {
|
|
20
20
|
storeDamaged
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-WHZJHUK6.js";
|
|
22
22
|
import {
|
|
23
23
|
errorObjectOf,
|
|
24
24
|
errorRecordOf,
|
|
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
toModelRate
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PTKJIA7M.js";
|
|
7
7
|
import {
|
|
8
8
|
providerWaitMs
|
|
9
9
|
} from "./chunk-A3QZXQI3.js";
|
|
10
10
|
import {
|
|
11
11
|
OPENAI_URL
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6GHBGGN7.js";
|
|
13
13
|
import {
|
|
14
14
|
OPENAI_TRANSCRIBE_MODEL,
|
|
15
15
|
VAD,
|
|
16
16
|
filesPresent,
|
|
17
17
|
modelsDirectory,
|
|
18
18
|
vadPath
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-T6LXUBXY.js";
|
|
20
20
|
import {
|
|
21
21
|
DEFAULT_RETRY,
|
|
22
22
|
backoffMs
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
32
32
|
import { setTimeout as wait } from "node:timers/promises";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
35
35
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
36
36
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
37
37
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -52,7 +52,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
52
52
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
53
53
|
}, "encodeWav");
|
|
54
54
|
|
|
55
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
55
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
56
56
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
57
57
|
var JOINED_SECONDS = 0.2;
|
|
58
58
|
var PAD_SECONDS = 0.2;
|
|
@@ -174,7 +174,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
174
174
|
return pieces;
|
|
175
175
|
}, "piecesOf");
|
|
176
176
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
177
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
177
|
+
const { openSpeechCutter } = await import("./recognize-5LC3DQ2W.js");
|
|
178
178
|
return openSpeechCutter(vadModel);
|
|
179
179
|
}, "openCutter");
|
|
180
180
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NXQFVHG4.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
13
|
} from "./chunk-6A37YXAL.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/http/public-url.js
|
|
11
11
|
var EXAMPLE = "--public-url https://<name>.ts.net";
|
|
12
12
|
var publicUrlOf = /* @__PURE__ */ __name((given, { missing, reaches, path = false }) => {
|
|
13
13
|
if (!given)
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-T6LXUBXY.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -16,12 +16,12 @@ 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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|
|
@@ -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-Y2J52Y3A.js";
|
|
10
|
+
import "./chunk-NXQFVHG4.js";
|
|
11
|
+
import "./chunk-LJRXD44C.js";
|
|
12
|
+
import "./chunk-Q2CQNT3A.js";
|
|
13
|
+
import "./chunk-F7MKFYYP.js";
|
|
14
|
+
import "./chunk-NGWKI3E6.js";
|
|
15
|
+
import "./chunk-QU7UPCW2.js";
|
|
16
|
+
import "./chunk-WHZJHUK6.js";
|
|
17
|
+
import "./chunk-TT5RMHM6.js";
|
|
18
|
+
import "./chunk-T6LXUBXY.js";
|
|
19
|
+
import "./chunk-VHA3LJQT.js";
|
|
20
20
|
import "./chunk-G5GW3FFJ.js";
|
|
21
21
|
import "./chunk-2IQWMWMC.js";
|
|
22
22
|
import "./chunk-EXFRC4OT.js";
|
|
@@ -4,30 +4,30 @@ import {
|
|
|
4
4
|
COMMAND_SERVER_CONCURRENT,
|
|
5
5
|
enterCommandServer,
|
|
6
6
|
serveCommands
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-OUATPEPP.js";
|
|
8
|
+
import "./chunk-EF33DKMR.js";
|
|
9
9
|
import {
|
|
10
10
|
ensureSqlite
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-3QV5JWFN.js";
|
|
12
|
+
import "./chunk-DAEPTQ6N.js";
|
|
13
|
+
import "./chunk-MW6IAMUI.js";
|
|
14
|
+
import "./chunk-Y2J52Y3A.js";
|
|
15
15
|
import {
|
|
16
16
|
commandServerRequest,
|
|
17
17
|
exitCodeSet,
|
|
18
18
|
inCommandServerRequest
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-NXQFVHG4.js";
|
|
20
|
+
import "./chunk-LJRXD44C.js";
|
|
21
|
+
import "./chunk-Q2CQNT3A.js";
|
|
22
|
+
import "./chunk-F7MKFYYP.js";
|
|
23
|
+
import "./chunk-NGWKI3E6.js";
|
|
24
24
|
import {
|
|
25
25
|
asOwnProcess
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-QU7UPCW2.js";
|
|
27
|
+
import "./chunk-WHZJHUK6.js";
|
|
28
|
+
import "./chunk-TT5RMHM6.js";
|
|
29
|
+
import "./chunk-T6LXUBXY.js";
|
|
30
|
+
import "./chunk-VHA3LJQT.js";
|
|
31
31
|
import "./chunk-G5GW3FFJ.js";
|
|
32
32
|
import "./chunk-2IQWMWMC.js";
|
|
33
33
|
import "./chunk-EXFRC4OT.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
__name
|
|
44
44
|
} from "./chunk-ZVVMGPBJ.js";
|
|
45
45
|
|
|
46
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
46
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
|
|
47
47
|
import { PassThrough } from "node:stream";
|
|
48
48
|
var route = /* @__PURE__ */ __name((stream, sink) => {
|
|
49
49
|
const original = stream.write;
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
decodeChannels,
|
|
7
7
|
formatOf,
|
|
8
8
|
runFfmpeg
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-MUFU4LNS.js";
|
|
10
|
+
import "./chunk-PTKJIA7M.js";
|
|
11
11
|
import "./chunk-2IQWMWMC.js";
|
|
12
12
|
import "./chunk-EXFRC4OT.js";
|
|
13
13
|
import "./chunk-X2SA73EE.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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/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-Z4TPRASF.js";
|
|
17
|
+
import "./chunk-T6LXUBXY.js";
|
|
18
|
+
import "./chunk-VHA3LJQT.js";
|
|
19
19
|
import "./chunk-2IQWMWMC.js";
|
|
20
20
|
import "./chunk-EXFRC4OT.js";
|
|
21
21
|
import "./chunk-X2SA73EE.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-Z4TPRASF.js";
|
|
8
|
+
import "./chunk-T6LXUBXY.js";
|
|
9
|
+
import "./chunk-VHA3LJQT.js";
|
|
10
10
|
import "./chunk-2IQWMWMC.js";
|
|
11
11
|
import "./chunk-EXFRC4OT.js";
|
|
12
12
|
import "./chunk-X2SA73EE.js";
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
__name
|
|
22
22
|
} from "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
25
25
|
import { readFileSync } from "node:fs";
|
|
26
26
|
import { join } from "node:path";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
|
|
29
29
|
var SIZE = 224;
|
|
30
30
|
var MEAN = [0.48145466, 0.4578275, 0.40821073];
|
|
31
31
|
var STD = [0.26862954, 0.26130258, 0.27577711];
|
|
@@ -64,7 +64,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
|
|
|
64
64
|
return pixels;
|
|
65
65
|
}, "preprocess");
|
|
66
66
|
|
|
67
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
67
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
68
68
|
var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
|
|
69
69
|
const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
|
|
70
70
|
const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
|
|
@@ -4,11 +4,11 @@ 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-
|
|
7
|
+
} from "./chunk-H2AQV772.js";
|
|
8
|
+
import "./chunk-3QV5JWFN.js";
|
|
9
|
+
import "./chunk-DAEPTQ6N.js";
|
|
10
|
+
import "./chunk-MW6IAMUI.js";
|
|
11
|
+
import "./chunk-NGWKI3E6.js";
|
|
12
12
|
import "./chunk-2IQWMWMC.js";
|
|
13
13
|
import "./chunk-EXFRC4OT.js";
|
|
14
14
|
import "./chunk-X2SA73EE.js";
|