@wirecat/tg-cli 0.124.0 → 0.125.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/wirecat.json +7 -1
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-GEIZVMWU.js → adapter-H2LTOLOA.js} +52 -53
- package/dist/bundle/{all-profiles-EY4GJFWN.js → all-profiles-75HGEFL7.js} +10 -10
- package/dist/bundle/{anthropic-RIANJ7WM.js → anthropic-N54MKE4C.js} +5 -5
- package/dist/bundle/{app-server-LW7WBFIF.js → app-server-3N5INKKI.js} +45 -45
- package/dist/bundle/{bot-api-FHIQ66OM.js → bot-api-V65KTEAH.js} +53 -54
- package/dist/bundle/{bot-history-O34YZEFH.js → bot-history-TT2EAHEE.js} +18 -18
- package/dist/bundle/{bun-MJWD4VGV.js → bun-LN4J7PA7.js} +2 -2
- package/dist/bundle/{bun-sqlite-LCHVO3OB.js → bun-sqlite-6PDBFBUI.js} +6 -6
- package/dist/bundle/{chunk-N5UM63JW.js → chunk-37SZHAEA.js} +55 -55
- package/dist/bundle/{chunk-A5RWKKBZ.js → chunk-3GILMKQ2.js} +3 -3
- package/dist/bundle/{chunk-XDHGM2Z7.js → chunk-4KIOWSDL.js} +3 -3
- package/dist/bundle/{chunk-ZL5YG2WK.js → chunk-4TCBRKWQ.js} +7 -7
- package/dist/bundle/{chunk-CDSSKK5J.js → chunk-6HLB73UN.js} +3 -3
- package/dist/bundle/{chunk-OH3IZ6GW.js → chunk-6Y6SSZ34.js} +100 -91
- package/dist/bundle/{chunk-3VVZFBE2.js → chunk-77Z3OGAT.js} +3 -3
- package/dist/bundle/{chunk-E6VSARSU.js → chunk-7KCBPAQS.js} +2 -2
- package/dist/bundle/{chunk-F3GHTPAO.js → chunk-7OBSIDBJ.js} +4 -4
- package/dist/bundle/{chunk-OVDB5CQM.js → chunk-AI2J3WJT.js} +1 -1
- package/dist/bundle/{chunk-HSRO77SW.js → chunk-AMPHPP4P.js} +15 -15
- package/dist/bundle/{chunk-SGBH3D5D.js → chunk-B252D7V4.js} +3 -3
- package/dist/bundle/{chunk-2YLIVDWJ.js → chunk-BLNMM3AX.js} +2 -2
- package/dist/bundle/{chunk-GUL6QLNI.js → chunk-CNEJQQMD.js} +17 -17
- package/dist/bundle/{chunk-QFV36CAH.js → chunk-DI3RJ3MJ.js} +4 -4
- package/dist/bundle/{chunk-DFSLHF46.js → chunk-DNCOELTM.js} +1 -1
- package/dist/bundle/{chunk-54JPEGQA.js → chunk-DYOZ7CUV.js} +2 -2
- package/dist/bundle/{chunk-E66JBGZZ.js → chunk-E4HDE5DN.js} +2 -2
- package/dist/bundle/{chunk-5EL6E6PW.js → chunk-EIGV2JKX.js} +1 -1
- package/dist/bundle/{chunk-RHJHOOUL.js → chunk-FHPEUAHQ.js} +181 -155
- package/dist/bundle/{chunk-PJGOQSE5.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-ISGXVFA4.js → chunk-FSP74THJ.js} +4 -4
- package/dist/bundle/{chunk-UP3J3YXH.js → chunk-FUYCAROL.js} +6 -6
- package/dist/bundle/{chunk-VGUWIHXD.js → chunk-GRDVBJCR.js} +1 -1
- package/dist/bundle/{chunk-NL4COYPY.js → chunk-GUPMDMFM.js} +7 -7
- package/dist/bundle/{chunk-KVJSCJGZ.js → chunk-HHG5FR5H.js} +2 -2
- package/dist/bundle/{chunk-PP4ZBLS4.js → chunk-IN3NAFUN.js} +9 -9
- package/dist/bundle/{chunk-NQXVZ5WT.js → chunk-INZAZMUF.js} +6 -6
- package/dist/bundle/{chunk-OK4M4MWI.js → chunk-IX3GUNGV.js} +4 -4
- package/dist/bundle/{chunk-RBV4M2TC.js → chunk-JB4BO5XZ.js} +1 -1
- package/dist/bundle/{chunk-42R4YO4L.js → chunk-JC6HMPL7.js} +1076 -877
- package/dist/bundle/{chunk-3PLMMFP6.js → chunk-JCNKGZQG.js} +17 -17
- package/dist/bundle/{chunk-PI4XXMPG.js → chunk-JKF7LZBU.js} +6 -6
- package/dist/bundle/{chunk-XSGUG5WG.js → chunk-LD42OGKK.js} +4 -4
- package/dist/bundle/{chunk-VMWJGUVV.js → chunk-LU2CHHPC.js} +4 -4
- package/dist/bundle/{chunk-OIF4B526.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-2GFGZDWS.js → chunk-MK4IKICN.js} +2 -2
- package/dist/bundle/{chunk-4CIVGT4P.js → chunk-NM5GBJME.js} +19 -19
- package/dist/bundle/{chunk-IVFUSI7G.js → chunk-NTHALPDT.js} +2 -2
- package/dist/bundle/{chunk-M4W4Y5YR.js → chunk-OG2ONSH6.js} +53 -32
- package/dist/bundle/{chunk-2NG4JPP7.js → chunk-PCC7GWOS.js} +4 -4
- package/dist/bundle/{chunk-UII3D3HR.js → chunk-QVK7NF3A.js} +30 -30
- package/dist/bundle/{chunk-QGCVQRHV.js → chunk-QYT6HDCL.js} +1 -1
- package/dist/bundle/{chunk-BV3HZYOX.js → chunk-RX5GU7GQ.js} +359 -326
- package/dist/bundle/{chunk-LKMZ53GC.js → chunk-RZ7KBWDQ.js} +2 -2
- package/dist/bundle/{chunk-7AWJZ6NJ.js → chunk-S4SOS27T.js} +8 -8
- package/dist/bundle/{chunk-W4LMTNN2.js → chunk-SGHF75RQ.js} +2 -2
- package/dist/bundle/{chunk-WSLIXJET.js → chunk-TAFH5K5D.js} +346 -268
- package/dist/bundle/{chunk-QK4T3VN7.js → chunk-TVQBOIWC.js} +1 -1
- package/dist/bundle/{chunk-4EGB7GSW.js → chunk-UG66U2T7.js} +18 -19
- package/dist/bundle/{chunk-I4JUKRW7.js → chunk-URFBZNLU.js} +2 -2
- package/dist/bundle/{chunk-VAKSXD4F.js → chunk-UTNK2PFE.js} +13 -13
- package/dist/bundle/{chunk-PZ6H65D6.js → chunk-VG3EQJYV.js} +34 -5
- package/dist/bundle/{chunk-ZNICTHSC.js → chunk-VHD4V64E.js} +1 -1
- package/dist/bundle/{chunk-ZTMV5M3D.js → chunk-VUBSGQ2O.js} +26 -24
- package/dist/bundle/{chunk-HEV23NIB.js → chunk-VZDAVZYX.js} +6 -6
- package/dist/bundle/{chunk-IK6XKMLL.js → chunk-WH4T44L3.js} +1 -1
- package/dist/bundle/{chunk-YQFO7WXQ.js → chunk-X6436BYW.js} +2 -2
- package/dist/bundle/{chunk-UR62DZ7Q.js → chunk-XS5C5TQ7.js} +8 -8
- package/dist/bundle/{chunk-WKOVQ4OU.js → chunk-XTNOBJRP.js} +12 -12
- package/dist/bundle/{chunk-ASEBKZFY.js → chunk-YRZXOQOB.js} +2 -2
- package/dist/bundle/{chunk-QWAMX6CN.js → chunk-ZX5OSZHH.js} +12 -12
- package/dist/bundle/command-contract-JP6SCP7U.js +34 -0
- package/dist/bundle/{command-server-entry-K52OEKIO.js → command-server-entry-BLSFT3T6.js} +24 -24
- package/dist/bundle/{decode-OAE25LEJ.js → decode-NNLEQU7B.js} +5 -5
- package/dist/bundle/{dispatch-6GVTXIZ2.js → dispatch-PRAIGIFS.js} +8 -8
- package/dist/bundle/{echarts-EO4ZGKMN.js → echarts-XAZHGDOM.js} +2 -2
- package/dist/bundle/{embed-TB2AS4AT.js → embed-Q7ZCVSCO.js} +6 -6
- package/dist/bundle/{embedder-YKC42G6L.js → embedder-MVS3PVWQ.js} +9 -9
- package/dist/bundle/{entry-AB6FU7BN.js → entry-XN3ZZAOK.js} +9 -9
- package/dist/bundle/{failure-CY7ACT6V.js → failure-7Y34AUJT.js} +2 -2
- package/dist/bundle/{first-run-CMQZHDI5.js → first-run-G4EFTONI.js} +11 -11
- package/dist/bundle/first-screen-RIDJEPC3.js +32 -0
- package/dist/bundle/{instructions-RM3IB6ID.js → instructions-QDHYYZBU.js} +1 -1
- package/dist/bundle/{mcp-M5YCSWJJ.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{node-D2PM62TA.js → node-3Y7OVY2U.js} +2 -2
- package/dist/bundle/{node-sqlite-UK5DE525.js → node-sqlite-R2SBROJM.js} +7 -7
- package/dist/bundle/{oauth-SKRG67A2.js → oauth-WSPWMWTV.js} +7 -7
- package/dist/bundle/{open-XP3SY62D.js → open-VFLF4HRQ.js} +5 -5
- package/dist/bundle/{openai-Q3U46UPA.js → openai-DFCKZZDV.js} +21 -20
- package/dist/bundle/{process-YJ4LHMJB.js → process-VZKFAGNP.js} +1 -1
- package/dist/bundle/{program-EEPEFKTR.js → program-2LB3CUZX.js} +62 -60
- package/dist/bundle/{prompt-WYTODP4U.js → prompt-RVLA2PEY.js} +5 -5
- package/dist/bundle/{proxy-transport-HJMQ5QFT.js → proxy-transport-DP7SIMIC.js} +5 -5
- package/dist/bundle/{recognize-K2S5QQU2.js → recognize-LEKNA3G5.js} +4 -4
- package/dist/bundle/{remote-7RSAJ3JC.js → remote-WG5V2I2G.js} +9 -9
- package/dist/bundle/{rerank-RJX77BKD.js → rerank-ONAEQVJ6.js} +7 -7
- package/dist/bundle/{serve-3E7NN3VW.js → serve-BL2X6FZG.js} +9 -9
- package/dist/bundle/{server-O3KU56A4.js → server-3LSC4BMK.js} +36 -36
- package/dist/bundle/server-7EYEEGJT.js +62 -0
- package/dist/bundle/{sqlite-runtime-RCS5WSG5.js → sqlite-runtime-RQXPRH6C.js} +6 -6
- package/dist/bundle/{state-PLWSPSAG.js → state-O7LRA526.js} +6 -6
- package/dist/bundle/{store-3FYLH53Z.js → store-7C4UAND2.js} +15 -15
- package/dist/bundle/{store-DWMKCXYL.js → store-HMJUPK45.js} +13 -13
- package/dist/bundle/store-maintenance-command-I7PSA3SZ.js +52 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +6 -2
- package/dist/bundle/chunk-VIIIC5LU.js +0 -32
- package/dist/bundle/command-contract-UKOL455D.js +0 -34
- package/dist/bundle/first-screen-XZ73W3VE.js +0 -32
- package/dist/bundle/server-ITHYDPWQ.js +0 -62
- package/dist/bundle/store-maintenance-command-3UEKINRB.js +0 -52
- /package/dist/bundle/{chunk-HVJJWJYQ.js → chunk-XWBPP2HX.js} +0 -0
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CAPABILITY_STATEMENTS,
|
|
5
5
|
storeCapable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VZDAVZYX.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
|
|
15
15
|
import { spawn, spawnSync } from "node:child_process";
|
|
16
16
|
import { readFileSync } from "node:fs";
|
|
17
17
|
import { dirname } from "node:path";
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7KCBPAQS.js";
|
|
6
6
|
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.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7KCBPAQS.js";
|
|
6
6
|
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.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/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();
|