@wirecat/tg-cli 0.103.0 → 0.105.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 +2 -2
- package/dist/bundle/{adapter-QG3YFFOY.js → adapter-WWYRCTPE.js} +37 -37
- package/dist/bundle/{all-profiles-ECXH3TBF.js → all-profiles-IJYM6NIJ.js} +5 -5
- package/dist/bundle/{anthropic-5MKO3QX7.js → anthropic-EDRWOXB5.js} +3 -3
- package/dist/bundle/app-server-2NF7ZH3C.js +222 -0
- package/dist/bundle/{bot-api-4DQPIOMK.js → bot-api-XCDLL6M2.js} +38 -38
- package/dist/bundle/{bot-history-UN74XXLU.js → bot-history-37WSQX3U.js} +10 -10
- package/dist/bundle/{bun-PS73VF2C.js → bun-ZX34DXTI.js} +2 -2
- package/dist/bundle/{bun-sqlite-RAWGPH23.js → bun-sqlite-7TZ73UKO.js} +2 -2
- package/dist/bundle/{chunk-DLF3H6NP.js → chunk-2A2KXY5G.js} +4 -4
- package/dist/bundle/{chunk-3CP7RK5R.js → chunk-2J2G3ELT.js} +1 -1
- package/dist/bundle/{chunk-H2UTBYFC.js → chunk-443D2OY7.js} +1 -1
- package/dist/bundle/{chunk-3IXKDIPH.js → chunk-4N53GVUI.js} +44 -42
- package/dist/bundle/{chunk-6N25NZOE.js → chunk-4UZE26T6.js} +5 -5
- package/dist/bundle/{chunk-WULARSC4.js → chunk-4VFRP2T2.js} +20 -20
- package/dist/bundle/{chunk-537O7OVE.js → chunk-56JDML7T.js} +2 -2
- package/dist/bundle/{chunk-RD7SSY7H.js → chunk-5PDGRPTS.js} +1 -1
- package/dist/bundle/{chunk-RKQIEJFR.js → chunk-6MQ3DEXF.js} +1 -1
- package/dist/bundle/{chunk-OGVBRRWY.js → chunk-73OWDRGK.js} +20 -20
- package/dist/bundle/{chunk-G5IMOOPB.js → chunk-AQGW6OHU.js} +1 -1
- package/dist/bundle/{chunk-HCDZWFXO.js → chunk-ETVQH5AL.js} +10 -9
- package/dist/bundle/{chunk-Q2LBOPKO.js → chunk-FNASJIAI.js} +25 -14
- package/dist/bundle/{chunk-DWQ4QT6X.js → chunk-GGIDY5KC.js} +92 -91
- package/dist/bundle/{chunk-COZ74WW4.js → chunk-HJSWUHHP.js} +20 -2
- package/dist/bundle/{chunk-BYYSVINK.js → chunk-J5OIB3OW.js} +2 -2
- package/dist/bundle/{chunk-EQHQ2AX3.js → chunk-J6B5DQ3I.js} +57 -48
- package/dist/bundle/{chunk-LAYPLF7G.js → chunk-L23IJ3IZ.js} +5 -5
- package/dist/bundle/{chunk-NIVZHTN4.js → chunk-LOIFBJBA.js} +9 -9
- package/dist/bundle/{chunk-GO354DJ5.js → chunk-MAV5ODPN.js} +1 -1
- package/dist/bundle/{chunk-QF7VVIF4.js → chunk-MHS2LEZA.js} +13 -6
- package/dist/bundle/{server-6XYURULQ.js → chunk-N5BGV5YZ.js} +46 -62
- package/dist/bundle/{chunk-AUKAZRF6.js → chunk-NBXUNS6Q.js} +1 -1
- package/dist/bundle/{chunk-TPFLD4OM.js → chunk-NEPB2EI6.js} +1 -1
- package/dist/bundle/{chunk-3QX6SOEO.js → chunk-OOBCCVYM.js} +4 -4
- package/dist/bundle/{chunk-YI72UVTJ.js → chunk-PFL3CCP2.js} +1 -1
- package/dist/bundle/{chunk-BV4N333Y.js → chunk-Q6NALH2X.js} +2 -2
- package/dist/bundle/{chunk-AAMJZJYC.js → chunk-QAW5QNOY.js} +8 -8
- package/dist/bundle/{chunk-EMC57SOZ.js → chunk-QPE72FCE.js} +9 -7
- package/dist/bundle/{chunk-RMC2S3F4.js → chunk-QVXMOHHN.js} +4 -4
- package/dist/bundle/{chunk-SSALGKMJ.js → chunk-QWPVSWQE.js} +2 -2
- package/dist/bundle/{chunk-VZN5LD26.js → chunk-RDO66SBI.js} +2 -2
- package/dist/bundle/{chunk-KCVDWZWS.js → chunk-RI7H2VVU.js} +7 -7
- package/dist/bundle/{chunk-ZHXSRYJ5.js → chunk-S3C2L3IE.js} +7 -5
- package/dist/bundle/{chunk-5HPAPVCB.js → chunk-S7FO7OU2.js} +2146 -1911
- package/dist/bundle/{chunk-TEO2KP52.js → chunk-SJIHZA4K.js} +1 -1
- package/dist/bundle/{chunk-57XGUIXA.js → chunk-SLFDNASB.js} +4 -4
- package/dist/bundle/{chunk-NKN54EDN.js → chunk-VIGQIMGM.js} +2 -2
- package/dist/bundle/{chunk-MHHDVR4G.js → chunk-WD7Q2H4J.js} +193 -193
- package/dist/bundle/{chunk-S5M4HFOZ.js → chunk-XP4JEE47.js} +1 -1
- package/dist/bundle/{chunk-Z2DPNTSU.js → chunk-YGYQY5AG.js} +1 -1
- package/dist/bundle/{chunk-FSPDODVT.js → chunk-YSIC5B32.js} +10 -10
- package/dist/bundle/{chunk-CMQ34EZL.js → chunk-Z6SXT5DV.js} +4 -3
- package/dist/bundle/{chunk-SSV37M5T.js → chunk-ZI7THBWF.js} +51 -47
- package/dist/bundle/{chunk-F27OI4J2.js → chunk-ZIG4WIVN.js} +1 -1
- package/dist/bundle/{chunk-KQ5BUI5T.js → chunk-ZM2AI3E5.js} +270 -251
- package/dist/bundle/{command-contract-ZGFJTLB2.js → command-contract-OF6TUQ5B.js} +12 -12
- package/dist/bundle/{echarts-UEQDIHVQ.js → echarts-WFLEME5I.js} +2 -2
- package/dist/bundle/{embed-5DPZKRW5.js → embed-ESTG27RK.js} +3 -3
- package/dist/bundle/{embedder-NBQXDXAO.js → embedder-P3W76VOZ.js} +6 -6
- package/dist/bundle/{entry-EE6YRAP4.js → entry-SNRZGNRA.js} +3 -3
- package/dist/bundle/{first-run-OSEVVWNT.js → first-run-JS24HORG.js} +5 -5
- package/dist/bundle/{first-screen-753THOU6.js → first-screen-U63BJPXI.js} +13 -13
- package/dist/bundle/{identity-LNH33PN3.js → identity-TYE57SHY.js} +1 -1
- package/dist/bundle/{instructions-PYGVIT7I.js → instructions-ERMZPVS4.js} +3 -1
- package/dist/bundle/{node-3OBKCX6M.js → node-KDZSMKIC.js} +2 -2
- package/dist/bundle/{node-sqlite-DMMTDRFB.js → node-sqlite-FR64YDYV.js} +2 -2
- package/dist/bundle/{oauth-FX5DDCRS.js → oauth-SPE76ZIY.js} +4 -4
- package/dist/bundle/{open-G6QRQAAL.js → open-UEFCMPLC.js} +1 -1
- package/dist/bundle/{process-47MMIFIJ.js → process-7MD6MEGB.js} +1 -1
- package/dist/bundle/{program-LBHBWRK5.js → program-NFFSOGUY.js} +40 -40
- package/dist/bundle/{prompt-CJ6Y4JYC.js → prompt-3PI4H66U.js} +2 -2
- package/dist/bundle/{recognize-7BLTOI45.js → recognize-54LQOU24.js} +3 -3
- package/dist/bundle/{remote-Q4A4JY6U.js → remote-JQ74NVUK.js} +4 -4
- package/dist/bundle/{rerank-CQAR46L3.js → rerank-66YCEORD.js} +4 -4
- package/dist/bundle/{serve-2UO2YMMG.js → serve-5SP2TCGV.js} +6 -6
- package/dist/bundle/{server-FMKC4RLL.js → server-GFICDJ6J.js} +26 -26
- package/dist/bundle/server-KMKRKOZP.js +55 -0
- package/dist/bundle/{state-RNWN2RDY.js → state-U7HXQB6I.js} +3 -3
- package/dist/bundle/{store-BBHTR477.js → store-O4QVYHFL.js} +7 -7
- package/dist/bundle/store-maintenance-command-BNRZ5IJD.js +44 -0
- package/dist/bundle/tg.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/tg-cli/SKILL.md +1 -0
- package/dist/bundle/store-maintenance-command-GD6OLRXH.js +0 -44
|
@@ -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.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/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.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/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.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/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.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/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.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/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.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/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.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/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"];
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
organization,
|
|
5
5
|
project,
|
|
6
6
|
reminder
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z6SXT5DV.js";
|
|
8
8
|
import {
|
|
9
9
|
queryFieldsOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZI7THBWF.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
13
13
|
var MAX_BYTES = 16 * 1024 * 1024;
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/store/knowledge-query.js
|
|
16
16
|
var ORGANIZATIONS_QUERY = {
|
|
17
17
|
entity: "organization",
|
|
18
18
|
backend: "sql",
|
|
@@ -25,10 +25,12 @@ var PROJECTS_QUERY = {
|
|
|
25
25
|
entity: "project",
|
|
26
26
|
backend: "sql",
|
|
27
27
|
fields: queryFieldsOf(project, {
|
|
28
|
-
native: ["id", "key", "type", "organization_id", "scope", "created_at"],
|
|
28
|
+
native: ["id", "key", "name", "kind", "type", "organization_id", "scope", "created_at"],
|
|
29
29
|
examples: {
|
|
30
30
|
id: "id:1",
|
|
31
31
|
key: "key:SMP",
|
|
32
|
+
name: "name:*tart*",
|
|
33
|
+
kind: "kind:inbox",
|
|
32
34
|
type: "type:work",
|
|
33
35
|
organization_id: "organization_id:1",
|
|
34
36
|
scope: "scope:work",
|