@wirecat/tg-cli 0.102.0 → 0.104.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 +1 -0
- package/dist/bin/tg.js +31 -19
- package/dist/bundle/{adapter-M2HRSFFL.js → adapter-QTAHA2JC.js} +49 -48
- package/dist/bundle/{all-profiles-GOD2QNTK.js → all-profiles-7CXBVRFU.js} +13 -13
- package/dist/bundle/{anthropic-LKU7RWMA.js → anthropic-FWBQ7JHT.js} +10 -10
- package/dist/bundle/app-server-XF4GY2Y6.js +222 -0
- package/dist/bundle/{bot-api-X3MPFVPL.js → bot-api-XDMMWRYI.js} +50 -49
- package/dist/bundle/{bot-history-OUMVVG22.js → bot-history-TU2X7RNN.js} +19 -19
- package/dist/bundle/{bun-LIZ6MKFS.js → bun-6GSDPKNZ.js} +5 -5
- package/dist/bundle/{bun-sqlite-2IFQYQ44.js → bun-sqlite-AO27E35V.js} +8 -8
- package/dist/bundle/{chunk-ZZLKX62Z.js → chunk-2ABQZVK4.js} +3 -3
- package/dist/bundle/{chunk-5DFGJPT6.js → chunk-3GGU65YR.js} +9 -7
- package/dist/bundle/{chunk-QEPZUFPL.js → chunk-3XZQQGCB.js} +59 -59
- package/dist/bundle/{chunk-W5EB4JLV.js → chunk-54RJDS3X.js} +6 -6
- package/dist/bundle/{chunk-WMOEOVWZ.js → chunk-5D4AEUVA.js} +3 -3
- package/dist/bundle/{chunk-BBC546ZA.js → chunk-5K7E36ND.js} +6 -6
- package/dist/bundle/{chunk-OEJ5DMCX.js → chunk-67SRVSPU.js} +10 -10
- package/dist/bundle/{chunk-TXBUDJ3P.js → chunk-6K4QGBXU.js} +5 -5
- package/dist/bundle/{chunk-264DAFJV.js → chunk-6YUFPSSE.js} +7 -7
- package/dist/bundle/{chunk-HLAZ65AW.js → chunk-7WHM3KNI.js} +5 -5
- package/dist/bundle/{chunk-AVWK4NCW.js → chunk-ADLS6FVG.js} +13 -13
- package/dist/bundle/{chunk-M5UH5CF3.js → chunk-ADMV4WGV.js} +8 -8
- package/dist/bundle/{chunk-WVEHUKCZ.js → chunk-B7TTM75D.js} +4 -4
- package/dist/bundle/{chunk-OHBHHBYL.js → chunk-BI2AXVHY.js} +6 -6
- package/dist/bundle/{chunk-XXTJUZMB.js → chunk-BIWJK5YU.js} +4 -4
- package/dist/bundle/{chunk-Q2NYEX4A.js → chunk-BKVJNPA6.js} +71 -30
- package/dist/bundle/{chunk-5D6OJREA.js → chunk-C5N7G6UH.js} +4 -4
- package/dist/bundle/{chunk-UK3GAN7Q.js → chunk-DANCAYRP.js} +16 -11
- package/dist/bundle/{chunk-7BFO3DY6.js → chunk-DFDN6AUB.js} +2 -2
- package/dist/bundle/{chunk-2XBSVRT2.js → chunk-FG2QTYEF.js} +4 -4
- package/dist/bundle/{chunk-DE7LFMY2.js → chunk-FRZHF2X6.js} +13 -11
- package/dist/bundle/{chunk-VUJ34PEQ.js → chunk-FUWSIEYY.js} +15 -15
- package/dist/bundle/{chunk-GSKFAE3I.js → chunk-GE22MYA6.js} +158 -56
- package/dist/bundle/{chunk-5VSR5ENL.js → chunk-GZ5CR5QB.js} +11 -11
- package/dist/bundle/{chunk-PSH7K6TL.js → chunk-HOR7DS3P.js} +25 -25
- package/dist/bundle/{chunk-CLWYQNSC.js → chunk-KRLCUBII.js} +9 -9
- package/dist/bundle/chunk-LJCGQMGN.js +264 -0
- package/dist/bundle/{chunk-OCWARAFE.js → chunk-LOFG3Q35.js} +5 -5
- package/dist/bundle/{chunk-SRU3OF4R.js → chunk-LSQUNABH.js} +5 -5
- package/dist/bundle/{chunk-MGG7JSNO.js → chunk-MB3PCNRL.js} +6 -6
- package/dist/bundle/{chunk-U4RRZUNP.js → chunk-MCD2GANK.js} +35 -282
- package/dist/bundle/{chunk-5KU4UQBM.js → chunk-MFS52LTZ.js} +4 -4
- package/dist/bundle/{chunk-ENE5CSVY.js → chunk-MR4LW4EC.js} +2176 -1927
- package/dist/bundle/{chunk-2SUTCDGO.js → chunk-N6VHHMSZ.js} +5 -5
- package/dist/bundle/chunk-O5EHUB2V.js +2 -0
- package/dist/bundle/{chunk-FBWOQMPE.js → chunk-P3WU6UYJ.js} +227 -283
- package/dist/bundle/{chunk-F2TG3BA2.js → chunk-PHQTSF44.js} +9 -9
- package/dist/bundle/{chunk-AUOXTGTU.js → chunk-PWIE7VBL.js} +4 -4
- package/dist/bundle/{chunk-TV5DGHBT.js → chunk-QVTCOBN5.js} +263 -249
- package/dist/bundle/{chunk-JFSVXMN6.js → chunk-QY7MW7HK.js} +6 -6
- package/dist/bundle/{chunk-V52SBQYF.js → chunk-RRWMYR2H.js} +18 -17
- package/dist/bundle/{chunk-4QB4WDLT.js → chunk-RTAV5XNT.js} +15 -15
- package/dist/bundle/{server-YWL4HDOP.js → chunk-SZE6425L.js} +54 -67
- package/dist/bundle/{chunk-DG62L57H.js → chunk-T4SDOYPY.js} +20 -20
- package/dist/bundle/{chunk-334UBWOB.js → chunk-TJR37WKA.js} +14 -14
- package/dist/bundle/{chunk-ERQDBK5I.js → chunk-U2AK4QXY.js} +23 -5
- package/dist/bundle/{chunk-BQYTIYGB.js → chunk-UDXRDFHN.js} +97 -96
- package/dist/bundle/{chunk-Y4XSWI22.js → chunk-UT6G2X7T.js} +7 -6
- package/dist/bundle/{chunk-4PDEQL6T.js → chunk-UTVANQN5.js} +6 -6
- package/dist/bundle/{chunk-FOUE7XLK.js → chunk-UVYY5EIS.js} +4 -4
- package/dist/bundle/{chunk-PYTOIDSM.js → chunk-VMU4SGCE.js} +7 -7
- package/dist/bundle/{chunk-ZJVZXJOG.js → chunk-WAGDZB62.js} +5 -5
- package/dist/bundle/{chunk-YHB57PFN.js → chunk-Y3VNNLUT.js} +4 -4
- package/dist/bundle/{chunk-BJG6JA5U.js → chunk-Y5E2WNWB.js} +4 -4
- package/dist/bundle/{chunk-ZRNRQFTF.js → chunk-Y5PJQPMQ.js} +5 -5
- package/dist/bundle/{chunk-CRZPQQHE.js → chunk-YBQ753RP.js} +26 -26
- package/dist/bundle/{chunk-QL7CQ6VZ.js → chunk-YD6ZQ6LM.js} +50 -48
- package/dist/bundle/{chunk-UR6ASUSG.js → chunk-ZBH7Z6WX.js} +6 -6
- package/dist/bundle/{chunk-AFV74GK3.js → chunk-ZVVMGPBJ.js} +2 -2
- package/dist/bundle/command-contract-RICU4OWW.js +32 -0
- package/dist/bundle/{dist-RJMT44PL.js → dist-I7OZPHAZ.js} +3 -3
- package/dist/bundle/{echarts-27W2CIBD.js → echarts-2YP32GX5.js} +5 -5
- package/dist/bundle/{embed-FGJ273X2.js → embed-QNWVBCL5.js} +9 -8
- package/dist/bundle/{embedder-7ELL3CQ3.js → embedder-ENS7ARPP.js} +12 -11
- package/dist/bundle/entry-MPYSQPZO.js +14 -0
- package/dist/bundle/first-run-YLB7RNGP.js +24 -0
- package/dist/bundle/first-screen-AYOE4JFC.js +30 -0
- package/dist/bundle/identity-XQLO7NYW.js +11 -0
- package/dist/bundle/instructions-5F4XG3B6.js +11 -0
- package/dist/bundle/{mcp-4Y37G2UY.js → mcp-OQBZXELQ.js} +5 -5
- package/dist/bundle/{node-RSL3HANO.js → node-JOUDFPFN.js} +5 -5
- package/dist/bundle/{node-IUL5HSYI.js → node-P4E63KXA.js} +5 -5
- package/dist/bundle/node-TLZSIHIJ.js +21 -0
- package/dist/bundle/{node-sqlite-7R3PYQGJ.js → node-sqlite-ZY6ZFFXS.js} +8 -8
- package/dist/bundle/oauth-KOR3ZNTA.js +18 -0
- package/dist/bundle/open-JACXAGY5.js +20 -0
- package/dist/bundle/{process-RMV3AKLB.js → process-7W3X5VME.js} +5 -5
- package/dist/bundle/{program-PIUYQHBF.js → program-NSZWGHNJ.js} +52 -51
- package/dist/bundle/prompt-CRRG5UB6.js +13 -0
- package/dist/bundle/proxy-transport-YSBYG26I.js +17 -0
- package/dist/bundle/{recognize-3GMOLZF4.js → recognize-ASXEB45M.js} +9 -9
- package/dist/bundle/remote-CB3GAXGJ.js +27 -0
- package/dist/bundle/{rerank-W3OSXXBN.js → rerank-PDD5BPID.js} +10 -9
- package/dist/bundle/{serve-ZCPO44NO.js → serve-M4XFAYUM.js} +13 -13
- package/dist/bundle/{server-FXU4QFRB.js → server-IN673OYO.js} +37 -35
- package/dist/bundle/server-ISWPSKQ6.js +55 -0
- package/dist/bundle/{state-MJPTDIB5.js → state-626GOOVZ.js} +9 -9
- package/dist/bundle/{store-6VNQG56O.js → store-6JM4HJU5.js} +14 -14
- package/dist/bundle/store-maintenance-command-DI2UX4V3.js +44 -0
- package/dist/bundle/tg.js +8 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/tg-cli/SKILL.md +1 -0
- package/dist/bundle/chunk-2SJOUK6J.js +0 -2
- package/dist/bundle/command-contract-A6VZN3ZR.js +0 -31
- package/dist/bundle/entry-SEE5YWIX.js +0 -14
- package/dist/bundle/first-run-BD7FEC3W.js +0 -24
- package/dist/bundle/first-screen-ASZV6LSA.js +0 -29
- package/dist/bundle/identity-QR4F42T6.js +0 -11
- package/dist/bundle/instructions-L74K64PV.js +0 -9
- package/dist/bundle/node-UPPL626U.js +0 -21
- package/dist/bundle/oauth-4ESGXF6U.js +0 -18
- package/dist/bundle/open-DFYEUGTA.js +0 -20
- package/dist/bundle/prompt-H7GYQQLL.js +0 -13
- package/dist/bundle/proxy-transport-G4MA6BGU.js +0 -17
- package/dist/bundle/remote-IRWTCI2B.js +0 -26
- package/dist/bundle/store-maintenance-command-62TQTMER.js +0 -43
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
TG
|
|
5
|
+
} from "./chunk-UVYY5EIS.js";
|
|
6
|
+
import "./chunk-O5EHUB2V.js";
|
|
7
|
+
import "./chunk-67SRVSPU.js";
|
|
8
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
9
|
+
export {
|
|
10
|
+
TG
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
appInstructions,
|
|
5
|
+
instructions
|
|
6
|
+
} from "./chunk-U2AK4QXY.js";
|
|
7
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
8
|
+
export {
|
|
9
|
+
appInstructions,
|
|
10
|
+
instructions
|
|
11
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { createRequire as
|
|
2
|
-
const require =
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath,
|
|
6
6
|
require_cross_spawn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MFS52LTZ.js";
|
|
8
8
|
import {
|
|
9
9
|
__name,
|
|
10
10
|
__toESM
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.65.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
|
|
14
14
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
15
15
|
var realRun = /* @__PURE__ */ __name((file, args) => {
|
|
16
16
|
const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createRequire as
|
|
2
|
-
const require =
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
DefaultLogger,
|
|
5
5
|
DrizzleQueryError,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-Y3VNNLUT.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/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 },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createRequire as
|
|
2
|
-
const require =
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
child_process,
|
|
5
5
|
crypto,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
path,
|
|
8
8
|
stream,
|
|
9
9
|
util
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DFDN6AUB.js";
|
|
11
11
|
import {
|
|
12
12
|
AnthropicError,
|
|
13
13
|
DEFAULT_MEMORY_SYNC_INTERVAL_MS,
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
isStatus,
|
|
22
22
|
loggerFor,
|
|
23
23
|
promiseWithResolvers
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ADLS6FVG.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
29
|
// node_modules/.pnpm/@anthropic-ai+sdk@1.3.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.mjs
|
|
30
30
|
import * as fs4 from "node:fs/promises";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
child_process,
|
|
5
|
+
crypto,
|
|
6
|
+
fs,
|
|
7
|
+
os,
|
|
8
|
+
path,
|
|
9
|
+
stream,
|
|
10
|
+
util
|
|
11
|
+
} from "./chunk-DFDN6AUB.js";
|
|
12
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
13
|
+
export {
|
|
14
|
+
child_process,
|
|
15
|
+
crypto,
|
|
16
|
+
fs,
|
|
17
|
+
os,
|
|
18
|
+
path,
|
|
19
|
+
stream,
|
|
20
|
+
util
|
|
21
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { createRequire as
|
|
2
|
-
const require =
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-UTVANQN5.js";
|
|
7
|
+
import "./chunk-T4SDOYPY.js";
|
|
8
|
+
import "./chunk-67SRVSPU.js";
|
|
9
|
+
import "./chunk-Y5E2WNWB.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
15
15
|
import { DatabaseSync } from "node:sqlite";
|
|
16
16
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
17
17
|
var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
ownerLogin,
|
|
5
|
+
revokeAll
|
|
6
|
+
} from "./chunk-ZBH7Z6WX.js";
|
|
7
|
+
import "./chunk-5D4AEUVA.js";
|
|
8
|
+
import "./chunk-6YUFPSSE.js";
|
|
9
|
+
import "./chunk-54RJDS3X.js";
|
|
10
|
+
import "./chunk-B7TTM75D.js";
|
|
11
|
+
import "./chunk-T4SDOYPY.js";
|
|
12
|
+
import "./chunk-67SRVSPU.js";
|
|
13
|
+
import "./chunk-Y5E2WNWB.js";
|
|
14
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
15
|
+
export {
|
|
16
|
+
ownerLogin,
|
|
17
|
+
revokeAll
|
|
18
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
CAPABILITY_STATEMENTS,
|
|
5
|
+
assertStoreCapable,
|
|
6
|
+
openCache,
|
|
7
|
+
openFile,
|
|
8
|
+
storeCapable
|
|
9
|
+
} from "./chunk-KRLCUBII.js";
|
|
10
|
+
import "./chunk-T4SDOYPY.js";
|
|
11
|
+
import "./chunk-67SRVSPU.js";
|
|
12
|
+
import "./chunk-Y5E2WNWB.js";
|
|
13
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
14
|
+
export {
|
|
15
|
+
CAPABILITY_STATEMENTS,
|
|
16
|
+
assertStoreCapable,
|
|
17
|
+
openCache,
|
|
18
|
+
openFile,
|
|
19
|
+
storeCapable
|
|
20
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { createRequire as
|
|
2
|
-
const require =
|
|
3
|
-
import "./chunk-
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import "./chunk-Y5E2WNWB.js";
|
|
4
4
|
import {
|
|
5
5
|
__name
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
7
7
|
|
|
8
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/embeddings/process.js
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createRequire as
|
|
2
|
-
const require =
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CONFIG,
|
|
5
5
|
SKILL,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
proxiedFetch,
|
|
14
14
|
proxySecrets,
|
|
15
15
|
resolveSettings
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RTAV5XNT.js";
|
|
17
17
|
import {
|
|
18
18
|
AGENTS,
|
|
19
19
|
MEMO_SCENARIOS,
|
|
@@ -65,27 +65,27 @@ import {
|
|
|
65
65
|
topicsCommand,
|
|
66
66
|
upgradeCommand,
|
|
67
67
|
watchCommand
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-MR4LW4EC.js";
|
|
69
|
+
import "./chunk-C5N7G6UH.js";
|
|
69
70
|
import {
|
|
70
71
|
parseProxy,
|
|
71
72
|
proxyLabel
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-5D6OJREA.js";
|
|
73
|
+
} from "./chunk-FG2QTYEF.js";
|
|
74
|
+
import "./chunk-PWIE7VBL.js";
|
|
75
|
+
import "./chunk-YBQ753RP.js";
|
|
76
76
|
import {
|
|
77
77
|
installSkill
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
78
|
+
} from "./chunk-RRWMYR2H.js";
|
|
79
|
+
import "./chunk-YD6ZQ6LM.js";
|
|
80
|
+
import "./chunk-HOR7DS3P.js";
|
|
81
|
+
import "./chunk-P3WU6UYJ.js";
|
|
82
|
+
import "./chunk-3GGU65YR.js";
|
|
83
83
|
import {
|
|
84
84
|
inSection
|
|
85
|
-
} from "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
85
|
+
} from "./chunk-DANCAYRP.js";
|
|
86
|
+
import "./chunk-2ABQZVK4.js";
|
|
87
|
+
import "./chunk-ADMV4WGV.js";
|
|
88
|
+
import "./chunk-UDXRDFHN.js";
|
|
89
89
|
import {
|
|
90
90
|
Argument,
|
|
91
91
|
Command,
|
|
@@ -107,47 +107,48 @@ import {
|
|
|
107
107
|
runtime,
|
|
108
108
|
secretInputOf,
|
|
109
109
|
withDeadline
|
|
110
|
-
} from "./chunk-
|
|
111
|
-
import "./chunk-
|
|
112
|
-
import "./chunk-
|
|
113
|
-
import "./chunk-
|
|
110
|
+
} from "./chunk-GE22MYA6.js";
|
|
111
|
+
import "./chunk-UT6G2X7T.js";
|
|
112
|
+
import "./chunk-FRZHF2X6.js";
|
|
113
|
+
import "./chunk-TJR37WKA.js";
|
|
114
114
|
import {
|
|
115
115
|
installerOf,
|
|
116
116
|
latestVersion,
|
|
117
117
|
runUpdate,
|
|
118
118
|
updateNotice
|
|
119
|
-
} from "./chunk-
|
|
120
|
-
import "./chunk-
|
|
121
|
-
import "./chunk-
|
|
122
|
-
import "./chunk-
|
|
123
|
-
import "./chunk-
|
|
119
|
+
} from "./chunk-VMU4SGCE.js";
|
|
120
|
+
import "./chunk-MFS52LTZ.js";
|
|
121
|
+
import "./chunk-BI2AXVHY.js";
|
|
122
|
+
import "./chunk-FUWSIEYY.js";
|
|
123
|
+
import "./chunk-N6VHHMSZ.js";
|
|
124
124
|
import {
|
|
125
125
|
TG,
|
|
126
126
|
VERSION
|
|
127
|
-
} from "./chunk-
|
|
128
|
-
import "./chunk-
|
|
127
|
+
} from "./chunk-UVYY5EIS.js";
|
|
128
|
+
import "./chunk-6YUFPSSE.js";
|
|
129
129
|
import {
|
|
130
130
|
servingProfiles
|
|
131
|
-
} from "./chunk-
|
|
132
|
-
import "./chunk-
|
|
133
|
-
import "./chunk-
|
|
134
|
-
import "./chunk-
|
|
135
|
-
import "./chunk-
|
|
136
|
-
import "./chunk-
|
|
137
|
-
import "./chunk-
|
|
131
|
+
} from "./chunk-54RJDS3X.js";
|
|
132
|
+
import "./chunk-B7TTM75D.js";
|
|
133
|
+
import "./chunk-LSQUNABH.js";
|
|
134
|
+
import "./chunk-LOFG3Q35.js";
|
|
135
|
+
import "./chunk-QY7MW7HK.js";
|
|
136
|
+
import "./chunk-MCD2GANK.js";
|
|
137
|
+
import "./chunk-LJCGQMGN.js";
|
|
138
|
+
import "./chunk-QVTCOBN5.js";
|
|
138
139
|
import {
|
|
139
140
|
timezoneOf
|
|
140
|
-
} from "./chunk-
|
|
141
|
-
import "./chunk-
|
|
142
|
-
import "./chunk-
|
|
143
|
-
import "./chunk-
|
|
144
|
-
import "./chunk-
|
|
145
|
-
import "./chunk-
|
|
146
|
-
import "./chunk-
|
|
141
|
+
} from "./chunk-3XZQQGCB.js";
|
|
142
|
+
import "./chunk-GZ5CR5QB.js";
|
|
143
|
+
import "./chunk-PHQTSF44.js";
|
|
144
|
+
import "./chunk-O5EHUB2V.js";
|
|
145
|
+
import "./chunk-Y5PJQPMQ.js";
|
|
146
|
+
import "./chunk-KRLCUBII.js";
|
|
147
|
+
import "./chunk-Y3VNNLUT.js";
|
|
147
148
|
import {
|
|
148
149
|
readSecret
|
|
149
|
-
} from "./chunk-
|
|
150
|
-
import "./chunk-
|
|
150
|
+
} from "./chunk-MB3PCNRL.js";
|
|
151
|
+
import "./chunk-7WHM3KNI.js";
|
|
151
152
|
import {
|
|
152
153
|
configFilePath,
|
|
153
154
|
exitCodeFor,
|
|
@@ -156,15 +157,15 @@ import {
|
|
|
156
157
|
renderPretty,
|
|
157
158
|
resolvePaths,
|
|
158
159
|
singleLine
|
|
159
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-T4SDOYPY.js";
|
|
160
161
|
import {
|
|
161
162
|
CliError,
|
|
162
163
|
isCliError
|
|
163
|
-
} from "./chunk-
|
|
164
|
-
import "./chunk-
|
|
164
|
+
} from "./chunk-67SRVSPU.js";
|
|
165
|
+
import "./chunk-Y5E2WNWB.js";
|
|
165
166
|
import {
|
|
166
167
|
__name
|
|
167
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
168
169
|
|
|
169
170
|
// dist/program.js
|
|
170
171
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
@@ -235,7 +236,7 @@ var withProxySecrets = /* @__PURE__ */ __name((config) => {
|
|
|
235
236
|
throw new CliError("validation_error", "a proxy password or MTProxy secret never goes on the command line \u2014 run `tg config set proxy -` and paste the URL");
|
|
236
237
|
if (proxy.kind === "mtproxy" && proxy.secret === void 0)
|
|
237
238
|
throw new CliError("validation_error", "an MTProxy link needs its secret \u2014 run `tg config set proxy -` and paste the whole link");
|
|
238
|
-
const { checkProxy } = await import("./proxy-transport-
|
|
239
|
+
const { checkProxy } = await import("./proxy-transport-YSBYG26I.js");
|
|
239
240
|
asValidation(() => checkProxy(proxy));
|
|
240
241
|
const label = proxyLabel(proxy);
|
|
241
242
|
action.processedArgs[1] = label;
|
|
@@ -718,7 +719,7 @@ import { accessSync, constants, existsSync as existsSync2, mkdirSync } from "nod
|
|
|
718
719
|
import { join } from "node:path";
|
|
719
720
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
720
721
|
|
|
721
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
722
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
722
723
|
import { realpathSync } from "node:fs";
|
|
723
724
|
import { fileURLToPath } from "node:url";
|
|
724
725
|
var QUIET_WORDS = [
|
|
@@ -1035,7 +1036,7 @@ var definition = {
|
|
|
1035
1036
|
};
|
|
1036
1037
|
var run2 = /* @__PURE__ */ __name(async (argv, environment = {}) => {
|
|
1037
1038
|
if (!botApi && needsBotApi(argv, environment.env ?? process.env))
|
|
1038
|
-
useBotApi((await import("./bot-api-
|
|
1039
|
+
useBotApi((await import("./bot-api-XDMMWRYI.js")).telegramBotApiCommand);
|
|
1039
1040
|
const notice = updateNotice2(argv, {
|
|
1040
1041
|
...environment.tty === void 0 ? {} : { tty: environment.tty },
|
|
1041
1042
|
...environment.update ? { environment: environment.update } : {},
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
readSecret
|
|
5
|
+
} from "./chunk-MB3PCNRL.js";
|
|
6
|
+
import "./chunk-7WHM3KNI.js";
|
|
7
|
+
import "./chunk-T4SDOYPY.js";
|
|
8
|
+
import "./chunk-67SRVSPU.js";
|
|
9
|
+
import "./chunk-Y5E2WNWB.js";
|
|
10
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
11
|
+
export {
|
|
12
|
+
readSecret
|
|
13
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
checkProxy,
|
|
5
|
+
proxiedTransport,
|
|
6
|
+
proxyFailure
|
|
7
|
+
} from "./chunk-WAGDZB62.js";
|
|
8
|
+
import "./chunk-FG2QTYEF.js";
|
|
9
|
+
import "./chunk-T4SDOYPY.js";
|
|
10
|
+
import "./chunk-67SRVSPU.js";
|
|
11
|
+
import "./chunk-Y5E2WNWB.js";
|
|
12
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
13
|
+
export {
|
|
14
|
+
checkProxy,
|
|
15
|
+
proxiedTransport,
|
|
16
|
+
proxyFailure
|
|
17
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { createRequire as
|
|
2
|
-
const require =
|
|
3
|
-
import "./chunk-
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import "./chunk-T4SDOYPY.js";
|
|
4
4
|
import {
|
|
5
5
|
CliError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-67SRVSPU.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y5E2WNWB.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
15
15
|
import { createRequire } from "node:module";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
|
|
18
18
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
19
19
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
20
20
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -71,7 +71,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
71
71
|
throw invalid();
|
|
72
72
|
}, "checkOggDuration");
|
|
73
73
|
|
|
74
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
74
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
75
75
|
var SAMPLE_RATE = 16e3;
|
|
76
76
|
var LEAD = SAMPLE_RATE / 2;
|
|
77
77
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
DEFAULT_OPENAI_MODEL,
|
|
5
|
+
OPENAI_MODELS,
|
|
6
|
+
OPENAI_URL,
|
|
7
|
+
isLocal,
|
|
8
|
+
openRemote,
|
|
9
|
+
remoteKey,
|
|
10
|
+
remoteModel
|
|
11
|
+
} from "./chunk-QY7MW7HK.js";
|
|
12
|
+
import "./chunk-MCD2GANK.js";
|
|
13
|
+
import "./chunk-LJCGQMGN.js";
|
|
14
|
+
import "./chunk-Y5PJQPMQ.js";
|
|
15
|
+
import "./chunk-T4SDOYPY.js";
|
|
16
|
+
import "./chunk-67SRVSPU.js";
|
|
17
|
+
import "./chunk-Y5E2WNWB.js";
|
|
18
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
19
|
+
export {
|
|
20
|
+
DEFAULT_OPENAI_MODEL,
|
|
21
|
+
OPENAI_MODELS,
|
|
22
|
+
OPENAI_URL,
|
|
23
|
+
isLocal,
|
|
24
|
+
openRemote,
|
|
25
|
+
remoteKey,
|
|
26
|
+
remoteModel
|
|
27
|
+
};
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { createRequire as
|
|
2
|
-
const require =
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
defaultThreads,
|
|
5
5
|
loadModel,
|
|
6
6
|
truncated
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-MCD2GANK.js";
|
|
8
|
+
import "./chunk-LJCGQMGN.js";
|
|
9
|
+
import "./chunk-Y5PJQPMQ.js";
|
|
10
|
+
import "./chunk-T4SDOYPY.js";
|
|
11
|
+
import "./chunk-67SRVSPU.js";
|
|
12
|
+
import "./chunk-Y5E2WNWB.js";
|
|
12
13
|
import {
|
|
13
14
|
__name
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
15
16
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
|
|
17
18
|
var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
|
|
18
19
|
const { ort, tokenizer, session } = await loadModel(model, directory, threads);
|
|
19
20
|
const typeIds = session.inputNames.includes("token_type_ids");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { createRequire as
|
|
2
|
-
const require =
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listen
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PWIE7VBL.js";
|
|
6
6
|
import {
|
|
7
7
|
ownerLogin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZBH7Z6WX.js";
|
|
9
9
|
import {
|
|
10
10
|
WebStandardStreamableHTTPServerTransport,
|
|
11
11
|
createMcpHandler,
|
|
@@ -14,25 +14,25 @@ import {
|
|
|
14
14
|
isLegacyRequest,
|
|
15
15
|
oauthMetadataResponse,
|
|
16
16
|
requireBearerAuth
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5D4AEUVA.js";
|
|
18
18
|
import {
|
|
19
19
|
activityRecorder,
|
|
20
20
|
calledTools,
|
|
21
21
|
httpActivityFile,
|
|
22
22
|
httpLock
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-6YUFPSSE.js";
|
|
24
|
+
import "./chunk-54RJDS3X.js";
|
|
25
|
+
import "./chunk-B7TTM75D.js";
|
|
26
|
+
import "./chunk-T4SDOYPY.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-67SRVSPU.js";
|
|
30
|
+
import "./chunk-Y5E2WNWB.js";
|
|
31
31
|
import {
|
|
32
32
|
__name
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
|
|
36
36
|
import { randomUUID } from "node:crypto";
|
|
37
37
|
var MCP_PATH = "/mcp";
|
|
38
38
|
var AS_METADATA = "/.well-known/oauth-authorization-server";
|