@wirecat/drive-cli 0.53.0 → 0.54.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/drive.js +2 -2
- package/dist/bundle/{all-profiles-WRN35CUF.js → all-profiles-LFIPUPZI.js} +9 -9
- package/dist/bundle/{anthropic-DZASXWG3.js → anthropic-G5ZRRWG4.js} +5 -5
- package/dist/bundle/{app-server-4VHT7QZN.js → app-server-UVWATOQC.js} +46 -46
- package/dist/bundle/{bun-7SYKSCLA.js → bun-DNEFTPTR.js} +2 -2
- package/dist/bundle/{bun-sqlite-2GOM5PM3.js → bun-sqlite-FWBYHIXB.js} +4 -4
- package/dist/bundle/{chunk-PC4UA6UN.js → chunk-2CQT2WWN.js} +5 -5
- package/dist/bundle/{chunk-DZMK255Y.js → chunk-2D6AAGBP.js} +41 -31
- package/dist/bundle/{chunk-FG4XXZZE.js → chunk-2FFXRWI2.js} +2 -2
- package/dist/bundle/{chunk-MK3N7WX7.js → chunk-2HQPJ366.js} +3 -3
- package/dist/bundle/{chunk-54BYJQ77.js → chunk-2HWOGSTA.js} +25 -25
- package/dist/bundle/{chunk-7XKAVMCF.js → chunk-2MSJVFAS.js} +8 -8
- package/dist/bundle/{chunk-NSIFQ5OP.js → chunk-2NWFZ43Q.js} +1 -1
- package/dist/bundle/{chunk-6XYGTRMQ.js → chunk-2Q3S47BC.js} +523 -268
- package/dist/bundle/{chunk-KPBCGUJC.js → chunk-47MEPBWG.js} +21 -21
- package/dist/bundle/{chunk-3RYX7IB6.js → chunk-4RDXCE45.js} +39 -38
- package/dist/bundle/{chunk-7IUMHMTP.js → chunk-5BPOAHVD.js} +2 -2
- package/dist/bundle/{chunk-VZ2I62HN.js → chunk-5LNOVPOR.js} +2 -2
- package/dist/bundle/{chunk-EKFEY3KP.js → chunk-5WQN2TUM.js} +1 -1
- package/dist/bundle/{chunk-ALJWBGD5.js → chunk-6MGSFYGL.js} +1 -1
- package/dist/bundle/{chunk-WUX7AUOQ.js → chunk-6RAEXK7Y.js} +26 -26
- package/dist/bundle/{chunk-RNIHKIQP.js → chunk-6SOQJRGI.js} +4 -4
- package/dist/bundle/{chunk-CKBHR7QO.js → chunk-75DSLCPC.js} +1 -1
- package/dist/bundle/{chunk-YLKQSVLI.js → chunk-76JIVDKC.js} +2 -2
- package/dist/bundle/{chunk-LSGAJYVN.js → chunk-7WCZ2OZ5.js} +6 -6
- package/dist/bundle/{chunk-OQMK6WXQ.js → chunk-7XU3TR7K.js} +2 -2
- package/dist/bundle/{chunk-7SH4JHYW.js → chunk-A4FTLORC.js} +12 -12
- package/dist/bundle/{chunk-CITFEQ6S.js → chunk-AACQA2CO.js} +1 -1
- package/dist/bundle/{chunk-PSNHPFSK.js → chunk-AAHIBA36.js} +1 -1
- package/dist/bundle/{chunk-GPJEYW2J.js → chunk-BWBVBW5T.js} +8 -8
- package/dist/bundle/{chunk-HM352LJR.js → chunk-CVALO727.js} +24 -24
- package/dist/bundle/{chunk-E6XDFMRZ.js → chunk-FHW4ENRF.js} +32 -32
- package/dist/bundle/{chunk-2HHOMN2G.js → chunk-HAHARAJD.js} +23 -23
- package/dist/bundle/{chunk-SQHPJBNO.js → chunk-IBRXVPBI.js} +95 -95
- package/dist/bundle/{chunk-YQOVVCIA.js → chunk-IKODUUQG.js} +17 -16
- package/dist/bundle/{chunk-IJFZKQC4.js → chunk-IOMSC4ZG.js} +3 -3
- package/dist/bundle/{chunk-YKZ4IPLB.js → chunk-JKEAZBEZ.js} +7 -7
- package/dist/bundle/{chunk-VTWADVEQ.js → chunk-KIQIF5M7.js} +2 -2
- package/dist/bundle/{chunk-IAQ4L6SM.js → chunk-KT5G3KVS.js} +3 -3
- package/dist/bundle/{chunk-BEL4XZ3M.js → chunk-L3RV42O3.js} +16 -16
- package/dist/bundle/{chunk-NHBUTCNR.js → chunk-LQXLWHKM.js} +9 -9
- package/dist/bundle/{chunk-PR3DA7KA.js → chunk-MATUQFYL.js} +11 -11
- package/dist/bundle/{chunk-F3KHUJEE.js → chunk-MULPNGM2.js} +10 -10
- package/dist/bundle/{chunk-FJW3DDCF.js → chunk-N4OO3SPQ.js} +5 -5
- package/dist/bundle/{chunk-6DHQTUB2.js → chunk-NDWWGBSM.js} +1 -1
- package/dist/bundle/{chunk-DLAFGSTN.js → chunk-NHDSJMAR.js} +1 -1
- package/dist/bundle/{chunk-CNKILAWA.js → chunk-O6YYFVDD.js} +30 -23
- package/dist/bundle/{chunk-FXWBUTR7.js → chunk-OYGEBFFO.js} +7 -7
- package/dist/bundle/{chunk-DOZOLBXE.js → chunk-P7E7K467.js} +3 -3
- package/dist/bundle/{chunk-GE4DP24O.js → chunk-PKNTBZXN.js} +51 -51
- package/dist/bundle/{chunk-PIMMF67N.js → chunk-PU4GANCD.js} +2 -2
- package/dist/bundle/{chunk-UFWK3L5Z.js → chunk-Q46JLJ5O.js} +6 -6
- package/dist/bundle/{chunk-R276546S.js → chunk-QKHFQHE7.js} +1 -1
- package/dist/bundle/{chunk-6BNALDGA.js → chunk-QUJCD5U7.js} +4 -4
- package/dist/bundle/{chunk-CL4GVCXS.js → chunk-RIYXQFKU.js} +46 -46
- package/dist/bundle/{chunk-DT2YCB2V.js → chunk-RWEFKLXJ.js} +24 -22
- package/dist/bundle/{chunk-R4TE4ZSD.js → chunk-SBOTSSYV.js} +342 -296
- package/dist/bundle/{chunk-SIWBUGBU.js → chunk-U3BOQ63L.js} +8 -8
- package/dist/bundle/{chunk-QXYGK6G5.js → chunk-UBJX5D2O.js} +2 -2
- package/dist/bundle/{chunk-WJRJBQIM.js → chunk-VCGQMTHW.js} +549 -288
- package/dist/bundle/{chunk-ZG6X24ON.js → chunk-VKYCMXEQ.js} +5 -5
- package/dist/bundle/{chunk-ZSXRDF6I.js → chunk-VX4RAT3A.js} +1 -1
- package/dist/bundle/{chunk-2PVDFLJJ.js → chunk-W5SYBHRX.js} +2 -2
- package/dist/bundle/{chunk-KXMJE3XC.js → chunk-WGSTTWM5.js} +6 -6
- package/dist/bundle/{chunk-T334CFU4.js → chunk-WJRE45Z6.js} +4 -4
- package/dist/bundle/{chunk-TZLO3ZZF.js → chunk-WQPTZHHR.js} +17 -26
- package/dist/bundle/{chunk-JEOYFKUK.js → chunk-WSX5UQNT.js} +2 -2
- package/dist/bundle/{chunk-LJAX6YCF.js → chunk-WYDYSQ7T.js} +2 -2
- package/dist/bundle/{chunk-C6Z25IBJ.js → chunk-XCUUYQN7.js} +4 -4
- package/dist/bundle/{chunk-GVCN3GLZ.js → chunk-YOHOQ6ZR.js} +4 -4
- package/dist/bundle/{chunk-SVTYS36O.js → chunk-YZ5VMR2S.js} +3 -3
- package/dist/bundle/{chunk-ZDLIO76S.js → chunk-ZMMOVTUB.js} +2 -2
- package/dist/bundle/command-contract-VZ3ZJLEF.js +35 -0
- package/dist/bundle/{decode-WAPM2VBH.js → decode-DN2DDFET.js} +4 -4
- package/dist/bundle/drive.js +6 -6
- package/dist/bundle/{echarts-GXY34GHA.js → echarts-VMHZ2UYP.js} +2 -2
- package/dist/bundle/{embed-HW3N3KNP.js → embed-MDN7R7BA.js} +5 -5
- package/dist/bundle/{embedder-7WNFXYYP.js → embedder-KEVEDNDJ.js} +8 -8
- package/dist/bundle/{entry-J7YIRDPD.js → entry-HTNK5TJQ.js} +6 -6
- package/dist/bundle/{first-run-53CL2IYH.js → first-run-QNMCMP67.js} +9 -9
- package/dist/bundle/first-screen-RQBEHUQC.js +33 -0
- package/dist/bundle/{google-5NNVARNR.js → google-QAKMV57Q.js} +9 -9
- package/dist/bundle/{google-api-EQQH53QD.js → google-api-UJJS7ECO.js} +51 -51
- package/dist/bundle/grants-VMPKFEC2.js +98 -0
- package/dist/bundle/{identity-LBTXDMTA.js → identity-UODE3QAL.js} +4 -4
- package/dist/bundle/{instructions-K5BEQM4C.js → instructions-IWLHCDC7.js} +1 -1
- package/dist/bundle/{login-Y6ENYKC3.js → login-GIZXEN7I.js} +58 -60
- package/dist/bundle/{mcp-WSGVVZWI.js → mcp-RUYPQVYS.js} +2 -2
- package/dist/bundle/{node-ZYWB7IET.js → node-25IJLDBZ.js} +2 -2
- package/dist/bundle/{node-sqlite-FSQIKGED.js → node-sqlite-DYR4FEI4.js} +4 -4
- package/dist/bundle/{oauth-HF5USWXY.js → oauth-FLHXEDDY.js} +6 -6
- package/dist/bundle/{open-NHGJENCX.js → open-FWDZB7KX.js} +3 -3
- package/dist/bundle/{openai-3JCJYKNX.js → openai-HB7UGKPW.js} +13 -13
- package/dist/bundle/{process-ZXO2MWRJ.js → process-P6TW37HQ.js} +1 -1
- package/dist/bundle/{program-QAJ66K3Z.js → program-DVUNLXXS.js} +73 -73
- package/dist/bundle/{prompt-LQJBCCUF.js → prompt-MKWMYO3B.js} +4 -4
- package/dist/bundle/{reasons-J57GSRWN.js → reasons-25BEO2NE.js} +3 -3
- package/dist/bundle/{recognize-QM3LN4ZF.js → recognize-VXGNPROM.js} +3 -3
- package/dist/bundle/{remote-WREGEZJQ.js → remote-H5ZWLJHR.js} +6 -6
- package/dist/bundle/{rerank-YFUB6J6M.js → rerank-5A3JDK7O.js} +6 -6
- package/dist/bundle/{serve-7NFEZ564.js → serve-QNPNEZVR.js} +8 -8
- package/dist/bundle/{server-KBCFZ2AU.js → server-GWBVIRLY.js} +38 -38
- package/dist/bundle/server-QJU3HEGM.js +63 -0
- package/dist/bundle/{services-C3XWRA2W.js → services-PFXEWHJG.js} +29 -25
- package/dist/bundle/{sqlite-runtime-H3TSAMIN.js → sqlite-runtime-RGFISYXM.js} +4 -4
- package/dist/bundle/{state-S2Q53L6L.js → state-BUSX5BXF.js} +5 -5
- package/dist/bundle/{store-I27LAJPU.js → store-FIEE5HHG.js} +14 -14
- package/dist/bundle/{store-H345VQHP.js → store-HFF5KQ44.js} +12 -12
- package/dist/bundle/store-maintenance-command-Z4SPEQUM.js +52 -0
- package/dist/bundle/tokens-B6MUZRFM.js +96 -0
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +2 -4
- package/dist/login.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +0 -9
- 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/command-contract-D4UG3D33.js +0 -35
- package/dist/bundle/first-screen-2KT7HM2K.js +0 -33
- package/dist/bundle/grants-4NETZ4MR.js +0 -98
- package/dist/bundle/server-UYVL2CFI.js +0 -63
- package/dist/bundle/store-maintenance-command-3XA73XMC.js +0 -52
- package/dist/bundle/tokens-7MUGKFEM.js +0 -96
- /package/dist/bundle/{chunk-62EDJKGP.js → chunk-HEA3XVAJ.js} +0 -0
|
@@ -7,22 +7,22 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IKODUUQG.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KIQIF5M7.js";
|
|
14
14
|
import {
|
|
15
15
|
lentConnection,
|
|
16
16
|
refuseLacking
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RWEFKLXJ.js";
|
|
18
18
|
import {
|
|
19
19
|
onlineDeps,
|
|
20
20
|
servicesFor,
|
|
21
21
|
storeModeDeps
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2Q3S47BC.js";
|
|
23
23
|
import {
|
|
24
24
|
ENTITIES
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IBRXVPBI.js";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_OUTPUT_BYTES,
|
|
28
28
|
LOCAL_WRITE,
|
|
@@ -36,13 +36,13 @@ import {
|
|
|
36
36
|
refuseStoreChange,
|
|
37
37
|
sealed,
|
|
38
38
|
startRecording
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4RDXCE45.js";
|
|
40
40
|
import {
|
|
41
41
|
currentCaller,
|
|
42
42
|
keepsSuccess,
|
|
43
43
|
runContextOf,
|
|
44
44
|
withCaller
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-BWBVBW5T.js";
|
|
46
46
|
import {
|
|
47
47
|
authorityAllowed,
|
|
48
48
|
botApiAllowed,
|
|
@@ -53,15 +53,15 @@ import {
|
|
|
53
53
|
newRunId,
|
|
54
54
|
readKeysForCommand,
|
|
55
55
|
traceOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-HAHARAJD.js";
|
|
57
57
|
import {
|
|
58
58
|
MAX_BUFFERED_INPUT
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-5BPOAHVD.js";
|
|
60
60
|
import {
|
|
61
61
|
captureStreams,
|
|
62
62
|
errorObjectOf,
|
|
63
63
|
mcpErrorResult
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-2D6AAGBP.js";
|
|
65
65
|
import {
|
|
66
66
|
CliError,
|
|
67
67
|
SNAKE_CASE,
|
|
@@ -100,15 +100,15 @@ import {
|
|
|
100
100
|
unknown,
|
|
101
101
|
word,
|
|
102
102
|
writes
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-JKEAZBEZ.js";
|
|
104
104
|
import {
|
|
105
105
|
__name
|
|
106
106
|
} from "./chunk-ZVVMGPBJ.js";
|
|
107
107
|
|
|
108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
109
109
|
import { Readable } from "node:stream";
|
|
110
110
|
|
|
111
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
111
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
112
112
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
113
113
|
var lintRuleSchema = strictObject({
|
|
114
114
|
id: word,
|
|
@@ -235,7 +235,7 @@ var overridesSchema = array(strictObject({
|
|
|
235
235
|
review_after: pipe(string(), isoDate("a date, YYYY-MM-DD"))
|
|
236
236
|
}));
|
|
237
237
|
|
|
238
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
238
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
239
239
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
240
240
|
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");
|
|
241
241
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -317,7 +317,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
317
317
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
318
318
|
]);
|
|
319
319
|
|
|
320
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
320
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
321
321
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
322
322
|
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");
|
|
323
323
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -333,7 +333,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
333
333
|
}
|
|
334
334
|
]);
|
|
335
335
|
|
|
336
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
336
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
337
337
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
338
338
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
339
339
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -355,7 +355,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
355
355
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
356
356
|
]);
|
|
357
357
|
|
|
358
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
358
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
359
359
|
var CALENDAR_FLAGS = [
|
|
360
360
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
361
361
|
{
|
|
@@ -429,7 +429,7 @@ var CALENDAR_FLAGS = [
|
|
|
429
429
|
}
|
|
430
430
|
];
|
|
431
431
|
|
|
432
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
432
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
433
433
|
var HOW_FLAGS = [
|
|
434
434
|
{
|
|
435
435
|
name: "--limit",
|
|
@@ -807,6 +807,13 @@ var HOW_FLAGS = [
|
|
|
807
807
|
type: "string",
|
|
808
808
|
meaning: "the browser program to open for sign-in"
|
|
809
809
|
},
|
|
810
|
+
{
|
|
811
|
+
name: "--credential-storage",
|
|
812
|
+
value: "<storage>",
|
|
813
|
+
role: "mode",
|
|
814
|
+
type: "choice",
|
|
815
|
+
meaning: "where a sign-in is kept: keyring, which falls back to a private file by itself, or file (WC-SECR-4)"
|
|
816
|
+
},
|
|
810
817
|
{ name: "--checkpoint", value: "<file>", role: "mode", type: "path", meaning: "keep resume progress in this file" },
|
|
811
818
|
{
|
|
812
819
|
name: "--expected-event-id",
|
|
@@ -1409,7 +1416,7 @@ var HOW_FLAGS = [
|
|
|
1409
1416
|
}
|
|
1410
1417
|
];
|
|
1411
1418
|
|
|
1412
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1419
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
1413
1420
|
var WHAT_FLAGS = [
|
|
1414
1421
|
{
|
|
1415
1422
|
name: "--analysis-provider",
|
|
@@ -2399,7 +2406,7 @@ var WHAT_FLAGS = [
|
|
|
2399
2406
|
}
|
|
2400
2407
|
];
|
|
2401
2408
|
|
|
2402
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2409
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.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
|
|
2403
2410
|
var FLAG_TYPES = [
|
|
2404
2411
|
"switch",
|
|
2405
2412
|
"count",
|
|
@@ -2753,7 +2760,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
2753
2760
|
flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS]
|
|
2754
2761
|
});
|
|
2755
2762
|
|
|
2756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
2757
2764
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
2758
2765
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
2759
2766
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -2974,7 +2981,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
2974
2981
|
}
|
|
2975
2982
|
}, "runCommandForAgent");
|
|
2976
2983
|
|
|
2977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
2978
2985
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
2979
2986
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
2980
2987
|
var message = pipe(
|
|
@@ -3233,7 +3240,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3233
3240
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3234
3241
|
}, "failed");
|
|
3235
3242
|
|
|
3236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3243
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3237
3244
|
import { randomUUID } from "node:crypto";
|
|
3238
3245
|
var MATCHES = 8;
|
|
3239
3246
|
var ANSWER = answerSchema();
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q46JLJ5O.js";
|
|
11
11
|
import {
|
|
12
12
|
Command,
|
|
13
13
|
Help,
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
environmentOf,
|
|
19
19
|
metaOf,
|
|
20
20
|
takesProfile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4RDXCE45.js";
|
|
22
22
|
import {
|
|
23
23
|
CliError,
|
|
24
24
|
writes
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JKEAZBEZ.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.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/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.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/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.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
135
135
|
var ARGUMENT_KINDS = {
|
|
136
136
|
chat: "chat",
|
|
137
137
|
chats: "chat",
|
|
@@ -323,7 +323,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
323
323
|
command.addHelpText("after", () => commandHelpText(command));
|
|
324
324
|
}, "installCommandHelp");
|
|
325
325
|
|
|
326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
327
327
|
var WIRECAT_TOOLS = [
|
|
328
328
|
{
|
|
329
329
|
command: "tg",
|
|
@@ -2,17 +2,17 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
VERSION
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W5SYBHRX.js";
|
|
6
6
|
import {
|
|
7
7
|
annotate,
|
|
8
8
|
commandsDocument,
|
|
9
9
|
describeProgram,
|
|
10
10
|
flatten,
|
|
11
11
|
profileFree
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4RDXCE45.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JKEAZBEZ.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|