@wirecat/tg-cli 0.116.0 → 0.118.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/bot/transport.d.ts +1 -1
- package/dist/bot/transport.d.ts.map +1 -1
- package/dist/bot/transport.js +42 -30
- package/dist/bot/transport.js.map +1 -1
- package/dist/bundle/{adapter-6CLMTQOV.js → adapter-4YNP6VCO.js} +70 -61
- package/dist/bundle/{all-profiles-R2UZMH24.js → all-profiles-MIQDYAGO.js} +10 -10
- package/dist/bundle/{anthropic-QKIPHV2Z.js → anthropic-NTASPJYE.js} +6 -6
- package/dist/bundle/{app-server-AZB2MFK6.js → app-server-UJZBJ2SK.js} +49 -46
- package/dist/bundle/{bot-api-2IM243J4.js → bot-api-JZAD4L3N.js} +49 -49
- package/dist/bundle/{bot-history-G6CRVCL2.js → bot-history-OUDHH3NU.js} +18 -18
- package/dist/bundle/{bun-JDKPISPX.js → bun-EC4HDIRD.js} +2 -2
- package/dist/bundle/{bun-sqlite-X5PY5IQT.js → bun-sqlite-A4HJR6KO.js} +5 -5
- package/dist/bundle/{chunk-SD5PUYKF.js → chunk-2KQHUBTV.js} +12 -12
- package/dist/bundle/{chunk-QHBVGKC3.js → chunk-2NA5KVP6.js} +210 -82
- package/dist/bundle/{chunk-PPLFOIYX.js → chunk-3MQOLYAN.js} +4 -4
- package/dist/bundle/{chunk-QGL2UGML.js → chunk-4BV4UMBB.js} +738 -235
- package/dist/bundle/{chunk-Y6VWGJ4Q.js → chunk-57LKX6N2.js} +4 -2
- package/dist/bundle/{chunk-BGMV66FC.js → chunk-5IIU7X4S.js} +1 -1
- package/dist/bundle/{chunk-H72UEHNG.js → chunk-5LDWBEWU.js} +55 -33
- package/dist/bundle/{chunk-XQUTJITP.js → chunk-5QYU7B27.js} +763 -130
- package/dist/bundle/chunk-65XV5PPI.js +64 -0
- package/dist/bundle/{chunk-NUYRMU56.js → chunk-6AXUEJGL.js} +2 -2
- package/dist/bundle/{chunk-N42VUNTO.js → chunk-6RI4TEIC.js} +2 -2
- package/dist/bundle/{chunk-VQPLHOVQ.js → chunk-6ZMTEUVU.js} +6 -6
- package/dist/bundle/{chunk-MQ7MCVZV.js → chunk-76EKXFX2.js} +2 -2
- package/dist/bundle/{chunk-K62YATVD.js → chunk-BNEP5EOV.js} +18 -4
- package/dist/bundle/{chunk-EB2IULWB.js → chunk-BXTDAGM4.js} +2 -2
- package/dist/bundle/{chunk-HBUJNNZD.js → chunk-CEY43D3A.js} +31 -29
- package/dist/bundle/chunk-DKFC5ZZ3.js +208 -0
- package/dist/bundle/{chunk-FDI4GOIP.js → chunk-DSZJREEO.js} +463 -358
- package/dist/bundle/{chunk-76CX2YPT.js → chunk-EPCFXKTX.js} +8 -8
- package/dist/bundle/{chunk-KA6EGOJY.js → chunk-EPXVRJAX.js} +2 -2
- package/dist/bundle/{chunk-4IQZRW4O.js → chunk-EQJ6NLF5.js} +13 -13
- package/dist/bundle/{chunk-4D5AUWAY.js → chunk-FHMK6OK4.js} +43 -25
- package/dist/bundle/{chunk-RSDIPQXP.js → chunk-G3RT2EQI.js} +2 -2
- package/dist/bundle/{chunk-IR4S7POE.js → chunk-GI4MTNA2.js} +8 -8
- package/dist/bundle/{chunk-HK6SIIGG.js → chunk-GIM37COQ.js} +3 -3
- package/dist/bundle/{chunk-UCSFO5GW.js → chunk-GLRRCKP6.js} +3 -3
- package/dist/bundle/{chunk-YYKJN6H5.js → chunk-GXCJ47SJ.js} +1499 -710
- package/dist/bundle/{chunk-GV7ZJ33M.js → chunk-H6S3C3MH.js} +4 -4
- package/dist/bundle/{chunk-LXH3SKY3.js → chunk-HJNRIK5X.js} +8 -8
- package/dist/bundle/{chunk-5VFPUOJO.js → chunk-I4TI5HDJ.js} +11 -11
- package/dist/bundle/{chunk-RSNGMNU5.js → chunk-JLJKGKU2.js} +6 -6
- package/dist/bundle/{chunk-T7CDLV33.js → chunk-JPVFYMSQ.js} +22 -14
- package/dist/bundle/{chunk-B4UOCWM4.js → chunk-JWIUK3SK.js} +2 -2
- package/dist/bundle/{chunk-LSKGCJWD.js → chunk-JWPSVS6C.js} +21246 -4044
- package/dist/bundle/{chunk-JJMQA272.js → chunk-JZETEZHC.js} +8 -21
- package/dist/bundle/{chunk-42GK3XRS.js → chunk-KEDHX6XG.js} +2 -2
- package/dist/bundle/{chunk-QAKL3GXB.js → chunk-MBH7IKLT.js} +1 -1
- package/dist/bundle/{chunk-HLNYJPAB.js → chunk-MZNOASAW.js} +2 -2
- package/dist/bundle/{chunk-YLRTLZF6.js → chunk-NKFTZVQU.js} +1 -1
- package/dist/bundle/{chunk-577MFPCP.js → chunk-NMT2VGEI.js} +3 -3
- package/dist/bundle/{chunk-5ZIBAYIZ.js → chunk-NUCDEOFC.js} +2 -2
- package/dist/bundle/{chunk-NL3PAFAE.js → chunk-OTQDJUES.js} +6 -6
- package/dist/bundle/{chunk-KV4267S4.js → chunk-P3ASN72F.js} +1 -1
- package/dist/bundle/{chunk-TZVL4U7U.js → chunk-PB252TT3.js} +4 -2
- package/dist/bundle/{chunk-HUOXUI2M.js → chunk-PO74BDER.js} +58 -47
- package/dist/bundle/{chunk-LFKEKSI5.js → chunk-PW3HFIJA.js} +523 -239
- package/dist/bundle/{chunk-5FCONCJO.js → chunk-PWCQC56A.js} +1 -1
- package/dist/bundle/{chunk-XBIPSSKI.js → chunk-QOGYHU3Q.js} +4 -4
- package/dist/bundle/{chunk-JFTCOV37.js → chunk-RG2E7ZQZ.js} +180 -25
- package/dist/bundle/{chunk-R52RMHWF.js → chunk-TMTEWOQS.js} +3 -3
- package/dist/bundle/{chunk-I6JF43YP.js → chunk-TSTEZNSX.js} +3 -3
- package/dist/bundle/{chunk-YPF6OS37.js → chunk-VW6BF6M7.js} +1 -1
- package/dist/bundle/{chunk-SKZ2E3WC.js → chunk-Y64SI2RO.js} +47 -1
- package/dist/bundle/{chunk-DP5LRU7K.js → chunk-YEOSV6JC.js} +1 -1
- package/dist/bundle/{chunk-OX6EWGSG.js → chunk-YHZFGUAP.js} +19 -19
- package/dist/bundle/{chunk-N6TIFJHW.js → chunk-YPRUWRKE.js} +1 -1
- package/dist/bundle/{chunk-PPSUA3IZ.js → chunk-ZMUC3UQO.js} +3 -3
- package/dist/bundle/{chunk-PXMHBTK3.js → chunk-ZXXTJF4Z.js} +4 -4
- package/dist/bundle/command-contract-7GZ6HAA6.js +33 -0
- package/dist/bundle/{decode-W6YPTGJA.js → decode-NMNPLKNR.js} +5 -5
- package/dist/bundle/{dispatch-H7EFNBEH.js → dispatch-OP27MWX5.js} +8 -8
- package/dist/bundle/{echarts-YAWDIC5D.js → echarts-S46LEIPS.js} +2 -2
- package/dist/bundle/{embed-EN4UTLV5.js → embed-I5ZYHGYC.js} +6 -6
- package/dist/bundle/{embedder-HEKHRL7E.js → embedder-LTJI67N2.js} +9 -9
- package/dist/bundle/{entry-2KB6MTCG.js → entry-O6BUPXF7.js} +7 -7
- package/dist/bundle/{failure-3DU3HLBQ.js → failure-4JUQFXJT.js} +2 -2
- package/dist/bundle/{first-run-LBG26WWO.js → first-run-PMZNCDGD.js} +11 -11
- package/dist/bundle/first-screen-BGML5DSO.js +31 -0
- package/dist/bundle/{instructions-HA62QNPR.js → instructions-AUEGY3VO.js} +1 -1
- package/dist/bundle/{mcp-PPVOM4SE.js → mcp-M4QN2E7R.js} +2 -2
- package/dist/bundle/{node-MZ2VWSQQ.js → node-XRA7RBCQ.js} +2 -2
- package/dist/bundle/{node-sqlite-KNNS6DCM.js → node-sqlite-DEZO6LRS.js} +6 -6
- package/dist/bundle/{oauth-KWUABBSQ.js → oauth-DAVC7WCD.js} +7 -7
- package/dist/bundle/{open-JXMCYCIV.js → open-DE2YO4T7.js} +5 -5
- package/dist/bundle/{openai-HL3IR4VT.js → openai-5BKGAULH.js} +14 -14
- package/dist/bundle/{process-K2FICLWY.js → process-4ZHPNUIQ.js} +1 -1
- package/dist/bundle/{program-IFOMT4JS.js → program-EGTKSNB4.js} +51 -51
- package/dist/bundle/{prompt-HVD3Q77P.js → prompt-HWCWHHPE.js} +5 -5
- package/dist/bundle/{proxy-transport-PA5SGMRY.js → proxy-transport-4DPZB2W2.js} +5 -5
- package/dist/bundle/{recognize-HHLVETKI.js → recognize-NG6RXNGF.js} +4 -4
- package/dist/bundle/{remote-HUAKXJCS.js → remote-ZKXIIGYH.js} +7 -7
- package/dist/bundle/{rerank-NWFIV7OF.js → rerank-TX5QFURV.js} +7 -7
- package/dist/bundle/{serve-ANUKAJJN.js → serve-XAS6DECW.js} +9 -9
- package/dist/bundle/{server-7Q7WAOHO.js → server-CNPIWBYU.js} +35 -35
- package/dist/bundle/server-FRTKLHZF.js +60 -0
- package/dist/bundle/{state-Y2AJ5XTP.js → state-3HTUETTS.js} +6 -6
- package/dist/bundle/{store-S3IG5KWL.js → store-B5VZWJHN.js} +23 -13
- package/dist/bundle/store-maintenance-command-VG3CLELA.js +50 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/telegram/account.d.ts.map +1 -1
- package/dist/telegram/account.js +4 -1
- package/dist/telegram/account.js.map +1 -1
- package/dist/telegram/errors.d.ts.map +1 -1
- package/dist/telegram/errors.js +2 -1
- package/dist/telegram/errors.js.map +1 -1
- package/dist/telegram/feature.d.ts +4 -1
- package/dist/telegram/feature.d.ts.map +1 -1
- package/dist/telegram/feature.js +5 -2
- package/dist/telegram/feature.js.map +1 -1
- package/dist/telegram/sending.d.ts.map +1 -1
- package/dist/telegram/sending.js +24 -10
- package/dist/telegram/sending.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/chunk-K2RYCCTP.js +0 -48
- package/dist/bundle/chunk-ZDIAPICE.js +0 -132
- package/dist/bundle/command-contract-DPXM4SZT.js +0 -33
- package/dist/bundle/first-screen-TGTSLUI6.js +0 -31
- package/dist/bundle/server-HCQS4YDQ.js +0 -60
- package/dist/bundle/store-maintenance-command-V2WC4G6J.js +0 -50
- /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-VOXIGICJ.js} +0 -0
|
@@ -2,7 +2,7 @@ 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-FHMK6OK4.js";
|
|
6
6
|
import {
|
|
7
7
|
BotTokenStore,
|
|
8
8
|
apiPlainJson,
|
|
@@ -11,24 +11,24 @@ import {
|
|
|
11
11
|
checkApiParameter,
|
|
12
12
|
generatedApiCommand,
|
|
13
13
|
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-
|
|
14
|
+
} from "./chunk-GXCJ47SJ.js";
|
|
15
|
+
import "./chunk-YEOSV6JC.js";
|
|
16
|
+
import "./chunk-JWIUK3SK.js";
|
|
17
|
+
import "./chunk-5IIU7X4S.js";
|
|
18
|
+
import "./chunk-5LDWBEWU.js";
|
|
19
|
+
import "./chunk-RG2E7ZQZ.js";
|
|
20
|
+
import "./chunk-5QYU7B27.js";
|
|
21
|
+
import "./chunk-PO74BDER.js";
|
|
22
22
|
import {
|
|
23
23
|
newOperationId,
|
|
24
24
|
readUpload,
|
|
25
25
|
uploadBytes
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-DSZJREEO.js";
|
|
27
|
+
import "./chunk-EQJ6NLF5.js";
|
|
28
|
+
import "./chunk-DKFC5ZZ3.js";
|
|
29
|
+
import "./chunk-HJNRIK5X.js";
|
|
30
30
|
import "./chunk-2ABQZVK4.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-H6S3C3MH.js";
|
|
32
32
|
import {
|
|
33
33
|
ChatRegistry,
|
|
34
34
|
DEFAULT_PERMISSIONS,
|
|
@@ -36,38 +36,38 @@ import {
|
|
|
36
36
|
levelFor,
|
|
37
37
|
overrideSharedContract,
|
|
38
38
|
ownerOnlyOption
|
|
39
|
-
} from "./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-
|
|
56
|
-
import "./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-
|
|
66
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-PW3HFIJA.js";
|
|
40
|
+
import "./chunk-65XV5PPI.js";
|
|
41
|
+
import "./chunk-JZETEZHC.js";
|
|
42
|
+
import "./chunk-2KQHUBTV.js";
|
|
43
|
+
import "./chunk-3MQOLYAN.js";
|
|
44
|
+
import "./chunk-VW6BF6M7.js";
|
|
45
|
+
import "./chunk-ZMUC3UQO.js";
|
|
46
|
+
import "./chunk-I4TI5HDJ.js";
|
|
47
|
+
import "./chunk-PB252TT3.js";
|
|
48
|
+
import "./chunk-ZXXTJF4Z.js";
|
|
49
|
+
import "./chunk-GIM37COQ.js";
|
|
50
|
+
import "./chunk-YPRUWRKE.js";
|
|
51
|
+
import "./chunk-JWPSVS6C.js";
|
|
52
|
+
import "./chunk-4BV4UMBB.js";
|
|
53
|
+
import "./chunk-Y64SI2RO.js";
|
|
54
|
+
import "./chunk-GI4MTNA2.js";
|
|
55
|
+
import "./chunk-6ZMTEUVU.js";
|
|
56
|
+
import "./chunk-GLRRCKP6.js";
|
|
57
|
+
import "./chunk-6AXUEJGL.js";
|
|
58
|
+
import "./chunk-TSTEZNSX.js";
|
|
59
|
+
import "./chunk-76EKXFX2.js";
|
|
60
|
+
import "./chunk-NMT2VGEI.js";
|
|
61
|
+
import "./chunk-OTQDJUES.js";
|
|
62
|
+
import "./chunk-JPVFYMSQ.js";
|
|
63
|
+
import "./chunk-G3RT2EQI.js";
|
|
64
|
+
import "./chunk-MZNOASAW.js";
|
|
65
|
+
import "./chunk-P3ASN72F.js";
|
|
66
|
+
import "./chunk-VOXIGICJ.js";
|
|
67
67
|
import "./chunk-D72URWJE.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-JLJKGKU2.js";
|
|
69
|
+
import "./chunk-57LKX6N2.js";
|
|
70
|
+
import "./chunk-YHZFGUAP.js";
|
|
71
71
|
import {
|
|
72
72
|
array,
|
|
73
73
|
boolean,
|
|
@@ -82,12 +82,12 @@ import {
|
|
|
82
82
|
string,
|
|
83
83
|
transform,
|
|
84
84
|
union
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-EPCFXKTX.js";
|
|
86
86
|
import "./chunk-Y5E2WNWB.js";
|
|
87
87
|
import {
|
|
88
88
|
CliError
|
|
89
|
-
} from "./chunk-
|
|
90
|
-
import "./chunk-
|
|
89
|
+
} from "./chunk-BXTDAGM4.js";
|
|
90
|
+
import "./chunk-PWCQC56A.js";
|
|
91
91
|
import {
|
|
92
92
|
__name
|
|
93
93
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -34551,7 +34551,7 @@ If you'd like to make sure that the webhook was set by you, you can specify secr
|
|
|
34551
34551
|
}
|
|
34552
34552
|
];
|
|
34553
34553
|
|
|
34554
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
34554
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
|
|
34555
34555
|
var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
|
|
34556
34556
|
var INTEGER = /^-?\d+$/;
|
|
34557
34557
|
var INT64_MIN = -(2n ** 63n);
|
|
@@ -5,30 +5,30 @@ import {
|
|
|
5
5
|
toCliError,
|
|
6
6
|
toHistoryChannel,
|
|
7
7
|
toHistoryMessages
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TMTEWOQS.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-
|
|
11
|
+
} from "./chunk-NUCDEOFC.js";
|
|
12
|
+
import "./chunk-JWIUK3SK.js";
|
|
13
|
+
import "./chunk-DKFC5ZZ3.js";
|
|
14
|
+
import "./chunk-65XV5PPI.js";
|
|
15
|
+
import "./chunk-JWPSVS6C.js";
|
|
16
|
+
import "./chunk-4BV4UMBB.js";
|
|
17
|
+
import "./chunk-Y64SI2RO.js";
|
|
18
|
+
import "./chunk-GI4MTNA2.js";
|
|
19
|
+
import "./chunk-6ZMTEUVU.js";
|
|
20
|
+
import "./chunk-G3RT2EQI.js";
|
|
21
|
+
import "./chunk-VOXIGICJ.js";
|
|
22
|
+
import "./chunk-JLJKGKU2.js";
|
|
23
|
+
import "./chunk-57LKX6N2.js";
|
|
24
|
+
import "./chunk-YHZFGUAP.js";
|
|
25
|
+
import "./chunk-EPCFXKTX.js";
|
|
26
26
|
import "./chunk-Y5E2WNWB.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError,
|
|
29
29
|
isCliError
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-BXTDAGM4.js";
|
|
31
|
+
import "./chunk-PWCQC56A.js";
|
|
32
32
|
import {
|
|
33
33
|
__name
|
|
34
34
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PWCQC56A.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.608.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._981e87e6afb3f510e9b2b59ded3c7286/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,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-EPXVRJAX.js";
|
|
7
|
+
import "./chunk-YHZFGUAP.js";
|
|
8
|
+
import "./chunk-EPCFXKTX.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-BXTDAGM4.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.608.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._981e87e6afb3f510e9b2b59ded3c7286/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
18
18
|
var customised = false;
|
|
19
19
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
20
20
|
try {
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
updateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3MQOLYAN.js";
|
|
6
6
|
import {
|
|
7
7
|
QUESTIONS,
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZMUC3UQO.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GI4MTNA2.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6ZMTEUVU.js";
|
|
19
19
|
import {
|
|
20
20
|
storePath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-G3RT2EQI.js";
|
|
22
22
|
import {
|
|
23
23
|
installerOf
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-P3ASN72F.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.80.8_commander@15._981e87e6afb3f510e9b2b59ded3c7286/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-B5VZWJHN.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-DE2YO4T7.js"),
|
|
117
|
+
import("./store-maintenance-command-VG3CLELA.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-BGML5DSO.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
199
199
|
contentLanguages: start.contentLanguages,
|
|
200
200
|
all: start.path[0] === "setup",
|
|
201
201
|
io: {
|
|
202
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
202
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-HWCWHHPE.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
203
203
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
204
204
|
`), "say")
|
|
205
205
|
}
|