@wirecat/tg-cli 0.123.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 +54 -5
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-GAOG65O2.js → adapter-H2LTOLOA.js} +54 -53
- package/dist/bundle/{all-profiles-HLE6PHNI.js → all-profiles-75HGEFL7.js} +10 -10
- package/dist/bundle/{anthropic-FZC4BS7T.js → anthropic-N54MKE4C.js} +17 -10
- package/dist/bundle/{app-server-SHZNMV27.js → app-server-3N5INKKI.js} +62 -52
- package/dist/bundle/{bot-api-LRS2KMDE.js → bot-api-V65KTEAH.js} +53 -52
- package/dist/bundle/{bot-history-IJ7ZZKW5.js → bot-history-TT2EAHEE.js} +18 -18
- package/dist/bundle/{bun-FACL53HM.js → bun-LN4J7PA7.js} +2 -2
- package/dist/bundle/{bun-sqlite-B2MD7RTL.js → bun-sqlite-6PDBFBUI.js} +6 -6
- package/dist/bundle/{chunk-BGUYYKS3.js → chunk-37SZHAEA.js} +343 -112
- package/dist/bundle/{chunk-UB6J5HRW.js → chunk-3GILMKQ2.js} +3 -3
- package/dist/bundle/{chunk-WSLTW6MI.js → chunk-4KIOWSDL.js} +3 -3
- package/dist/bundle/{chunk-VVRWH5VH.js → chunk-4TCBRKWQ.js} +14 -9
- package/dist/bundle/{chunk-MFN5MSIL.js → chunk-6HLB73UN.js} +3 -3
- package/dist/bundle/{chunk-DEMGDKCX.js → chunk-6Y6SSZ34.js} +2406 -2371
- package/dist/bundle/{chunk-Z5HHBTS5.js → chunk-77Z3OGAT.js} +23 -4
- package/dist/bundle/{chunk-VUBZFMGP.js → chunk-7KCBPAQS.js} +2 -2
- package/dist/bundle/{chunk-ZJPXRW65.js → chunk-7OBSIDBJ.js} +4 -4
- package/dist/bundle/{chunk-OOWE2O5U.js → chunk-AI2J3WJT.js} +1 -1
- package/dist/bundle/{chunk-EABZ2CUG.js → chunk-AMPHPP4P.js} +34 -29
- package/dist/bundle/{chunk-STPYSD6W.js → chunk-B252D7V4.js} +3 -3
- package/dist/bundle/{chunk-V4722KYX.js → chunk-BLNMM3AX.js} +2 -2
- package/dist/bundle/{chunk-SWGGYBCW.js → chunk-CNEJQQMD.js} +40 -21
- package/dist/bundle/{chunk-4DCFLHLN.js → chunk-DI3RJ3MJ.js} +4 -4
- package/dist/bundle/{chunk-7EFJHLKW.js → chunk-DNCOELTM.js} +1 -1
- package/dist/bundle/chunk-DYOZ7CUV.js +71 -0
- package/dist/bundle/{chunk-E2Z4C6CQ.js → chunk-E4HDE5DN.js} +6 -6
- package/dist/bundle/chunk-EIGV2JKX.js +13 -0
- package/dist/bundle/{chunk-6KT5BTWL.js → chunk-FHPEUAHQ.js} +367 -184
- package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-SNEJK4SN.js → chunk-FSP74THJ.js} +4 -4
- package/dist/bundle/{chunk-PAHSIORC.js → chunk-FUYCAROL.js} +6 -6
- package/dist/bundle/{chunk-WA7YED3Y.js → chunk-GRDVBJCR.js} +1 -1
- package/dist/bundle/{chunk-OE5JMZSM.js → chunk-GUPMDMFM.js} +9 -9
- package/dist/bundle/{chunk-6FK2Z75N.js → chunk-HHG5FR5H.js} +2 -2
- package/dist/bundle/{chunk-U5FILNK6.js → chunk-IN3NAFUN.js} +69 -6
- package/dist/bundle/{chunk-3BUQXB7B.js → chunk-INZAZMUF.js} +15 -117
- package/dist/bundle/{chunk-4W4EVVL4.js → chunk-IX3GUNGV.js} +4 -4
- package/dist/bundle/{chunk-SCGCDLI7.js → chunk-JB4BO5XZ.js} +1 -1
- package/dist/bundle/{chunk-XDL4L3OI.js → chunk-JC6HMPL7.js} +14229 -12041
- package/dist/bundle/chunk-JCNKGZQG.js +1068 -0
- package/dist/bundle/{chunk-PZQ2MQFX.js → chunk-JKF7LZBU.js} +6 -6
- package/dist/bundle/{chunk-5R5HGV2J.js → chunk-LD42OGKK.js} +4 -4
- package/dist/bundle/{chunk-3P7HWXDJ.js → chunk-LU2CHHPC.js} +14 -5
- package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-3JISIGLP.js → chunk-MK4IKICN.js} +2 -2
- package/dist/bundle/{chunk-3S6KZCZ7.js → chunk-NM5GBJME.js} +57 -28
- package/dist/bundle/{chunk-KKMNMQMW.js → chunk-NTHALPDT.js} +2 -2
- package/dist/bundle/{chunk-B6G3TNN4.js → chunk-OG2ONSH6.js} +156 -43
- package/dist/bundle/{chunk-EOUUI5FI.js → chunk-PCC7GWOS.js} +4 -4
- package/dist/bundle/{chunk-ADI5R2MM.js → chunk-QVK7NF3A.js} +51 -51
- package/dist/bundle/{chunk-Q74XVJFT.js → chunk-QYT6HDCL.js} +1 -1
- package/dist/bundle/{chunk-EISV5YWD.js → chunk-RX5GU7GQ.js} +6994 -6232
- package/dist/bundle/{chunk-NYRAW4M5.js → chunk-RZ7KBWDQ.js} +4 -7
- package/dist/bundle/{chunk-V23X3W2W.js → chunk-S4SOS27T.js} +8 -8
- package/dist/bundle/{chunk-V4JEZFW5.js → chunk-SGHF75RQ.js} +2 -2
- package/dist/bundle/{chunk-T5OO7VDT.js → chunk-TAFH5K5D.js} +3900 -3425
- package/dist/bundle/{chunk-QLB3BFSN.js → chunk-TVQBOIWC.js} +1 -1
- package/dist/bundle/{chunk-QLXKWAET.js → chunk-UG66U2T7.js} +88 -21
- package/dist/bundle/{chunk-ZOBRYIUG.js → chunk-URFBZNLU.js} +2 -2
- package/dist/bundle/{chunk-ZQ3WGGKK.js → chunk-UTNK2PFE.js} +13 -13
- package/dist/bundle/{chunk-LVGX7VTD.js → chunk-VG3EQJYV.js} +34 -5
- package/dist/bundle/{chunk-FFHX7VKP.js → chunk-VHD4V64E.js} +1 -1
- package/dist/bundle/{chunk-BAB3ALHZ.js → chunk-VUBSGQ2O.js} +30 -26
- package/dist/bundle/{chunk-UBFDPLFQ.js → chunk-VZDAVZYX.js} +6 -6
- package/dist/bundle/{chunk-QVMAZVSN.js → chunk-WH4T44L3.js} +1 -1
- package/dist/bundle/{chunk-RDKPKS2P.js → chunk-X6436BYW.js} +2 -2
- package/dist/bundle/{chunk-SMFUKHG2.js → chunk-XS5C5TQ7.js} +24 -9
- package/dist/bundle/{chunk-ENEMZAIJ.js → chunk-XTNOBJRP.js} +14 -12
- package/dist/bundle/{chunk-HJLTWT52.js → chunk-YRZXOQOB.js} +2 -2
- package/dist/bundle/{chunk-5IHYZ6ED.js → chunk-ZX5OSZHH.js} +12 -12
- package/dist/bundle/command-contract-JP6SCP7U.js +34 -0
- package/dist/bundle/{command-server-entry-5LKDRLEX.js → command-server-entry-BLSFT3T6.js} +24 -22
- package/dist/bundle/{decode-L4DQDHXA.js → decode-NNLEQU7B.js} +5 -5
- package/dist/bundle/{dispatch-PQSCFHEX.js → dispatch-PRAIGIFS.js} +8 -8
- package/dist/bundle/{echarts-6LES2JIV.js → echarts-XAZHGDOM.js} +2 -2
- package/dist/bundle/{embed-T5MLKX75.js → embed-Q7ZCVSCO.js} +6 -6
- package/dist/bundle/{embedder-56NMRLC5.js → embedder-MVS3PVWQ.js} +9 -9
- package/dist/bundle/{entry-U5GV6Y46.js → entry-XN3ZZAOK.js} +9 -8
- package/dist/bundle/{failure-BX5HJAQE.js → failure-7Y34AUJT.js} +2 -2
- package/dist/bundle/{first-run-ISQ52V3I.js → first-run-G4EFTONI.js} +11 -11
- package/dist/bundle/first-screen-RIDJEPC3.js +32 -0
- package/dist/bundle/{instructions-CJEXDI7E.js → instructions-QDHYYZBU.js} +1 -1
- package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{node-QLWTGZW7.js → node-3Y7OVY2U.js} +2 -2
- package/dist/bundle/{node-sqlite-X2C3RR2Q.js → node-sqlite-R2SBROJM.js} +7 -7
- package/dist/bundle/{oauth-VP3KMHLX.js → oauth-WSPWMWTV.js} +7 -7
- package/dist/bundle/{open-GLR5EUZS.js → open-VFLF4HRQ.js} +5 -5
- package/dist/bundle/{openai-6CDCJ5LQ.js → openai-DFCKZZDV.js} +23 -18
- package/dist/bundle/{process-7FABZ3T2.js → process-VZKFAGNP.js} +1 -1
- package/dist/bundle/{program-KUIAHJDX.js → program-2LB3CUZX.js} +86 -67
- package/dist/bundle/{prompt-XPHIZMD2.js → prompt-RVLA2PEY.js} +5 -5
- package/dist/bundle/{proxy-transport-IIB7ZXIS.js → proxy-transport-DP7SIMIC.js} +5 -5
- package/dist/bundle/{recognize-FVFYI3XX.js → recognize-LEKNA3G5.js} +4 -4
- package/dist/bundle/{remote-3AMCG2P4.js → remote-WG5V2I2G.js} +9 -7
- package/dist/bundle/{rerank-XV4E25ML.js → rerank-ONAEQVJ6.js} +7 -7
- package/dist/bundle/{serve-NVSZA4UN.js → serve-BL2X6FZG.js} +14 -14
- package/dist/bundle/{server-MBMPHRJE.js → server-3LSC4BMK.js} +36 -35
- package/dist/bundle/server-7EYEEGJT.js +62 -0
- package/dist/bundle/sqlite-runtime-RQXPRH6C.js +19 -0
- package/dist/bundle/{state-JBMB2QUR.js → state-O7LRA526.js} +6 -6
- package/dist/bundle/store-7C4UAND2.js +276 -0
- package/dist/bundle/{store-T4SCYTY2.js → store-HMJUPK45.js} +15 -13
- package/dist/bundle/store-maintenance-command-I7PSA3SZ.js +52 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/commands/account-removal.d.ts.map +1 -1
- package/dist/commands/account-removal.js +5 -3
- package/dist/commands/account-removal.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +21 -3
- package/dist/commands/session.js.map +1 -1
- package/dist/paths.d.ts +6 -0
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +23 -2
- package/dist/paths.js.map +1 -1
- package/dist/program.d.ts +4 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +5 -2
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/tg-cli/SKILL.md +6 -2
- package/dist/bundle/chunk-I7K4OR5Q.js +0 -265
- package/dist/bundle/chunk-PZJXQMSZ.js +0 -27
- package/dist/bundle/command-contract-HWSWHMO4.js +0 -33
- package/dist/bundle/first-screen-7L4AMZDO.js +0 -31
- package/dist/bundle/server-MHVGYRQZ.js +0 -61
- package/dist/bundle/store-maintenance-command-F7WQMTMP.js +0 -49
- /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-XWBPP2HX.js} +0 -0
|
@@ -13,8 +13,9 @@ import {
|
|
|
13
13
|
pathsFor,
|
|
14
14
|
proxiedFetch,
|
|
15
15
|
proxySecrets,
|
|
16
|
-
resolveSettings
|
|
17
|
-
|
|
16
|
+
resolveSettings,
|
|
17
|
+
usesOwnersSession
|
|
18
|
+
} from "./chunk-CNEJQQMD.js";
|
|
18
19
|
import {
|
|
19
20
|
AGENTS,
|
|
20
21
|
MEMO_SCENARIOS,
|
|
@@ -34,8 +35,10 @@ import {
|
|
|
34
35
|
floodCommand,
|
|
35
36
|
guideCommand,
|
|
36
37
|
imagesCommand,
|
|
38
|
+
inSection,
|
|
37
39
|
inboxCommand,
|
|
38
40
|
loginQr,
|
|
41
|
+
mayRevoke,
|
|
39
42
|
mcpCommand,
|
|
40
43
|
mentionsCommand,
|
|
41
44
|
messagesCommand,
|
|
@@ -67,64 +70,62 @@ import {
|
|
|
67
70
|
topicsCommand,
|
|
68
71
|
upgradeCommand,
|
|
69
72
|
watchCommand
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import "./chunk-WA7YED3Y.js";
|
|
72
|
-
import "./chunk-LVGX7VTD.js";
|
|
73
|
+
} from "./chunk-RX5GU7GQ.js";
|
|
73
74
|
import {
|
|
74
75
|
parseProxy,
|
|
75
76
|
proxyLabel
|
|
76
|
-
} from "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
77
|
+
} from "./chunk-URFBZNLU.js";
|
|
78
|
+
import "./chunk-GRDVBJCR.js";
|
|
79
|
+
import "./chunk-ZX5OSZHH.js";
|
|
80
|
+
import "./chunk-XTNOBJRP.js";
|
|
81
|
+
import "./chunk-JB4BO5XZ.js";
|
|
82
|
+
import "./chunk-VUBSGQ2O.js";
|
|
79
83
|
import {
|
|
80
84
|
installSkill
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-ZQ3WGGKK.js";
|
|
88
|
-
import {
|
|
89
|
-
servingProfiles
|
|
90
|
-
} from "./chunk-MFN5MSIL.js";
|
|
91
|
-
import "./chunk-U5FILNK6.js";
|
|
92
|
-
import {
|
|
93
|
-
inSection
|
|
94
|
-
} from "./chunk-3BUQXB7B.js";
|
|
95
|
-
import "./chunk-2ABQZVK4.js";
|
|
96
|
-
import "./chunk-5IHYZ6ED.js";
|
|
85
|
+
} from "./chunk-UG66U2T7.js";
|
|
86
|
+
import "./chunk-FSP74THJ.js";
|
|
87
|
+
import "./chunk-37SZHAEA.js";
|
|
88
|
+
import "./chunk-AMPHPP4P.js";
|
|
89
|
+
import "./chunk-TAFH5K5D.js";
|
|
90
|
+
import "./chunk-UTNK2PFE.js";
|
|
97
91
|
import {
|
|
98
92
|
latestVersion,
|
|
99
93
|
runUpdate,
|
|
100
94
|
updateNotice
|
|
101
|
-
} from "./chunk-
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import
|
|
95
|
+
} from "./chunk-LD42OGKK.js";
|
|
96
|
+
import "./chunk-FIVFP53N.js";
|
|
97
|
+
import {
|
|
98
|
+
servingProfiles
|
|
99
|
+
} from "./chunk-6HLB73UN.js";
|
|
100
|
+
import "./chunk-IN3NAFUN.js";
|
|
101
|
+
import "./chunk-JCNKGZQG.js";
|
|
102
|
+
import "./chunk-JKF7LZBU.js";
|
|
103
|
+
import "./chunk-INZAZMUF.js";
|
|
104
|
+
import "./chunk-2ABQZVK4.js";
|
|
105
|
+
import "./chunk-GUPMDMFM.js";
|
|
106
|
+
import "./chunk-EIGV2JKX.js";
|
|
107
|
+
import "./chunk-WH4T44L3.js";
|
|
104
108
|
import {
|
|
105
109
|
readSecret
|
|
106
|
-
} from "./chunk-
|
|
107
|
-
import "./chunk-
|
|
108
|
-
import "./chunk-
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-
|
|
111
|
-
import "./chunk-
|
|
112
|
-
import "./chunk-PZQ2MQFX.js";
|
|
110
|
+
} from "./chunk-4KIOWSDL.js";
|
|
111
|
+
import "./chunk-SGHF75RQ.js";
|
|
112
|
+
import "./chunk-JC6HMPL7.js";
|
|
113
|
+
import "./chunk-S4SOS27T.js";
|
|
114
|
+
import "./chunk-QYT6HDCL.js";
|
|
115
|
+
import "./chunk-LU2CHHPC.js";
|
|
113
116
|
import {
|
|
114
117
|
DESKTOP,
|
|
115
118
|
TG,
|
|
116
119
|
VERSION
|
|
117
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-HHG5FR5H.js";
|
|
118
121
|
import {
|
|
119
122
|
installerOf
|
|
120
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-M4OP5ASJ.js";
|
|
121
124
|
import "./chunk-D72URWJE.js";
|
|
122
|
-
import "./chunk-
|
|
123
|
-
import "./chunk-
|
|
124
|
-
import "./chunk-
|
|
125
|
-
import "./chunk-
|
|
126
|
-
import "./chunk-FFHX7VKP.js";
|
|
127
|
-
import "./chunk-ZJPXRW65.js";
|
|
125
|
+
import "./chunk-RZ7KBWDQ.js";
|
|
126
|
+
import "./chunk-VZDAVZYX.js";
|
|
127
|
+
import "./chunk-VHD4V64E.js";
|
|
128
|
+
import "./chunk-7OBSIDBJ.js";
|
|
128
129
|
import {
|
|
129
130
|
Argument,
|
|
130
131
|
Command,
|
|
@@ -145,37 +146,40 @@ import {
|
|
|
145
146
|
rootOf,
|
|
146
147
|
secretInputOf,
|
|
147
148
|
withDeadline
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import "./chunk-
|
|
150
|
-
import "./chunk-
|
|
151
|
-
import "./chunk-
|
|
152
|
-
import "./chunk-
|
|
153
|
-
import
|
|
149
|
+
} from "./chunk-FHPEUAHQ.js";
|
|
150
|
+
import "./chunk-4TCBRKWQ.js";
|
|
151
|
+
import "./chunk-B252D7V4.js";
|
|
152
|
+
import "./chunk-DYOZ7CUV.js";
|
|
153
|
+
import "./chunk-TVQBOIWC.js";
|
|
154
|
+
import {
|
|
155
|
+
hostFetch
|
|
156
|
+
} from "./chunk-VG3EQJYV.js";
|
|
157
|
+
import "./chunk-3GILMKQ2.js";
|
|
158
|
+
import "./chunk-PCC7GWOS.js";
|
|
154
159
|
import {
|
|
155
160
|
runtime,
|
|
156
161
|
timezoneOf
|
|
157
|
-
} from "./chunk-
|
|
158
|
-
import "./chunk-
|
|
159
|
-
import "./chunk-
|
|
160
|
-
import "./chunk-
|
|
161
|
-
import "./chunk-
|
|
162
|
-
import "./chunk-KKMNMQMW.js";
|
|
162
|
+
} from "./chunk-6Y6SSZ34.js";
|
|
163
|
+
import "./chunk-77Z3OGAT.js";
|
|
164
|
+
import "./chunk-FUYCAROL.js";
|
|
165
|
+
import "./chunk-XWBPP2HX.js";
|
|
166
|
+
import "./chunk-NTHALPDT.js";
|
|
163
167
|
import {
|
|
164
168
|
configFilePath,
|
|
165
169
|
indent,
|
|
166
170
|
processStreams,
|
|
167
171
|
renderPretty,
|
|
168
172
|
resolvePaths
|
|
169
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-NM5GBJME.js";
|
|
170
174
|
import {
|
|
171
175
|
exitCodeFor
|
|
172
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-XS5C5TQ7.js";
|
|
173
177
|
import "./chunk-Y5E2WNWB.js";
|
|
174
178
|
import {
|
|
175
179
|
CliError,
|
|
176
180
|
isCliError,
|
|
177
181
|
singleLine
|
|
178
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-7KCBPAQS.js";
|
|
179
183
|
import {
|
|
180
184
|
__name
|
|
181
185
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -249,7 +253,7 @@ var withProxySecrets = /* @__PURE__ */ __name((config) => {
|
|
|
249
253
|
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");
|
|
250
254
|
if (proxy.kind === "mtproxy" && proxy.secret === void 0)
|
|
251
255
|
throw new CliError("validation_error", "an MTProxy link needs its secret \u2014 run `tg config set proxy -` and paste the whole link");
|
|
252
|
-
const { checkProxy } = await import("./proxy-transport-
|
|
256
|
+
const { checkProxy } = await import("./proxy-transport-DP7SIMIC.js");
|
|
253
257
|
asValidation(() => checkProxy(proxy));
|
|
254
258
|
const label = proxyLabel(proxy);
|
|
255
259
|
action.processedArgs[1] = label;
|
|
@@ -563,13 +567,13 @@ var appCredentials = /* @__PURE__ */ __name(async (context, how, command, ask, s
|
|
|
563
567
|
if (how === "auto") {
|
|
564
568
|
let app;
|
|
565
569
|
const through = context.proxy();
|
|
566
|
-
const
|
|
570
|
+
const fetch = through ? proxiedFetch(through.proxy) : void 0;
|
|
567
571
|
try {
|
|
568
572
|
app = await registerApp({
|
|
569
573
|
phone,
|
|
570
574
|
code: /* @__PURE__ */ __name(() => ask("code from Telegram for my.telegram.org (app registration): ", true, "code"), "code"),
|
|
571
575
|
note: context.renderer.note
|
|
572
|
-
}, { ...signal === void 0 ? {} : { signal }, ...
|
|
576
|
+
}, { ...signal === void 0 ? {} : { signal }, ...fetch ? { fetch } : {} });
|
|
573
577
|
} catch (error) {
|
|
574
578
|
context.renderer.note(`The Telegram application step did not finish. Rerun as \`${command} --app browser\` to copy your app keys from the site yourself.`);
|
|
575
579
|
throw error;
|
|
@@ -724,9 +728,23 @@ var sessionCommandDefinition = /* @__PURE__ */ __name(() => {
|
|
|
724
728
|
printItem(context, { profile: context.profile, ended: false });
|
|
725
729
|
return;
|
|
726
730
|
}
|
|
731
|
+
if (usesOwnersSession(context.profile, context.env)) {
|
|
732
|
+
printItem(context, { profile: context.profile, ended: false, kept: "owners-sign-in" });
|
|
733
|
+
context.renderer.note(`kept "${context.profile}" logged in: this run's folders are moved, and it uses the owner's session (${context.sessionPath}), which only a run with the owner's own folders can end`);
|
|
734
|
+
return;
|
|
735
|
+
}
|
|
736
|
+
const forget = /* @__PURE__ */ __name(() => {
|
|
737
|
+
for (const suffix of ["", "-wal", "-shm"])
|
|
738
|
+
rmSync(`${context.sessionPath}${suffix}`, { force: true });
|
|
739
|
+
}, "forget");
|
|
740
|
+
if (!mayRevoke(TG, context.env, environmentOf(this).keyring)) {
|
|
741
|
+
forget();
|
|
742
|
+
printItem(context, { profile: context.profile, ended: true, logged_out: false });
|
|
743
|
+
context.renderer.note(`forgot "${context.profile}"'s session here without logging it out on Telegram: this run's folders are moved; the device stays in a Telegram app's list of sessions until you end it there`);
|
|
744
|
+
return;
|
|
745
|
+
}
|
|
727
746
|
await context.withTelegram((telegram) => telegram.logout());
|
|
728
|
-
|
|
729
|
-
rmSync(`${context.sessionPath}${suffix}`, { force: true });
|
|
747
|
+
forget();
|
|
730
748
|
printItem(context, { profile: context.profile, ended: true });
|
|
731
749
|
});
|
|
732
750
|
return session;
|
|
@@ -740,9 +758,10 @@ import { accessSync, constants, existsSync as existsSync2, mkdirSync } from "nod
|
|
|
740
758
|
import { join } from "node:path";
|
|
741
759
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
742
760
|
|
|
743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
761
|
+
// 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/update/index.js
|
|
744
762
|
import { realpathSync } from "node:fs";
|
|
745
763
|
import { fileURLToPath } from "node:url";
|
|
764
|
+
var npmRegistry = /* @__PURE__ */ __name(() => hostFetch({ hosts: ["registry.npmjs.org"] }), "npmRegistry");
|
|
746
765
|
var QUIET_WORDS = [
|
|
747
766
|
"--help",
|
|
748
767
|
"-h",
|
|
@@ -766,7 +785,7 @@ var appUpdate = /* @__PURE__ */ __name((app) => {
|
|
|
766
785
|
}, "enabled");
|
|
767
786
|
return {
|
|
768
787
|
installer: installer2,
|
|
769
|
-
latest: /* @__PURE__ */ __name((environment = {}) => latestVersion(app.packageName, environment.fetch ??
|
|
788
|
+
latest: /* @__PURE__ */ __name((environment = {}) => latestVersion(app.packageName, environment.fetch ?? npmRegistry(), { timeoutMs: 3e3 }), "latest"),
|
|
770
789
|
/** The package manager's output goes to stderr, so stdout stays one result. */
|
|
771
790
|
runUpdate: /* @__PURE__ */ __name((argv, environment = {}) => environment.spawn ? environment.spawn(argv) : runUpdate(argv), "runUpdate"),
|
|
772
791
|
/**
|
|
@@ -787,7 +806,7 @@ var appUpdate = /* @__PURE__ */ __name((app) => {
|
|
|
787
806
|
command: app.command,
|
|
788
807
|
version: app.version,
|
|
789
808
|
statePath: app.statePath(env),
|
|
790
|
-
fetch: environment.fetch ??
|
|
809
|
+
fetch: environment.fetch ?? npmRegistry(),
|
|
791
810
|
...environment.now ? { now: environment.now } : {},
|
|
792
811
|
format: pretty ? "pretty" : "json",
|
|
793
812
|
stderrIsTTY: environment.stderrIsTTY ?? process.stderr.isTTY === true,
|
|
@@ -958,7 +977,7 @@ var upgradeCommand2 = /* @__PURE__ */ __name(() => upgradeCommand(TG, PACKAGE, (
|
|
|
958
977
|
}), "upgradeCommand");
|
|
959
978
|
|
|
960
979
|
// dist/program.js
|
|
961
|
-
var NO_RESTART_ON = [exitCodeFor("authentication_error")];
|
|
980
|
+
var NO_RESTART_ON = [exitCodeFor("authentication_error"), exitCodeFor("not_found")];
|
|
962
981
|
var botApi;
|
|
963
982
|
var useBotApi = /* @__PURE__ */ __name((group) => {
|
|
964
983
|
botApi = group;
|
|
@@ -1058,7 +1077,7 @@ var definition = {
|
|
|
1058
1077
|
};
|
|
1059
1078
|
var run2 = /* @__PURE__ */ __name(async (argv, environment = {}) => {
|
|
1060
1079
|
if (!botApi && needsBotApi(argv, environment.env ?? process.env))
|
|
1061
|
-
useBotApi((await import("./bot-api-
|
|
1080
|
+
useBotApi((await import("./bot-api-V65KTEAH.js")).telegramBotApiCommand);
|
|
1062
1081
|
const notice = updateNotice2(argv, {
|
|
1063
1082
|
...environment.tty === void 0 ? {} : { tty: environment.tty },
|
|
1064
1083
|
...environment.update ? { environment: environment.update } : {},
|
|
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
pasteHint,
|
|
5
5
|
readSecret
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-4KIOWSDL.js";
|
|
7
|
+
import "./chunk-SGHF75RQ.js";
|
|
8
|
+
import "./chunk-NM5GBJME.js";
|
|
9
|
+
import "./chunk-XS5C5TQ7.js";
|
|
10
10
|
import "./chunk-Y5E2WNWB.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-7KCBPAQS.js";
|
|
12
12
|
import "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
export {
|
|
14
14
|
pasteHint,
|
|
@@ -4,12 +4,12 @@ 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-YRZXOQOB.js";
|
|
8
|
+
import "./chunk-URFBZNLU.js";
|
|
9
|
+
import "./chunk-NM5GBJME.js";
|
|
10
|
+
import "./chunk-XS5C5TQ7.js";
|
|
11
11
|
import "./chunk-Y5E2WNWB.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-7KCBPAQS.js";
|
|
13
13
|
import "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
export {
|
|
15
15
|
checkProxy,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
openRecognizer,
|
|
9
9
|
openSpeechCutter,
|
|
10
10
|
toModelRate
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-DI3RJ3MJ.js";
|
|
12
|
+
import "./chunk-NM5GBJME.js";
|
|
13
|
+
import "./chunk-XS5C5TQ7.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-7KCBPAQS.js";
|
|
16
16
|
import "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
export {
|
|
18
18
|
SAMPLE_RATE,
|
|
@@ -8,14 +8,16 @@ 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-IN3NAFUN.js";
|
|
12
|
+
import "./chunk-JKF7LZBU.js";
|
|
13
|
+
import "./chunk-VG3EQJYV.js";
|
|
14
|
+
import "./chunk-PCC7GWOS.js";
|
|
15
|
+
import "./chunk-FUYCAROL.js";
|
|
16
|
+
import "./chunk-NTHALPDT.js";
|
|
17
|
+
import "./chunk-NM5GBJME.js";
|
|
18
|
+
import "./chunk-XS5C5TQ7.js";
|
|
17
19
|
import "./chunk-Y5E2WNWB.js";
|
|
18
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-7KCBPAQS.js";
|
|
19
21
|
import "./chunk-ZVVMGPBJ.js";
|
|
20
22
|
export {
|
|
21
23
|
DEFAULT_OPENAI_MODEL,
|
|
@@ -4,18 +4,18 @@ 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-JKF7LZBU.js";
|
|
8
|
+
import "./chunk-PCC7GWOS.js";
|
|
9
|
+
import "./chunk-NTHALPDT.js";
|
|
10
|
+
import "./chunk-NM5GBJME.js";
|
|
11
|
+
import "./chunk-XS5C5TQ7.js";
|
|
12
12
|
import "./chunk-Y5E2WNWB.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-7KCBPAQS.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
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/embeddings/rerank.js
|
|
19
19
|
var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
|
|
20
20
|
const { ort, tokenizer, session } = await loadModel(model, directory, threads);
|
|
21
21
|
const typeIds = session.inputNames.includes("token_type_ids");
|
|
@@ -2,16 +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-JB4BO5XZ.js";
|
|
6
6
|
import {
|
|
7
7
|
ownerLogin
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
activityRecorder,
|
|
11
|
-
calledTools,
|
|
12
|
-
httpActivityFile,
|
|
13
|
-
httpLock
|
|
14
|
-
} from "./chunk-SNEJK4SN.js";
|
|
8
|
+
} from "./chunk-E4HDE5DN.js";
|
|
15
9
|
import {
|
|
16
10
|
WebStandardStreamableHTTPServerTransport,
|
|
17
11
|
createMcpHandler,
|
|
@@ -21,19 +15,25 @@ import {
|
|
|
21
15
|
oauthMetadataResponse,
|
|
22
16
|
requireBearerAuth
|
|
23
17
|
} from "./chunk-5D4AEUVA.js";
|
|
24
|
-
import
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
import {
|
|
19
|
+
activityRecorder,
|
|
20
|
+
calledTools,
|
|
21
|
+
httpActivityFile,
|
|
22
|
+
httpLock
|
|
23
|
+
} from "./chunk-FSP74THJ.js";
|
|
24
|
+
import "./chunk-6HLB73UN.js";
|
|
25
|
+
import "./chunk-TVQBOIWC.js";
|
|
26
|
+
import "./chunk-NM5GBJME.js";
|
|
27
|
+
import "./chunk-XS5C5TQ7.js";
|
|
28
28
|
import "./chunk-Y5E2WNWB.js";
|
|
29
29
|
import {
|
|
30
30
|
CliError
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7KCBPAQS.js";
|
|
32
32
|
import {
|
|
33
33
|
__name
|
|
34
34
|
} from "./chunk-ZVVMGPBJ.js";
|
|
35
35
|
|
|
36
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
36
|
+
// 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/mcp/http/serve.js
|
|
37
37
|
import { randomUUID } from "node:crypto";
|
|
38
38
|
var MCP_PATH = "/mcp";
|
|
39
39
|
var AS_METADATA = "/.well-known/oauth-authorization-server";
|
|
@@ -2,75 +2,76 @@ 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-GRDVBJCR.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-OG2ONSH6.js";
|
|
13
13
|
import {
|
|
14
14
|
agentJson,
|
|
15
15
|
skillResource
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UG66U2T7.js";
|
|
17
17
|
import {
|
|
18
18
|
callerOf,
|
|
19
19
|
serveStdio
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MK4IKICN.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-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-TAFH5K5D.js";
|
|
27
|
+
import "./chunk-UTNK2PFE.js";
|
|
28
|
+
import "./chunk-LD42OGKK.js";
|
|
29
|
+
import "./chunk-FIVFP53N.js";
|
|
30
|
+
import "./chunk-IN3NAFUN.js";
|
|
31
|
+
import "./chunk-JCNKGZQG.js";
|
|
32
|
+
import "./chunk-JKF7LZBU.js";
|
|
33
|
+
import "./chunk-SGHF75RQ.js";
|
|
34
|
+
import "./chunk-JC6HMPL7.js";
|
|
35
|
+
import "./chunk-S4SOS27T.js";
|
|
36
|
+
import "./chunk-QYT6HDCL.js";
|
|
37
|
+
import "./chunk-LU2CHHPC.js";
|
|
38
|
+
import "./chunk-M4OP5ASJ.js";
|
|
39
39
|
import "./chunk-D72URWJE.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-VZDAVZYX.js";
|
|
41
|
+
import "./chunk-VHD4V64E.js";
|
|
42
42
|
import {
|
|
43
43
|
changesMessenger,
|
|
44
44
|
flatten,
|
|
45
45
|
itemOf
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-VVRWH5VH.js";
|
|
50
|
-
import "./chunk-STPYSD6W.js";
|
|
46
|
+
} from "./chunk-FHPEUAHQ.js";
|
|
47
|
+
import "./chunk-4TCBRKWQ.js";
|
|
48
|
+
import "./chunk-B252D7V4.js";
|
|
51
49
|
import {
|
|
52
50
|
MESSENGER_CHANGE_REFUSAL,
|
|
53
51
|
readOnlyLockOf,
|
|
54
52
|
readOnlyRefusal
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-DYOZ7CUV.js";
|
|
54
|
+
import "./chunk-TVQBOIWC.js";
|
|
55
|
+
import "./chunk-VG3EQJYV.js";
|
|
56
|
+
import "./chunk-3GILMKQ2.js";
|
|
57
|
+
import "./chunk-PCC7GWOS.js";
|
|
58
|
+
import "./chunk-6Y6SSZ34.js";
|
|
59
|
+
import "./chunk-77Z3OGAT.js";
|
|
60
|
+
import "./chunk-FUYCAROL.js";
|
|
61
|
+
import "./chunk-XWBPP2HX.js";
|
|
62
|
+
import "./chunk-NTHALPDT.js";
|
|
63
|
+
import "./chunk-NM5GBJME.js";
|
|
63
64
|
import {
|
|
64
65
|
mcpErrorResult,
|
|
65
66
|
object
|
|
66
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-XS5C5TQ7.js";
|
|
67
68
|
import "./chunk-Y5E2WNWB.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-7KCBPAQS.js";
|
|
69
70
|
import {
|
|
70
71
|
__name
|
|
71
72
|
} from "./chunk-ZVVMGPBJ.js";
|
|
72
73
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
74
|
+
// 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/mcp/bot/server.js
|
|
74
75
|
import { randomUUID } from "node:crypto";
|
|
75
76
|
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");
|
|
76
77
|
var createBotServer = /* @__PURE__ */ __name((options) => {
|
|
@@ -0,0 +1,62 @@
|
|
|
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-QVK7NF3A.js";
|
|
10
|
+
import "./chunk-VUBSGQ2O.js";
|
|
11
|
+
import "./chunk-AI2J3WJT.js";
|
|
12
|
+
import "./chunk-OG2ONSH6.js";
|
|
13
|
+
import "./chunk-UG66U2T7.js";
|
|
14
|
+
import "./chunk-MK4IKICN.js";
|
|
15
|
+
import "./chunk-DNCOELTM.js";
|
|
16
|
+
import "./chunk-5D4AEUVA.js";
|
|
17
|
+
import "./chunk-FSP74THJ.js";
|
|
18
|
+
import "./chunk-AMPHPP4P.js";
|
|
19
|
+
import "./chunk-TAFH5K5D.js";
|
|
20
|
+
import "./chunk-UTNK2PFE.js";
|
|
21
|
+
import "./chunk-LD42OGKK.js";
|
|
22
|
+
import "./chunk-FIVFP53N.js";
|
|
23
|
+
import "./chunk-6HLB73UN.js";
|
|
24
|
+
import "./chunk-IN3NAFUN.js";
|
|
25
|
+
import "./chunk-JCNKGZQG.js";
|
|
26
|
+
import "./chunk-JKF7LZBU.js";
|
|
27
|
+
import "./chunk-WH4T44L3.js";
|
|
28
|
+
import "./chunk-SGHF75RQ.js";
|
|
29
|
+
import "./chunk-JC6HMPL7.js";
|
|
30
|
+
import "./chunk-S4SOS27T.js";
|
|
31
|
+
import "./chunk-QYT6HDCL.js";
|
|
32
|
+
import "./chunk-LU2CHHPC.js";
|
|
33
|
+
import "./chunk-M4OP5ASJ.js";
|
|
34
|
+
import "./chunk-D72URWJE.js";
|
|
35
|
+
import "./chunk-VZDAVZYX.js";
|
|
36
|
+
import "./chunk-VHD4V64E.js";
|
|
37
|
+
import "./chunk-7OBSIDBJ.js";
|
|
38
|
+
import "./chunk-FHPEUAHQ.js";
|
|
39
|
+
import "./chunk-4TCBRKWQ.js";
|
|
40
|
+
import "./chunk-B252D7V4.js";
|
|
41
|
+
import "./chunk-DYOZ7CUV.js";
|
|
42
|
+
import "./chunk-TVQBOIWC.js";
|
|
43
|
+
import "./chunk-VG3EQJYV.js";
|
|
44
|
+
import "./chunk-3GILMKQ2.js";
|
|
45
|
+
import "./chunk-PCC7GWOS.js";
|
|
46
|
+
import "./chunk-6Y6SSZ34.js";
|
|
47
|
+
import "./chunk-77Z3OGAT.js";
|
|
48
|
+
import "./chunk-FUYCAROL.js";
|
|
49
|
+
import "./chunk-XWBPP2HX.js";
|
|
50
|
+
import "./chunk-NTHALPDT.js";
|
|
51
|
+
import "./chunk-NM5GBJME.js";
|
|
52
|
+
import "./chunk-XS5C5TQ7.js";
|
|
53
|
+
import "./chunk-Y5E2WNWB.js";
|
|
54
|
+
import "./chunk-7KCBPAQS.js";
|
|
55
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
56
|
+
export {
|
|
57
|
+
PER_RUN,
|
|
58
|
+
createServer,
|
|
59
|
+
envelope,
|
|
60
|
+
serveOverHttpUntilStopped,
|
|
61
|
+
serveOverStdio
|
|
62
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
ensureSqlite,
|
|
5
|
+
nodeRuntime,
|
|
6
|
+
relay
|
|
7
|
+
} from "./chunk-RZ7KBWDQ.js";
|
|
8
|
+
import "./chunk-VZDAVZYX.js";
|
|
9
|
+
import "./chunk-VHD4V64E.js";
|
|
10
|
+
import "./chunk-NM5GBJME.js";
|
|
11
|
+
import "./chunk-XS5C5TQ7.js";
|
|
12
|
+
import "./chunk-Y5E2WNWB.js";
|
|
13
|
+
import "./chunk-7KCBPAQS.js";
|
|
14
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
15
|
+
export {
|
|
16
|
+
ensureSqlite,
|
|
17
|
+
nodeRuntime,
|
|
18
|
+
relay
|
|
19
|
+
};
|
|
@@ -12,13 +12,13 @@ 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-FSP74THJ.js";
|
|
16
|
+
import "./chunk-6HLB73UN.js";
|
|
17
|
+
import "./chunk-TVQBOIWC.js";
|
|
18
|
+
import "./chunk-NM5GBJME.js";
|
|
19
|
+
import "./chunk-XS5C5TQ7.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-7KCBPAQS.js";
|
|
22
22
|
import "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
export {
|
|
24
24
|
ACCESS_SECONDS,
|