jinzd-ai-cli 0.4.167 → 0.4.169
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/{batch-N47O3MFT.js → batch-UA6OWP5B.js} +2 -2
- package/dist/{chunk-TKYLIC6W.js → chunk-2QLZGNFP.js} +2 -2
- package/dist/{chunk-W7NDAT4D.js → chunk-6JVMTB2S.js} +1 -1
- package/dist/{chunk-I6CTAVTV.js → chunk-I4ZOULB6.js} +1 -1
- package/dist/{chunk-4U2ISQXG.js → chunk-MD3SNDQ6.js} +1 -1
- package/dist/{chunk-NZBNVMVQ.js → chunk-QIFUVX5K.js} +1 -1
- package/dist/{chunk-H776A726.js → chunk-QVHML2M7.js} +1 -1
- package/dist/{chunk-ECZC3W5V.js → chunk-RNMT4XBQ.js} +3 -3
- package/dist/{chunk-634OPCVR.js → chunk-X6N4EAMM.js} +1 -1
- package/dist/{ci-GJ334TSF.js → ci-34RE6YZA.js} +2 -2
- package/dist/{constants-UZK6OWBJ.js → constants-FJD3QUHI.js} +1 -1
- package/dist/{doctor-cli-LNHCKYCL.js → doctor-cli-T4N3V2OT.js} +4 -4
- package/dist/electron-server.js +2 -2
- package/dist/{hub-PQGV57IX.js → hub-7GSXGHN7.js} +1 -1
- package/dist/index.js +66 -37
- package/dist/{run-tests-ENFFEDCA.js → run-tests-OLKEYSWX.js} +2 -2
- package/dist/{run-tests-VEKHGSYB.js → run-tests-X5VFC62T.js} +1 -1
- package/dist/{server-CBCSOP3D.js → server-EOMEJL2N.js} +7 -7
- package/dist/{server-HDB2FQO5.js → server-QK64LBV2.js} +4 -4
- package/dist/{task-orchestrator-66DIBFRY.js → task-orchestrator-SBTDEKS5.js} +4 -4
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ConfigManager
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MD3SNDQ6.js";
|
|
5
5
|
import "./chunk-TZQHYZKT.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-QIFUVX5K.js";
|
|
7
7
|
import "./chunk-PDX44BCA.js";
|
|
8
8
|
|
|
9
9
|
// src/cli/batch.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
truncateForPersist
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RNMT4XBQ.js";
|
|
5
5
|
import {
|
|
6
6
|
APP_NAME,
|
|
7
7
|
CONFIG_DIR_NAME,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
MCP_PROTOCOL_VERSION,
|
|
12
12
|
MCP_TOOL_PREFIX,
|
|
13
13
|
VERSION
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QIFUVX5K.js";
|
|
15
15
|
|
|
16
16
|
// src/mcp/client.ts
|
|
17
17
|
import { spawn } from "child_process";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "./chunk-HDSKW7Q3.js";
|
|
6
6
|
import {
|
|
7
7
|
runTestsTool
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6JVMTB2S.js";
|
|
9
9
|
import {
|
|
10
10
|
runTool
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QVHML2M7.js";
|
|
12
12
|
import {
|
|
13
13
|
getDangerLevel,
|
|
14
14
|
isFileWriteTool
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
SUBAGENT_ALLOWED_TOOLS,
|
|
26
26
|
SUBAGENT_DEFAULT_MAX_ROUNDS,
|
|
27
27
|
SUBAGENT_MAX_ROUNDS_LIMIT
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QIFUVX5K.js";
|
|
29
29
|
import {
|
|
30
30
|
fileCheckpoints
|
|
31
31
|
} from "./chunk-4BKXL7SM.js";
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
import "./chunk-NXXNLLSG.js";
|
|
11
11
|
import {
|
|
12
12
|
ConfigManager
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MD3SNDQ6.js";
|
|
14
14
|
import "./chunk-TZQHYZKT.js";
|
|
15
15
|
import {
|
|
16
16
|
VERSION
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QIFUVX5K.js";
|
|
18
18
|
import "./chunk-PDX44BCA.js";
|
|
19
19
|
|
|
20
20
|
// src/cli/ci.ts
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
getConfigDirUsage,
|
|
4
4
|
listRecentCrashes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-I4ZOULB6.js";
|
|
6
6
|
import {
|
|
7
7
|
ProviderRegistry
|
|
8
8
|
} from "./chunk-GNJOC6ZN.js";
|
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
getTopFailingTools,
|
|
12
12
|
getTopUsedTools,
|
|
13
13
|
resetStats
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QVHML2M7.js";
|
|
15
15
|
import "./chunk-NXXNLLSG.js";
|
|
16
16
|
import {
|
|
17
17
|
ConfigManager
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MD3SNDQ6.js";
|
|
19
19
|
import "./chunk-TZQHYZKT.js";
|
|
20
20
|
import {
|
|
21
21
|
DEV_STATE_FILE_NAME,
|
|
22
22
|
MEMORY_FILE_NAME,
|
|
23
23
|
VERSION
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QIFUVX5K.js";
|
|
25
25
|
import "./chunk-PDX44BCA.js";
|
|
26
26
|
|
|
27
27
|
// src/diagnostics/doctor-cli.ts
|
package/dist/electron-server.js
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
VERSION,
|
|
37
37
|
buildUserIdentityPrompt,
|
|
38
38
|
runTestsTool
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-X6N4EAMM.js";
|
|
40
40
|
import {
|
|
41
41
|
hasSemanticIndex,
|
|
42
42
|
semanticSearch
|
|
@@ -13548,7 +13548,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
|
|
|
13548
13548
|
case "test": {
|
|
13549
13549
|
this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
13550
13550
|
try {
|
|
13551
|
-
const { executeTests } = await import("./run-tests-
|
|
13551
|
+
const { executeTests } = await import("./run-tests-X5VFC62T.js");
|
|
13552
13552
|
const argStr = args.join(" ").trim();
|
|
13553
13553
|
let testArgs = {};
|
|
13554
13554
|
if (argStr) {
|
|
@@ -155,7 +155,7 @@ ${content}`);
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
async function runTaskMode(config, providers, configManager, topic) {
|
|
158
|
-
const { TaskOrchestrator } = await import("./task-orchestrator-
|
|
158
|
+
const { TaskOrchestrator } = await import("./task-orchestrator-SBTDEKS5.js");
|
|
159
159
|
const orchestrator = new TaskOrchestrator(config, providers, configManager);
|
|
160
160
|
let interrupted = false;
|
|
161
161
|
const onSigint = () => {
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
saveDevState,
|
|
19
19
|
sessionHasMeaningfulContent,
|
|
20
20
|
setupProxy
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2QLZGNFP.js";
|
|
22
22
|
import {
|
|
23
23
|
ToolExecutor,
|
|
24
24
|
ToolRegistry,
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
spawnAgentContext,
|
|
38
38
|
theme,
|
|
39
39
|
undoStack
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-RNMT4XBQ.js";
|
|
41
41
|
import "./chunk-HDSKW7Q3.js";
|
|
42
42
|
import "./chunk-ZWVIDFGY.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-6JVMTB2S.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionManager,
|
|
46
46
|
getContentText
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
getConfigDirUsage,
|
|
50
50
|
listRecentCrashes,
|
|
51
51
|
writeCrashLog
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-I4ZOULB6.js";
|
|
53
53
|
import {
|
|
54
54
|
CONTENT_ONLY_STREAM_REMINDER,
|
|
55
55
|
HALLUCINATION_CORRECTION_MESSAGE,
|
|
@@ -74,11 +74,11 @@ import {
|
|
|
74
74
|
getTopFailingTools,
|
|
75
75
|
getTopUsedTools,
|
|
76
76
|
installFlushOnExit
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-QVHML2M7.js";
|
|
78
78
|
import "./chunk-NXXNLLSG.js";
|
|
79
79
|
import {
|
|
80
80
|
ConfigManager
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-MD3SNDQ6.js";
|
|
82
82
|
import {
|
|
83
83
|
AuthError,
|
|
84
84
|
ProviderError,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
SKILLS_DIR_NAME,
|
|
106
106
|
VERSION,
|
|
107
107
|
buildUserIdentityPrompt
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-QIFUVX5K.js";
|
|
109
109
|
import {
|
|
110
110
|
formatGitContextForPrompt,
|
|
111
111
|
getGitContext,
|
|
@@ -499,10 +499,7 @@ var Renderer = class {
|
|
|
499
499
|
if (openIdx === -1) break;
|
|
500
500
|
if (openIdx > 0) process.stdout.write(out.slice(0, openIdx));
|
|
501
501
|
inThinking = true;
|
|
502
|
-
|
|
503
|
-
process.stdout.write(theme.dim("\n\u{1F4AD} Thinking...\n"));
|
|
504
|
-
thinkingShown = true;
|
|
505
|
-
}
|
|
502
|
+
thinkingShown = true;
|
|
506
503
|
out = out.slice(openIdx + "<think>".length);
|
|
507
504
|
}
|
|
508
505
|
if (inThinking) {
|
|
@@ -598,14 +595,7 @@ var Renderer = class {
|
|
|
598
595
|
process.stdout.write(theme.accent("Assistant: "));
|
|
599
596
|
let displayed = content;
|
|
600
597
|
if (content.includes("<think>")) {
|
|
601
|
-
|
|
602
|
-
displayed = content.replace(/<think>[\s\S]*?<\/think>/g, () => {
|
|
603
|
-
hasThinking = true;
|
|
604
|
-
return "";
|
|
605
|
-
}).trimStart();
|
|
606
|
-
if (hasThinking) {
|
|
607
|
-
process.stdout.write(theme.dim("\n\u{1F4AD} Thinking...\n"));
|
|
608
|
-
}
|
|
598
|
+
displayed = content.replace(/<think>[\s\S]*?<\/think>/g, "").trimStart();
|
|
609
599
|
}
|
|
610
600
|
const finalOutput = this.wrapWidth > 0 ? wrapText(displayed, this.wrapWidth) : displayed;
|
|
611
601
|
process.stdout.write(finalOutput);
|
|
@@ -619,14 +609,7 @@ var Renderer = class {
|
|
|
619
609
|
process.stdout.write(theme.accent("Assistant: "));
|
|
620
610
|
let displayed = content;
|
|
621
611
|
if (content.includes("<think>")) {
|
|
622
|
-
|
|
623
|
-
displayed = content.replace(/<think>[\s\S]*?<\/think>/g, () => {
|
|
624
|
-
hasThinking = true;
|
|
625
|
-
return "";
|
|
626
|
-
}).trimStart();
|
|
627
|
-
if (hasThinking) {
|
|
628
|
-
process.stdout.write(theme.dim("\n\u{1F4AD} Thinking...\n"));
|
|
629
|
-
}
|
|
612
|
+
displayed = content.replace(/<think>[\s\S]*?<\/think>/g, "").trimStart();
|
|
630
613
|
}
|
|
631
614
|
if (this.wrapWidth > 0) {
|
|
632
615
|
displayed = wrapText(displayed, this.wrapWidth);
|
|
@@ -1788,7 +1771,7 @@ No tools match "${filter}".
|
|
|
1788
1771
|
const { join: join6 } = await import("path");
|
|
1789
1772
|
const { existsSync: existsSync6 } = await import("fs");
|
|
1790
1773
|
const { getGitRoot: getGitRoot2 } = await import("./git-context-7KIP4X2V.js");
|
|
1791
|
-
const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-
|
|
1774
|
+
const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-FJD3QUHI.js");
|
|
1792
1775
|
const { approveProject, hashMcpFile } = await import("./project-trust-IFM7FXEV.js");
|
|
1793
1776
|
const cwd = process.cwd();
|
|
1794
1777
|
const projectRoot = getGitRoot2(cwd) ?? cwd;
|
|
@@ -2849,7 +2832,7 @@ ${hint}` : "")
|
|
|
2849
2832
|
usage: "/test [command|filter]",
|
|
2850
2833
|
async execute(args, ctx) {
|
|
2851
2834
|
try {
|
|
2852
|
-
const { executeTests } = await import("./run-tests-
|
|
2835
|
+
const { executeTests } = await import("./run-tests-OLKEYSWX.js");
|
|
2853
2836
|
const argStr = args.join(" ").trim();
|
|
2854
2837
|
let testArgs = {};
|
|
2855
2838
|
if (argStr) {
|
|
@@ -4700,6 +4683,13 @@ var FREE_ROUND_TOOLS = /* @__PURE__ */ new Set(["write_todos"]);
|
|
|
4700
4683
|
var MAX_CONSECUTIVE_FREE_ROUNDS = 3;
|
|
4701
4684
|
var MAX_REPEATED_TOOL_CALLS = 2;
|
|
4702
4685
|
var DEFAULT_AUTO_PAUSE_INTERVAL = 50;
|
|
4686
|
+
function partialTagTail(s, tag) {
|
|
4687
|
+
const max = Math.min(s.length, tag.length - 1);
|
|
4688
|
+
for (let k = max; k > 0; k--) {
|
|
4689
|
+
if (s.endsWith(tag.slice(0, k))) return k;
|
|
4690
|
+
}
|
|
4691
|
+
return 0;
|
|
4692
|
+
}
|
|
4703
4693
|
function fmtTokens(n) {
|
|
4704
4694
|
if (n >= 1e6) return `${Math.round(n / 1e5) / 10}M`;
|
|
4705
4695
|
if (n >= 1e3) return `${Math.round(n / 1024)}K`;
|
|
@@ -6381,13 +6371,47 @@ Session '${this.resumeSessionId}' not found.
|
|
|
6381
6371
|
spinnerStopped = true;
|
|
6382
6372
|
}
|
|
6383
6373
|
};
|
|
6374
|
+
let inThink = false;
|
|
6375
|
+
let thinkShown = false;
|
|
6376
|
+
let thinkBuf = "";
|
|
6377
|
+
const emitText = (raw) => {
|
|
6378
|
+
thinkBuf += raw;
|
|
6379
|
+
let out = "";
|
|
6380
|
+
while (thinkBuf.length > 0) {
|
|
6381
|
+
if (!inThink) {
|
|
6382
|
+
const open = thinkBuf.indexOf("<think>");
|
|
6383
|
+
if (open === -1) {
|
|
6384
|
+
const keep = partialTagTail(thinkBuf, "<think>");
|
|
6385
|
+
out += thinkBuf.slice(0, thinkBuf.length - keep);
|
|
6386
|
+
thinkBuf = thinkBuf.slice(thinkBuf.length - keep);
|
|
6387
|
+
break;
|
|
6388
|
+
}
|
|
6389
|
+
out += thinkBuf.slice(0, open);
|
|
6390
|
+
thinkBuf = thinkBuf.slice(open + "<think>".length);
|
|
6391
|
+
inThink = true;
|
|
6392
|
+
thinkShown = true;
|
|
6393
|
+
} else {
|
|
6394
|
+
const close = thinkBuf.indexOf("</think>");
|
|
6395
|
+
if (close === -1) {
|
|
6396
|
+
const keep = partialTagTail(thinkBuf, "</think>");
|
|
6397
|
+
thinkBuf = thinkBuf.slice(thinkBuf.length - keep);
|
|
6398
|
+
break;
|
|
6399
|
+
}
|
|
6400
|
+
thinkBuf = thinkBuf.slice(close + "</think>".length);
|
|
6401
|
+
inThink = false;
|
|
6402
|
+
}
|
|
6403
|
+
}
|
|
6404
|
+
if (out) {
|
|
6405
|
+
process.stdout.write(out);
|
|
6406
|
+
textParts.push(out);
|
|
6407
|
+
}
|
|
6408
|
+
};
|
|
6384
6409
|
try {
|
|
6385
6410
|
for await (const event of stream) {
|
|
6386
6411
|
switch (event.type) {
|
|
6387
6412
|
case "text_delta":
|
|
6388
6413
|
stopSpinner();
|
|
6389
|
-
|
|
6390
|
-
textParts.push(event.delta);
|
|
6414
|
+
emitText(event.delta);
|
|
6391
6415
|
break;
|
|
6392
6416
|
case "thinking_start":
|
|
6393
6417
|
stopSpinner();
|
|
@@ -6442,6 +6466,11 @@ Session '${this.resumeSessionId}' not found.
|
|
|
6442
6466
|
}
|
|
6443
6467
|
throw err;
|
|
6444
6468
|
}
|
|
6469
|
+
if (!inThink && thinkBuf) {
|
|
6470
|
+
process.stdout.write(thinkBuf);
|
|
6471
|
+
textParts.push(thinkBuf);
|
|
6472
|
+
thinkBuf = "";
|
|
6473
|
+
}
|
|
6445
6474
|
const toolCalls = [];
|
|
6446
6475
|
for (const [, acc] of toolCallAccumulators) {
|
|
6447
6476
|
let parsedArgs;
|
|
@@ -7552,7 +7581,7 @@ program.command("web").description("Start Web UI server with browser-based chat
|
|
|
7552
7581
|
console.error("Error: Invalid port number. Must be between 1 and 65535.");
|
|
7553
7582
|
process.exit(1);
|
|
7554
7583
|
}
|
|
7555
|
-
const { startWebServer } = await import("./server-
|
|
7584
|
+
const { startWebServer } = await import("./server-EOMEJL2N.js");
|
|
7556
7585
|
await startWebServer({ port, host: options.host });
|
|
7557
7586
|
});
|
|
7558
7587
|
program.command("user [action] [username]").description("Manage Web UI users (list | create <name> | delete <name> | reset-password <name> | logout-all <name> | migrate <name>)").action(async (action, username) => {
|
|
@@ -7719,12 +7748,12 @@ program.command("sessions").description("List recent conversation sessions").opt
|
|
|
7719
7748
|
console.log(footer + "\n");
|
|
7720
7749
|
});
|
|
7721
7750
|
program.command("doctor").description("Health check: API keys, config, MCP, recent crashes, tool usage, disk usage").option("--json", "Output as JSON (for scripting)").option("--reset-stats", "Reset accumulated tool usage statistics").action(async (options) => {
|
|
7722
|
-
const { runDoctorCli } = await import("./doctor-cli-
|
|
7751
|
+
const { runDoctorCli } = await import("./doctor-cli-T4N3V2OT.js");
|
|
7723
7752
|
await runDoctorCli({ json: !!options.json, resetStats: !!options.resetStats });
|
|
7724
7753
|
});
|
|
7725
7754
|
program.command("batch <action> [arg] [arg2]").description("Anthropic Message Batches: submit | list | status <id> | results <id> [out] | cancel <id>").option("--dry-run", "Parse and validate input without submitting (submit only)").action(async (action, arg, arg2, options) => {
|
|
7726
7755
|
try {
|
|
7727
|
-
const batch = await import("./batch-
|
|
7756
|
+
const batch = await import("./batch-UA6OWP5B.js");
|
|
7728
7757
|
switch (action) {
|
|
7729
7758
|
case "submit":
|
|
7730
7759
|
if (!arg) {
|
|
@@ -7767,7 +7796,7 @@ program.command("batch <action> [arg] [arg2]").description("Anthropic Message Ba
|
|
|
7767
7796
|
}
|
|
7768
7797
|
});
|
|
7769
7798
|
program.command("mcp-serve").description("Start an MCP server over STDIO, exposing aicli's built-in tools to Claude Desktop / Cursor / other MCP clients").option("--allow-destructive", "Allow bash / run_interactive / task_create (always destructive in MCP mode)").option("--allow-outside-cwd", "Allow tool path arguments to escape the sandbox root \u2014 disabled by default").option("--tools <list>", "Comma-separated whitelist of tools to expose (default: all eligible tools)").option("--cwd <path>", "Working directory AND sandbox root (default: current directory)").action(async (options) => {
|
|
7770
|
-
const { startMcpServer } = await import("./server-
|
|
7799
|
+
const { startMcpServer } = await import("./server-QK64LBV2.js");
|
|
7771
7800
|
await startMcpServer({
|
|
7772
7801
|
allowDestructive: !!options.allowDestructive,
|
|
7773
7802
|
allowOutsideCwd: !!options.allowOutsideCwd,
|
|
@@ -7776,7 +7805,7 @@ program.command("mcp-serve").description("Start an MCP server over STDIO, exposi
|
|
|
7776
7805
|
});
|
|
7777
7806
|
});
|
|
7778
7807
|
program.command("ci").description("Headless PR review (code + security) \u2014 reads git/gh diff, optionally posts to PR. Designed for GitHub Actions.").option("--pr <num>", "PR number; diff fetched via `gh pr diff <num>`", (v) => parseInt(v, 10)).option("--base <ref>", "Base ref for `git diff <ref>...HEAD` (ignored when --pr set)").option("--post", "Post review as a PR comment (requires gh CLI + GH_TOKEN, needs --pr)").option("--no-update", "Always create a new comment instead of updating the previous aicli review").option("--skip-code", "Skip the code review section").option("--skip-security", "Skip the security review section").option("--detailed", "Use the detailed code-review prompt").option("--max-diff <n>", "Max diff chars sent to the model (default 30000)", (v) => parseInt(v, 10)).option("--provider <id>", "Override provider (default: config.defaultProvider)").option("--model <id>", "Override model").option("--dry-run", "Print result to stdout instead of posting (overrides --post)").action(async (options) => {
|
|
7779
|
-
const { runCi } = await import("./ci-
|
|
7808
|
+
const { runCi } = await import("./ci-34RE6YZA.js");
|
|
7780
7809
|
const result = await runCi({
|
|
7781
7810
|
pr: options.pr,
|
|
7782
7811
|
base: options.base,
|
|
@@ -7921,7 +7950,7 @@ program.command("hub [topic]").description("Start multi-agent hub (discuss / bra
|
|
|
7921
7950
|
}),
|
|
7922
7951
|
config.get("customProviders")
|
|
7923
7952
|
);
|
|
7924
|
-
const { startHub } = await import("./hub-
|
|
7953
|
+
const { startHub } = await import("./hub-7GSXGHN7.js");
|
|
7925
7954
|
await startHub(
|
|
7926
7955
|
{
|
|
7927
7956
|
topic: topic ?? "",
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
loadDevState,
|
|
22
22
|
persistToolRound,
|
|
23
23
|
setupProxy
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2QLZGNFP.js";
|
|
25
25
|
import {
|
|
26
26
|
ToolExecutor,
|
|
27
27
|
ToolRegistry,
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
spawnAgentContext,
|
|
40
40
|
truncateOutput,
|
|
41
41
|
undoStack
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-RNMT4XBQ.js";
|
|
43
43
|
import "./chunk-HDSKW7Q3.js";
|
|
44
44
|
import "./chunk-ZWVIDFGY.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-6JVMTB2S.js";
|
|
46
46
|
import {
|
|
47
47
|
SessionManager,
|
|
48
48
|
getContentText
|
|
@@ -64,13 +64,13 @@ import {
|
|
|
64
64
|
} from "./chunk-GNJOC6ZN.js";
|
|
65
65
|
import {
|
|
66
66
|
runTool
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-QVHML2M7.js";
|
|
68
68
|
import {
|
|
69
69
|
getDangerLevel
|
|
70
70
|
} from "./chunk-NXXNLLSG.js";
|
|
71
71
|
import {
|
|
72
72
|
ConfigManager
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-MD3SNDQ6.js";
|
|
74
74
|
import "./chunk-TZQHYZKT.js";
|
|
75
75
|
import {
|
|
76
76
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
SKILLS_DIR_NAME,
|
|
91
91
|
VERSION,
|
|
92
92
|
buildUserIdentityPrompt
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-QIFUVX5K.js";
|
|
94
94
|
import {
|
|
95
95
|
formatGitContextForPrompt,
|
|
96
96
|
getGitContext,
|
|
@@ -2577,7 +2577,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
|
|
|
2577
2577
|
case "test": {
|
|
2578
2578
|
this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
2579
2579
|
try {
|
|
2580
|
-
const { executeTests } = await import("./run-tests-
|
|
2580
|
+
const { executeTests } = await import("./run-tests-OLKEYSWX.js");
|
|
2581
2581
|
const argStr = args.join(" ").trim();
|
|
2582
2582
|
let testArgs = {};
|
|
2583
2583
|
if (argStr) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ToolRegistry
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RNMT4XBQ.js";
|
|
5
5
|
import "./chunk-HDSKW7Q3.js";
|
|
6
6
|
import "./chunk-ZWVIDFGY.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-6JVMTB2S.js";
|
|
8
8
|
import {
|
|
9
9
|
runTool
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QVHML2M7.js";
|
|
11
11
|
import {
|
|
12
12
|
getDangerLevel,
|
|
13
13
|
schemaToJsonSchema
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import "./chunk-TZQHYZKT.js";
|
|
16
16
|
import {
|
|
17
17
|
VERSION
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QIFUVX5K.js";
|
|
19
19
|
import "./chunk-4BKXL7SM.js";
|
|
20
20
|
import "./chunk-MM3F43H6.js";
|
|
21
21
|
import "./chunk-KHYD3WXE.js";
|
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
ToolRegistry,
|
|
4
4
|
googleSearchContext,
|
|
5
5
|
truncateOutput
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RNMT4XBQ.js";
|
|
7
7
|
import "./chunk-HDSKW7Q3.js";
|
|
8
8
|
import "./chunk-ZWVIDFGY.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-6JVMTB2S.js";
|
|
10
10
|
import {
|
|
11
11
|
runTool
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QVHML2M7.js";
|
|
13
13
|
import {
|
|
14
14
|
getDangerLevel
|
|
15
15
|
} from "./chunk-NXXNLLSG.js";
|
|
16
16
|
import "./chunk-TZQHYZKT.js";
|
|
17
17
|
import {
|
|
18
18
|
SUBAGENT_ALLOWED_TOOLS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QIFUVX5K.js";
|
|
20
20
|
import "./chunk-4BKXL7SM.js";
|
|
21
21
|
import "./chunk-MM3F43H6.js";
|
|
22
22
|
import "./chunk-KHYD3WXE.js";
|