@wirecat/tg-cli 0.133.0 → 0.135.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 +2 -3
- package/contracts/wirecat.json +82 -2
- package/dist/bin/tg.js +2 -2
- package/dist/bot/generated/types.d.ts +188 -0
- package/dist/bot/generated/types.d.ts.map +1 -1
- package/dist/bundle/{adapter-GSGX3WBH.js → adapter-OHJF6PB5.js} +104 -69
- package/dist/bundle/agent-QPF2KU4I.js +37 -0
- package/dist/bundle/{all-profiles-VOCJ55YH.js → all-profiles-LQ73BIFB.js} +62 -20
- package/dist/bundle/{anthropic-J6CTLU3W.js → anthropic-YYBMT2HD.js} +5 -5
- package/dist/bundle/{app-server-GVFGA4TJ.js → app-server-HV4C4CSA.js} +72 -62
- package/dist/bundle/{bot-api-LWONPIGK.js → bot-api-URQXWMVR.js} +73 -92
- package/dist/bundle/{bot-history-XOW7Y2GC.js → bot-history-FRLCHPDQ.js} +23 -22
- package/dist/bundle/{bun-436CH6CP.js → bun-J3ML43BO.js} +2 -2
- package/dist/bundle/{bun-sqlite-ZLB5RK5Q.js → bun-sqlite-ZNB2B2DL.js} +6 -6
- package/dist/bundle/{chunk-UGS57TT5.js → chunk-24G3SEXH.js} +2 -2
- package/dist/bundle/chunk-27F6QBPY.js +555 -0
- package/dist/bundle/{chunk-6VCSOQFL.js → chunk-2OFCIF2W.js} +2 -2
- package/dist/bundle/{chunk-VGN5YXYI.js → chunk-2U7XA4IH.js} +2 -100
- package/dist/bundle/{chunk-LBZEZO32.js → chunk-4CLSIEWN.js} +65 -43
- package/dist/bundle/chunk-5CEKH6R6.js +340 -0
- package/dist/bundle/{chunk-SMI2EUH4.js → chunk-5WEEK65F.js} +1 -1
- package/dist/bundle/{chunk-OX73ERZW.js → chunk-6VWVYPH2.js} +3 -4
- package/dist/bundle/{chunk-5HKPQPD4.js → chunk-6WS474NQ.js} +6 -6
- package/dist/bundle/{chunk-IYAXLLGR.js → chunk-7GWOGEWJ.js} +6 -6
- package/dist/bundle/{chunk-TPD37ECC.js → chunk-AMRMU23L.js} +16 -3
- package/dist/bundle/{chunk-ZHO3TPHM.js → chunk-B2UXNYCD.js} +30 -15
- package/dist/bundle/{chunk-YY6FGKGD.js → chunk-B4ZMFU5I.js} +2 -2
- package/dist/bundle/{chunk-54WLIPIQ.js → chunk-BFKPMG5T.js} +1 -1
- package/dist/bundle/{chunk-KHUXDSXN.js → chunk-BQSODAU3.js} +1 -1
- package/dist/bundle/{chunk-N3JUHGKM.js → chunk-BXUMZWMN.js} +3786 -3364
- package/dist/bundle/{chunk-VTQMR3XG.js → chunk-E2VIO7RY.js} +3 -3
- package/dist/bundle/{chunk-UZ63ORMY.js → chunk-F5FOS64B.js} +4 -4
- package/dist/bundle/{chunk-LIQMUDIZ.js → chunk-GCUFGDKE.js} +2 -2
- package/dist/bundle/chunk-GUERS64O.js +108 -0
- package/dist/bundle/{chunk-5LRTYBZW.js → chunk-HILS2UL7.js} +12 -12
- package/dist/bundle/{chunk-6S77EKZU.js → chunk-IOJOLV25.js} +17 -15
- package/dist/bundle/{chunk-IBCXEVNY.js → chunk-JBS4VPAX.js} +3 -3
- package/dist/bundle/{chunk-5L44DSHV.js → chunk-K5QGBYDL.js} +4 -4
- package/dist/bundle/{chunk-NO2LIHWA.js → chunk-KKXF6TSS.js} +1 -1
- package/dist/bundle/chunk-L2ZQDTDU.js +7 -0
- package/dist/bundle/{chunk-HB5DP6L5.js → chunk-LFPUW7DR.js} +18 -18
- package/dist/bundle/{chunk-QWO7L4UH.js → chunk-LGYATGQI.js} +7 -7
- package/dist/bundle/{chunk-IH4Z3KZU.js → chunk-MA27675E.js} +2 -2
- package/dist/bundle/{chunk-6H2NW6HK.js → chunk-MDI7554C.js} +3 -3
- package/dist/bundle/{chunk-KVFUH5IT.js → chunk-MMZ4QAKJ.js} +1 -1
- package/dist/bundle/{chunk-XOX4BX5A.js → chunk-MOPBEBVS.js} +4 -4
- package/dist/bundle/{chunk-XKOMP3HV.js → chunk-MPRXUTIK.js} +6 -6
- package/dist/bundle/{chunk-QYLZD4DS.js → chunk-N7F5KT6U.js} +1 -1
- package/dist/bundle/{chunk-KUA24HWG.js → chunk-NBP6LXSY.js} +2 -2
- package/dist/bundle/{chunk-UQYL6TJ7.js → chunk-NP46ZKQW.js} +4 -4
- package/dist/bundle/{chunk-QGWISM4W.js → chunk-NRSJXUUO.js} +34 -28
- package/dist/bundle/{chunk-7NYP4RBO.js → chunk-NVWZ7S3I.js} +2294 -1221
- package/dist/bundle/chunk-OBIMTRA7.js +80 -0
- package/dist/bundle/{chunk-VWJTYAIQ.js → chunk-OQJURSRL.js} +17 -17
- package/dist/bundle/chunk-OU3WN4YH.js +50 -0
- package/dist/bundle/{chunk-VCAOH45X.js → chunk-PBK2ECXT.js} +1 -1
- package/dist/bundle/{chunk-TTDZVWDU.js → chunk-PHAFT2BO.js} +1 -1
- package/dist/bundle/{chunk-NTWXL2QV.js → chunk-PKIGE4NE.js} +2 -2
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-NAXOT35J.js → chunk-QBRQLOZA.js} +3 -3
- package/dist/bundle/{chunk-RABUG4KA.js → chunk-QD4MTOI7.js} +511 -472
- package/dist/bundle/{chunk-LOS4D6ZB.js → chunk-QHQ52UMF.js} +159 -569
- package/dist/bundle/{chunk-6CHIGUCY.js → chunk-R2G3MWEF.js} +31 -20
- package/dist/bundle/{chunk-THYGLTRB.js → chunk-RCEP5OXD.js} +7 -7
- package/dist/bundle/chunk-RHJ2VGHV.js +353 -0
- package/dist/bundle/{chunk-QVGEL66U.js → chunk-RXBKVNOK.js} +53 -11
- package/dist/bundle/{chunk-ZYAHZKYF.js → chunk-RZ7POTFA.js} +3 -3
- package/dist/bundle/{chunk-KEN4B57V.js → chunk-S7PIM4GG.js} +2 -2
- package/dist/bundle/{chunk-BXVB42KJ.js → chunk-SIDGH56R.js} +2 -2
- package/dist/bundle/{chunk-XDQU5HBO.js → chunk-SRMELB6Q.js} +12 -12
- package/dist/bundle/{chunk-SMU6NA7F.js → chunk-SVPNU7PD.js} +4 -4
- package/dist/bundle/{chunk-JPNVEPS4.js → chunk-TB2MG6PE.js} +2351 -2028
- package/dist/bundle/{chunk-JGMXBAGH.js → chunk-UN5TH2CG.js} +156 -434
- package/dist/bundle/{chunk-YAPDU3SV.js → chunk-V3ZWYMXT.js} +1 -1
- package/dist/bundle/{chunk-7NF3V5L2.js → chunk-VFU25P57.js} +4 -4
- package/dist/bundle/{chunk-LQQSDGQ6.js → chunk-VJEMCJPL.js} +56 -46
- package/dist/bundle/{chunk-UIAKLELF.js → chunk-VK2NDTBS.js} +94 -64
- package/dist/bundle/{chunk-UKBK2VWZ.js → chunk-W6A2OZ3C.js} +232 -176
- package/dist/bundle/{chunk-IPPCQ7IK.js → chunk-WDI6LA4X.js} +2 -2
- package/dist/bundle/{chunk-N7QREPZW.js → chunk-WTGRQGQL.js} +16 -9
- package/dist/bundle/{chunk-57KJ3TRS.js → chunk-WUCTF2XE.js} +9 -9
- package/dist/bundle/{chunk-JKSD43L7.js → chunk-WZCRCCOZ.js} +6 -6
- package/dist/bundle/{chunk-H7ML7X3G.js → chunk-XB6O445X.js} +144 -10
- package/dist/bundle/{chunk-O6JUVATT.js → chunk-XKFES4EM.js} +35 -12
- package/dist/bundle/chunk-YBUX6EAK.js +388 -0
- package/dist/bundle/{chunk-WCYKVX3B.js → chunk-YMRL7MYS.js} +7 -7
- package/dist/bundle/{chunk-M6QOM6SL.js → chunk-Z6M6NZUX.js} +1 -1
- package/dist/bundle/chunk-ZCDRXKCR.js +727 -0
- package/dist/bundle/{chunk-6A44ZZFC.js → chunk-ZJ3S4S6H.js} +43 -64
- package/dist/bundle/{chunk-TCI7I6YF.js → chunk-ZL7TJXFL.js} +11 -25
- package/dist/bundle/{chunk-2KQDJHF3.js → chunk-ZMBVZWUW.js} +29 -1
- package/dist/bundle/{chunk-OWY52JBO.js → chunk-ZMTASSIB.js} +7 -7
- package/dist/bundle/{chunk-D2SJLZSH.js → chunk-ZQ5ERQHO.js} +2 -2
- package/dist/bundle/{chunk-CEJYNB3I.js → chunk-ZWVDXVG3.js} +4 -4
- package/dist/bundle/command-contract-K4MU32K6.js +37 -0
- package/dist/bundle/{command-server-entry-AE27QXTE.js → command-server-entry-XP6BVJIK.js} +27 -27
- package/dist/bundle/{decode-RQPPZ72F.js → decode-TUB45ALX.js} +5 -5
- package/dist/bundle/{dispatch-KQO2MCSH.js → dispatch-ICPUKMEG.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-FZRIACN4.js → echarts-HJ7D7XTM.js} +2 -2
- package/dist/bundle/{embed-TOSWWMDL.js → embed-4QDN36YF.js} +6 -6
- package/dist/bundle/{embedder-JHIQSBGD.js → embedder-Q7ID2LEG.js} +9 -9
- package/dist/bundle/{entry-DU4KRXTG.js → entry-Z6VRZP7F.js} +9 -9
- package/dist/bundle/{failure-3YC3YGYO.js → failure-PEPNEEK7.js} +2 -2
- package/dist/bundle/{first-run-DQQT4FID.js → first-run-GKBEHAAX.js} +12 -12
- package/dist/bundle/first-screen-IA3ONZ75.js +37 -0
- package/dist/bundle/{instructions-WI64CJQ6.js → instructions-26ZXYYMY.js} +1 -1
- package/dist/bundle/{mcp-VMS6PBCU.js → mcp-KGWT6TGO.js} +2 -2
- package/dist/bundle/meeting-combined-KUV2HP52.js +23 -0
- package/dist/bundle/{meeting-model-XNRSREIK.js → meeting-model-JB7X4CA3.js} +11 -11
- package/dist/bundle/{meeting-semantic-OOSCHQMB.js → meeting-semantic-MQNUVG33.js} +6 -6
- package/dist/bundle/{node-JLKDNVKV.js → node-RIANITAT.js} +2 -2
- package/dist/bundle/{node-sqlite-YOGH26O2.js → node-sqlite-I2P26Z3S.js} +7 -7
- package/dist/bundle/{oauth-FOMXM5HP.js → oauth-GFMJL2ZZ.js} +8 -8
- package/dist/bundle/{open-SM2UXUKM.js → open-CWVYEFNN.js} +5 -5
- package/dist/bundle/{openai-J2H7S6ZF.js → openai-PQLK7YTJ.js} +15 -15
- package/dist/bundle/{process-HI7OZBOI.js → process-P4D4KFWE.js} +1 -1
- package/dist/bundle/{program-VY4HFU25.js → program-MF4QZJKH.js} +70 -64
- package/dist/bundle/{prompt-NUUVFMOF.js → prompt-JWIOYU53.js} +5 -5
- package/dist/bundle/{proxy-transport-AN4VMRRN.js → proxy-transport-DWY6ABVT.js} +5 -5
- package/dist/bundle/{recognize-MALJHPDI.js → recognize-IPJL4CQZ.js} +4 -4
- package/dist/bundle/{remote-QUDRSTS2.js → remote-DVY6F6YO.js} +9 -9
- package/dist/bundle/{rerank-2DSO3D3S.js → rerank-XSPWLBIO.js} +7 -7
- package/dist/bundle/{serve-NCJ52MY3.js → serve-AJAVEH2M.js} +15 -15
- package/dist/bundle/server-GGXUR5BZ.js +78 -0
- package/dist/bundle/{server-Y3M544AM.js → server-GII7NIKF.js} +65 -54
- package/dist/bundle/{sqlite-runtime-NJUSXVKK.js → sqlite-runtime-KFDYJTUO.js} +6 -6
- package/dist/bundle/{state-AVOWQVET.js → state-76OJSCQC.js} +6 -6
- package/dist/bundle/{store-MMIYOL4H.js → store-2KJS4YMH.js} +28 -17
- package/dist/bundle/{store-BZ5ICDRP.js → store-FBP2J23G.js} +20 -19
- package/dist/bundle/store-maintenance-command-NUWOUZ62.js +65 -0
- package/dist/bundle/surface-EGSHCISG.js +64 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/telegram/adapter.d.ts +9 -2
- package/dist/telegram/adapter.d.ts.map +1 -1
- package/dist/telegram/adapter.js +5 -6
- package/dist/telegram/adapter.js.map +1 -1
- package/dist/telegram/messages.d.ts +12 -0
- package/dist/telegram/messages.d.ts.map +1 -1
- package/dist/telegram/messages.js +40 -0
- package/dist/telegram/messages.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +7 -4
- package/skills/tg-cli/references/messages.md +5 -1
- package/skills/tg-cli/references/search.md +2 -0
- package/dist/bundle/chunk-SHTHNBHG.js +0 -2
- package/dist/bundle/command-contract-TQIARAB4.js +0 -37
- package/dist/bundle/first-screen-7N4CTZSA.js +0 -37
- package/dist/bundle/meeting-combined-3RAOFQ7M.js +0 -23
- package/dist/bundle/server-CHGON5I2.js +0 -70
- package/dist/bundle/store-maintenance-command-VKZ4WHUB.js +0 -61
|
@@ -2,62 +2,71 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
TELEGRAM_BOT
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LFPUW7DR.js";
|
|
6
6
|
import {
|
|
7
7
|
BotTokenStore,
|
|
8
|
-
apiPlainJson,
|
|
9
8
|
botContext,
|
|
10
|
-
checkApiBody,
|
|
11
|
-
checkApiParameter,
|
|
12
9
|
generatedApiCommand,
|
|
13
10
|
prepareRpcApiBody
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-TB2MG6PE.js";
|
|
12
|
+
import "./chunk-Z6M6NZUX.js";
|
|
13
|
+
import "./chunk-NBP6LXSY.js";
|
|
14
|
+
import "./chunk-6VWVYPH2.js";
|
|
15
|
+
import "./chunk-NRSJXUUO.js";
|
|
16
|
+
import "./chunk-YBUX6EAK.js";
|
|
17
|
+
import "./chunk-UN5TH2CG.js";
|
|
18
|
+
import "./chunk-VK2NDTBS.js";
|
|
19
|
+
import "./chunk-IOJOLV25.js";
|
|
20
|
+
import "./chunk-RHJ2VGHV.js";
|
|
22
21
|
import {
|
|
22
|
+
apiPlainJson,
|
|
23
|
+
checkApiBody,
|
|
24
|
+
checkApiParameter,
|
|
25
|
+
int64,
|
|
26
|
+
integer,
|
|
23
27
|
newOperationId,
|
|
28
|
+
number,
|
|
24
29
|
readUpload,
|
|
25
30
|
uploadBytes
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-BXUMZWMN.js";
|
|
32
|
+
import "./chunk-B2UXNYCD.js";
|
|
33
|
+
import "./chunk-ZL7TJXFL.js";
|
|
34
|
+
import "./chunk-RCEP5OXD.js";
|
|
30
35
|
import "./chunk-2ABQZVK4.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./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-
|
|
36
|
+
import "./chunk-ZMBVZWUW.js";
|
|
37
|
+
import "./chunk-HILS2UL7.js";
|
|
38
|
+
import "./chunk-ZWVDXVG3.js";
|
|
39
|
+
import "./chunk-KKXF6TSS.js";
|
|
40
|
+
import "./chunk-SRMELB6Q.js";
|
|
41
|
+
import "./chunk-F5FOS64B.js";
|
|
42
|
+
import "./chunk-AMRMU23L.js";
|
|
43
|
+
import "./chunk-OU3WN4YH.js";
|
|
44
|
+
import "./chunk-5CEKH6R6.js";
|
|
45
|
+
import "./chunk-ZCDRXKCR.js";
|
|
46
|
+
import "./chunk-OQJURSRL.js";
|
|
47
|
+
import "./chunk-6WS474NQ.js";
|
|
48
|
+
import "./chunk-WUCTF2XE.js";
|
|
49
|
+
import "./chunk-ZJ3S4S6H.js";
|
|
50
|
+
import "./chunk-E2VIO7RY.js";
|
|
51
|
+
import "./chunk-ZMTASSIB.js";
|
|
52
|
+
import "./chunk-BQSODAU3.js";
|
|
53
|
+
import "./chunk-5WEEK65F.js";
|
|
54
|
+
import "./chunk-MDI7554C.js";
|
|
55
|
+
import "./chunk-24G3SEXH.js";
|
|
56
|
+
import "./chunk-NVWZ7S3I.js";
|
|
57
|
+
import "./chunk-WTGRQGQL.js";
|
|
58
|
+
import "./chunk-XKFES4EM.js";
|
|
59
|
+
import "./chunk-PHAFT2BO.js";
|
|
60
|
+
import "./chunk-OBIMTRA7.js";
|
|
61
|
+
import "./chunk-PBK2ECXT.js";
|
|
62
|
+
import "./chunk-MOPBEBVS.js";
|
|
63
|
+
import "./chunk-WDI6LA4X.js";
|
|
64
|
+
import "./chunk-V3ZWYMXT.js";
|
|
56
65
|
import "./chunk-D72URWJE.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-PKIGE4NE.js";
|
|
67
|
+
import "./chunk-7GWOGEWJ.js";
|
|
68
|
+
import "./chunk-MMZ4QAKJ.js";
|
|
69
|
+
import "./chunk-SVPNU7PD.js";
|
|
61
70
|
import {
|
|
62
71
|
ChatRegistry,
|
|
63
72
|
DEFAULT_PERMISSIONS,
|
|
@@ -65,28 +74,26 @@ import {
|
|
|
65
74
|
levelFor,
|
|
66
75
|
overrideSharedContract,
|
|
67
76
|
ownerOnlyOption
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
77
|
+
} from "./chunk-W6A2OZ3C.js";
|
|
78
|
+
import "./chunk-LGYATGQI.js";
|
|
79
|
+
import "./chunk-QBRQLOZA.js";
|
|
80
|
+
import "./chunk-S7PIM4GG.js";
|
|
81
|
+
import "./chunk-N7F5KT6U.js";
|
|
82
|
+
import "./chunk-JBS4VPAX.js";
|
|
83
|
+
import "./chunk-WZCRCCOZ.js";
|
|
84
|
+
import "./chunk-XB6O445X.js";
|
|
85
|
+
import "./chunk-K5QGBYDL.js";
|
|
86
|
+
import "./chunk-4CLSIEWN.js";
|
|
87
|
+
import "./chunk-RZ7POTFA.js";
|
|
88
|
+
import "./chunk-MA27675E.js";
|
|
89
|
+
import "./chunk-YMRL7MYS.js";
|
|
90
|
+
import "./chunk-QD4MTOI7.js";
|
|
91
|
+
import "./chunk-L2ZQDTDU.js";
|
|
92
|
+
import "./chunk-2OFCIF2W.js";
|
|
93
|
+
import "./chunk-R2G3MWEF.js";
|
|
85
94
|
import {
|
|
86
95
|
array,
|
|
87
96
|
boolean,
|
|
88
|
-
check,
|
|
89
|
-
custom,
|
|
90
97
|
lazy,
|
|
91
98
|
looseObject,
|
|
92
99
|
optional,
|
|
@@ -94,13 +101,12 @@ import {
|
|
|
94
101
|
pipe,
|
|
95
102
|
startsWith,
|
|
96
103
|
string,
|
|
97
|
-
transform,
|
|
98
104
|
union
|
|
99
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-RXBKVNOK.js";
|
|
100
106
|
import "./chunk-Y5E2WNWB.js";
|
|
101
107
|
import {
|
|
102
108
|
CliError
|
|
103
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-GCUFGDKE.js";
|
|
104
110
|
import {
|
|
105
111
|
__name
|
|
106
112
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -34564,31 +34570,6 @@ If you'd like to make sure that the webhook was set by you, you can specify secr
|
|
|
34564
34570
|
}
|
|
34565
34571
|
];
|
|
34566
34572
|
|
|
34567
|
-
// 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/codegen/runtime.js
|
|
34568
|
-
var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
|
|
34569
|
-
var INTEGER = /^-?\d+$/;
|
|
34570
|
-
var INT64_MIN = -(2n ** 63n);
|
|
34571
|
-
var INT64_MAX = 2n ** 63n - 1n;
|
|
34572
|
-
var digitsOf = /* @__PURE__ */ __name((input) => {
|
|
34573
|
-
if (isLossless(input))
|
|
34574
|
-
return INTEGER.test(input.value) ? input.value : void 0;
|
|
34575
|
-
if (typeof input === "bigint")
|
|
34576
|
-
return input.toString();
|
|
34577
|
-
if (typeof input === "number" && Number.isSafeInteger(input))
|
|
34578
|
-
return String(input);
|
|
34579
|
-
return void 0;
|
|
34580
|
-
}, "digitsOf");
|
|
34581
|
-
var inRange = /* @__PURE__ */ __name((value, { minimum, maximum }) => (minimum === void 0 || value >= minimum) && (maximum === void 0 || value <= maximum), "inRange");
|
|
34582
|
-
var int64 = /* @__PURE__ */ __name((range = {}) => pipe(custom((input) => digitsOf(input) !== void 0, "expected an integer"), transform((input) => digitsOf(input)), check((digits) => {
|
|
34583
|
-
const value = BigInt(digits);
|
|
34584
|
-
return value >= INT64_MIN && value <= INT64_MAX && inRange(value, range);
|
|
34585
|
-
}, "integer out of range")), "int64");
|
|
34586
|
-
var integer = /* @__PURE__ */ __name((range = {}) => pipe(custom((input) => {
|
|
34587
|
-
const digits = digitsOf(input);
|
|
34588
|
-
return digits !== void 0 && Number.isSafeInteger(Number(digits));
|
|
34589
|
-
}, "expected an integer within \xB12^53"), transform((input) => Number(digitsOf(input))), check((value) => inRange(value, range), "integer out of range")), "integer");
|
|
34590
|
-
var number = /* @__PURE__ */ __name((range = {}) => pipe(custom((input) => isLossless(input) ? Number.isFinite(Number(input.value)) : Number.isFinite(input), "expected a number"), transform((input) => isLossless(input) ? Number(input.value) : input), check((value) => inRange(value, range), "number out of range")), "number");
|
|
34591
|
-
|
|
34592
34573
|
// dist/bot/generated/schemas.js
|
|
34593
34574
|
var Update = looseObject({
|
|
34594
34575
|
update_id: int64(),
|
|
@@ -5,34 +5,35 @@ import {
|
|
|
5
5
|
toCliError,
|
|
6
6
|
toHistoryChannel,
|
|
7
7
|
toHistoryMessages
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-B4ZMFU5I.js";
|
|
9
9
|
import {
|
|
10
10
|
proxiedTransport
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./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-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-SIDGH56R.js";
|
|
12
|
+
import "./chunk-NBP6LXSY.js";
|
|
13
|
+
import "./chunk-OQJURSRL.js";
|
|
14
|
+
import "./chunk-NVWZ7S3I.js";
|
|
15
|
+
import "./chunk-WTGRQGQL.js";
|
|
16
|
+
import "./chunk-XKFES4EM.js";
|
|
17
|
+
import "./chunk-PHAFT2BO.js";
|
|
18
|
+
import "./chunk-OBIMTRA7.js";
|
|
19
|
+
import "./chunk-PBK2ECXT.js";
|
|
20
|
+
import "./chunk-7GWOGEWJ.js";
|
|
21
|
+
import "./chunk-MMZ4QAKJ.js";
|
|
22
|
+
import "./chunk-JBS4VPAX.js";
|
|
23
|
+
import "./chunk-4CLSIEWN.js";
|
|
24
|
+
import "./chunk-RZ7POTFA.js";
|
|
25
|
+
import "./chunk-MA27675E.js";
|
|
26
|
+
import "./chunk-YMRL7MYS.js";
|
|
27
|
+
import "./chunk-QD4MTOI7.js";
|
|
28
|
+
import "./chunk-L2ZQDTDU.js";
|
|
29
|
+
import "./chunk-2OFCIF2W.js";
|
|
30
|
+
import "./chunk-R2G3MWEF.js";
|
|
31
|
+
import "./chunk-RXBKVNOK.js";
|
|
31
32
|
import "./chunk-Y5E2WNWB.js";
|
|
32
33
|
import {
|
|
33
34
|
CliError,
|
|
34
35
|
isCliError
|
|
35
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-GCUFGDKE.js";
|
|
36
37
|
import {
|
|
37
38
|
__name
|
|
38
39
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PBK2ECXT.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.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZQ5ERQHO.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-2OFCIF2W.js";
|
|
10
|
+
import "./chunk-R2G3MWEF.js";
|
|
11
|
+
import "./chunk-RXBKVNOK.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-GCUFGDKE.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
21
21
|
var customised = false;
|
|
22
22
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
23
23
|
try {
|
|
@@ -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-GCUFGDKE.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.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/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();
|