@wirecat/tg-cli 0.131.0 → 0.133.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/README.md +138 -317
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-TA637IRT.js → adapter-GSGX3WBH.js} +61 -60
- package/dist/bundle/{all-profiles-7M3GBCB6.js → all-profiles-VOCJ55YH.js} +9 -9
- package/dist/bundle/{anthropic-P3THLZWO.js → anthropic-J6CTLU3W.js} +5 -5
- package/dist/bundle/{app-server-OE5EAXIY.js → app-server-GVFGA4TJ.js} +57 -57
- package/dist/bundle/{bot-api-WYR2C4A5.js → bot-api-LWONPIGK.js} +62 -61
- package/dist/bundle/{bot-history-PKJTHU7L.js → bot-history-XOW7Y2GC.js} +22 -22
- package/dist/bundle/{bun-XMZJDDEA.js → bun-436CH6CP.js} +2 -2
- package/dist/bundle/{bun-sqlite-F5RWCB2N.js → bun-sqlite-ZLB5RK5Q.js} +6 -6
- package/dist/bundle/chunk-2KQDJHF3.js +88 -0
- package/dist/bundle/{chunk-WG6UZJ3E.js → chunk-54WLIPIQ.js} +1 -1
- package/dist/bundle/{chunk-LDSTUBLY.js → chunk-57KJ3TRS.js} +9 -9
- package/dist/bundle/{chunk-LTP4BYHJ.js → chunk-5HKPQPD4.js} +6 -6
- package/dist/bundle/{chunk-LJO6MMQG.js → chunk-5L44DSHV.js} +4 -4
- package/dist/bundle/{chunk-5AJ5RLJW.js → chunk-5LRTYBZW.js} +14 -13
- package/dist/bundle/{chunk-6BPM3LNR.js → chunk-6A44ZZFC.js} +6 -6
- package/dist/bundle/{chunk-HT6OFANN.js → chunk-6CHIGUCY.js} +20 -20
- package/dist/bundle/{chunk-34PRGA7E.js → chunk-6H2NW6HK.js} +3 -3
- package/dist/bundle/{chunk-JSE4OBYI.js → chunk-6S77EKZU.js} +13 -13
- package/dist/bundle/{chunk-TT6OHNV2.js → chunk-6VCSOQFL.js} +2 -2
- package/dist/bundle/{chunk-CLG2ISQH.js → chunk-7NF3V5L2.js} +4 -4
- package/dist/bundle/{chunk-Z2TCTTPJ.js → chunk-7NYP4RBO.js} +1910 -1015
- package/dist/bundle/{chunk-B6NQJAUC.js → chunk-BXVB42KJ.js} +2 -2
- package/dist/bundle/{chunk-PS7ZS5HD.js → chunk-CEJYNB3I.js} +4 -4
- package/dist/bundle/{chunk-6O5AD3GA.js → chunk-D2SJLZSH.js} +2 -2
- package/dist/bundle/{chunk-P6KGEZIS.js → chunk-H7ML7X3G.js} +5 -5
- package/dist/bundle/{chunk-BXW6FGLD.js → chunk-HB5DP6L5.js} +15 -15
- package/dist/bundle/{chunk-S2IET7WM.js → chunk-IBCXEVNY.js} +3 -3
- package/dist/bundle/{chunk-PHGH5N4C.js → chunk-IH4Z3KZU.js} +2 -2
- package/dist/bundle/{chunk-UGYC2FV5.js → chunk-IPPCQ7IK.js} +2 -2
- package/dist/bundle/{chunk-AJQ6JFLY.js → chunk-IYAXLLGR.js} +6 -6
- package/dist/bundle/{chunk-UUNQV4YL.js → chunk-JGMXBAGH.js} +111 -41
- package/dist/bundle/{chunk-O7X6RM5R.js → chunk-JKSD43L7.js} +6 -6
- package/dist/bundle/{chunk-AEIDEIVB.js → chunk-JPNVEPS4.js} +2331 -1406
- package/dist/bundle/{chunk-GNIROVSK.js → chunk-KEN4B57V.js} +2 -2
- package/dist/bundle/{chunk-NOZZHEMD.js → chunk-KHUXDSXN.js} +1 -1
- package/dist/bundle/{chunk-JUFLELQ7.js → chunk-KUA24HWG.js} +2 -2
- package/dist/bundle/{chunk-H655CMXJ.js → chunk-KVFUH5IT.js} +1 -1
- package/dist/bundle/{chunk-EZBMLKBK.js → chunk-LBZEZO32.js} +36 -36
- package/dist/bundle/{chunk-F6MLJ3V5.js → chunk-LIQMUDIZ.js} +2 -2
- package/dist/bundle/{chunk-SLT2PBFP.js → chunk-LOS4D6ZB.js} +67 -30
- package/dist/bundle/{chunk-6TJTQ4I4.js → chunk-LQQSDGQ6.js} +35 -36
- package/dist/bundle/{chunk-QGFUUJPL.js → chunk-M6QOM6SL.js} +1 -1
- package/dist/bundle/{chunk-JDLNI7BU.js → chunk-N3JUHGKM.js} +308 -285
- package/dist/bundle/{chunk-OOSX7K7G.js → chunk-N7QREPZW.js} +8 -8
- package/dist/bundle/{chunk-IULSIKEM.js → chunk-NAXOT35J.js} +3 -3
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-MYC3M4BY.js → chunk-NTWXL2QV.js} +2 -2
- package/dist/bundle/{chunk-WUIKJJ5A.js → chunk-O6JUVATT.js} +8 -8
- package/dist/bundle/{chunk-43KSYUZU.js → chunk-OWY52JBO.js} +7 -7
- package/dist/bundle/{chunk-2TOJQQKS.js → chunk-OX73ERZW.js} +1 -1
- package/dist/bundle/{chunk-NXNSEFGR.js → chunk-QGWISM4W.js} +24 -24
- package/dist/bundle/{chunk-AUNNJDVD.js → chunk-QVGEL66U.js} +28 -8
- package/dist/bundle/{chunk-5ZIT6JXP.js → chunk-QWO7L4UH.js} +7 -7
- package/dist/bundle/{chunk-PD4RREQB.js → chunk-QYLZD4DS.js} +1 -1
- package/dist/bundle/{chunk-LEPDRO3O.js → chunk-RABUG4KA.js} +76 -59
- package/dist/bundle/{chunk-ITYDJIRC.js → chunk-SMI2EUH4.js} +1 -1
- package/dist/bundle/{chunk-76UAXRDY.js → chunk-SMU6NA7F.js} +4 -4
- package/dist/bundle/{chunk-O73DZURO.js → chunk-TCI7I6YF.js} +10 -10
- package/dist/bundle/{chunk-VNJZXV7E.js → chunk-THYGLTRB.js} +9 -60
- package/dist/bundle/{chunk-OX5EAUKF.js → chunk-TPD37ECC.js} +3 -3
- package/dist/bundle/{chunk-2OXR2MRV.js → chunk-TTDZVWDU.js} +1 -1
- package/dist/bundle/{chunk-YZTMQE62.js → chunk-UGS57TT5.js} +2 -2
- package/dist/bundle/{chunk-OPG54IFH.js → chunk-UIAKLELF.js} +54 -54
- package/dist/bundle/{chunk-5N7TJ6TJ.js → chunk-UKBK2VWZ.js} +217 -165
- package/dist/bundle/{chunk-NTORQXAS.js → chunk-UQYL6TJ7.js} +4 -4
- package/dist/bundle/{chunk-2U6XE4HI.js → chunk-UZ63ORMY.js} +4 -4
- package/dist/bundle/{chunk-SQ2JLZFK.js → chunk-VCAOH45X.js} +1 -1
- package/dist/bundle/{chunk-YJ4BPNWI.js → chunk-VGN5YXYI.js} +3 -3
- package/dist/bundle/{chunk-XC2YJDDK.js → chunk-VTQMR3XG.js} +3 -3
- package/dist/bundle/{chunk-BFERGEBI.js → chunk-VWJTYAIQ.js} +17 -17
- package/dist/bundle/{chunk-JF4AJNCE.js → chunk-WCYKVX3B.js} +7 -7
- package/dist/bundle/{chunk-EXMJDHBM.js → chunk-XDQU5HBO.js} +12 -12
- package/dist/bundle/{chunk-SS5H2XAT.js → chunk-XKOMP3HV.js} +2 -2
- package/dist/bundle/{chunk-J2QQZVEN.js → chunk-XOX4BX5A.js} +4 -4
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-L2SMUTJY.js → chunk-YY6FGKGD.js} +2 -2
- package/dist/bundle/{chunk-VVUUP5NF.js → chunk-ZHO3TPHM.js} +13 -13
- package/dist/bundle/{chunk-LWSOCKOD.js → chunk-ZYAHZKYF.js} +3 -3
- package/dist/bundle/command-contract-TQIARAB4.js +37 -0
- package/dist/bundle/{command-server-entry-6FH3RXJ2.js → command-server-entry-AE27QXTE.js} +27 -27
- package/dist/bundle/{decode-UBRT2QDP.js → decode-RQPPZ72F.js} +5 -5
- package/dist/bundle/{dispatch-ST5FK2KI.js → dispatch-KQO2MCSH.js} +8 -8
- package/dist/bundle/{echarts-PG45GQLR.js → echarts-FZRIACN4.js} +2 -2
- package/dist/bundle/{embed-BUQDSZ57.js → embed-TOSWWMDL.js} +6 -6
- package/dist/bundle/{embedder-TXA3EV7O.js → embedder-JHIQSBGD.js} +9 -9
- package/dist/bundle/{entry-JWIEF57D.js → entry-DU4KRXTG.js} +9 -9
- package/dist/bundle/{failure-GMUQKQ5K.js → failure-3YC3YGYO.js} +2 -2
- package/dist/bundle/{first-run-5VTHKMK5.js → first-run-DQQT4FID.js} +12 -12
- package/dist/bundle/first-screen-7N4CTZSA.js +37 -0
- package/dist/bundle/{instructions-ZMEPWTFO.js → instructions-WI64CJQ6.js} +1 -1
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-3RAOFQ7M.js +23 -0
- package/dist/bundle/{meeting-model-5FVNZCTL.js → meeting-model-XNRSREIK.js} +11 -11
- package/dist/bundle/{meeting-semantic-HUMYFMO7.js → meeting-semantic-OOSCHQMB.js} +6 -6
- package/dist/bundle/{node-N4DQQJKK.js → node-JLKDNVKV.js} +2 -2
- package/dist/bundle/{node-sqlite-MG4KFXYY.js → node-sqlite-YOGH26O2.js} +7 -7
- package/dist/bundle/{oauth-NKDSXEH6.js → oauth-FOMXM5HP.js} +7 -7
- package/dist/bundle/{open-DV2YUU2M.js → open-SM2UXUKM.js} +5 -5
- package/dist/bundle/{openai-FEKMZOUJ.js → openai-J2H7S6ZF.js} +15 -15
- package/dist/bundle/{process-QZS3TE6A.js → process-HI7OZBOI.js} +1 -1
- package/dist/bundle/{program-FNDGXEVS.js → program-VY4HFU25.js} +64 -63
- package/dist/bundle/{prompt-C7RSBNH5.js → prompt-NUUVFMOF.js} +5 -5
- package/dist/bundle/{proxy-transport-A4MRO3PF.js → proxy-transport-AN4VMRRN.js} +5 -5
- package/dist/bundle/{recognize-5BL763FS.js → recognize-MALJHPDI.js} +4 -4
- package/dist/bundle/{remote-CXAKRC7X.js → remote-QUDRSTS2.js} +9 -9
- package/dist/bundle/{rerank-XAEXY5A4.js → rerank-2DSO3D3S.js} +7 -7
- package/dist/bundle/{serve-JLZGFTZH.js → serve-NCJ52MY3.js} +9 -9
- package/dist/bundle/server-CHGON5I2.js +70 -0
- package/dist/bundle/{server-GF3TV2U7.js → server-Y3M544AM.js} +49 -49
- package/dist/bundle/{sqlite-runtime-3OVQ7OTM.js → sqlite-runtime-NJUSXVKK.js} +6 -6
- package/dist/bundle/{state-FGJKQKC2.js → state-AVOWQVET.js} +6 -6
- package/dist/bundle/{store-WYLMNAAQ.js → store-BZ5ICDRP.js} +23 -19
- package/dist/bundle/{store-2J5VJZQY.js → store-MMIYOL4H.js} +19 -17
- package/dist/bundle/store-maintenance-command-VKZ4WHUB.js +61 -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 +78 -576
- package/skills/tg-cli/references/files.md +64 -0
- package/skills/tg-cli/references/history.md +22 -0
- package/skills/tg-cli/references/mcp-and-bots.md +54 -0
- package/skills/tg-cli/references/messages.md +111 -0
- package/skills/tg-cli/references/people.md +85 -0
- package/skills/tg-cli/references/search.md +130 -0
- package/skills/tg-cli/references/setup.md +91 -0
- package/skills/tg-cli/references/stats.md +45 -0
- package/skills/tg-cli/references/tasks.md +54 -0
- package/dist/bundle/command-contract-DAQYQF6R.js +0 -37
- package/dist/bundle/first-screen-PTHIZ5ZF.js +0 -35
- package/dist/bundle/meeting-combined-DU3RJR6X.js +0 -23
- package/dist/bundle/server-GLPEWUYT.js +0 -69
- package/dist/bundle/store-maintenance-command-QN6QH6RA.js +0 -60
- /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-SHTHNBHG.js} +0 -0
|
@@ -4,50 +4,50 @@ import {
|
|
|
4
4
|
COMMAND_SERVER_CONCURRENT,
|
|
5
5
|
enterCommandServer,
|
|
6
6
|
serveCommands
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-OWY52JBO.js";
|
|
8
|
+
import "./chunk-KHUXDSXN.js";
|
|
9
|
+
import "./chunk-SMI2EUH4.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureSqlite
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-NTWXL2QV.js";
|
|
13
|
+
import "./chunk-IYAXLLGR.js";
|
|
14
|
+
import "./chunk-KVFUH5IT.js";
|
|
15
|
+
import "./chunk-SMU6NA7F.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-
|
|
28
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-UKBK2VWZ.js";
|
|
21
|
+
import "./chunk-QWO7L4UH.js";
|
|
22
|
+
import "./chunk-NAXOT35J.js";
|
|
23
|
+
import "./chunk-KEN4B57V.js";
|
|
24
|
+
import "./chunk-QYLZD4DS.js";
|
|
25
|
+
import "./chunk-IBCXEVNY.js";
|
|
26
|
+
import "./chunk-JKSD43L7.js";
|
|
27
|
+
import "./chunk-H7ML7X3G.js";
|
|
28
|
+
import "./chunk-5L44DSHV.js";
|
|
29
29
|
import {
|
|
30
30
|
asOwnProcess
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-LBZEZO32.js";
|
|
32
|
+
import "./chunk-ZYAHZKYF.js";
|
|
33
|
+
import "./chunk-IH4Z3KZU.js";
|
|
34
|
+
import "./chunk-WCYKVX3B.js";
|
|
35
|
+
import "./chunk-RABUG4KA.js";
|
|
36
|
+
import "./chunk-SHTHNBHG.js";
|
|
37
|
+
import "./chunk-6VCSOQFL.js";
|
|
38
|
+
import "./chunk-6CHIGUCY.js";
|
|
39
39
|
import {
|
|
40
40
|
catchCrashes
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-QVGEL66U.js";
|
|
42
42
|
import "./chunk-Y5E2WNWB.js";
|
|
43
43
|
import {
|
|
44
44
|
CliError
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-LIQMUDIZ.js";
|
|
46
46
|
import {
|
|
47
47
|
__name
|
|
48
48
|
} from "./chunk-ZVVMGPBJ.js";
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
|
|
51
51
|
import { PassThrough } from "node:stream";
|
|
52
52
|
var route = /* @__PURE__ */ __name((stream, sink) => {
|
|
53
53
|
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-UQYL6TJ7.js";
|
|
7
|
+
import "./chunk-6CHIGUCY.js";
|
|
8
|
+
import "./chunk-QVGEL66U.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-LIQMUDIZ.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.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
20
20
|
import { spawn } from "node:child_process";
|
|
21
21
|
import { mkdtemp, open, readFile, 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-7NF3V5L2.js";
|
|
18
18
|
import "./chunk-Y5E2WNWB.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LIQMUDIZ.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.106.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.106.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.106.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.106.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.106.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-3YC3YGYO.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.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/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.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/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-6A44ZZFC.js";
|
|
17
|
+
import "./chunk-5L44DSHV.js";
|
|
18
|
+
import "./chunk-6VCSOQFL.js";
|
|
19
|
+
import "./chunk-6CHIGUCY.js";
|
|
20
|
+
import "./chunk-QVGEL66U.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-LIQMUDIZ.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-6A44ZZFC.js";
|
|
8
|
+
import "./chunk-5L44DSHV.js";
|
|
9
|
+
import "./chunk-6VCSOQFL.js";
|
|
10
|
+
import "./chunk-6CHIGUCY.js";
|
|
11
|
+
import "./chunk-QVGEL66U.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-LIQMUDIZ.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.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/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.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/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.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/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-XDQU5HBO.js";
|
|
8
|
+
import "./chunk-SMI2EUH4.js";
|
|
9
|
+
import "./chunk-NTWXL2QV.js";
|
|
10
|
+
import "./chunk-IYAXLLGR.js";
|
|
11
|
+
import "./chunk-KVFUH5IT.js";
|
|
12
|
+
import "./chunk-KEN4B57V.js";
|
|
13
|
+
import "./chunk-6CHIGUCY.js";
|
|
14
|
+
import "./chunk-QVGEL66U.js";
|
|
15
15
|
import "./chunk-Y5E2WNWB.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-LIQMUDIZ.js";
|
|
17
17
|
import "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
export {
|
|
19
19
|
firstRunAt,
|
|
@@ -5,20 +5,20 @@ import {
|
|
|
5
5
|
asksAtStart,
|
|
6
6
|
setupAtStart,
|
|
7
7
|
systemLanguage
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-5LRTYBZW.js";
|
|
9
|
+
import "./chunk-CEJYNB3I.js";
|
|
10
|
+
import "./chunk-NO2LIHWA.js";
|
|
11
|
+
import "./chunk-O6JUVATT.js";
|
|
12
|
+
import "./chunk-TTDZVWDU.js";
|
|
13
|
+
import "./chunk-YAPDU3SV.js";
|
|
14
14
|
import "./chunk-D72URWJE.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-NAXOT35J.js";
|
|
16
|
+
import "./chunk-WCYKVX3B.js";
|
|
17
|
+
import "./chunk-6VCSOQFL.js";
|
|
18
|
+
import "./chunk-6CHIGUCY.js";
|
|
19
|
+
import "./chunk-QVGEL66U.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-LIQMUDIZ.js";
|
|
22
22
|
import "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
export {
|
|
24
24
|
askSetupQuestions,
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
firstScreen,
|
|
5
|
+
installHelp
|
|
6
|
+
} from "./chunk-THYGLTRB.js";
|
|
7
|
+
import "./chunk-2ABQZVK4.js";
|
|
8
|
+
import {
|
|
9
|
+
WIRECAT_TOOLS
|
|
10
|
+
} from "./chunk-2KQDJHF3.js";
|
|
11
|
+
import "./chunk-SMU6NA7F.js";
|
|
12
|
+
import "./chunk-UKBK2VWZ.js";
|
|
13
|
+
import "./chunk-QWO7L4UH.js";
|
|
14
|
+
import "./chunk-NAXOT35J.js";
|
|
15
|
+
import "./chunk-KEN4B57V.js";
|
|
16
|
+
import "./chunk-QYLZD4DS.js";
|
|
17
|
+
import "./chunk-IBCXEVNY.js";
|
|
18
|
+
import "./chunk-JKSD43L7.js";
|
|
19
|
+
import "./chunk-H7ML7X3G.js";
|
|
20
|
+
import "./chunk-5L44DSHV.js";
|
|
21
|
+
import "./chunk-LBZEZO32.js";
|
|
22
|
+
import "./chunk-ZYAHZKYF.js";
|
|
23
|
+
import "./chunk-IH4Z3KZU.js";
|
|
24
|
+
import "./chunk-WCYKVX3B.js";
|
|
25
|
+
import "./chunk-RABUG4KA.js";
|
|
26
|
+
import "./chunk-SHTHNBHG.js";
|
|
27
|
+
import "./chunk-6VCSOQFL.js";
|
|
28
|
+
import "./chunk-6CHIGUCY.js";
|
|
29
|
+
import "./chunk-QVGEL66U.js";
|
|
30
|
+
import "./chunk-Y5E2WNWB.js";
|
|
31
|
+
import "./chunk-LIQMUDIZ.js";
|
|
32
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
33
|
+
export {
|
|
34
|
+
WIRECAT_TOOLS,
|
|
35
|
+
firstScreen,
|
|
36
|
+
installHelp
|
|
37
|
+
};
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NO2LIHWA.js";
|
|
7
7
|
import {
|
|
8
8
|
require_cross_spawn
|
|
9
9
|
} from "./chunk-D72URWJE.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__toESM
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
|
|
16
16
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
17
17
|
var realRun = /* @__PURE__ */ __name((file, args) => {
|
|
18
18
|
const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
searchMeetingsCombined
|
|
5
|
+
} from "./chunk-TCI7I6YF.js";
|
|
6
|
+
import "./chunk-VTQMR3XG.js";
|
|
7
|
+
import "./chunk-N7QREPZW.js";
|
|
8
|
+
import "./chunk-TTDZVWDU.js";
|
|
9
|
+
import "./chunk-JKSD43L7.js";
|
|
10
|
+
import "./chunk-5L44DSHV.js";
|
|
11
|
+
import "./chunk-IH4Z3KZU.js";
|
|
12
|
+
import "./chunk-WCYKVX3B.js";
|
|
13
|
+
import "./chunk-RABUG4KA.js";
|
|
14
|
+
import "./chunk-SHTHNBHG.js";
|
|
15
|
+
import "./chunk-6VCSOQFL.js";
|
|
16
|
+
import "./chunk-6CHIGUCY.js";
|
|
17
|
+
import "./chunk-QVGEL66U.js";
|
|
18
|
+
import "./chunk-Y5E2WNWB.js";
|
|
19
|
+
import "./chunk-LIQMUDIZ.js";
|
|
20
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
21
|
+
export {
|
|
22
|
+
searchMeetingsCombined
|
|
23
|
+
};
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
createMeetingRemoteModel,
|
|
5
5
|
meetingEmbeddingModel,
|
|
6
6
|
openMeetingEmbedder
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-5HKPQPD4.js";
|
|
8
|
+
import "./chunk-57KJ3TRS.js";
|
|
9
|
+
import "./chunk-6A44ZZFC.js";
|
|
10
|
+
import "./chunk-JKSD43L7.js";
|
|
11
|
+
import "./chunk-H7ML7X3G.js";
|
|
12
|
+
import "./chunk-5L44DSHV.js";
|
|
13
|
+
import "./chunk-WCYKVX3B.js";
|
|
14
|
+
import "./chunk-6VCSOQFL.js";
|
|
15
|
+
import "./chunk-6CHIGUCY.js";
|
|
16
|
+
import "./chunk-QVGEL66U.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-LIQMUDIZ.js";
|
|
19
19
|
import "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
export {
|
|
21
21
|
createMeetingRemoteModel,
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
proposeMeetingEmbedding,
|
|
6
6
|
readMeetingSemantic,
|
|
7
7
|
validateVector
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-VTQMR3XG.js";
|
|
9
|
+
import "./chunk-RABUG4KA.js";
|
|
10
|
+
import "./chunk-SHTHNBHG.js";
|
|
11
|
+
import "./chunk-6CHIGUCY.js";
|
|
12
|
+
import "./chunk-QVGEL66U.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-LIQMUDIZ.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
export {
|
|
17
17
|
applyMeetingEmbedding,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VCAOH45X.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
|
|
27
27
|
import { DatabaseSync } from "node:sqlite";
|
|
28
28
|
var nodeSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,23 +3,23 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-D2SJLZSH.js";
|
|
7
7
|
import {
|
|
8
8
|
TIME_LIMIT_FUNCTION,
|
|
9
9
|
beforeTimeLimit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KVFUH5IT.js";
|
|
11
11
|
import {
|
|
12
12
|
refuseOwnerStoreInTests
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-6VCSOQFL.js";
|
|
14
|
+
import "./chunk-6CHIGUCY.js";
|
|
15
|
+
import "./chunk-QVGEL66U.js";
|
|
16
16
|
import "./chunk-Y5E2WNWB.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-LIQMUDIZ.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.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
23
23
|
import { DatabaseSync } from "node:sqlite";
|
|
24
24
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
25
25
|
var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
ownerLogin,
|
|
5
5
|
revokeAll
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XKOMP3HV.js";
|
|
7
7
|
import "./chunk-5D4AEUVA.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-UZ63ORMY.js";
|
|
9
|
+
import "./chunk-TPD37ECC.js";
|
|
10
|
+
import "./chunk-QYLZD4DS.js";
|
|
11
|
+
import "./chunk-6CHIGUCY.js";
|
|
12
|
+
import "./chunk-QVGEL66U.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-LIQMUDIZ.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
export {
|
|
17
17
|
ownerLogin,
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
openCache,
|
|
7
7
|
openFile,
|
|
8
8
|
storeCapable
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-IYAXLLGR.js";
|
|
10
|
+
import "./chunk-KVFUH5IT.js";
|
|
11
|
+
import "./chunk-6CHIGUCY.js";
|
|
12
|
+
import "./chunk-QVGEL66U.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-LIQMUDIZ.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
export {
|
|
17
17
|
CAPABILITY_STATEMENTS,
|
|
@@ -3,44 +3,44 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
toModelRate
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-UQYL6TJ7.js";
|
|
7
|
+
import "./chunk-ZHO3TPHM.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL,
|
|
10
10
|
refuseModelAddress
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-57KJ3TRS.js";
|
|
12
|
+
import "./chunk-6A44ZZFC.js";
|
|
13
13
|
import {
|
|
14
14
|
endpointFetch,
|
|
15
15
|
onThisComputer,
|
|
16
16
|
providerWaitMs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-H7ML7X3G.js";
|
|
18
18
|
import {
|
|
19
19
|
OPENAI_TRANSCRIBE_MODEL,
|
|
20
20
|
VAD,
|
|
21
21
|
filesPresent,
|
|
22
22
|
modelsDirectory,
|
|
23
23
|
vadPath
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-5L44DSHV.js";
|
|
25
|
+
import "./chunk-WCYKVX3B.js";
|
|
26
|
+
import "./chunk-6VCSOQFL.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_RETRY,
|
|
29
29
|
backoffMs
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-6CHIGUCY.js";
|
|
31
|
+
import "./chunk-QVGEL66U.js";
|
|
32
32
|
import "./chunk-Y5E2WNWB.js";
|
|
33
33
|
import {
|
|
34
34
|
CliError
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-LIQMUDIZ.js";
|
|
36
36
|
import {
|
|
37
37
|
__name
|
|
38
38
|
} from "./chunk-ZVVMGPBJ.js";
|
|
39
39
|
|
|
40
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
41
41
|
import { setTimeout as wait } from "node:timers/promises";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
44
44
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
45
45
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
46
46
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -61,7 +61,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
61
61
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
62
62
|
}, "encodeWav");
|
|
63
63
|
|
|
64
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
64
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
65
65
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
66
66
|
var JOINED_SECONDS = 0.2;
|
|
67
67
|
var PAD_SECONDS = 0.2;
|
|
@@ -185,7 +185,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
185
185
|
return pieces;
|
|
186
186
|
}, "piecesOf");
|
|
187
187
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
188
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
188
|
+
const { openSpeechCutter } = await import("./recognize-MALJHPDI.js");
|
|
189
189
|
return openSpeechCutter(vadModel);
|
|
190
190
|
}, "openCutter");
|
|
191
191
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|