@wirecat/zoom-cli 0.61.0 → 0.63.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/zm.js +2 -2
- package/dist/bundle/{all-profiles-HZLIU6RZ.js → all-profiles-CGGNBINU.js} +8 -8
- package/dist/bundle/answer-policy-V2KDPLDO.js +96 -0
- package/dist/bundle/{anthropic-O2YYPCVK.js → anthropic-KVWPIHFG.js} +4 -4
- package/dist/bundle/{app-server-YYCANTUE.js → app-server-NKKFBTQN.js} +50 -50
- package/dist/bundle/{bun-UEFRULAT.js → bun-XRO6XJHQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-VVYKOY7S.js → bun-sqlite-FWNCLOAR.js} +3 -3
- package/dist/bundle/{chunk-IKZFR645.js → chunk-2DPMYUWQ.js} +10 -10
- package/dist/bundle/{chunk-LX6DO44O.js → chunk-2LLNPNMB.js} +1 -1
- package/dist/bundle/{chunk-P2NRA7E5.js → chunk-2NAM2XQG.js} +2 -2
- package/dist/bundle/{chunk-KXYURHVE.js → chunk-2T7MUSDB.js} +95 -95
- package/dist/bundle/{chunk-S726LZCH.js → chunk-3YBDRVOG.js} +6 -6
- package/dist/bundle/{chunk-4XI4PDEH.js → chunk-4OQVRDTG.js} +20 -20
- package/dist/bundle/{chunk-RSXLI5GP.js → chunk-4OTXE6CF.js} +52 -52
- package/dist/bundle/{chunk-UYAKSUT5.js → chunk-5LMQTEU5.js} +5 -5
- package/dist/bundle/{chunk-BNUNZTOU.js → chunk-5MYLM6SU.js} +44 -26
- package/dist/bundle/{chunk-YESOQEOB.js → chunk-5NLFQ644.js} +543 -288
- package/dist/bundle/{chunk-5NRBNGR3.js → chunk-6R3GMSLR.js} +2 -2
- package/dist/bundle/{chunk-MTAVA2LS.js → chunk-6SK5SHCR.js} +2 -2
- package/dist/bundle/{chunk-H5EAHMQN.js → chunk-6SPWQCJF.js} +11 -11
- package/dist/bundle/{chunk-E4T7IJJO.js → chunk-6URISMGR.js} +26 -26
- package/dist/bundle/{chunk-XZ4OVTA5.js → chunk-72S5TXFN.js} +9 -9
- package/dist/bundle/{chunk-F32GKBMF.js → chunk-7AY3ADNV.js} +5 -5
- package/dist/bundle/{chunk-COU66X3X.js → chunk-7CNRZSAV.js} +4 -4
- package/dist/bundle/{chunk-77GJITSU.js → chunk-7LQLJ7LW.js} +2 -2
- package/dist/bundle/{chunk-KGZHRJ7H.js → chunk-AMIIU3UZ.js} +4 -4
- package/dist/bundle/{chunk-HTGBUE2U.js → chunk-BJPFWPKH.js} +2 -2
- package/dist/bundle/{chunk-2M2U43IF.js → chunk-BNTAQADF.js} +2 -2
- package/dist/bundle/{chunk-PCUPOGKR.js → chunk-BPMKLWHV.js} +4 -4
- package/dist/bundle/{chunk-JKWYXBGK.js → chunk-CXPHUOJR.js} +12 -12
- package/dist/bundle/{chunk-NVN4O5IC.js → chunk-D6FTCPXA.js} +9 -9
- package/dist/bundle/{chunk-KZGHGU2M.js → chunk-DIXC56OU.js} +4 -4
- package/dist/bundle/{chunk-TD4Y5LXG.js → chunk-ECXRRW7J.js} +18 -18
- package/dist/bundle/{chunk-M3EVVGR6.js → chunk-EG7HC4EC.js} +2 -2
- package/dist/bundle/{chunk-B45MFBBF.js → chunk-EJFSS65P.js} +6 -6
- package/dist/bundle/{chunk-FQ54A7GI.js → chunk-EOEDICIE.js} +1 -1
- package/dist/bundle/{chunk-7ATLKYBN.js → chunk-FAOLCUKV.js} +17 -17
- package/dist/bundle/{chunk-KPZIQKOF.js → chunk-FDCGTODC.js} +1 -1
- package/dist/bundle/{chunk-OU46OTTE.js → chunk-GOESXUJQ.js} +3 -3
- package/dist/bundle/{chunk-CUSGSXSR.js → chunk-HIZQYFY3.js} +3 -3
- package/dist/bundle/{chunk-MBMDF5EL.js → chunk-IK2OSV5C.js} +6 -6
- package/dist/bundle/{chunk-6SLGIPLT.js → chunk-IOCS5FXW.js} +2 -2
- package/dist/bundle/{chunk-AOSIU5T6.js → chunk-IOUPXUFH.js} +37 -36
- package/dist/bundle/{chunk-KZV5GU7G.js → chunk-IR73ZZY6.js} +8 -8
- package/dist/bundle/{chunk-FBJC7OCI.js → chunk-JBBZCTTF.js} +1 -1
- package/dist/bundle/{chunk-QHT2LZRW.js → chunk-JDJDVYGS.js} +6 -6
- package/dist/bundle/{chunk-4XPIOW5L.js → chunk-KM7Q67Z3.js} +1 -1
- package/dist/bundle/{chunk-U4Y2QQ2D.js → chunk-KMQUZ4YM.js} +3 -3
- package/dist/bundle/{chunk-XX2PDQ54.js → chunk-LTE6WH22.js} +24 -24
- package/dist/bundle/{chunk-CMG54Q4X.js → chunk-LXYC75D3.js} +25 -25
- package/dist/bundle/{chunk-E4QPLXZT.js → chunk-M2WQWF3I.js} +47 -47
- package/dist/bundle/{chunk-T7IQMYPW.js → chunk-M6FCCVYZ.js} +4 -3
- package/dist/bundle/{chunk-HF233RN4.js → chunk-MI3JK6MW.js} +10 -10
- package/dist/bundle/{chunk-FXY45HU7.js → chunk-MIUPH3WA.js} +6 -6
- package/dist/bundle/{chunk-7DMMNCY2.js → chunk-MLNC5N7H.js} +3 -3
- package/dist/bundle/{chunk-OLZE27RS.js → chunk-N3KQ7XND.js} +2 -2
- package/dist/bundle/{chunk-XOJGXWTK.js → chunk-NQCFUYC2.js} +8 -8
- package/dist/bundle/{chunk-VARX3SBT.js → chunk-NVC4VQ2B.js} +1 -1
- package/dist/bundle/{chunk-6LHTWR3X.js → chunk-Q4ZE2LXE.js} +2 -2
- package/dist/bundle/{chunk-67WW33JB.js → chunk-QLQ7VVLK.js} +4 -4
- package/dist/bundle/{chunk-6RV7KXDF.js → chunk-QUWMFBMS.js} +6 -6
- package/dist/bundle/{chunk-SVBM6F4Z.js → chunk-RUJBN7ZP.js} +1 -1
- package/dist/bundle/{chunk-WVYSOV3C.js → chunk-RWG44LQD.js} +4 -4
- package/dist/bundle/{chunk-L7VIPVHL.js → chunk-SB47UAW2.js} +49 -39
- package/dist/bundle/{chunk-LXOSBFWW.js → chunk-SEH7DBAM.js} +7 -7
- package/dist/bundle/{chunk-O3WVOAT7.js → chunk-SLBMXXOW.js} +10 -10
- package/dist/bundle/{chunk-FAOVUALC.js → chunk-SPJJCD2A.js} +13 -13
- package/dist/bundle/{chunk-UPWHCUVA.js → chunk-TILW3EJY.js} +334 -293
- package/dist/bundle/{chunk-LPJ3S6GE.js → chunk-TQFCPUIM.js} +1 -1
- package/dist/bundle/{chunk-BPQNTYLN.js → chunk-TZE6WXID.js} +565 -297
- package/dist/bundle/{chunk-OMUX4LSS.js → chunk-UD4FKICZ.js} +4 -4
- package/dist/bundle/{chunk-DLAFGSTN.js → chunk-UIPT6IAU.js} +1 -1
- package/dist/bundle/{chunk-35X6G276.js → chunk-URJZK4GX.js} +1 -1
- package/dist/bundle/{chunk-RGOBGHWE.js → chunk-VFJ3MOIR.js} +3 -3
- package/dist/bundle/{chunk-GNHPYQMM.js → chunk-XAXXEZZ5.js} +2 -2
- package/dist/bundle/{chunk-OVVDOVLN.js → chunk-YBMOFCY5.js} +2 -2
- package/dist/bundle/{chunk-3TGR4RDD.js → chunk-YF2PT5KA.js} +31 -31
- package/dist/bundle/{chunk-ABCHE4YP.js → chunk-YFIUXE25.js} +3 -3
- package/dist/bundle/{chunk-MVRCLMQL.js → chunk-YI6ZNDPC.js} +22 -12
- package/dist/bundle/{chunk-B3PTSX5D.js → chunk-YJN4XYNA.js} +2 -2
- package/dist/bundle/{cli-O4LAGYXI.js → cli-AHPIESAC.js} +63 -53
- package/dist/bundle/command-contract-HVLI3OKU.js +38 -0
- package/dist/bundle/config-3SFEGYZO.js +78 -0
- package/dist/bundle/{decode-WRMZJJCR.js → decode-ZU7WLMMV.js} +3 -3
- package/dist/bundle/{dist-SQK4GIJT.js → dist-LTS7VI3S.js} +14 -14
- package/dist/bundle/{echarts-3DOOJSQR.js → echarts-YNGCOYHW.js} +2 -2
- package/dist/bundle/{embed-OYRHTMFI.js → embed-VWWOW7PP.js} +4 -4
- package/dist/bundle/{embedder-ZAYCL22W.js → embedder-T5GJC7M2.js} +7 -7
- package/dist/bundle/{first-run-QXSPIXOQ.js → first-run-PX3SHPUU.js} +8 -8
- package/dist/bundle/first-screen-RAPEZG57.js +36 -0
- package/dist/bundle/{folders-EXQLKXVK.js → folders-VXMDFC2D.js} +2 -2
- package/dist/bundle/{instructions-GFEOB7XJ.js → instructions-GJHHFV64.js} +1 -1
- package/dist/bundle/{main-RADF3CRI.js → main-APVJXUJE.js} +16 -16
- package/dist/bundle/{mcp-WSGVVZWI.js → mcp-EMNFFY4N.js} +2 -2
- package/dist/bundle/{meetings-6BIIT42H.js → meetings-GHYNIOHG.js} +4 -4
- package/dist/bundle/{node-A3B2YRQI.js → node-GFOH6FKP.js} +2 -2
- package/dist/bundle/{node-sqlite-XRP5FUDY.js → node-sqlite-QXKSPHTP.js} +3 -3
- package/dist/bundle/{oauth-YICY4AN4.js → oauth-A6I2OMDD.js} +5 -5
- package/dist/bundle/{open-4CNKSQRB.js → open-TQKCU447.js} +2 -2
- package/dist/bundle/{openai-YYRO3X7I.js → openai-XE3BJXOI.js} +9 -9
- package/dist/bundle/{output-file-7BXYV6OL.js → output-file-FQNFCUKE.js} +3 -3
- package/dist/bundle/{process-A45QXKID.js → process-XVDX4SPD.js} +1 -1
- package/dist/bundle/{program-DTP7BRTW.js → program-QRKEXYDG.js} +70 -69
- package/dist/bundle/{prompt-5LMKO7SE.js → prompt-ISYG5RWM.js} +3 -3
- package/dist/bundle/{recognize-MB6WRGUD.js → recognize-KENPECLZ.js} +2 -2
- package/dist/bundle/{remote-PD7WMTTS.js → remote-ZP5XTDCC.js} +5 -5
- package/dist/bundle/{rerank-7E6GQ5Y6.js → rerank-SG653RHT.js} +5 -5
- package/dist/bundle/{run-log-TCFK4LEC.js → run-log-HYKGQ42E.js} +53 -53
- package/dist/bundle/{serve-JBT2BWHK.js → serve-6UJCZD7Z.js} +7 -7
- package/dist/bundle/server-AXE37E6Q.js +66 -0
- package/dist/bundle/{server-H2UPGGBI.js → server-ZAYEDPFR.js} +42 -42
- package/dist/bundle/{services-SJOTKL5V.js → services-KMH7XZPY.js} +31 -27
- package/dist/bundle/{speech-4SL25GSC.js → speech-LINBLG5E.js} +11 -11
- package/dist/bundle/{state-FVMTDZ6B.js → state-4RKZNHE7.js} +4 -4
- package/dist/bundle/{store-TI77SCNL.js → store-253N7NUC.js} +15 -15
- package/dist/bundle/{store-DNPKBUVO.js → store-JTBHRQZK.js} +13 -13
- package/dist/bundle/store-connection-ID2ETC7F.js +76 -0
- package/dist/bundle/store-maintenance-command-XRNECVDU.js +55 -0
- package/dist/bundle/{streaming-UHAHGPH5.js → streaming-YW64OKKQ.js} +4 -4
- package/dist/bundle/{tokens-Y2MX6JBL.js → tokens-DPBC2P3I.js} +4 -4
- package/dist/bundle/zm.js +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +1 -0
- package/dist/run.js.map +1 -1
- package/dist/tokens.d.ts +6 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +21 -10
- package/dist/tokens.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/answer-policy-GRODO2DY.js +0 -96
- package/dist/bundle/command-contract-67QKBY6M.js +0 -38
- package/dist/bundle/config-ABURZDD2.js +0 -78
- package/dist/bundle/first-screen-MD6HWIJW.js +0 -36
- package/dist/bundle/server-CFIKEPLG.js +0 -66
- package/dist/bundle/store-connection-GIFWWMNO.js +0 -76
- package/dist/bundle/store-maintenance-command-WBKGF2CZ.js +0 -55
- /package/dist/bundle/{chunk-62EDJKGP.js → chunk-NPGVOZVK.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
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SB47UAW2.js";
|
|
6
6
|
import {
|
|
7
7
|
importFrom
|
|
8
8
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/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,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SB47UAW2.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
11
11
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
12
12
|
var TASK_STATES = ["open", "done", "dismissed"];
|
|
13
13
|
var TASK_ORIGINS = ["rule", "agent", "owner"];
|
|
@@ -20,7 +20,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
20
20
|
}
|
|
21
21
|
__name(closeTask, "closeTask");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
24
24
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
25
25
|
async function find(id) {
|
|
26
26
|
const task = await store.get(id);
|
|
@@ -80,13 +80,13 @@ function median(values) {
|
|
|
80
80
|
}
|
|
81
81
|
__name(median, "median");
|
|
82
82
|
|
|
83
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
83
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
84
84
|
function matches(task, filter) {
|
|
85
85
|
return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
|
|
86
86
|
}
|
|
87
87
|
__name(matches, "matches");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
90
90
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
91
91
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
|
|
92
92
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
@@ -95,7 +95,7 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
95
95
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
96
96
|
var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
97
97
|
|
|
98
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
98
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
99
99
|
var LINK_KINDS = [
|
|
100
100
|
"links-to",
|
|
101
101
|
"blocked-by",
|
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
strictObject,
|
|
19
19
|
string,
|
|
20
20
|
unknown
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SB47UAW2.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
24
24
|
var text = string();
|
|
25
25
|
var id = pipe(string(), minLength(1));
|
|
26
26
|
var time = isoTime;
|
|
@@ -44,7 +44,7 @@ var author = strictObject({
|
|
|
44
44
|
name: nullable(text)
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
48
48
|
var link = {
|
|
49
49
|
target_text: nullable(text),
|
|
50
50
|
kind: text,
|
|
@@ -85,7 +85,7 @@ var note = strictObject({
|
|
|
85
85
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
86
86
|
});
|
|
87
87
|
|
|
88
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
88
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
89
89
|
var organization = strictObject({
|
|
90
90
|
id,
|
|
91
91
|
ref: reference,
|
|
@@ -1872,7 +1872,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1872
1872
|
}
|
|
1873
1873
|
});
|
|
1874
1874
|
|
|
1875
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1875
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
1876
1876
|
var errorCodes = [
|
|
1877
1877
|
"validation_error",
|
|
1878
1878
|
"configuration_error",
|
|
@@ -3769,7 +3769,7 @@ function toStandardJsonSchema(schema) {
|
|
|
3769
3769
|
}
|
|
3770
3770
|
__name(toStandardJsonSchema, "toStandardJsonSchema");
|
|
3771
3771
|
|
|
3772
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3772
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
3773
3773
|
var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
|
|
3774
3774
|
var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
|
|
3775
3775
|
var text = pipe(string(), regex(/\S/, "must not be empty"));
|
|
@@ -3811,7 +3811,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
|
|
|
3811
3811
|
return String(value);
|
|
3812
3812
|
}), "fill");
|
|
3813
3813
|
|
|
3814
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3814
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
3815
3815
|
var EXIT_CODES = {
|
|
3816
3816
|
validation_error: 2,
|
|
3817
3817
|
configuration_error: 3,
|
|
@@ -3831,7 +3831,7 @@ var EXIT_CODES = {
|
|
|
3831
3831
|
var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
|
|
3832
3832
|
var GENERIC_FAILURE = 1;
|
|
3833
3833
|
|
|
3834
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3834
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
3835
3835
|
var CONTROL = (
|
|
3836
3836
|
// biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
|
|
3837
3837
|
/[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
|
|
@@ -3855,7 +3855,7 @@ var visibleControls = /* @__PURE__ */ __name((text2) => {
|
|
|
3855
3855
|
}, "visibleControls");
|
|
3856
3856
|
var singleLine = /* @__PURE__ */ __name((text2) => visibleControls(text2).replace(LINE_BREAKS, escaped), "singleLine");
|
|
3857
3857
|
|
|
3858
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3858
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
3859
3859
|
var EFFECT_LEVELS = ["none", "read", "write"];
|
|
3860
3860
|
var effectsSchema = strictObject({
|
|
3861
3861
|
remote: picklist(EFFECT_LEVELS),
|
|
@@ -3863,7 +3863,7 @@ var effectsSchema = strictObject({
|
|
|
3863
3863
|
});
|
|
3864
3864
|
var writes = /* @__PURE__ */ __name((effects) => effects === void 0 || effects.remote === "write" || effects.local === "write", "writes");
|
|
3865
3865
|
|
|
3866
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3866
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
3867
3867
|
var MAX_NEXT_STEPS = 2;
|
|
3868
3868
|
var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
|
|
3869
3869
|
var reference = pipe(string(), regex(/^[a-z]+:\S+$/, "a reference such as `note:42`"));
|
|
@@ -3959,7 +3959,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
3959
3959
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
3960
3960
|
].join("\n"), "jsonlOf");
|
|
3961
3961
|
|
|
3962
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3962
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
3963
3963
|
var CRASH_CODE = "internal_error";
|
|
3964
3964
|
var CRASH_REASON = "command.crashed";
|
|
3965
3965
|
var errorObjectSchema = strictObject({
|
|
@@ -4046,7 +4046,7 @@ var BASE_REASONS = defineReasons([
|
|
|
4046
4046
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
4047
4047
|
]);
|
|
4048
4048
|
|
|
4049
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4049
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4050
4050
|
var SAME_COMMAND = "*";
|
|
4051
4051
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
4052
4052
|
var stepSchema = union([
|
|
@@ -4125,7 +4125,7 @@ var STEPS = defineSteps([
|
|
|
4125
4125
|
}
|
|
4126
4126
|
]);
|
|
4127
4127
|
|
|
4128
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4128
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4129
4129
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
4130
4130
|
if (isCliError(failure))
|
|
4131
4131
|
return failure;
|
|
@@ -4272,7 +4272,7 @@ var catchCrashes = /* @__PURE__ */ __name((options) => {
|
|
|
4272
4272
|
};
|
|
4273
4273
|
}, "catchCrashes");
|
|
4274
4274
|
|
|
4275
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4275
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4276
4276
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
4277
4277
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
4278
4278
|
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))))
|
|
@@ -4337,7 +4337,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
4337
4337
|
return project(value, fields);
|
|
4338
4338
|
}, "projectFields");
|
|
4339
4339
|
|
|
4340
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4340
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4341
4341
|
var BATCH_LIMITS = Object.freeze({
|
|
4342
4342
|
requests: 32,
|
|
4343
4343
|
input_bytes: 262144,
|
|
@@ -4484,7 +4484,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
4484
4484
|
};
|
|
4485
4485
|
}, "runBatch");
|
|
4486
4486
|
|
|
4487
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4487
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4488
4488
|
import { randomBytes } from "node:crypto";
|
|
4489
4489
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
4490
4490
|
import { dirname, join } from "node:path";
|
|
@@ -4528,7 +4528,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
4528
4528
|
`, 384);
|
|
4529
4529
|
}, "saveConfigFile");
|
|
4530
4530
|
|
|
4531
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4531
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4532
4532
|
import { createRequire } from "node:module";
|
|
4533
4533
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
4534
4534
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -4548,7 +4548,7 @@ var systemKeyring = {
|
|
|
4548
4548
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
4549
4549
|
};
|
|
4550
4550
|
|
|
4551
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4551
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4552
4552
|
import { homedir, userInfo } from "node:os";
|
|
4553
4553
|
import { join as join2, posix, win32 } from "node:path";
|
|
4554
4554
|
var PATH_KINDS = ["config", "state", "cache"];
|
|
@@ -4599,10 +4599,11 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
4599
4599
|
}, "homeIsMoved");
|
|
4600
4600
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join2(configDir, fileName), "configFilePath");
|
|
4601
4601
|
|
|
4602
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4602
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4603
4603
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
4604
4604
|
import { join as join3, resolve } from "node:path";
|
|
4605
4605
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
4606
|
+
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
4606
4607
|
var Credentials = class {
|
|
4607
4608
|
static {
|
|
4608
4609
|
__name(this, "Credentials");
|
|
@@ -4617,7 +4618,6 @@ var Credentials = class {
|
|
|
4617
4618
|
#warn;
|
|
4618
4619
|
/** Set only for a moved run with the system keyring. */
|
|
4619
4620
|
#temporaryService;
|
|
4620
|
-
#warned = false;
|
|
4621
4621
|
constructor(options) {
|
|
4622
4622
|
this.#configDir = options.configDir;
|
|
4623
4623
|
this.#storage = options.storage ?? "auto";
|
|
@@ -4635,23 +4635,29 @@ var Credentials = class {
|
|
|
4635
4635
|
const fromEnv = this.#envVar ? this.#env[this.#envVar]?.trim() : void 0;
|
|
4636
4636
|
if (fromEnv)
|
|
4637
4637
|
return { secret: fromEnv, source: "environment" };
|
|
4638
|
+
const fromFile = this.#storage === "keyring" ? void 0 : this.#readFile()?.[account]?.secret;
|
|
4639
|
+
if (fromFile)
|
|
4640
|
+
return { secret: fromFile, source: "file" };
|
|
4638
4641
|
if (this.#storage !== "file") {
|
|
4639
4642
|
const temporary = this.#temporaryService;
|
|
4640
4643
|
const fromKeyring = this.#tryKeyring(() => temporary && this.#keyring.get(temporary, account) || this.#keyring.get(this.#service, account));
|
|
4641
4644
|
if (fromKeyring)
|
|
4642
4645
|
return { secret: fromKeyring, source: "keyring" };
|
|
4643
4646
|
}
|
|
4644
|
-
|
|
4645
|
-
return secret ? { secret, source: "file" } : void 0;
|
|
4647
|
+
return void 0;
|
|
4646
4648
|
}
|
|
4647
|
-
write(account, secret) {
|
|
4648
|
-
|
|
4649
|
+
write(account, secret, options = {}) {
|
|
4650
|
+
const inFile = this.#storage === "auto" && this.#readFile()?.[account] !== void 0;
|
|
4651
|
+
if (this.#storage === "keyring" || this.#storage === "auto" && (options.signIn || !inFile)) {
|
|
4649
4652
|
const stored = this.#tryKeyring(() => {
|
|
4650
4653
|
this.#keyring.set(this.#temporaryService ?? this.#service, account, secret);
|
|
4651
4654
|
return true;
|
|
4652
4655
|
});
|
|
4653
|
-
if (stored)
|
|
4656
|
+
if (stored) {
|
|
4657
|
+
if (inFile)
|
|
4658
|
+
this.#removeFromFile(account);
|
|
4654
4659
|
return "keyring";
|
|
4660
|
+
}
|
|
4655
4661
|
}
|
|
4656
4662
|
const store2 = this.#readFile();
|
|
4657
4663
|
if (!store2) {
|
|
@@ -4671,14 +4677,18 @@ var Credentials = class {
|
|
|
4671
4677
|
this.#warn(removed.includes("keyring") ? `removed this run's own sign-in of ${account} from the OS keyring and kept the owner's: a run with moved folders never removes it` : `kept ${account} in the OS keyring: it is the owner's sign-in, shared with every run, and a run with moved folders never removes it`);
|
|
4672
4678
|
}
|
|
4673
4679
|
}
|
|
4674
|
-
|
|
4675
|
-
if (store2?.[account] !== void 0) {
|
|
4676
|
-
delete store2[account];
|
|
4677
|
-
this.#writeFile(store2);
|
|
4680
|
+
if (this.#storage !== "keyring" && this.#removeFromFile(account))
|
|
4678
4681
|
removed.push("file");
|
|
4679
|
-
}
|
|
4680
4682
|
return removed;
|
|
4681
4683
|
}
|
|
4684
|
+
#removeFromFile(account) {
|
|
4685
|
+
const store2 = this.#readFile();
|
|
4686
|
+
if (store2?.[account] === void 0)
|
|
4687
|
+
return false;
|
|
4688
|
+
delete store2[account];
|
|
4689
|
+
this.#writeFile(store2);
|
|
4690
|
+
return true;
|
|
4691
|
+
}
|
|
4682
4692
|
/** Only for the warning: a keyring that fails here must not fail a removal that already happened. */
|
|
4683
4693
|
#ownersEntryExists(account) {
|
|
4684
4694
|
try {
|
|
@@ -4717,8 +4727,8 @@ var Credentials = class {
|
|
|
4717
4727
|
try {
|
|
4718
4728
|
return operation();
|
|
4719
4729
|
} catch (error) {
|
|
4720
|
-
if (!this.#
|
|
4721
|
-
this.#
|
|
4730
|
+
if (!warnedRuns.has(this.#env)) {
|
|
4731
|
+
warnedRuns.add(this.#env);
|
|
4722
4732
|
this.#warn(`could not reach the OS keyring \u2014 it may be locked, or no keyring service is running (${error instanceof Error ? error.message : String(error)}); using ${this.#path()} instead, readable only by you`);
|
|
4723
4733
|
}
|
|
4724
4734
|
return void 0;
|
|
@@ -4726,10 +4736,10 @@ var Credentials = class {
|
|
|
4726
4736
|
}
|
|
4727
4737
|
};
|
|
4728
4738
|
|
|
4729
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4739
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4730
4740
|
import { appendFileSync } from "node:fs";
|
|
4731
4741
|
|
|
4732
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4742
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4733
4743
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
4734
4744
|
var logRecordSchema = strictObject({
|
|
4735
4745
|
time: isoTime,
|
|
@@ -4807,7 +4817,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
4807
4817
|
return traceId;
|
|
4808
4818
|
}, "traceIdOf");
|
|
4809
4819
|
|
|
4810
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4820
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4811
4821
|
var REDACTED_FIELDS = [
|
|
4812
4822
|
"authorization",
|
|
4813
4823
|
"Authorization",
|
|
@@ -4901,7 +4911,7 @@ var silent = {
|
|
|
4901
4911
|
}, "error")
|
|
4902
4912
|
};
|
|
4903
4913
|
|
|
4904
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4914
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/output-buffer.js
|
|
4905
4915
|
var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1024, fields, format } = {}) => {
|
|
4906
4916
|
if (!Number.isSafeInteger(maxOutputBytes) || maxOutputBytes < 0)
|
|
4907
4917
|
throw new CliError("validation_error", "maxOutputBytes must be a nonnegative whole byte count");
|
|
@@ -4962,7 +4972,7 @@ var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1
|
|
|
4962
4972
|
};
|
|
4963
4973
|
}, "createOutputBuffer");
|
|
4964
4974
|
|
|
4965
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4975
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4966
4976
|
var DEFAULT_RETRY = {
|
|
4967
4977
|
retries: 1,
|
|
4968
4978
|
baseDelayMs: 250,
|
|
@@ -4974,7 +4984,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
4974
4984
|
return Math.round(random() * ceiling);
|
|
4975
4985
|
}, "backoffMs");
|
|
4976
4986
|
|
|
4977
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4987
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
4978
4988
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
4979
4989
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
4980
4990
|
if (signal?.aborted) {
|
|
@@ -4988,7 +4998,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
4988
4998
|
}, { once: true });
|
|
4989
4999
|
}), "realSleep");
|
|
4990
5000
|
|
|
4991
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5001
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/deadline.js
|
|
4992
5002
|
var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSleep } = {}) => {
|
|
4993
5003
|
if (timeoutMs !== void 0 && (!Number.isSafeInteger(timeoutMs) || timeoutMs < 0 || timeoutMs > 2147483647))
|
|
4994
5004
|
throw new CliError("validation_error", "timeoutMs must be an integer from zero through 2147483647");
|
|
@@ -5072,7 +5082,7 @@ var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSl
|
|
|
5072
5082
|
};
|
|
5073
5083
|
}, "createDeadline");
|
|
5074
5084
|
|
|
5075
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5085
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
5076
5086
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
5077
5087
|
import { styleText } from "node:util";
|
|
5078
5088
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -5147,7 +5157,7 @@ var BORDERLESS = {
|
|
|
5147
5157
|
middle: ""
|
|
5148
5158
|
};
|
|
5149
5159
|
|
|
5150
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5160
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
5151
5161
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
5152
5162
|
if (signal?.aborted)
|
|
5153
5163
|
return Promise.reject(signal.reason);
|
|
@@ -5175,7 +5185,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
5175
5185
|
});
|
|
5176
5186
|
}, "waitForDrain");
|
|
5177
5187
|
|
|
5178
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5188
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
5179
5189
|
var processStreams = {
|
|
5180
5190
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
5181
5191
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -5204,7 +5214,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
5204
5214
|
};
|
|
5205
5215
|
}, "captureStreams");
|
|
5206
5216
|
|
|
5207
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5217
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
5208
5218
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
5209
5219
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
5210
5220
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
commandPathOf,
|
|
5
5
|
findCommand,
|
|
6
6
|
outputOf
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JDJDVYGS.js";
|
|
8
8
|
import {
|
|
9
9
|
Command,
|
|
10
10
|
Help,
|
|
@@ -15,19 +15,19 @@ import {
|
|
|
15
15
|
environmentOf,
|
|
16
16
|
metaOf,
|
|
17
17
|
takesProfile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IOUPXUFH.js";
|
|
19
19
|
import {
|
|
20
20
|
wrapAnsi
|
|
21
21
|
} from "./chunk-HTQTIKWP.js";
|
|
22
22
|
import {
|
|
23
23
|
CliError,
|
|
24
24
|
writes
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SB47UAW2.js";
|
|
26
26
|
import {
|
|
27
27
|
__name
|
|
28
28
|
} from "./chunk-ZVVMGPBJ.js";
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
31
31
|
var SECTIONS = {
|
|
32
32
|
read: "Read",
|
|
33
33
|
write: "Write",
|
|
@@ -92,7 +92,7 @@ var CORE_SECTIONS = {
|
|
|
92
92
|
upgrade: "setup"
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
95
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
96
96
|
var DESCRIPTION = 90;
|
|
97
97
|
var COLUMN = 52;
|
|
98
98
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -131,7 +131,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
131
131
|
`;
|
|
132
132
|
}, "commandsText");
|
|
133
133
|
|
|
134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
135
135
|
var ARGUMENT_KINDS = {
|
|
136
136
|
chat: "chat",
|
|
137
137
|
chats: "chat",
|
|
@@ -352,7 +352,7 @@ var exampleReport = /* @__PURE__ */ __name((program) => {
|
|
|
352
352
|
return { written, generated, text };
|
|
353
353
|
}, "exampleReport");
|
|
354
354
|
|
|
355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
356
356
|
var WIRECAT_TOOLS = [
|
|
357
357
|
{
|
|
358
358
|
command: "tg",
|
|
@@ -2,20 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
ZM
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NVC4VQ2B.js";
|
|
6
6
|
import {
|
|
7
7
|
commandsCommand,
|
|
8
8
|
formatSuggestions,
|
|
9
9
|
meetingResultItem,
|
|
10
10
|
runsCommand,
|
|
11
11
|
suggest
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TZE6WXID.js";
|
|
13
13
|
import {
|
|
14
14
|
sharedStoreCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M2WQWF3I.js";
|
|
16
16
|
import {
|
|
17
17
|
answerEntity
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JDJDVYGS.js";
|
|
19
19
|
import {
|
|
20
20
|
NO_EFFECTS,
|
|
21
21
|
REMOTE_READ,
|
|
@@ -38,24 +38,24 @@ import {
|
|
|
38
38
|
renderAnswer,
|
|
39
39
|
snakeKeys,
|
|
40
40
|
usableProfileName
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-IOUPXUFH.js";
|
|
42
42
|
import {
|
|
43
43
|
readOnlyLockOf,
|
|
44
44
|
readOnlyRefusal
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-Q4ZE2LXE.js";
|
|
46
46
|
import {
|
|
47
47
|
setupPermissionCeiling
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-DIXC56OU.js";
|
|
49
49
|
import {
|
|
50
50
|
CEILING_KEY,
|
|
51
51
|
DEFAULT_PERMISSIONS,
|
|
52
52
|
LEVELS,
|
|
53
53
|
keyForCommand,
|
|
54
54
|
levelFor
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-HIZQYFY3.js";
|
|
56
56
|
import {
|
|
57
57
|
MEETING_RESULT_ENTITIES
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-4OTXE6CF.js";
|
|
59
59
|
import {
|
|
60
60
|
CliError,
|
|
61
61
|
array,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
strictObject,
|
|
85
85
|
string,
|
|
86
86
|
union
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-SB47UAW2.js";
|
|
88
88
|
import {
|
|
89
89
|
__name
|
|
90
90
|
} from "./chunk-ZVVMGPBJ.js";
|