@wirecat/tg-cli 0.108.0 → 0.110.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/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-YFWRJWL5.js → adapter-JWUCHTXU.js} +45 -44
- package/dist/bundle/{all-profiles-GQIZSF4W.js → all-profiles-OMRCKP54.js} +8 -8
- package/dist/bundle/{anthropic-BKWEDKPU.js → anthropic-WXFHH74P.js} +5 -5
- package/dist/bundle/{app-server-RJV7ICLH.js → app-server-ILIPNO6T.js} +40 -39
- package/dist/bundle/{bot-api-2PAH2JZ3.js → bot-api-KV765AZK.js} +46 -45
- package/dist/bundle/{bot-history-DPPZ43F4.js → bot-history-3P6EIM5L.js} +15 -15
- package/dist/bundle/{bun-Q7COX3Z5.js → bun-MJOYPPEN.js} +2 -2
- package/dist/bundle/{bun-sqlite-YI4AYZXO.js → bun-sqlite-GFRVRRDZ.js} +4 -4
- package/dist/bundle/{chunk-BOSMBW4I.js → chunk-2YWQEG2P.js} +11 -11
- package/dist/bundle/{chunk-4RDMNNVO.js → chunk-32HEOKI2.js} +27 -14
- package/dist/bundle/{chunk-3GXKJKIC.js → chunk-3KOF5T4N.js} +4 -4
- package/dist/bundle/{chunk-AOUB2QFP.js → chunk-3L2JTAVD.js} +2 -2
- package/dist/bundle/{chunk-26PWIQPP.js → chunk-3XTMVGTS.js} +2338 -1174
- package/dist/bundle/{chunk-5P27JGGA.js → chunk-4BMXELWN.js} +5 -5
- package/dist/bundle/{chunk-VK2YLSK7.js → chunk-4GOF43MW.js} +1 -1
- package/dist/bundle/{chunk-5HPXENE5.js → chunk-4I6HTOCM.js} +1 -1
- package/dist/bundle/{chunk-LY2LFJMU.js → chunk-4YOPRYEY.js} +117 -94
- package/dist/bundle/{chunk-ON67U6WV.js → chunk-54CWOD7V.js} +6 -6
- package/dist/bundle/chunk-5ASW5BNM.js +379 -0
- package/dist/bundle/{chunk-OB5PPPXH.js → chunk-5CMOXHQS.js} +7 -7
- package/dist/bundle/{chunk-WEDWIXIC.js → chunk-6KESAYMZ.js} +2 -2
- package/dist/bundle/{chunk-3562DVQ7.js → chunk-6WTLP2SI.js} +8 -8
- package/dist/bundle/{chunk-BT6PWDM6.js → chunk-7ABA4EXC.js} +3 -3
- package/dist/bundle/{chunk-WKSLGPZQ.js → chunk-7LZBMZQM.js} +16 -4
- package/dist/bundle/{chunk-VMU4SGCE.js → chunk-ABVHA4K6.js} +8 -6
- package/dist/bundle/{chunk-YJ6GFFEE.js → chunk-AXNBGLO5.js} +1 -1
- package/dist/bundle/{chunk-LYLGLFWY.js → chunk-AZYVTDAE.js} +3 -3
- package/dist/bundle/{chunk-T4SDOYPY.js → chunk-BWRCPMMC.js} +138 -81
- package/dist/bundle/{chunk-DNOJKQXQ.js → chunk-BYOEVYY2.js} +678 -325
- package/dist/bundle/{chunk-FG2QTYEF.js → chunk-EB44Z44U.js} +1 -1
- package/dist/bundle/{chunk-67SRVSPU.js → chunk-EO563SUX.js} +26 -9
- package/dist/bundle/{chunk-F67VPIJL.js → chunk-F24EAGOU.js} +32 -31
- package/dist/bundle/{chunk-ZHHVNTBJ.js → chunk-F7RWNBC2.js} +2 -2
- package/dist/bundle/{chunk-REI5TPS3.js → chunk-FYAHTTOB.js} +11 -11
- package/dist/bundle/{chunk-CZANI3DM.js → chunk-GPIORQAD.js} +22 -22
- package/dist/bundle/{chunk-76OSISA3.js → chunk-HCAYTAJN.js} +2 -2
- package/dist/bundle/{chunk-SONKULUF.js → chunk-JDOSIWPN.js} +3 -3
- package/dist/bundle/{chunk-KZPZFPGB.js → chunk-KLOFBUXA.js} +81 -30
- package/dist/bundle/{chunk-6MZ2ZBX4.js → chunk-L3YDXUDK.js} +12 -3
- package/dist/bundle/{chunk-AS2BVZU3.js → chunk-M3XIME74.js} +49 -24
- package/dist/bundle/{chunk-WUF64WOG.js → chunk-MXIBRT6W.js} +4 -4
- package/dist/bundle/{chunk-D6DBVPES.js → chunk-MZRD776E.js} +3 -3
- package/dist/bundle/{chunk-6QTUYMGX.js → chunk-NDT22GBK.js} +2 -2
- package/dist/bundle/{chunk-3HYDKCXB.js → chunk-NFBOZT7H.js} +12 -12
- package/dist/bundle/{chunk-WAGDZB62.js → chunk-ONHHBPV3.js} +2 -2
- package/dist/bundle/{chunk-DUWTG2GE.js → chunk-Q35J5LCO.js} +8 -8
- package/dist/bundle/{chunk-77OOX2OE.js → chunk-QRH2AWBZ.js} +81 -57
- package/dist/bundle/{chunk-PQHYM2XC.js → chunk-RARYRHQA.js} +1 -1
- package/dist/bundle/{chunk-ZYBDAZFO.js → chunk-RSZEEWOW.js} +2 -2
- package/dist/bundle/{chunk-QVIT6SQ5.js → chunk-RXWG7OWT.js} +705 -425
- package/dist/bundle/{chunk-R5YOKYTE.js → chunk-SD5J5T7M.js} +11 -11
- package/dist/bundle/{chunk-NCXCBVHO.js → chunk-SLAPUEMZ.js} +6 -6
- package/dist/bundle/{chunk-KQFR7ZAA.js → chunk-TDQVVXPF.js} +43 -25
- package/dist/bundle/{chunk-BL72ZIBV.js → chunk-TJA3BWY3.js} +1 -1
- package/dist/bundle/{chunk-MFS52LTZ.js → chunk-UIPT6IAU.js} +1 -1
- package/dist/bundle/{chunk-EBB7RFCW.js → chunk-VM7I5VKX.js} +2 -2
- package/dist/bundle/{chunk-CVWF3BFK.js → chunk-VOBMR7E5.js} +45 -45
- package/dist/bundle/{chunk-B7TFWNKJ.js → chunk-W3B6EEZU.js} +1 -1
- package/dist/bundle/{chunk-PCMW3PW6.js → chunk-XLNYDJKG.js} +2 -2
- package/dist/bundle/{chunk-TVA3NXXO.js → chunk-YPEAEEHF.js} +2 -2
- package/dist/bundle/{chunk-XZXOGHU5.js → chunk-YPLL3Q3M.js} +71 -60
- package/dist/bundle/{chunk-EWL3ZFOI.js → chunk-YWSNUUW5.js} +6 -6
- package/dist/bundle/command-contract-TNSW7W6G.js +32 -0
- package/dist/bundle/{decode-ZFAFVFWX.js → decode-3KBXZCFM.js} +19 -17
- package/dist/bundle/{echarts-SVXNTKGV.js → echarts-24TVPFGC.js} +2 -2
- package/dist/bundle/{embed-V755YE7O.js → embed-3BDPZ4Q7.js} +5 -5
- package/dist/bundle/{embedder-MQAPNQBH.js → embedder-EMVDEZFR.js} +8 -8
- package/dist/bundle/{entry-ULQ3VOMQ.js → entry-NQD6Z2BM.js} +5 -5
- package/dist/bundle/{first-run-64BTWXDR.js → first-run-ZBIO6C67.js} +9 -9
- package/dist/bundle/first-screen-4HRCG7OX.js +30 -0
- package/dist/bundle/{identity-PW45VBUU.js → identity-EDGOOTOM.js} +3 -3
- package/dist/bundle/{instructions-G3ZUIRRH.js → instructions-N2WVMNFZ.js} +1 -1
- package/dist/bundle/{mcp-OQBZXELQ.js → mcp-EMNFFY4N.js} +2 -2
- package/dist/bundle/{node-IDJXLZSX.js → node-VBZAZHUS.js} +2 -2
- package/dist/bundle/{node-sqlite-W22J37MG.js → node-sqlite-C3V64OAL.js} +4 -4
- package/dist/bundle/{oauth-Q52LBXDE.js → oauth-NZXELYDA.js} +6 -6
- package/dist/bundle/{open-YLD7VHEC.js → open-2XRUGMV7.js} +3 -3
- package/dist/bundle/openai-OLGTN3ZB.js +250 -0
- package/dist/bundle/{process-OBESF2XG.js → process-CASPZ2DH.js} +1 -1
- package/dist/bundle/{program-EBMWHOKQ.js → program-QPQDSGYA.js} +50 -47
- package/dist/bundle/{prompt-FHHQF3MG.js → prompt-ESZL7SGX.js} +4 -4
- package/dist/bundle/{proxy-transport-YSBYG26I.js → proxy-transport-OROEVBCG.js} +4 -4
- package/dist/bundle/{recognize-QNHKHGKM.js → recognize-LQ7QOG4T.js} +5 -3
- package/dist/bundle/{remote-RVZWRCCT.js → remote-34XP4EDN.js} +6 -6
- package/dist/bundle/{rerank-KG2USEME.js → rerank-7F6NLBCW.js} +6 -6
- package/dist/bundle/{serve-I4MJKEQ4.js → serve-M6TTKXI4.js} +8 -8
- package/dist/bundle/{server-GV7SV3L6.js → server-GLZ5M7PE.js} +32 -31
- package/dist/bundle/server-KOW7OKE2.js +56 -0
- package/dist/bundle/{state-AJKHWFBU.js → state-UKKPLMHS.js} +5 -5
- package/dist/bundle/{store-L3HFSSGJ.js → store-J2MBIDJK.js} +10 -10
- package/dist/bundle/store-maintenance-command-64B57C3U.js +45 -0
- package/dist/bundle/tg.js +4 -4
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -1
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-5GJV6EHG.js +0 -32
- package/dist/bundle/first-screen-YZCH4TEV.js +0 -30
- package/dist/bundle/server-AXMWFPNT.js +0 -55
- package/dist/bundle/store-maintenance-command-Y22ARSDR.js +0 -44
- /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-NPGVOZVK.js} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
proxiedFetch,
|
|
14
14
|
proxySecrets,
|
|
15
15
|
resolveSettings
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FYAHTTOB.js";
|
|
17
17
|
import {
|
|
18
18
|
AGENTS,
|
|
19
19
|
MEMO_SCENARIOS,
|
|
@@ -41,6 +41,7 @@ import {
|
|
|
41
41
|
metadataCommand,
|
|
42
42
|
modelsCommand,
|
|
43
43
|
pollsCommand,
|
|
44
|
+
projectsCommand,
|
|
44
45
|
reactionsCommand,
|
|
45
46
|
recipientsCommand,
|
|
46
47
|
repliesCommand,
|
|
@@ -65,27 +66,28 @@ import {
|
|
|
65
66
|
topicsCommand,
|
|
66
67
|
upgradeCommand,
|
|
67
68
|
watchCommand
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-BYOEVYY2.js";
|
|
70
|
+
import "./chunk-AXNBGLO5.js";
|
|
70
71
|
import {
|
|
71
72
|
parseProxy,
|
|
72
73
|
proxyLabel
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
74
|
+
} from "./chunk-EB44Z44U.js";
|
|
75
|
+
import "./chunk-W3B6EEZU.js";
|
|
76
|
+
import "./chunk-KLOFBUXA.js";
|
|
76
77
|
import {
|
|
77
78
|
installSkill
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
79
|
+
} from "./chunk-32HEOKI2.js";
|
|
80
|
+
import "./chunk-VOBMR7E5.js";
|
|
81
|
+
import "./chunk-GPIORQAD.js";
|
|
82
|
+
import "./chunk-3XTMVGTS.js";
|
|
83
|
+
import "./chunk-5ASW5BNM.js";
|
|
84
|
+
import "./chunk-3KOF5T4N.js";
|
|
83
85
|
import {
|
|
84
86
|
inSection
|
|
85
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-5CMOXHQS.js";
|
|
86
88
|
import "./chunk-2ABQZVK4.js";
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-4BMXELWN.js";
|
|
90
|
+
import "./chunk-4YOPRYEY.js";
|
|
89
91
|
import {
|
|
90
92
|
Argument,
|
|
91
93
|
Command,
|
|
@@ -107,48 +109,48 @@ import {
|
|
|
107
109
|
runtime,
|
|
108
110
|
secretInputOf,
|
|
109
111
|
withDeadline
|
|
110
|
-
} from "./chunk-
|
|
111
|
-
import "./chunk-
|
|
112
|
-
import "./chunk-
|
|
113
|
-
import "./chunk-
|
|
112
|
+
} from "./chunk-QRH2AWBZ.js";
|
|
113
|
+
import "./chunk-7LZBMZQM.js";
|
|
114
|
+
import "./chunk-Q35J5LCO.js";
|
|
115
|
+
import "./chunk-2YWQEG2P.js";
|
|
114
116
|
import {
|
|
115
117
|
installerOf,
|
|
116
118
|
latestVersion,
|
|
117
119
|
runUpdate,
|
|
118
120
|
updateNotice
|
|
119
|
-
} from "./chunk-
|
|
120
|
-
import "./chunk-
|
|
121
|
-
import "./chunk-
|
|
122
|
-
import "./chunk-
|
|
123
|
-
import "./chunk-
|
|
121
|
+
} from "./chunk-ABVHA4K6.js";
|
|
122
|
+
import "./chunk-UIPT6IAU.js";
|
|
123
|
+
import "./chunk-JDOSIWPN.js";
|
|
124
|
+
import "./chunk-SD5J5T7M.js";
|
|
125
|
+
import "./chunk-XLNYDJKG.js";
|
|
124
126
|
import {
|
|
125
127
|
TG,
|
|
126
128
|
VERSION
|
|
127
|
-
} from "./chunk-
|
|
128
|
-
import "./chunk-
|
|
129
|
+
} from "./chunk-YPEAEEHF.js";
|
|
130
|
+
import "./chunk-MXIBRT6W.js";
|
|
129
131
|
import {
|
|
130
132
|
servingProfiles
|
|
131
|
-
} from "./chunk-
|
|
132
|
-
import "./chunk-
|
|
133
|
-
import "./chunk-
|
|
134
|
-
import "./chunk-
|
|
135
|
-
import "./chunk-
|
|
136
|
-
import "./chunk-
|
|
137
|
-
import "./chunk-
|
|
138
|
-
import "./chunk-
|
|
133
|
+
} from "./chunk-7ABA4EXC.js";
|
|
134
|
+
import "./chunk-RARYRHQA.js";
|
|
135
|
+
import "./chunk-RSZEEWOW.js";
|
|
136
|
+
import "./chunk-NDT22GBK.js";
|
|
137
|
+
import "./chunk-AZYVTDAE.js";
|
|
138
|
+
import "./chunk-YWSNUUW5.js";
|
|
139
|
+
import "./chunk-NFBOZT7H.js";
|
|
140
|
+
import "./chunk-RXWG7OWT.js";
|
|
139
141
|
import {
|
|
140
142
|
timezoneOf
|
|
141
|
-
} from "./chunk-
|
|
142
|
-
import "./chunk-
|
|
143
|
-
import "./chunk-
|
|
144
|
-
import "./chunk-
|
|
145
|
-
import "./chunk-
|
|
146
|
-
import "./chunk-
|
|
147
|
-
import "./chunk-
|
|
143
|
+
} from "./chunk-YPLL3Q3M.js";
|
|
144
|
+
import "./chunk-6WTLP2SI.js";
|
|
145
|
+
import "./chunk-54CWOD7V.js";
|
|
146
|
+
import "./chunk-NPGVOZVK.js";
|
|
147
|
+
import "./chunk-VM7I5VKX.js";
|
|
148
|
+
import "./chunk-SLAPUEMZ.js";
|
|
149
|
+
import "./chunk-4GOF43MW.js";
|
|
148
150
|
import {
|
|
149
151
|
readSecret
|
|
150
|
-
} from "./chunk-
|
|
151
|
-
import "./chunk-
|
|
152
|
+
} from "./chunk-MZRD776E.js";
|
|
153
|
+
import "./chunk-3L2JTAVD.js";
|
|
152
154
|
import {
|
|
153
155
|
configFilePath,
|
|
154
156
|
exitCodeFor,
|
|
@@ -157,11 +159,11 @@ import {
|
|
|
157
159
|
renderPretty,
|
|
158
160
|
resolvePaths,
|
|
159
161
|
singleLine
|
|
160
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-BWRCPMMC.js";
|
|
161
163
|
import {
|
|
162
164
|
CliError,
|
|
163
165
|
isCliError
|
|
164
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-EO563SUX.js";
|
|
165
167
|
import "./chunk-Y5E2WNWB.js";
|
|
166
168
|
import {
|
|
167
169
|
__name
|
|
@@ -236,7 +238,7 @@ var withProxySecrets = /* @__PURE__ */ __name((config) => {
|
|
|
236
238
|
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");
|
|
237
239
|
if (proxy.kind === "mtproxy" && proxy.secret === void 0)
|
|
238
240
|
throw new CliError("validation_error", "an MTProxy link needs its secret \u2014 run `tg config set proxy -` and paste the whole link");
|
|
239
|
-
const { checkProxy } = await import("./proxy-transport-
|
|
241
|
+
const { checkProxy } = await import("./proxy-transport-OROEVBCG.js");
|
|
240
242
|
asValidation(() => checkProxy(proxy));
|
|
241
243
|
const label = proxyLabel(proxy);
|
|
242
244
|
action.processedArgs[1] = label;
|
|
@@ -719,7 +721,7 @@ import { accessSync, constants, existsSync as existsSync2, mkdirSync } from "nod
|
|
|
719
721
|
import { join } from "node:path";
|
|
720
722
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
721
723
|
|
|
722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
723
725
|
import { realpathSync } from "node:fs";
|
|
724
726
|
import { fileURLToPath } from "node:url";
|
|
725
727
|
var QUIET_WORDS = [
|
|
@@ -1013,6 +1015,7 @@ var definition = {
|
|
|
1013
1015
|
metadataCommand(TELEGRAM),
|
|
1014
1016
|
statsCommand(TELEGRAM),
|
|
1015
1017
|
tasksCommand(TELEGRAM),
|
|
1018
|
+
projectsCommand(TELEGRAM),
|
|
1016
1019
|
searchCommand(TELEGRAM, { topics: true }),
|
|
1017
1020
|
searchesCommand(TELEGRAM),
|
|
1018
1021
|
floodCommand(TELEGRAM),
|
|
@@ -1036,7 +1039,7 @@ var definition = {
|
|
|
1036
1039
|
};
|
|
1037
1040
|
var run2 = /* @__PURE__ */ __name(async (argv, environment = {}) => {
|
|
1038
1041
|
if (!botApi && needsBotApi(argv, environment.env ?? process.env))
|
|
1039
|
-
useBotApi((await import("./bot-api-
|
|
1042
|
+
useBotApi((await import("./bot-api-KV765AZK.js")).telegramBotApiCommand);
|
|
1040
1043
|
const notice = updateNotice2(argv, {
|
|
1041
1044
|
...environment.tty === void 0 ? {} : { tty: environment.tty },
|
|
1042
1045
|
...environment.update ? { environment: environment.update } : {},
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readSecret
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-MZRD776E.js";
|
|
6
|
+
import "./chunk-3L2JTAVD.js";
|
|
7
|
+
import "./chunk-BWRCPMMC.js";
|
|
8
|
+
import "./chunk-EO563SUX.js";
|
|
9
9
|
import "./chunk-Y5E2WNWB.js";
|
|
10
10
|
import "./chunk-ZVVMGPBJ.js";
|
|
11
11
|
export {
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
checkProxy,
|
|
5
5
|
proxiedTransport,
|
|
6
6
|
proxyFailure
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-ONHHBPV3.js";
|
|
8
|
+
import "./chunk-EB44Z44U.js";
|
|
9
|
+
import "./chunk-BWRCPMMC.js";
|
|
10
|
+
import "./chunk-EO563SUX.js";
|
|
11
11
|
import "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
export {
|
|
@@ -6,10 +6,11 @@ import {
|
|
|
6
6
|
detector,
|
|
7
7
|
loadSherpa,
|
|
8
8
|
openRecognizer,
|
|
9
|
+
openSpeechCutter,
|
|
9
10
|
toModelRate
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-M3XIME74.js";
|
|
12
|
+
import "./chunk-BWRCPMMC.js";
|
|
13
|
+
import "./chunk-EO563SUX.js";
|
|
13
14
|
import "./chunk-Y5E2WNWB.js";
|
|
14
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
15
16
|
export {
|
|
@@ -18,5 +19,6 @@ export {
|
|
|
18
19
|
detector,
|
|
19
20
|
loadSherpa,
|
|
20
21
|
openRecognizer,
|
|
22
|
+
openSpeechCutter,
|
|
21
23
|
toModelRate
|
|
22
24
|
};
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
openRemote,
|
|
9
9
|
remoteKey,
|
|
10
10
|
remoteModel
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-AZYVTDAE.js";
|
|
12
|
+
import "./chunk-YWSNUUW5.js";
|
|
13
|
+
import "./chunk-NFBOZT7H.js";
|
|
14
|
+
import "./chunk-VM7I5VKX.js";
|
|
15
|
+
import "./chunk-BWRCPMMC.js";
|
|
16
|
+
import "./chunk-EO563SUX.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
18
|
import "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
export {
|
|
@@ -4,17 +4,17 @@ 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-YWSNUUW5.js";
|
|
8
|
+
import "./chunk-NFBOZT7H.js";
|
|
9
|
+
import "./chunk-VM7I5VKX.js";
|
|
10
|
+
import "./chunk-BWRCPMMC.js";
|
|
11
|
+
import "./chunk-EO563SUX.js";
|
|
12
12
|
import "./chunk-Y5E2WNWB.js";
|
|
13
13
|
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.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
|
|
18
18
|
var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
|
|
19
19
|
const { ort, tokenizer, session } = await loadModel(model, directory, threads);
|
|
20
20
|
const typeIds = session.inputNames.includes("token_type_ids");
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listen
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W3B6EEZU.js";
|
|
6
6
|
import {
|
|
7
7
|
ownerLogin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6KESAYMZ.js";
|
|
9
9
|
import {
|
|
10
10
|
WebStandardStreamableHTTPServerTransport,
|
|
11
11
|
createMcpHandler,
|
|
@@ -20,19 +20,19 @@ import {
|
|
|
20
20
|
calledTools,
|
|
21
21
|
httpActivityFile,
|
|
22
22
|
httpLock
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-MXIBRT6W.js";
|
|
24
|
+
import "./chunk-7ABA4EXC.js";
|
|
25
|
+
import "./chunk-RARYRHQA.js";
|
|
26
|
+
import "./chunk-BWRCPMMC.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-EO563SUX.js";
|
|
30
30
|
import "./chunk-Y5E2WNWB.js";
|
|
31
31
|
import {
|
|
32
32
|
__name
|
|
33
33
|
} from "./chunk-ZVVMGPBJ.js";
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/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";
|
|
@@ -2,71 +2,72 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
botInstructions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AXNBGLO5.js";
|
|
6
6
|
import {
|
|
7
7
|
answered,
|
|
8
8
|
normal,
|
|
9
9
|
registerCommands,
|
|
10
10
|
runCommandForAgent,
|
|
11
11
|
toolsFromCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TDQVVXPF.js";
|
|
13
13
|
import {
|
|
14
14
|
agentJson,
|
|
15
15
|
skillResource
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-32HEOKI2.js";
|
|
17
17
|
import {
|
|
18
18
|
callerOf,
|
|
19
19
|
serveStdio
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-L3YDXUDK.js";
|
|
21
21
|
import {
|
|
22
22
|
McpServer
|
|
23
23
|
} from "./chunk-5D4AEUVA.js";
|
|
24
24
|
import {
|
|
25
25
|
wholeList
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-3XTMVGTS.js";
|
|
27
|
+
import "./chunk-5ASW5BNM.js";
|
|
28
|
+
import "./chunk-3KOF5T4N.js";
|
|
29
|
+
import "./chunk-4YOPRYEY.js";
|
|
29
30
|
import {
|
|
30
31
|
changesMessenger,
|
|
31
32
|
flatten,
|
|
32
33
|
itemOf
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-QRH2AWBZ.js";
|
|
35
|
+
import "./chunk-7LZBMZQM.js";
|
|
36
|
+
import "./chunk-Q35J5LCO.js";
|
|
37
|
+
import "./chunk-ABVHA4K6.js";
|
|
38
|
+
import "./chunk-UIPT6IAU.js";
|
|
39
|
+
import "./chunk-JDOSIWPN.js";
|
|
39
40
|
import {
|
|
40
41
|
MESSENGER_CHANGE_REFUSAL,
|
|
41
42
|
readOnlyLockOf,
|
|
42
43
|
readOnlyRefusal
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-XLNYDJKG.js";
|
|
45
|
+
import "./chunk-RARYRHQA.js";
|
|
46
|
+
import "./chunk-NDT22GBK.js";
|
|
47
|
+
import "./chunk-AZYVTDAE.js";
|
|
48
|
+
import "./chunk-YWSNUUW5.js";
|
|
49
|
+
import "./chunk-NFBOZT7H.js";
|
|
50
|
+
import "./chunk-RXWG7OWT.js";
|
|
51
|
+
import "./chunk-YPLL3Q3M.js";
|
|
52
|
+
import "./chunk-6WTLP2SI.js";
|
|
53
|
+
import "./chunk-54CWOD7V.js";
|
|
54
|
+
import "./chunk-NPGVOZVK.js";
|
|
55
|
+
import "./chunk-VM7I5VKX.js";
|
|
56
|
+
import "./chunk-SLAPUEMZ.js";
|
|
57
|
+
import "./chunk-4GOF43MW.js";
|
|
58
|
+
import "./chunk-3L2JTAVD.js";
|
|
58
59
|
import {
|
|
59
60
|
mcpErrorResult
|
|
60
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-BWRCPMMC.js";
|
|
61
62
|
import {
|
|
62
63
|
object
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-EO563SUX.js";
|
|
64
65
|
import "./chunk-Y5E2WNWB.js";
|
|
65
66
|
import {
|
|
66
67
|
__name
|
|
67
68
|
} from "./chunk-ZVVMGPBJ.js";
|
|
68
69
|
|
|
69
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
70
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
|
|
70
71
|
import { randomUUID } from "node:crypto";
|
|
71
72
|
var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
|
|
72
73
|
var createBotServer = /* @__PURE__ */ __name((options) => {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
PER_RUN,
|
|
5
|
+
createServer,
|
|
6
|
+
envelope,
|
|
7
|
+
serveOverHttpUntilStopped,
|
|
8
|
+
serveOverStdio
|
|
9
|
+
} from "./chunk-F24EAGOU.js";
|
|
10
|
+
import "./chunk-TDQVVXPF.js";
|
|
11
|
+
import "./chunk-KLOFBUXA.js";
|
|
12
|
+
import "./chunk-32HEOKI2.js";
|
|
13
|
+
import "./chunk-4I6HTOCM.js";
|
|
14
|
+
import "./chunk-L3YDXUDK.js";
|
|
15
|
+
import "./chunk-5D4AEUVA.js";
|
|
16
|
+
import "./chunk-GPIORQAD.js";
|
|
17
|
+
import "./chunk-3XTMVGTS.js";
|
|
18
|
+
import "./chunk-5ASW5BNM.js";
|
|
19
|
+
import "./chunk-3KOF5T4N.js";
|
|
20
|
+
import "./chunk-4BMXELWN.js";
|
|
21
|
+
import "./chunk-4YOPRYEY.js";
|
|
22
|
+
import "./chunk-QRH2AWBZ.js";
|
|
23
|
+
import "./chunk-7LZBMZQM.js";
|
|
24
|
+
import "./chunk-Q35J5LCO.js";
|
|
25
|
+
import "./chunk-ABVHA4K6.js";
|
|
26
|
+
import "./chunk-UIPT6IAU.js";
|
|
27
|
+
import "./chunk-JDOSIWPN.js";
|
|
28
|
+
import "./chunk-XLNYDJKG.js";
|
|
29
|
+
import "./chunk-MXIBRT6W.js";
|
|
30
|
+
import "./chunk-7ABA4EXC.js";
|
|
31
|
+
import "./chunk-RARYRHQA.js";
|
|
32
|
+
import "./chunk-TJA3BWY3.js";
|
|
33
|
+
import "./chunk-NDT22GBK.js";
|
|
34
|
+
import "./chunk-AZYVTDAE.js";
|
|
35
|
+
import "./chunk-YWSNUUW5.js";
|
|
36
|
+
import "./chunk-NFBOZT7H.js";
|
|
37
|
+
import "./chunk-RXWG7OWT.js";
|
|
38
|
+
import "./chunk-YPLL3Q3M.js";
|
|
39
|
+
import "./chunk-6WTLP2SI.js";
|
|
40
|
+
import "./chunk-54CWOD7V.js";
|
|
41
|
+
import "./chunk-NPGVOZVK.js";
|
|
42
|
+
import "./chunk-VM7I5VKX.js";
|
|
43
|
+
import "./chunk-SLAPUEMZ.js";
|
|
44
|
+
import "./chunk-4GOF43MW.js";
|
|
45
|
+
import "./chunk-3L2JTAVD.js";
|
|
46
|
+
import "./chunk-BWRCPMMC.js";
|
|
47
|
+
import "./chunk-EO563SUX.js";
|
|
48
|
+
import "./chunk-Y5E2WNWB.js";
|
|
49
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
50
|
+
export {
|
|
51
|
+
PER_RUN,
|
|
52
|
+
createServer,
|
|
53
|
+
envelope,
|
|
54
|
+
serveOverHttpUntilStopped,
|
|
55
|
+
serveOverStdio
|
|
56
|
+
};
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
readHttpLock,
|
|
13
13
|
readStored,
|
|
14
14
|
signedInClients
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-MXIBRT6W.js";
|
|
16
|
+
import "./chunk-7ABA4EXC.js";
|
|
17
|
+
import "./chunk-RARYRHQA.js";
|
|
18
|
+
import "./chunk-BWRCPMMC.js";
|
|
19
|
+
import "./chunk-EO563SUX.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
21
|
import "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
export {
|
|
@@ -53,16 +53,16 @@ import {
|
|
|
53
53
|
threadConversation,
|
|
54
54
|
titlePart,
|
|
55
55
|
vectorIndexCounts
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-RXWG7OWT.js";
|
|
57
|
+
import "./chunk-YPLL3Q3M.js";
|
|
58
|
+
import "./chunk-6WTLP2SI.js";
|
|
59
|
+
import "./chunk-54CWOD7V.js";
|
|
60
|
+
import "./chunk-NPGVOZVK.js";
|
|
61
|
+
import "./chunk-VM7I5VKX.js";
|
|
62
|
+
import "./chunk-SLAPUEMZ.js";
|
|
63
|
+
import "./chunk-4GOF43MW.js";
|
|
64
|
+
import "./chunk-BWRCPMMC.js";
|
|
65
|
+
import "./chunk-EO563SUX.js";
|
|
66
66
|
import "./chunk-Y5E2WNWB.js";
|
|
67
67
|
import "./chunk-ZVVMGPBJ.js";
|
|
68
68
|
export {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
buildStems,
|
|
5
|
+
storeMaintenanceCommands,
|
|
6
|
+
storeSummary
|
|
7
|
+
} from "./chunk-VOBMR7E5.js";
|
|
8
|
+
import "./chunk-GPIORQAD.js";
|
|
9
|
+
import "./chunk-3XTMVGTS.js";
|
|
10
|
+
import "./chunk-5ASW5BNM.js";
|
|
11
|
+
import "./chunk-3KOF5T4N.js";
|
|
12
|
+
import "./chunk-2ABQZVK4.js";
|
|
13
|
+
import "./chunk-QRH2AWBZ.js";
|
|
14
|
+
import "./chunk-7LZBMZQM.js";
|
|
15
|
+
import "./chunk-Q35J5LCO.js";
|
|
16
|
+
import "./chunk-ABVHA4K6.js";
|
|
17
|
+
import "./chunk-UIPT6IAU.js";
|
|
18
|
+
import "./chunk-JDOSIWPN.js";
|
|
19
|
+
import "./chunk-XLNYDJKG.js";
|
|
20
|
+
import "./chunk-7ABA4EXC.js";
|
|
21
|
+
import "./chunk-RARYRHQA.js";
|
|
22
|
+
import "./chunk-RSZEEWOW.js";
|
|
23
|
+
import "./chunk-NDT22GBK.js";
|
|
24
|
+
import "./chunk-AZYVTDAE.js";
|
|
25
|
+
import "./chunk-YWSNUUW5.js";
|
|
26
|
+
import "./chunk-NFBOZT7H.js";
|
|
27
|
+
import "./chunk-RXWG7OWT.js";
|
|
28
|
+
import "./chunk-YPLL3Q3M.js";
|
|
29
|
+
import "./chunk-6WTLP2SI.js";
|
|
30
|
+
import "./chunk-54CWOD7V.js";
|
|
31
|
+
import "./chunk-NPGVOZVK.js";
|
|
32
|
+
import "./chunk-VM7I5VKX.js";
|
|
33
|
+
import "./chunk-SLAPUEMZ.js";
|
|
34
|
+
import "./chunk-4GOF43MW.js";
|
|
35
|
+
import "./chunk-MZRD776E.js";
|
|
36
|
+
import "./chunk-3L2JTAVD.js";
|
|
37
|
+
import "./chunk-BWRCPMMC.js";
|
|
38
|
+
import "./chunk-EO563SUX.js";
|
|
39
|
+
import "./chunk-Y5E2WNWB.js";
|
|
40
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
41
|
+
export {
|
|
42
|
+
buildStems,
|
|
43
|
+
storeMaintenanceCommands,
|
|
44
|
+
storeSummary
|
|
45
|
+
};
|
package/dist/bundle/tg.js
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
errorObjectOf,
|
|
6
6
|
exitCodeOfError,
|
|
7
7
|
renderError
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-BWRCPMMC.js";
|
|
9
|
+
import "./chunk-EO563SUX.js";
|
|
10
10
|
import "./chunk-Y5E2WNWB.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
// dist/bin/tg.js
|
|
16
16
|
import { enableCompileCache } from "node:module";
|
|
17
17
|
enableCompileCache();
|
|
18
|
-
var [{ startCli }, { TG }] = await Promise.all([import("./entry-
|
|
18
|
+
var [{ startCli }, { TG }] = await Promise.all([import("./entry-NQD6Z2BM.js"), import("./identity-EDGOOTOM.js")]);
|
|
19
19
|
await startCli({
|
|
20
20
|
app: TG,
|
|
21
21
|
sqlite: true,
|
|
22
22
|
// A static import would load the whole program, and its SQLite, before ensureSqlite could swap it.
|
|
23
|
-
run: /* @__PURE__ */ __name(async ({ args }) => (await import("./program-
|
|
23
|
+
run: /* @__PURE__ */ __name(async ({ args }) => (await import("./program-QPQDSGYA.js")).run(args), "run"),
|
|
24
24
|
fail: /* @__PURE__ */ __name((error, { tty }) => {
|
|
25
25
|
const object = errorObjectOf(error);
|
|
26
26
|
process.stderr.write(`${renderError(object, { cli: TG.command, interactive: tty })}
|
package/dist/program.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../src/program.ts"],"names":[],"mappings":"AAEA,OAAO,EAuBL,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../src/program.ts"],"names":[],"mappings":"AAEA,OAAO,EAuBL,KAAK,iBAAiB,EAsBvB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAIxC,OAAO,EAAE,KAAK,WAAW,EAAmB,MAAM,uBAAuB,CAAA;AAOzE,kHAAkH;AAClH,eAAO,MAAM,aAAa,UAAwC,CAAA;AAKlE,8GAA8G;AAC9G,eAAO,MAAM,SAAS,UAAW,MAAM,OAAO,KAAG,IAEhD,CAAA;AAOD,eAAO,MAAM,UAAU,EAAE,iBA0HxB,CAAA;AAED,0FAA0F;AAC1F,eAAO,MAAM,GAAG,SAAgB,MAAM,EAAE,gBAAe,WAAW,KAAQ,OAAO,CAAC,MAAM,CAYvF,CAAA"}
|
package/dist/program.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { fileURLToPath } from "node:url";
|
|
2
2
|
import { exitCodeFor, processStreams } from "@wirecat/cli-base";
|
|
3
|
-
import { accountCommand, attachmentsCommand, botCommand, chatsCommand, commandsCommand, completeCommand, configCommand, contactsCommand, conversationsCommand, doctorCommand, floodCommand, guideCommand, imagesCommand, inboxCommand, inSection, MEMO_SCENARIOS, mcpCommand, mentionsCommand, messagesCommand, metadataCommand, modelsCommand, overrideSharedContract, pollsCommand, reactionsCommand, recipientsCommand, repliesCommand, reviewCommand, run as runCli, runsCommand, scheduleCommand, searchCommand, searchesCommand, sendsCommand, serveCommand, serverCommand, skillCommand, statsCommand, storeCommand, tagsCommand, tasksCommand, topicsCommand, watchCommand, } from "@wirecat/cli-core/cli";
|
|
3
|
+
import { accountCommand, attachmentsCommand, botCommand, chatsCommand, commandsCommand, completeCommand, configCommand, contactsCommand, conversationsCommand, doctorCommand, floodCommand, guideCommand, imagesCommand, inboxCommand, inSection, MEMO_SCENARIOS, mcpCommand, mentionsCommand, messagesCommand, metadataCommand, modelsCommand, overrideSharedContract, pollsCommand, projectsCommand, reactionsCommand, recipientsCommand, repliesCommand, reviewCommand, run as runCli, runsCommand, scheduleCommand, searchCommand, searchesCommand, sendsCommand, serveCommand, serverCommand, skillCommand, statsCommand, storeCommand, tagsCommand, tasksCommand, topicsCommand, watchCommand, } from "@wirecat/cli-core/cli";
|
|
4
4
|
import { CONFIG, TG } from "./app.js";
|
|
5
5
|
import { needsBotApi } from "./bot-api-need.js";
|
|
6
6
|
import { botMcp, TELEGRAM_BOT } from "./commands/bot.js";
|
|
@@ -99,6 +99,7 @@ export const definition = {
|
|
|
99
99
|
metadataCommand(TELEGRAM),
|
|
100
100
|
statsCommand(TELEGRAM),
|
|
101
101
|
tasksCommand(TELEGRAM),
|
|
102
|
+
projectsCommand(TELEGRAM),
|
|
102
103
|
searchCommand(TELEGRAM, { topics: true }),
|
|
103
104
|
searchesCommand(TELEGRAM),
|
|
104
105
|
floodCommand(TELEGRAM),
|