@wirecat/tg-cli 0.121.0 → 0.123.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 +15 -0
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-GVSBFSBY.js → adapter-GAOG65O2.js} +46 -46
- package/dist/bundle/{all-profiles-CTOGU4XR.js → all-profiles-HLE6PHNI.js} +8 -8
- package/dist/bundle/{anthropic-7472H6ES.js → anthropic-FZC4BS7T.js} +4 -4
- package/dist/bundle/{app-server-GZWV4NPR.js → app-server-SHZNMV27.js} +40 -40
- package/dist/bundle/{bot-api-PPVAKICN.js → bot-api-LRS2KMDE.js} +46 -46
- package/dist/bundle/{bot-history-7YY7MCR4.js → bot-history-IJ7ZZKW5.js} +16 -16
- package/dist/bundle/{bun-KCN62RMD.js → bun-FACL53HM.js} +2 -2
- package/dist/bundle/{bun-sqlite-2BNE56MY.js → bun-sqlite-B2MD7RTL.js} +8 -4
- package/dist/bundle/{chunk-BJTJBNR7.js → chunk-3BUQXB7B.js} +7 -7
- package/dist/bundle/{chunk-T7ONSJAA.js → chunk-3JISIGLP.js} +2 -2
- package/dist/bundle/{chunk-MKAKM3V7.js → chunk-3P7HWXDJ.js} +3 -3
- package/dist/bundle/{chunk-U6HEZPCR.js → chunk-3S6KZCZ7.js} +1 -1
- package/dist/bundle/{chunk-MAPJUOTD.js → chunk-4DCFLHLN.js} +3 -3
- package/dist/bundle/{chunk-6LRKWXCS.js → chunk-5IHYZ6ED.js} +11 -11
- package/dist/bundle/{chunk-7DPWVKYS.js → chunk-5R5HGV2J.js} +2 -2
- package/dist/bundle/{chunk-7UIMMQOV.js → chunk-6FK2Z75N.js} +2 -2
- package/dist/bundle/{chunk-CPDYPZIG.js → chunk-6KT5BTWL.js} +192 -153
- package/dist/bundle/{chunk-QQ264PXQ.js → chunk-7EFJHLKW.js} +1 -1
- package/dist/bundle/{chunk-NR7PGYPO.js → chunk-ADI5R2MM.js} +29 -29
- package/dist/bundle/{chunk-RZX7RDXY.js → chunk-B6G3TNN4.js} +14 -14
- package/dist/bundle/{chunk-M47CXY5J.js → chunk-BAB3ALHZ.js} +27 -24
- package/dist/bundle/{chunk-4HJCWFPN.js → chunk-BGUYYKS3.js} +48 -48
- package/dist/bundle/{chunk-3EGVR7OF.js → chunk-DEMGDKCX.js} +97 -81
- package/dist/bundle/{chunk-VAAZL6OD.js → chunk-E2Z4C6CQ.js} +2 -2
- package/dist/bundle/{chunk-ZSW7LN7T.js → chunk-EABZ2CUG.js} +15 -14
- package/dist/bundle/{chunk-M73VM67N.js → chunk-EISV5YWD.js} +1493 -1001
- package/dist/bundle/{chunk-24DWSW6H.js → chunk-ENEMZAIJ.js} +12 -11
- package/dist/bundle/{chunk-AYDLA27G.js → chunk-EOUUI5FI.js} +3 -3
- package/dist/bundle/{chunk-Y4CSR5RP.js → chunk-FFHX7VKP.js} +1 -1
- package/dist/bundle/{chunk-7I6YVQHW.js → chunk-HJLTWT52.js} +1 -1
- package/dist/bundle/{chunk-DG44ORQ3.js → chunk-I7K4OR5Q.js} +4 -4
- package/dist/bundle/chunk-KKMNMQMW.js +53 -0
- package/dist/bundle/{chunk-W77WC6ZK.js → chunk-MFN5MSIL.js} +3 -3
- package/dist/bundle/{chunk-KVW7LCZK.js → chunk-NYRAW4M5.js} +3 -3
- package/dist/bundle/chunk-OE5JMZSM.js +185 -0
- package/dist/bundle/{chunk-R6KXHBMW.js → chunk-OOWE2O5U.js} +1 -1
- package/dist/bundle/{chunk-YRY752BB.js → chunk-PAHSIORC.js} +5 -5
- package/dist/bundle/{chunk-3E35VJME.js → chunk-PZJXQMSZ.js} +1 -1
- package/dist/bundle/{chunk-KKD5ZPGD.js → chunk-PZQ2MQFX.js} +5 -5
- package/dist/bundle/{chunk-TEMCXODM.js → chunk-Q74XVJFT.js} +1 -1
- package/dist/bundle/{chunk-CMEWPXKU.js → chunk-QLB3BFSN.js} +1 -1
- package/dist/bundle/{chunk-S7P5X23R.js → chunk-QLXKWAET.js} +38 -11
- package/dist/bundle/{chunk-PLBEUSZP.js → chunk-QVMAZVSN.js} +1 -1
- package/dist/bundle/{chunk-YMJKHMHX.js → chunk-RDKPKS2P.js} +1 -1
- package/dist/bundle/{chunk-ESLV57MC.js → chunk-SCGCDLI7.js} +1 -1
- package/dist/bundle/{chunk-WGGSFGNZ.js → chunk-SMFUKHG2.js} +24 -0
- package/dist/bundle/{chunk-3HNI6GI7.js → chunk-SNEJK4SN.js} +4 -4
- package/dist/bundle/{chunk-SHIHW2YN.js → chunk-STPYSD6W.js} +2 -2
- package/dist/bundle/{chunk-RPBO5XL3.js → chunk-SWGGYBCW.js} +13 -13
- package/dist/bundle/{chunk-SQWTUENZ.js → chunk-T5OO7VDT.js} +306 -261
- package/dist/bundle/{chunk-QNNUNGPL.js → chunk-U5FILNK6.js} +2 -2
- package/dist/bundle/{chunk-KPAUPIC3.js → chunk-UB6J5HRW.js} +3 -3
- package/dist/bundle/{chunk-VPNLTNQD.js → chunk-UBFDPLFQ.js} +5 -5
- package/dist/bundle/{chunk-DAK2J3FG.js → chunk-V23X3W2W.js} +7 -7
- package/dist/bundle/{chunk-QMNUQTA2.js → chunk-V4722KYX.js} +1 -1
- package/dist/bundle/{chunk-GB55EDOF.js → chunk-V4JEZFW5.js} +1 -1
- package/dist/bundle/{chunk-6SQAE7NM.js → chunk-VVRWH5VH.js} +7 -7
- package/dist/bundle/{chunk-4J34T6IQ.js → chunk-WA7YED3Y.js} +1 -1
- package/dist/bundle/{chunk-CLMRF6XR.js → chunk-WSLTW6MI.js} +2 -2
- package/dist/bundle/{chunk-5P43K3GL.js → chunk-XDL4L3OI.js} +24584 -23597
- package/dist/bundle/{chunk-7MXRFFIT.js → chunk-Z5HHBTS5.js} +2 -2
- package/dist/bundle/{chunk-LTAHG7BO.js → chunk-ZJPXRW65.js} +3 -3
- package/dist/bundle/{chunk-FATTEYZH.js → chunk-ZOBRYIUG.js} +1 -1
- package/dist/bundle/{chunk-FERGNQYA.js → chunk-ZQ3WGGKK.js} +12 -12
- package/dist/bundle/command-contract-HWSWHMO4.js +33 -0
- package/dist/bundle/{command-server-entry-37PKBJ5A.js → command-server-entry-5LKDRLEX.js} +69 -53
- package/dist/bundle/{decode-F7KC7WT4.js → decode-L4DQDHXA.js} +4 -4
- package/dist/bundle/{dispatch-U2DW6UI7.js → dispatch-PQSCFHEX.js} +1 -1
- package/dist/bundle/{echarts-4VYG66GX.js → echarts-6LES2JIV.js} +2 -2
- package/dist/bundle/{embed-ENZ6R4HF.js → embed-T5MLKX75.js} +5 -5
- package/dist/bundle/{embedder-4CBICMFO.js → embedder-56NMRLC5.js} +8 -8
- package/dist/bundle/{entry-XQ562EDO.js → entry-U5GV6Y46.js} +7 -7
- package/dist/bundle/{failure-HJD7S5UA.js → failure-BX5HJAQE.js} +1 -1
- package/dist/bundle/{first-run-PPXOC6ID.js → first-run-ISQ52V3I.js} +8 -8
- package/dist/bundle/first-screen-7L4AMZDO.js +31 -0
- package/dist/bundle/{instructions-XLCMJ5PJ.js → instructions-CJEXDI7E.js} +1 -1
- package/dist/bundle/{node-SSAC67R5.js → node-QLWTGZW7.js} +2 -2
- package/dist/bundle/{node-sqlite-SUUUSYSZ.js → node-sqlite-X2C3RR2Q.js} +9 -5
- package/dist/bundle/{oauth-2ZNHMPEX.js → oauth-VP3KMHLX.js} +6 -6
- package/dist/bundle/{open-EFNT7V2Q.js → open-GLR5EUZS.js} +4 -4
- package/dist/bundle/{openai-7STFVJXA.js → openai-6CDCJ5LQ.js} +12 -12
- package/dist/bundle/{process-63F4PNWH.js → process-7FABZ3T2.js} +1 -1
- package/dist/bundle/{program-C2E3TQNK.js → program-KUIAHJDX.js} +49 -49
- package/dist/bundle/{prompt-QPO7EKD5.js → prompt-XPHIZMD2.js} +4 -4
- package/dist/bundle/{proxy-transport-ENU2SJYT.js → proxy-transport-IIB7ZXIS.js} +4 -4
- package/dist/bundle/{recognize-MLXEHFYL.js → recognize-FVFYI3XX.js} +3 -3
- package/dist/bundle/{remote-DO7FLJEF.js → remote-3AMCG2P4.js} +6 -6
- package/dist/bundle/{rerank-W3WSBDAM.js → rerank-XV4E25ML.js} +6 -6
- package/dist/bundle/{serve-Z3TOTEMQ.js → serve-NVSZA4UN.js} +8 -8
- package/dist/bundle/{server-BYSOJCUA.js → server-MBMPHRJE.js} +31 -31
- package/dist/bundle/server-MHVGYRQZ.js +61 -0
- package/dist/bundle/{state-PKRPBCMY.js → state-JBMB2QUR.js} +5 -5
- package/dist/bundle/{store-Y4G7CNJT.js → store-T4SCYTY2.js} +11 -11
- package/dist/bundle/store-maintenance-command-F7WQMTMP.js +49 -0
- package/dist/bundle/tg.js +6 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/chunk-54KFRAHF.js +0 -35
- package/dist/bundle/chunk-GNGYV5NX.js +0 -116
- package/dist/bundle/command-contract-3W73W27G.js +0 -33
- package/dist/bundle/first-screen-JC6BYZYD.js +0 -31
- package/dist/bundle/server-IRUVLXD4.js +0 -61
- package/dist/bundle/store-maintenance-command-PHK43OSM.js +0 -49
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZJPXRW65.js";
|
|
11
11
|
import {
|
|
12
12
|
Command,
|
|
13
13
|
Help,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
environmentOf,
|
|
19
19
|
metaOf,
|
|
20
20
|
takesProfile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6KT5BTWL.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SMFUKHG2.js";
|
|
25
25
|
import {
|
|
26
26
|
CliError
|
|
27
27
|
} from "./chunk-VUBZFMGP.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
33
33
|
var SECTIONS = {
|
|
34
34
|
read: "Read",
|
|
35
35
|
write: "Write",
|
|
@@ -95,7 +95,7 @@ var CORE_SECTIONS = {
|
|
|
95
95
|
upgrade: "setup"
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
98
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
99
99
|
var DESCRIPTION = 90;
|
|
100
100
|
var COLUMN = 52;
|
|
101
101
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -134,7 +134,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
134
134
|
`;
|
|
135
135
|
}, "commandsText");
|
|
136
136
|
|
|
137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
138
138
|
var ARGUMENT_KINDS = {
|
|
139
139
|
chat: "chat",
|
|
140
140
|
chats: "chat",
|
|
@@ -326,7 +326,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
326
326
|
command.addHelpText("after", () => commandHelpText(command));
|
|
327
327
|
}, "installCommandHelp");
|
|
328
328
|
|
|
329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
330
330
|
var WIRECAT_TOOLS = [
|
|
331
331
|
{
|
|
332
332
|
command: "tg",
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
agentOf,
|
|
30
30
|
clientHash,
|
|
31
31
|
currentCaller
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VVRWH5VH.js";
|
|
33
33
|
import {
|
|
34
34
|
__name
|
|
35
35
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -541,7 +541,7 @@ function toError(value) {
|
|
|
541
541
|
}
|
|
542
542
|
__name(toError, "toError");
|
|
543
543
|
|
|
544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
545
545
|
var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
|
|
546
546
|
const client = caller?.agent?.client?.name;
|
|
547
547
|
if (client && client !== "unknown")
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
optional,
|
|
10
10
|
pipe,
|
|
11
11
|
safeParse
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SMFUKHG2.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError
|
|
15
15
|
} from "./chunk-VUBZFMGP.js";
|
|
@@ -17,7 +17,7 @@ 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.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/models/options.js
|
|
21
21
|
var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
22
22
|
const parsed = safeParse(schema, options);
|
|
23
23
|
if (!parsed.success) {
|
|
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
|
27
27
|
}, "checkedOptions");
|
|
28
28
|
var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
31
31
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
32
32
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
33
33
|
if (images === void 0)
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|
|
@@ -2,11 +2,11 @@ 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-5R5HGV2J.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_STEMMERS,
|
|
8
8
|
LANGUAGES
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-V23X3W2W.js";
|
|
10
10
|
import {
|
|
11
11
|
installerOf
|
|
12
12
|
} from "./chunk-RX5CJ55S.js";
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
readSetupAnswers,
|
|
16
16
|
unanswered,
|
|
17
17
|
writeSetupAnswers
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-STPYSD6W.js";
|
|
19
19
|
import {
|
|
20
20
|
sharedConfigPath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PAHSIORC.js";
|
|
22
22
|
import {
|
|
23
23
|
storePath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KKMNMQMW.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.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/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-T4SCYTY2.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-GLR5EUZS.js"),
|
|
117
|
+
import("./store-maintenance-command-F7WQMTMP.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-7L4AMZDO.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-XPHIZMD2.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
203
203
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
204
204
|
`), "say")
|
|
205
205
|
}
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
loadConfigFile,
|
|
12
12
|
saveConfigFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3S6KZCZ7.js";
|
|
14
14
|
import {
|
|
15
15
|
number,
|
|
16
16
|
object,
|
|
17
17
|
optional,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SMFUKHG2.js";
|
|
20
20
|
import {
|
|
21
21
|
__name,
|
|
22
22
|
__toESM
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
defineReasons
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SMFUKHG2.js";
|
|
6
6
|
|
|
7
7
|
// dist/reasons.js
|
|
8
8
|
var REASONS = defineReasons([
|
|
@@ -26,7 +26,7 @@ var REASONS = defineReasons([
|
|
|
26
26
|
].map(([reason, code, message]) => ({ reason, code, message, details: [] })));
|
|
27
27
|
|
|
28
28
|
// dist/version.js
|
|
29
|
-
var VERSION = "0.
|
|
29
|
+
var VERSION = "0.123.0";
|
|
30
30
|
|
|
31
31
|
// dist/identity.js
|
|
32
32
|
var TG = {
|