@wirecat/tg-cli 0.124.0 → 0.126.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 +7 -1
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-GEIZVMWU.js → adapter-BXU3AVB7.js} +52 -53
- package/dist/bundle/{all-profiles-EY4GJFWN.js → all-profiles-G5A6IROO.js} +10 -10
- package/dist/bundle/{anthropic-RIANJ7WM.js → anthropic-SINVEVEM.js} +5 -5
- package/dist/bundle/{app-server-LW7WBFIF.js → app-server-IHIQXPJF.js} +49 -45
- package/dist/bundle/{bot-api-FHIQ66OM.js → bot-api-LGAVVYRM.js} +53 -54
- package/dist/bundle/{bot-history-O34YZEFH.js → bot-history-5C35FGCD.js} +18 -18
- package/dist/bundle/{bun-MJWD4VGV.js → bun-2GK3YOP3.js} +2 -2
- package/dist/bundle/{bun-sqlite-LCHVO3OB.js → bun-sqlite-7DGADK3E.js} +6 -6
- package/dist/bundle/{chunk-RHJHOOUL.js → chunk-2F2UMQMB.js} +196 -158
- package/dist/bundle/{chunk-W4LMTNN2.js → chunk-2LN6OJUB.js} +2 -2
- package/dist/bundle/{chunk-LKMZ53GC.js → chunk-4GR5YYGA.js} +2 -2
- package/dist/bundle/{chunk-ZNICTHSC.js → chunk-5GINYFD4.js} +1 -1
- package/dist/bundle/{chunk-PP4ZBLS4.js → chunk-5NLAGTWU.js} +9 -9
- package/dist/bundle/{chunk-NL4COYPY.js → chunk-63DSHUNP.js} +7 -7
- package/dist/bundle/{chunk-KVJSCJGZ.js → chunk-7FL2N6DM.js} +2 -2
- package/dist/bundle/{chunk-E6VSARSU.js → chunk-7KCBPAQS.js} +2 -2
- package/dist/bundle/{chunk-BV3HZYOX.js → chunk-7UACPXDC.js} +549 -458
- package/dist/bundle/{chunk-VGUWIHXD.js → chunk-AA2NZAUT.js} +1 -1
- package/dist/bundle/{chunk-UII3D3HR.js → chunk-ACLUVZ4I.js} +34 -30
- package/dist/bundle/{chunk-QGCVQRHV.js → chunk-AKUBJHE5.js} +1 -1
- package/dist/bundle/{chunk-54JPEGQA.js → chunk-AYEQMXRE.js} +2 -2
- package/dist/bundle/{chunk-PZ6H65D6.js → chunk-AZ7DSHQO.js} +63 -5
- package/dist/bundle/{chunk-OVDB5CQM.js → chunk-BSKYPHLB.js} +1 -1
- package/dist/bundle/{chunk-UP3J3YXH.js → chunk-CK7DSGIK.js} +7 -7
- package/dist/bundle/{chunk-ZTMV5M3D.js → chunk-DGGAYHLN.js} +29 -25
- package/dist/bundle/{chunk-E66JBGZZ.js → chunk-F34EE5Y2.js} +2 -2
- package/dist/bundle/{chunk-PJGOQSE5.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-HSRO77SW.js → chunk-FYOHGIQP.js} +15 -15
- package/dist/bundle/{chunk-VAKSXD4F.js → chunk-G4RCT5RH.js} +13 -13
- package/dist/bundle/{chunk-QFV36CAH.js → chunk-G4VVBR6U.js} +4 -4
- package/dist/bundle/{chunk-ISGXVFA4.js → chunk-GI2ZUNOH.js} +4 -4
- package/dist/bundle/{chunk-DFSLHF46.js → chunk-GIY56MIB.js} +1 -1
- package/dist/bundle/{chunk-4EGB7GSW.js → chunk-GOGGRLS6.js} +28 -23
- package/dist/bundle/{chunk-2YLIVDWJ.js → chunk-HPFB4Y7P.js} +2 -2
- package/dist/bundle/{chunk-OK4M4MWI.js → chunk-IX3GUNGV.js} +4 -4
- package/dist/bundle/{chunk-2GFGZDWS.js → chunk-J2BUWK5U.js} +2 -2
- package/dist/bundle/{chunk-42R4YO4L.js → chunk-JAKP5RWM.js} +4378 -4075
- package/dist/bundle/{chunk-OH3IZ6GW.js → chunk-JQ2RKLPU.js} +153 -98
- package/dist/bundle/{chunk-QWAMX6CN.js → chunk-K4DXGJK4.js} +12 -12
- package/dist/bundle/{chunk-RBV4M2TC.js → chunk-KSLZEXRF.js} +1 -1
- package/dist/bundle/{chunk-A5RWKKBZ.js → chunk-L5PYWQDA.js} +3 -3
- package/dist/bundle/{chunk-XSGUG5WG.js → chunk-LD42OGKK.js} +4 -4
- package/dist/bundle/{chunk-OIF4B526.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-WSLIXJET.js → chunk-MA2XHO4O.js} +378 -269
- package/dist/bundle/{chunk-2NG4JPP7.js → chunk-MP47TE77.js} +4 -4
- package/dist/bundle/{chunk-M4W4Y5YR.js → chunk-N2JSMP4N.js} +57 -36
- package/dist/bundle/{chunk-SGBH3D5D.js → chunk-NJ3FSKSU.js} +5 -7
- package/dist/bundle/{chunk-4CIVGT4P.js → chunk-NM5GBJME.js} +19 -19
- package/dist/bundle/{chunk-QK4T3VN7.js → chunk-OXB5P37M.js} +1 -1
- package/dist/bundle/{chunk-ZL5YG2WK.js → chunk-P2GNIWGG.js} +7 -7
- package/dist/bundle/{chunk-3VVZFBE2.js → chunk-PJ6FZXUR.js} +3 -3
- package/dist/bundle/{chunk-PI4XXMPG.js → chunk-QCLMP635.js} +6 -6
- package/dist/bundle/{chunk-YQFO7WXQ.js → chunk-QGLB4D7J.js} +2 -2
- package/dist/bundle/{chunk-N5UM63JW.js → chunk-QMEPKUG3.js} +56 -55
- package/dist/bundle/{chunk-F3GHTPAO.js → chunk-QOINWAQD.js} +4 -4
- package/dist/bundle/{chunk-GUL6QLNI.js → chunk-QYLYMOXN.js} +17 -17
- package/dist/bundle/{chunk-NQXVZ5WT.js → chunk-RFDPU4NO.js} +11 -6
- package/dist/bundle/{chunk-IK6XKMLL.js → chunk-SL4S5GFR.js} +1 -1
- package/dist/bundle/{chunk-VMWJGUVV.js → chunk-SXVB2CVR.js} +4 -4
- package/dist/bundle/{chunk-5EL6E6PW.js → chunk-UIFQEXVP.js} +1 -1
- package/dist/bundle/{chunk-I4JUKRW7.js → chunk-URFBZNLU.js} +2 -2
- package/dist/bundle/{chunk-3PLMMFP6.js → chunk-W35POPPX.js} +17 -17
- package/dist/bundle/{chunk-IVFUSI7G.js → chunk-W725T2V7.js} +3 -2
- package/dist/bundle/{chunk-XDHGM2Z7.js → chunk-W75SKUY4.js} +3 -3
- package/dist/bundle/{chunk-HEV23NIB.js → chunk-XGBXRDJP.js} +6 -6
- package/dist/bundle/{chunk-UR62DZ7Q.js → chunk-XS5C5TQ7.js} +8 -8
- package/dist/bundle/{chunk-CDSSKK5J.js → chunk-Y4724JRR.js} +3 -3
- package/dist/bundle/{chunk-7AWJZ6NJ.js → chunk-Y5DGB7GP.js} +8 -8
- package/dist/bundle/{chunk-ASEBKZFY.js → chunk-YRZXOQOB.js} +2 -2
- package/dist/bundle/{chunk-WKOVQ4OU.js → chunk-ZXCQF6XV.js} +12 -12
- package/dist/bundle/command-contract-ZEYY3ZXK.js +34 -0
- package/dist/bundle/{command-server-entry-K52OEKIO.js → command-server-entry-UWY6PQIV.js} +24 -24
- package/dist/bundle/{decode-OAE25LEJ.js → decode-QGMFQ6XX.js} +5 -5
- package/dist/bundle/{dispatch-6GVTXIZ2.js → dispatch-PRAIGIFS.js} +8 -8
- package/dist/bundle/{echarts-EO4ZGKMN.js → echarts-GHU3GEWV.js} +2 -2
- package/dist/bundle/{embed-TB2AS4AT.js → embed-6DMEWQDO.js} +6 -6
- package/dist/bundle/{embedder-YKC42G6L.js → embedder-W2L7YZPW.js} +9 -9
- package/dist/bundle/{entry-AB6FU7BN.js → entry-LPEXVFQC.js} +9 -9
- package/dist/bundle/{failure-CY7ACT6V.js → failure-7Y34AUJT.js} +2 -2
- package/dist/bundle/{first-run-CMQZHDI5.js → first-run-3UJ6SJF5.js} +11 -11
- package/dist/bundle/first-screen-VCSY5QH5.js +32 -0
- package/dist/bundle/{instructions-RM3IB6ID.js → instructions-RUVAH2IS.js} +1 -1
- package/dist/bundle/{mcp-M5YCSWJJ.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{node-D2PM62TA.js → node-RYSNHVBX.js} +2 -2
- package/dist/bundle/{node-sqlite-UK5DE525.js → node-sqlite-J6ZL4LUY.js} +7 -7
- package/dist/bundle/{oauth-SKRG67A2.js → oauth-B2QNZNSC.js} +7 -7
- package/dist/bundle/{open-XP3SY62D.js → open-OMUP5P6V.js} +5 -5
- package/dist/bundle/{openai-Q3U46UPA.js → openai-BT4BP4VQ.js} +21 -20
- package/dist/bundle/{process-YJ4LHMJB.js → process-HG3QDD54.js} +1 -1
- package/dist/bundle/{program-EEPEFKTR.js → program-P2VATMKJ.js} +62 -60
- package/dist/bundle/{prompt-WYTODP4U.js → prompt-BTIHH3Z4.js} +5 -5
- package/dist/bundle/{proxy-transport-HJMQ5QFT.js → proxy-transport-DP7SIMIC.js} +5 -5
- package/dist/bundle/{recognize-K2S5QQU2.js → recognize-CTSJXPIG.js} +4 -4
- package/dist/bundle/{remote-7RSAJ3JC.js → remote-2FIGCMKL.js} +9 -9
- package/dist/bundle/{rerank-RJX77BKD.js → rerank-TI5SLEF4.js} +7 -7
- package/dist/bundle/{serve-3E7NN3VW.js → serve-IO3IM5C7.js} +9 -9
- package/dist/bundle/server-RIGXUTKZ.js +62 -0
- package/dist/bundle/{server-O3KU56A4.js → server-WEPFFTYA.js} +38 -36
- package/dist/bundle/{sqlite-runtime-RCS5WSG5.js → sqlite-runtime-CTEYXX7L.js} +6 -6
- package/dist/bundle/{state-PLWSPSAG.js → state-GFHVDGHM.js} +6 -6
- package/dist/bundle/{store-DWMKCXYL.js → store-RCK6HT4F.js} +13 -13
- package/dist/bundle/{store-3FYLH53Z.js → store-Y5XC4LEM.js} +15 -15
- package/dist/bundle/store-maintenance-command-XH6VMCDU.js +52 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +6 -2
- package/dist/bundle/chunk-VIIIC5LU.js +0 -32
- package/dist/bundle/command-contract-UKOL455D.js +0 -34
- package/dist/bundle/first-screen-XZ73W3VE.js +0 -32
- package/dist/bundle/server-ITHYDPWQ.js +0 -62
- package/dist/bundle/store-maintenance-command-3UEKINRB.js +0 -52
- /package/dist/bundle/{chunk-HVJJWJYQ.js → chunk-XWBPP2HX.js} +0 -0
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W725T2V7.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7KCBPAQS.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.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GOGGRLS6.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-J2BUWK5U.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
refuseLacking,
|
|
19
19
|
servicesFor,
|
|
20
20
|
storeModeDeps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MA2XHO4O.js";
|
|
22
22
|
import {
|
|
23
23
|
MAX_BUFFERED_INPUT
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2LN6OJUB.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_OUTPUT_BYTES,
|
|
27
27
|
ENTITIES,
|
|
@@ -41,27 +41,27 @@ import {
|
|
|
41
41
|
refuseStoreChange,
|
|
42
42
|
sealed,
|
|
43
43
|
startRecording
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2F2UMQMB.js";
|
|
45
45
|
import {
|
|
46
46
|
currentCaller,
|
|
47
47
|
keepsSuccess,
|
|
48
48
|
runContextOf,
|
|
49
49
|
withCaller
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-P2GNIWGG.js";
|
|
51
51
|
import {
|
|
52
52
|
enclosingTraceId,
|
|
53
53
|
inRun,
|
|
54
54
|
newRunId,
|
|
55
55
|
queryDescription,
|
|
56
56
|
traceOf
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-JQ2RKLPU.js";
|
|
58
58
|
import {
|
|
59
59
|
storeDamaged
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-PJ6FZXUR.js";
|
|
61
61
|
import {
|
|
62
62
|
captureStreams,
|
|
63
63
|
traceIdOf
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-NM5GBJME.js";
|
|
65
65
|
import {
|
|
66
66
|
COMPACT_FLAG,
|
|
67
67
|
SNAKE_CASE,
|
|
@@ -100,19 +100,19 @@ import {
|
|
|
100
100
|
unknown,
|
|
101
101
|
word,
|
|
102
102
|
writes
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-XS5C5TQ7.js";
|
|
104
104
|
import {
|
|
105
105
|
CliError,
|
|
106
106
|
errorCodes
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-7KCBPAQS.js";
|
|
108
108
|
import {
|
|
109
109
|
__name
|
|
110
110
|
} from "./chunk-ZVVMGPBJ.js";
|
|
111
111
|
|
|
112
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
113
113
|
import { Readable } from "node:stream";
|
|
114
114
|
|
|
115
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
115
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
116
116
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
117
117
|
var lintRuleSchema = strictObject({
|
|
118
118
|
id: word,
|
|
@@ -258,7 +258,7 @@ var overrideSchema = strictObject({
|
|
|
258
258
|
});
|
|
259
259
|
var overridesSchema = array(overrideSchema);
|
|
260
260
|
|
|
261
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
261
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
|
|
262
262
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
263
263
|
var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
|
|
264
264
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -303,7 +303,10 @@ var parityGroupSchema = strictObject({
|
|
|
303
303
|
/** Permanent differences, each with its reason; they count against the override budget of the group. */
|
|
304
304
|
differences: array(strictObject({
|
|
305
305
|
rule: word,
|
|
306
|
-
/**
|
|
306
|
+
/**
|
|
307
|
+
* `<clis> <path> <flag>`; with `absent` or `only`, only `<path> <flag>`: the CLI list is whoever else was compared.
|
|
308
|
+
* same-entity-schema and same-error-reason name no CLI list either: `entity hit`, `reason profile.unknown: code`.
|
|
309
|
+
*/
|
|
307
310
|
target: text,
|
|
308
311
|
expected: optional(text),
|
|
309
312
|
/** The CLI that lacks the path or flag by design; the rest must agree, so other CLIs joining do not stale it. */
|
|
@@ -341,8 +344,26 @@ var MEMO_DOCTOR_DEEP = {
|
|
|
341
344
|
only: "memo",
|
|
342
345
|
reason: "memo's doctor --deep also checks its own store (cli-memo #672); cli-core's shared doctor leaves --deep to each CLI, and no other CLI has one"
|
|
343
346
|
};
|
|
347
|
+
var review = /* @__PURE__ */ __name((rule, target, reason) => ({ rule, target, reason, review_after: "2026-11-27" }), "review");
|
|
348
|
+
var ENTITY = "same-entity-schema";
|
|
349
|
+
var REASON = "same-error-reason";
|
|
350
|
+
var MESSENGERS_SINCE_0_98 = [
|
|
351
|
+
review(ENTITY, "entity contact_context", "max, tg and wa print it in different schemas (measured 2026-11-13)"),
|
|
352
|
+
review(ENTITY, "entity contact_preparation", "max, tg and wa print it in different schemas (measured 2026-11-13)"),
|
|
353
|
+
review(ENTITY, "entity linked_person", "max, tg and wa print it in different schemas (measured 2026-11-13)")
|
|
354
|
+
];
|
|
355
|
+
var FAMILY_SINCE_0_98 = [
|
|
356
|
+
review(ENTITY, "entity api_method", "b24's schema differs from drive and gcal's (measured 2026-11-13)"),
|
|
357
|
+
review(ENTITY, "entity scheduled_job", "three schemas: b24, mail, memo / gcal / max, tg (measured 2026-11-13)"),
|
|
358
|
+
review(ENTITY, "entity hit", "three schemas: b24, memo, zm / gcal / max, tg, wa (measured 2026-11-13)"),
|
|
359
|
+
review(ENTITY, "entity deal", "b24's CRM deal and memo's differ (measured 2026-11-13)"),
|
|
360
|
+
review(ENTITY, "entity lead", "b24's CRM lead and memo's differ (measured 2026-11-13)"),
|
|
361
|
+
review(ENTITY, "entity product", "b24's CRM product and memo's differ (measured 2026-11-13)"),
|
|
362
|
+
review(REASON, "reason ai.address-refused=model.address-refused", "one failure under two names; cli-core 0.650.0 keeps one"),
|
|
363
|
+
review(REASON, "reason profile.unknown: code", "b24 gives it not_found, drive validation_error (measured 2026-11-13)")
|
|
364
|
+
];
|
|
344
365
|
var PARITY_GROUPS = defineParityGroups([
|
|
345
|
-
{ name: "messengers", members: ["tg", "max"], covers: "tree", differences:
|
|
366
|
+
{ name: "messengers", members: ["tg", "max"], covers: "tree", differences: MESSENGERS_SINCE_0_98 },
|
|
346
367
|
{
|
|
347
368
|
name: "all",
|
|
348
369
|
members: ["tg", "max", "memo", "drive", "zm", "wa"],
|
|
@@ -364,7 +385,7 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
364
385
|
name: "gcal-shared",
|
|
365
386
|
members: ["tg", "max", "memo", "drive", "zm", "wa", "gcal"],
|
|
366
387
|
covers: ["commands", "upgrade", "notes", "meetings"],
|
|
367
|
-
differences:
|
|
388
|
+
differences: FAMILY_SINCE_0_98
|
|
368
389
|
},
|
|
369
390
|
// bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call recordings, not
|
|
370
391
|
// zoom-cli's: both are compared on the root commands every CLI shares, the way gcal and mail are on theirs.
|
|
@@ -386,7 +407,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
386
407
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
387
408
|
]);
|
|
388
409
|
|
|
389
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
410
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
|
|
390
411
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
391
412
|
var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
|
|
392
413
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -402,7 +423,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
402
423
|
}
|
|
403
424
|
]);
|
|
404
425
|
|
|
405
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
426
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
|
|
406
427
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
407
428
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
408
429
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -424,7 +445,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
424
445
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
425
446
|
]);
|
|
426
447
|
|
|
427
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
448
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
|
|
428
449
|
var ACCOUNT_FLAGS = [
|
|
429
450
|
{
|
|
430
451
|
name: "--client-id",
|
|
@@ -461,7 +482,7 @@ var ACCOUNT_FLAGS = [
|
|
|
461
482
|
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
462
483
|
];
|
|
463
484
|
|
|
464
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
485
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
|
|
465
486
|
var CALENDAR_FLAGS = [
|
|
466
487
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
467
488
|
{
|
|
@@ -535,7 +556,7 @@ var CALENDAR_FLAGS = [
|
|
|
535
556
|
}
|
|
536
557
|
];
|
|
537
558
|
|
|
538
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
559
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
|
|
539
560
|
var CRM_FLAGS = [
|
|
540
561
|
{
|
|
541
562
|
name: "--pipeline",
|
|
@@ -685,7 +706,7 @@ var CRM_FLAGS = [
|
|
|
685
706
|
}
|
|
686
707
|
];
|
|
687
708
|
|
|
688
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
709
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
|
|
689
710
|
var HOW_FLAGS = [
|
|
690
711
|
{
|
|
691
712
|
name: "--limit",
|
|
@@ -1682,7 +1703,7 @@ var HOW_FLAGS = [
|
|
|
1682
1703
|
}
|
|
1683
1704
|
];
|
|
1684
1705
|
|
|
1685
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1706
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
|
|
1686
1707
|
var KNOWLEDGE_FLAGS = [
|
|
1687
1708
|
{
|
|
1688
1709
|
name: "--accept-terms",
|
|
@@ -1720,7 +1741,7 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1720
1741
|
}
|
|
1721
1742
|
];
|
|
1722
1743
|
|
|
1723
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1744
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
|
|
1724
1745
|
var MAIL_FLAGS = [
|
|
1725
1746
|
{
|
|
1726
1747
|
name: "--cc",
|
|
@@ -1750,7 +1771,7 @@ var MAIL_FLAGS = [
|
|
|
1750
1771
|
}
|
|
1751
1772
|
];
|
|
1752
1773
|
|
|
1753
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1774
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
|
|
1754
1775
|
var PRIVACY_FLAGS = [
|
|
1755
1776
|
{
|
|
1756
1777
|
name: "--about-text",
|
|
@@ -1811,7 +1832,7 @@ var PRIVACY_FLAGS = [
|
|
|
1811
1832
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1812
1833
|
];
|
|
1813
1834
|
|
|
1814
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1835
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
|
|
1815
1836
|
var SCHEDULE_FLAGS = [
|
|
1816
1837
|
{
|
|
1817
1838
|
name: "--locale",
|
|
@@ -1844,7 +1865,7 @@ var SCHEDULE_FLAGS = [
|
|
|
1844
1865
|
}
|
|
1845
1866
|
];
|
|
1846
1867
|
|
|
1847
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1868
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
|
|
1848
1869
|
var WHAT_FLAGS = [
|
|
1849
1870
|
{
|
|
1850
1871
|
name: "--analysis-provider",
|
|
@@ -2841,7 +2862,7 @@ var WHAT_FLAGS = [
|
|
|
2841
2862
|
}
|
|
2842
2863
|
];
|
|
2843
2864
|
|
|
2844
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2865
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
|
|
2845
2866
|
var FLAG_TYPES = [
|
|
2846
2867
|
"switch",
|
|
2847
2868
|
"count",
|
|
@@ -3260,7 +3281,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
3260
3281
|
]
|
|
3261
3282
|
});
|
|
3262
3283
|
|
|
3263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3264
3285
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3265
3286
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3266
3287
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3374,12 +3395,12 @@ var keywordsOf = /* @__PURE__ */ __name((examples) => [
|
|
|
3374
3395
|
...new Set(examples.flatMap((example) => example.split(/\s+/u).filter((word2) => word2 !== "" && !word2.startsWith("-"))))
|
|
3375
3396
|
], "keywordsOf");
|
|
3376
3397
|
var toolsFromCommands = /* @__PURE__ */ __name((commands, options = {}) => {
|
|
3377
|
-
const { root = [], exclude = [], levels, keyOf, authority, readOnly = false, permissions } = options;
|
|
3398
|
+
const { root = [], exclude = [], levels, keyOf, authority, readOnly = false, permissions, fetches } = options;
|
|
3378
3399
|
return flatten(commands).filter((info) => (
|
|
3379
3400
|
// A group is offered only when it runs on its own; without an action it only prints its help.
|
|
3380
|
-
(info.commands.length === 0 || info.runnable === true) && info.path.length > root.length && startsWith(info.path, root) && !exclude.some((skipped) => startsWith(info.path.slice(root.length), skipped)) && info.mcp !== false && info.lifetime === void 0 && (options.includeUnavailable === true || !(readOnly && (changesMessenger(info) || authority?.(info.path))) && (levels === void 0 && !(readOnly && permissions) ? true : commandAvailability(info, levels ?? {}, keyOf, authority, readOnly, true, permissions).available))
|
|
3401
|
+
(info.commands.length === 0 || info.runnable === true) && info.path.length > root.length && startsWith(info.path, root) && !exclude.some((skipped) => startsWith(info.path.slice(root.length), skipped)) && info.mcp !== false && info.lifetime === void 0 && (options.includeUnavailable === true || !(readOnly && (changesMessenger(info) || authority?.(info.path))) && (levels === void 0 && !(readOnly && permissions) ? true : commandAvailability(info, levels ?? {}, keyOf, authority, readOnly, true, permissions, fetches).available))
|
|
3381
3402
|
)).map((info) => ({
|
|
3382
|
-
availability: /* @__PURE__ */ __name(() => commandAvailability(info, options.currentLevels?.() ?? levels ?? {}, keyOf, authority, readOnly, true, permissions), "availability"),
|
|
3403
|
+
availability: /* @__PURE__ */ __name(() => commandAvailability(info, options.currentLevels?.() ?? levels ?? {}, keyOf, authority, readOnly, true, permissions, fetches), "availability"),
|
|
3383
3404
|
command: info.path.slice(root.length).join(" "),
|
|
3384
3405
|
path: info.path,
|
|
3385
3406
|
title: info.summary ?? info.description,
|
|
@@ -3422,7 +3443,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3422
3443
|
if (info.lifetime)
|
|
3423
3444
|
throw new CliError("validation_error", `"${path.join(" ")}" runs until it is stopped; an agent call must return`);
|
|
3424
3445
|
const levels = ctx.levels?.();
|
|
3425
|
-
const availability = (levels || ctx.readOnly || ctx.permissions) && commandAvailability(info, levels ?? {}, ctx.keyOf, ctx.authority, ctx.readOnly, true, ctx.permissions);
|
|
3446
|
+
const availability = (levels || ctx.readOnly || ctx.permissions) && commandAvailability(info, levels ?? {}, ctx.keyOf, ctx.authority, ctx.readOnly, true, ctx.permissions, ctx.fetches);
|
|
3426
3447
|
if (availability && !availability.available)
|
|
3427
3448
|
throw new CliError("permission_error", `${path.join(" ")}: ${availability.reason}`, {
|
|
3428
3449
|
sent: false,
|
|
@@ -3487,7 +3508,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3487
3508
|
}
|
|
3488
3509
|
}, "runCommandForAgent");
|
|
3489
3510
|
|
|
3490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3511
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3491
3512
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3492
3513
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3493
3514
|
var message = pipe(
|
|
@@ -3746,7 +3767,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3746
3767
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3747
3768
|
}, "failed");
|
|
3748
3769
|
|
|
3749
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3770
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3750
3771
|
import { randomUUID } from "node:crypto";
|
|
3751
3772
|
var MATCHES = 8;
|
|
3752
3773
|
var ANSWER = answerSchema();
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
readSharedSection,
|
|
5
5
|
writeSharedSection
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CK7DSGIK.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7KCBPAQS.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
|
|
15
15
|
var PERMISSION_ANSWERS = ["readonly", "allow"];
|
|
16
16
|
var QUESTIONS = ["languages", "tools", "permissions"];
|
|
17
17
|
var SECTION = "setup";
|
|
@@ -36,13 +36,11 @@ var writeSetupAnswers = /* @__PURE__ */ __name((path, answers) => {
|
|
|
36
36
|
writeSharedSection(path, SECTION, { ...kept, ...answers });
|
|
37
37
|
}, "writeSetupAnswers");
|
|
38
38
|
var permissionCeiling = /* @__PURE__ */ __name((path) => {
|
|
39
|
-
let answer;
|
|
40
39
|
try {
|
|
41
|
-
|
|
40
|
+
return readSetupAnswers(path).permissions === "readonly" ? "readonly" : void 0;
|
|
42
41
|
} catch {
|
|
43
|
-
return
|
|
42
|
+
return void 0;
|
|
44
43
|
}
|
|
45
|
-
return answer === "allow" ? void 0 : answer;
|
|
46
44
|
}, "permissionCeiling");
|
|
47
45
|
|
|
48
46
|
export {
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
string,
|
|
20
20
|
text,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XS5C5TQ7.js";
|
|
23
23
|
import {
|
|
24
24
|
CliError,
|
|
25
25
|
visibleControls
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7KCBPAQS.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.99.0_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.99.0_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.99.0_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.99.0_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))))
|
|
@@ -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.99.0_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.99.0_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.99.0_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.99.0_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.99.0_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.99.0_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.99.0_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.99.0_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.99.0_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.99.0_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.99.0_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.99.0_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.99.0_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.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
isCliFailure,
|
|
5
5
|
secretNamed,
|
|
6
6
|
withoutSecrets
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PJ6FZXUR.js";
|
|
8
8
|
import {
|
|
9
9
|
isContentKey
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NM5GBJME.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.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
16
16
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
17
17
|
import { createHash } from "node:crypto";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
20
20
|
import { homedir } from "node:os";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
23
23
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
24
24
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
25
25
|
if (event.event === "store")
|
|
@@ -71,7 +71,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
|
|
|
71
71
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
72
72
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
73
73
|
|
|
74
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
74
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
75
75
|
var MESSAGE_AT_MOST = 500;
|
|
76
76
|
var CAUSES_AT_MOST = 5;
|
|
77
77
|
var FRAMES_AT_MOST = 15;
|
|
@@ -183,7 +183,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
183
183
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
184
184
|
}, "redactText");
|
|
185
185
|
|
|
186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
187
187
|
var REDACTED = "[redacted]";
|
|
188
188
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
189
189
|
if (!record)
|
|
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CliError,
|
|
5
5
|
errorCodes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7KCBPAQS.js";
|
|
7
7
|
import {
|
|
8
8
|
__name
|
|
9
9
|
} from "./chunk-ZVVMGPBJ.js";
|
|
10
10
|
|
|
11
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
12
12
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
13
13
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
14
14
|
const { code, exitCode } = value ?? {};
|
|
@@ -60,7 +60,7 @@ var damagedFile = /* @__PURE__ */ __name(async (files, work) => {
|
|
|
60
60
|
}, "damagedFile");
|
|
61
61
|
var isStoreDamage = /* @__PURE__ */ __name((error) => damageIn(error) !== void 0, "isStoreDamage");
|
|
62
62
|
|
|
63
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
63
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
64
64
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
65
65
|
"authorization",
|
|
66
66
|
"cookie",
|