@wirecat/tg-cli 0.130.0 → 0.132.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-2XFPXBTA.js → adapter-OXVMOWVE.js} +60 -60
- package/dist/bundle/{all-profiles-GXFPZLYU.js → all-profiles-6OQC7PBL.js} +9 -9
- package/dist/bundle/{anthropic-FHS5XNK5.js → anthropic-YFMIHFW5.js} +5 -5
- package/dist/bundle/{app-server-IZMFSFP2.js → app-server-S7CJPJXN.js} +52 -52
- package/dist/bundle/{bot-api-V3ZJ75KE.js → bot-api-KJ6EZ4R6.js} +61 -61
- package/dist/bundle/{bot-history-EJQOD4AQ.js → bot-history-JYCXDFW4.js} +22 -22
- package/dist/bundle/{bun-GBAZFRCV.js → bun-FVTOBYZ2.js} +2 -2
- package/dist/bundle/{bun-sqlite-JB4BX6X7.js → bun-sqlite-KDGWBNOR.js} +6 -6
- package/dist/bundle/{chunk-KY3JLXW2.js → chunk-2LZD2VFV.js} +4 -4
- package/dist/bundle/{chunk-JUFLELQ7.js → chunk-2UGSIHLV.js} +2 -2
- package/dist/bundle/{chunk-TGRB4SSZ.js → chunk-3QHKZLBU.js} +4 -4
- package/dist/bundle/{chunk-6M3FAHPS.js → chunk-42MXCMW6.js} +3 -3
- package/dist/bundle/{chunk-HT6OFANN.js → chunk-44A2XRDE.js} +20 -20
- package/dist/bundle/{chunk-QJLCEOAP.js → chunk-4CKYANQH.js} +1 -1
- package/dist/bundle/{chunk-AUNNJDVD.js → chunk-4EDJJQJI.js} +28 -8
- package/dist/bundle/{chunk-2JZJPVBH.js → chunk-4YB7JU2W.js} +6 -6
- package/dist/bundle/{chunk-CLG2ISQH.js → chunk-4ZTVJHWU.js} +4 -4
- package/dist/bundle/{chunk-F6MLJ3V5.js → chunk-5RDNBG7D.js} +2 -2
- package/dist/bundle/{chunk-6JBRQ6PM.js → chunk-5UPEEMEF.js} +61 -19
- package/dist/bundle/{chunk-SYZXOEHY.js → chunk-6LPUK62N.js} +3 -3
- package/dist/bundle/{chunk-NRCY3WBC.js → chunk-74UPKW7H.js} +2 -2
- package/dist/bundle/{chunk-QDEP2QOA.js → chunk-7SEVVE3X.js} +3 -3
- package/dist/bundle/{chunk-PS7ZS5HD.js → chunk-A5D3J7XZ.js} +4 -4
- package/dist/bundle/{chunk-3XMUP55N.js → chunk-AERP2QR6.js} +10 -10
- package/dist/bundle/{chunk-RZPMFVWM.js → chunk-AUZWIBHJ.js} +6 -6
- package/dist/bundle/{chunk-OWVQMK7G.js → chunk-B4LGDOG5.js} +528 -389
- package/dist/bundle/{chunk-B6NQJAUC.js → chunk-BLZEQVP4.js} +2 -2
- package/dist/bundle/{chunk-GGGBPWUS.js → chunk-BMI2NWFI.js} +8 -8
- package/dist/bundle/{chunk-EB2JE722.js → chunk-BSXS7VAC.js} +1 -1
- package/dist/bundle/{chunk-FIO5NMK3.js → chunk-CFWFESBO.js} +8 -8
- package/dist/bundle/{chunk-QFVIHBLD.js → chunk-DSJNZXTP.js} +1 -1
- package/dist/bundle/{chunk-F6CV4KUN.js → chunk-DXPGMUOR.js} +2 -2
- package/dist/bundle/{chunk-IV6SIKVH.js → chunk-EPR67IRV.js} +4 -4
- package/dist/bundle/{chunk-BMSS3PCY.js → chunk-ESOFH7PA.js} +37 -30
- package/dist/bundle/{chunk-XXW6PFAX.js → chunk-FIUH52FE.js} +1 -1
- package/dist/bundle/{chunk-4BJAQNJ5.js → chunk-FKGYXIN7.js} +7 -7
- package/dist/bundle/{chunk-VSPSHBAC.js → chunk-FPSRT2TX.js} +2 -2
- package/dist/bundle/{chunk-OKTRB4ZQ.js → chunk-HBSKP7OV.js} +1 -1
- package/dist/bundle/{chunk-RAFK5KXU.js → chunk-IY7CTAOQ.js} +9 -9
- package/dist/bundle/{chunk-66UG67CE.js → chunk-IYJ4B632.js} +14 -13
- package/dist/bundle/{chunk-FH4YIBBH.js → chunk-JDNDWZYS.js} +4 -4
- package/dist/bundle/{chunk-C4ALE7CH.js → chunk-JMJOWT4N.js} +1 -1
- package/dist/bundle/{chunk-ZRQQOGAZ.js → chunk-JNWKV3QV.js} +4 -4
- package/dist/bundle/{chunk-2LPODKIF.js → chunk-JPSRC732.js} +17 -115
- package/dist/bundle/{chunk-SZB5WRMI.js → chunk-JZJV3DYK.js} +2 -2
- package/dist/bundle/{chunk-S5UTBEV3.js → chunk-KJICORS4.js} +38 -37
- package/dist/bundle/{chunk-RPWYTOLI.js → chunk-LF6FACSW.js} +5 -5
- package/dist/bundle/{chunk-QJDHRBXL.js → chunk-LG3K5NHX.js} +7 -7
- package/dist/bundle/{chunk-6WGAWISN.js → chunk-LMGVPDXN.js} +2 -2
- package/dist/bundle/{chunk-EUL7HMUL.js → chunk-LZ3HFDYL.js} +2 -2
- package/dist/bundle/{chunk-B5RGPZDZ.js → chunk-M2TV6BDB.js} +7 -7
- package/dist/bundle/{chunk-3KZG63EH.js → chunk-N5LZ6L4D.js} +3 -3
- package/dist/bundle/{chunk-O2ULG7OO.js → chunk-NLRGMP7M.js} +3 -3
- package/dist/bundle/{chunk-GYCKRIRK.js → chunk-NWCFO37P.js} +3 -3
- package/dist/bundle/{chunk-QBNEWEJC.js → chunk-NWDADTPE.js} +3 -3
- package/dist/bundle/{chunk-42LRWOTT.js → chunk-O3AM32YN.js} +15 -15
- package/dist/bundle/{chunk-7F3LOHRB.js → chunk-O43PARFS.js} +170 -162
- package/dist/bundle/{chunk-IRWSZJYL.js → chunk-OGZZUDJJ.js} +54 -54
- package/dist/bundle/{chunk-M327UNS6.js → chunk-OIRNHSAH.js} +6 -6
- package/dist/bundle/{chunk-XHX5D5VE.js → chunk-PG37E63A.js} +174 -72
- package/dist/bundle/{chunk-PWQKGFS2.js → chunk-PR4F3TYK.js} +30 -30
- package/dist/bundle/{chunk-I5PILOTU.js → chunk-PYECFCPD.js} +1 -1
- package/dist/bundle/{chunk-MVFSWKTM.js → chunk-QNEAPLOP.js} +12 -12
- package/dist/bundle/{chunk-VTJ3AOTT.js → chunk-QS46C5SW.js} +17 -17
- package/dist/bundle/{chunk-X5H5NERR.js → chunk-SMQ45RZX.js} +6 -6
- package/dist/bundle/{chunk-IBSHQWIJ.js → chunk-U7PHJSTX.js} +2 -2
- package/dist/bundle/{chunk-CKJ73EF3.js → chunk-UAFSDTID.js} +1 -1
- package/dist/bundle/{chunk-HHUK3XO5.js → chunk-UGD4SCUI.js} +1 -1
- package/dist/bundle/{chunk-MS6YEIG5.js → chunk-WAVRUADL.js} +13 -13
- package/dist/bundle/{chunk-VXWDQDRU.js → chunk-Y57EKZZK.js} +795 -467
- package/dist/bundle/{chunk-LQPZDDDP.js → chunk-YAPO7QNO.js} +6 -6
- package/dist/bundle/{chunk-G2SMVYBU.js → chunk-YRXSNH3R.js} +2 -2
- package/dist/bundle/{chunk-OJMDKWWL.js → chunk-YSNQGOUI.js} +2268 -1354
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-YVI5SQPY.js} +1 -1
- package/dist/bundle/{chunk-GSHTLLCJ.js → chunk-ZJIGVT6Z.js} +2 -2
- package/dist/bundle/{chunk-LPT5T6PU.js → chunk-ZRW3DF25.js} +24 -24
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-ZZ32DXTH.js} +1 -1
- package/dist/bundle/command-contract-FRH7LBGE.js +37 -0
- package/dist/bundle/{command-server-entry-YR6ONDWO.js → command-server-entry-TM264M2J.js} +27 -27
- package/dist/bundle/{decode-VUKGWFSW.js → decode-RJFOSHCE.js} +5 -5
- package/dist/bundle/{dispatch-ST5FK2KI.js → dispatch-7OZP3X4O.js} +8 -8
- package/dist/bundle/{echarts-GOV5M733.js → echarts-PYKF4D7B.js} +2 -2
- package/dist/bundle/{embed-2IVIYNAJ.js → embed-JFN6Z5TG.js} +6 -6
- package/dist/bundle/{embedder-2HU7JYZK.js → embedder-WN54JIMY.js} +9 -9
- package/dist/bundle/{entry-CSTCXYI5.js → entry-Z6LO6N6S.js} +9 -9
- package/dist/bundle/{failure-GMUQKQ5K.js → failure-UONA2IA5.js} +2 -2
- package/dist/bundle/{first-run-3IZGXZT5.js → first-run-WQAKES7G.js} +12 -12
- package/dist/bundle/first-screen-4RFG22SA.js +35 -0
- package/dist/bundle/{instructions-YSXV6FAC.js → instructions-PR4BBBTM.js} +1 -1
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-O6ACR2DX.js} +2 -2
- package/dist/bundle/meeting-combined-MHWTZOF2.js +23 -0
- package/dist/bundle/{meeting-model-FQBDHGRU.js → meeting-model-YVTUOM4H.js} +11 -11
- package/dist/bundle/{meeting-semantic-ONNEOJX5.js → meeting-semantic-X4KG6RNV.js} +6 -6
- package/dist/bundle/{node-FMQWCZRS.js → node-OVS5LTVZ.js} +2 -2
- package/dist/bundle/{node-sqlite-YN5OKOC6.js → node-sqlite-LC44SM4Z.js} +7 -7
- package/dist/bundle/{oauth-EW7PTZVT.js → oauth-NSVUFQCW.js} +7 -7
- package/dist/bundle/{open-Q2RDY344.js → open-XN5SJFVY.js} +5 -5
- package/dist/bundle/{openai-STON6G3O.js → openai-WOYZHJNL.js} +15 -15
- package/dist/bundle/{process-OQUC2TW3.js → process-UFBRGTQC.js} +1 -1
- package/dist/bundle/{program-N5BT75OC.js → program-RAGBRRQH.js} +65 -65
- package/dist/bundle/{prompt-WHVF7UTW.js → prompt-6HAKBUQN.js} +5 -5
- package/dist/bundle/{proxy-transport-A4MRO3PF.js → proxy-transport-5EJVFUTC.js} +5 -5
- package/dist/bundle/{recognize-YDQWMXNI.js → recognize-CN5COBVJ.js} +4 -4
- package/dist/bundle/{remote-477LQHP6.js → remote-STX5AMGE.js} +9 -9
- package/dist/bundle/{rerank-4YPB26FG.js → rerank-ZCOWTXIJ.js} +7 -7
- package/dist/bundle/{serve-FXJNUOTS.js → serve-XMQEOIG2.js} +9 -9
- package/dist/bundle/{server-2S6HFBGR.js → server-PGGUD3DM.js} +44 -44
- package/dist/bundle/server-WTNYWCZ4.js +69 -0
- package/dist/bundle/{sqlite-runtime-RXYNJYMC.js → sqlite-runtime-PS4DSOIU.js} +6 -6
- package/dist/bundle/{state-I2GGYGRL.js → state-GL4ZC57O.js} +6 -6
- package/dist/bundle/{store-KX3AAQZH.js → store-HJ76TLWD.js} +19 -19
- package/dist/bundle/{store-VQXIB6KV.js → store-VISFXSHL.js} +17 -17
- package/dist/bundle/store-maintenance-command-SMARMN5C.js +60 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +11 -9
- package/dist/bundle/command-contract-G752BLKA.js +0 -37
- package/dist/bundle/first-screen-7QSNCZIK.js +0 -35
- package/dist/bundle/meeting-combined-X4E3LSIJ.js +0 -23
- package/dist/bundle/server-UOSUTZNE.js +0 -69
- package/dist/bundle/store-maintenance-command-LW2MMDLY.js +0 -60
- /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-VKE77B3F.js} +0 -0
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UAFSDTID.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.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/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-LZ3HFDYL.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-FPSRT2TX.js";
|
|
10
|
+
import "./chunk-44A2XRDE.js";
|
|
11
|
+
import "./chunk-4EDJJQJI.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-5RDNBG7D.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.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/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 {
|
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O43PARFS.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4EDJJQJI.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5RDNBG7D.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NLRGMP7M.js";
|
|
9
9
|
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.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YRXSNH3R.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5RDNBG7D.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var EMPTY_TRIES = 3;
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
string,
|
|
20
20
|
text,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4EDJJQJI.js";
|
|
23
23
|
import {
|
|
24
24
|
CliError,
|
|
25
25
|
visibleControls
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5RDNBG7D.js";
|
|
27
27
|
import {
|
|
28
28
|
__commonJS,
|
|
29
29
|
__name,
|
|
@@ -1896,7 +1896,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1896
1896
|
}
|
|
1897
1897
|
});
|
|
1898
1898
|
|
|
1899
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1899
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
1900
1900
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
1901
1901
|
if (signal?.aborted)
|
|
1902
1902
|
return Promise.reject(signal.reason);
|
|
@@ -1924,7 +1924,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
1924
1924
|
});
|
|
1925
1925
|
}, "waitForDrain");
|
|
1926
1926
|
|
|
1927
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1927
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
1928
1928
|
var processStreams = {
|
|
1929
1929
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
1930
1930
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -1953,7 +1953,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
1953
1953
|
};
|
|
1954
1954
|
}, "captureStreams");
|
|
1955
1955
|
|
|
1956
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1956
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
1957
1957
|
var DEFAULT_RETRY = {
|
|
1958
1958
|
retries: 1,
|
|
1959
1959
|
baseDelayMs: 250,
|
|
@@ -1965,7 +1965,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
1965
1965
|
return Math.round(random() * ceiling);
|
|
1966
1966
|
}, "backoffMs");
|
|
1967
1967
|
|
|
1968
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1968
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
|
|
1969
1969
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
1970
1970
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
1971
1971
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -1977,7 +1977,7 @@ var fieldsOf = /* @__PURE__ */ __name((value) => {
|
|
|
1977
1977
|
return [...new Set(paths)];
|
|
1978
1978
|
}, "fieldsOf");
|
|
1979
1979
|
var object2 = /* @__PURE__ */ __name((value) => value !== null && typeof value === "object" && !Array.isArray(value), "object");
|
|
1980
|
-
var retained = /* @__PURE__ */ new Set(["operation_id", "page", "next", "missing", "meta", "coverage"]);
|
|
1980
|
+
var retained = /* @__PURE__ */ new Set(["operation_id", "page", "next", "missing", "meta", "coverage", "untrusted"]);
|
|
1981
1981
|
var itemPaths = /* @__PURE__ */ __name((paths) => paths.map((path) => path.startsWith("items.") ? path.slice(6) : path), "itemPaths");
|
|
1982
1982
|
var onePaths = /* @__PURE__ */ __name((paths) => paths.map((path) => path.startsWith("item.") ? path.slice(5) : path), "onePaths");
|
|
1983
1983
|
var select = /* @__PURE__ */ __name((value, paths) => {
|
|
@@ -2030,7 +2030,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2030
2030
|
return project(value, fields);
|
|
2031
2031
|
}, "projectFields");
|
|
2032
2032
|
|
|
2033
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2033
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
2034
2034
|
var BATCH_LIMITS = Object.freeze({
|
|
2035
2035
|
requests: 32,
|
|
2036
2036
|
input_bytes: 262144,
|
|
@@ -2157,7 +2157,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2157
2157
|
};
|
|
2158
2158
|
}, "runBatch");
|
|
2159
2159
|
|
|
2160
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2160
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2161
2161
|
import { randomBytes } from "node:crypto";
|
|
2162
2162
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2163
2163
|
import { dirname, join } from "node:path";
|
|
@@ -2201,16 +2201,16 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2201
2201
|
`, 384);
|
|
2202
2202
|
}, "saveConfigFile");
|
|
2203
2203
|
|
|
2204
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2204
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
|
|
2205
2205
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2206
2206
|
var baseConstantsSchema = object({});
|
|
2207
2207
|
var LayerSchema = record(string(), unknown());
|
|
2208
2208
|
|
|
2209
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2209
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2210
2210
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2211
2211
|
import { join as join3, resolve } from "node:path";
|
|
2212
2212
|
|
|
2213
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2213
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
2214
2214
|
import { createRequire } from "node:module";
|
|
2215
2215
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2216
2216
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2236,7 +2236,7 @@ var systemKeyring = {
|
|
|
2236
2236
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2237
2237
|
};
|
|
2238
2238
|
|
|
2239
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2239
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
2240
2240
|
import { realpathSync } from "node:fs";
|
|
2241
2241
|
import { homedir, userInfo } from "node:os";
|
|
2242
2242
|
import { join as join2, posix, win32 } from "node:path";
|
|
@@ -2310,7 +2310,7 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
2310
2310
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
2311
2311
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join2(configDir, fileName), "configFilePath");
|
|
2312
2312
|
|
|
2313
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2313
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2314
2314
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2315
2315
|
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
2316
2316
|
var Credentials = class {
|
|
@@ -2445,7 +2445,7 @@ var Credentials = class {
|
|
|
2445
2445
|
}
|
|
2446
2446
|
};
|
|
2447
2447
|
|
|
2448
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2448
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2449
2449
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2450
2450
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2451
2451
|
if (signal?.aborted) {
|
|
@@ -2459,10 +2459,10 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2459
2459
|
}, { once: true });
|
|
2460
2460
|
}), "realSleep");
|
|
2461
2461
|
|
|
2462
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2462
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2463
2463
|
import { appendFileSync } from "node:fs";
|
|
2464
2464
|
|
|
2465
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2465
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
|
|
2466
2466
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
2467
2467
|
var logRecordSchema = strictObject({
|
|
2468
2468
|
time: isoTime,
|
|
@@ -2540,7 +2540,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
2540
2540
|
return traceId;
|
|
2541
2541
|
}, "traceIdOf");
|
|
2542
2542
|
|
|
2543
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2543
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2544
2544
|
var REDACTED_FIELDS = [
|
|
2545
2545
|
"authorization",
|
|
2546
2546
|
"Authorization",
|
|
@@ -2634,7 +2634,7 @@ var silent = {
|
|
|
2634
2634
|
}, "error")
|
|
2635
2635
|
};
|
|
2636
2636
|
|
|
2637
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2637
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2638
2638
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2639
2639
|
import { styleText } from "node:util";
|
|
2640
2640
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2709,7 +2709,7 @@ var BORDERLESS = {
|
|
|
2709
2709
|
middle: ""
|
|
2710
2710
|
};
|
|
2711
2711
|
|
|
2712
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2712
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2713
2713
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2714
2714
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2715
2715
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
errorCodes,
|
|
5
5
|
isCliError,
|
|
6
6
|
visibleControls
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5RDNBG7D.js";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
10
|
} from "./chunk-ZVVMGPBJ.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
12
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
13
13
|
var EXIT_CODES = {
|
|
14
14
|
validation_error: 2,
|
|
15
15
|
configuration_error: 3,
|
|
@@ -271,6 +271,25 @@ function isoTimestamp(message$1) {
|
|
|
271
271
|
}
|
|
272
272
|
__name(isoTimestamp, "isoTimestamp");
|
|
273
273
|
// @__NO_SIDE_EFFECTS__
|
|
274
|
+
function maxEntries(requirement, message$1) {
|
|
275
|
+
return {
|
|
276
|
+
kind: "validation",
|
|
277
|
+
type: "max_entries",
|
|
278
|
+
reference: maxEntries,
|
|
279
|
+
async: false,
|
|
280
|
+
expects: `<=${requirement}`,
|
|
281
|
+
requirement,
|
|
282
|
+
message: message$1,
|
|
283
|
+
"~run"(dataset, config$1) {
|
|
284
|
+
if (!dataset.typed) return dataset;
|
|
285
|
+
const count = Object.keys(dataset.value).length;
|
|
286
|
+
if (dataset.typed && count > this.requirement) _addIssue(this, "entries", dataset, config$1, { received: `${count}` });
|
|
287
|
+
return dataset;
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
__name(maxEntries, "maxEntries");
|
|
292
|
+
// @__NO_SIDE_EFFECTS__
|
|
274
293
|
function maxLength(requirement, message$1) {
|
|
275
294
|
return {
|
|
276
295
|
kind: "validation",
|
|
@@ -1345,7 +1364,7 @@ function unwrap(schema) {
|
|
|
1345
1364
|
}
|
|
1346
1365
|
__name(unwrap, "unwrap");
|
|
1347
1366
|
|
|
1348
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1367
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
|
|
1349
1368
|
var EFFECT_LEVELS = ["none", "read", "write"];
|
|
1350
1369
|
var effectsSchema = strictObject({
|
|
1351
1370
|
remote: picklist(EFFECT_LEVELS),
|
|
@@ -1982,7 +2001,7 @@ function toStandardJsonSchema(schema) {
|
|
|
1982
2001
|
}
|
|
1983
2002
|
__name(toStandardJsonSchema, "toStandardJsonSchema");
|
|
1984
2003
|
|
|
1985
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2004
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
|
|
1986
2005
|
var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
|
|
1987
2006
|
var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
|
|
1988
2007
|
var text = pipe(string(), regex(/\S/, "must not be empty"));
|
|
@@ -2024,7 +2043,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
|
|
|
2024
2043
|
return String(value);
|
|
2025
2044
|
}), "fill");
|
|
2026
2045
|
|
|
2027
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2046
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
|
|
2028
2047
|
var MAX_NEXT_STEPS = 2;
|
|
2029
2048
|
var COMPACT_FLAG = "--compact";
|
|
2030
2049
|
var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
|
|
@@ -2151,7 +2170,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
2151
2170
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
2152
2171
|
].join("\n"), "jsonlOf");
|
|
2153
2172
|
|
|
2154
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2173
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
|
|
2155
2174
|
var CRASH_CODE = "internal_error";
|
|
2156
2175
|
var CRASH_REASON = "command.crashed";
|
|
2157
2176
|
var errorObjectSchema = strictObject({
|
|
@@ -2244,7 +2263,7 @@ var BASE_REASONS = defineReasons([
|
|
|
2244
2263
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
2245
2264
|
]);
|
|
2246
2265
|
|
|
2247
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2266
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
|
|
2248
2267
|
var SAME_COMMAND = "*";
|
|
2249
2268
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
2250
2269
|
var stepSchema = union([
|
|
@@ -2323,7 +2342,7 @@ var STEPS = defineSteps([
|
|
|
2323
2342
|
}
|
|
2324
2343
|
]);
|
|
2325
2344
|
|
|
2326
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2345
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
2327
2346
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
2328
2347
|
if (isCliError(failure))
|
|
2329
2348
|
return failure;
|
|
@@ -2481,6 +2500,7 @@ export {
|
|
|
2481
2500
|
integer,
|
|
2482
2501
|
isoDate,
|
|
2483
2502
|
isoTimestamp,
|
|
2503
|
+
maxEntries,
|
|
2484
2504
|
maxLength,
|
|
2485
2505
|
maxValue,
|
|
2486
2506
|
minLength,
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
filesPresent,
|
|
5
5
|
sharedModelsDirectory
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EPR67IRV.js";
|
|
7
7
|
import {
|
|
8
8
|
readSharedSection,
|
|
9
9
|
sharedConfigPath,
|
|
10
10
|
writeSharedSection
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M2TV6BDB.js";
|
|
12
12
|
import {
|
|
13
13
|
storePath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FPSRT2TX.js";
|
|
15
15
|
import {
|
|
16
16
|
array,
|
|
17
17
|
check,
|
|
@@ -32,15 +32,15 @@ import {
|
|
|
32
32
|
string,
|
|
33
33
|
trim,
|
|
34
34
|
url
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4EDJJQJI.js";
|
|
36
36
|
import {
|
|
37
37
|
CliError
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5RDNBG7D.js";
|
|
39
39
|
import {
|
|
40
40
|
__name
|
|
41
41
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
44
44
|
import { existsSync } from "node:fs";
|
|
45
45
|
import { join } from "node:path";
|
|
46
46
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
singleLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5RDNBG7D.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
|
|
11
11
|
var FIRST_PARTY_TOOLS = [
|
|
12
12
|
{ name: "tg", package: "@wirecat/tg-cli" },
|
|
13
13
|
{ name: "max", package: "@wirecat/max-cli" },
|
|
@@ -31,7 +31,7 @@ var DESCRIBE_FLAG = "--wcat-describe";
|
|
|
31
31
|
var DESCRIBE_MAX_BYTES = 64 * 1024;
|
|
32
32
|
var DISPATCH_FLAG = "--wcat-dispatch";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
|
|
35
35
|
var DESCRIBE_FORMAT = 1;
|
|
36
36
|
var DESCRIBE_MANIFEST_FORMAT = 2;
|
|
37
37
|
var describeAnswer = /* @__PURE__ */ __name((tool, manifest) => {
|
|
@@ -74,7 +74,7 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
|
|
|
74
74
|
};
|
|
75
75
|
}, "parseDescribe");
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
|
|
78
78
|
import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
79
79
|
import { join } from "node:path";
|
|
80
80
|
var SHIM_FORMAT = 2;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
|
|
8
8
|
var errorCodes = [
|
|
9
9
|
"validation_error",
|
|
10
10
|
"configuration_error",
|
|
@@ -39,7 +39,7 @@ var CliError = class extends Error {
|
|
|
39
39
|
};
|
|
40
40
|
var isCliError = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && value[BRAND] === true, "isCliError");
|
|
41
41
|
|
|
42
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
42
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
|
|
43
43
|
var CONTROL = (
|
|
44
44
|
// biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
|
|
45
45
|
/[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
|