jinzd-ai-cli 0.4.138 → 0.4.139
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-YJFHEZFS.js → batch-GXUBLMEK.js} +2 -2
- package/dist/{chunk-SVLXF7ZG.js → chunk-5QSL6HRH.js} +1 -1
- package/dist/{chunk-RAAP7PMN.js → chunk-7PK2VALG.js} +1 -1
- package/dist/{chunk-PRX4DJRB.js → chunk-ED6MYK6J.js} +1 -1
- package/dist/{chunk-ZE7SHDSI.js → chunk-IT34XYPH.js} +3 -3
- package/dist/{chunk-ICZRDITE.js → chunk-PZVSJ3KQ.js} +2 -2
- package/dist/{chunk-HFCZNQSW.js → chunk-QMNYCNPP.js} +1 -1
- package/dist/{chunk-HB7W44IO.js → chunk-RRDBXHVF.js} +1 -1
- package/dist/{chunk-SZGKLZCW.js → chunk-VJ65M4XI.js} +1 -1
- package/dist/{chunk-XXFGS2WM.js → chunk-XOZQLEC2.js} +1 -1
- package/dist/{constants-CVJFNRKM.js → constants-R3ZNLTEN.js} +1 -1
- package/dist/{doctor-cli-L3C2FPNQ.js → doctor-cli-FGTC5P36.js} +5 -5
- package/dist/electron-server.js +2 -2
- package/dist/{hub-C2TEGD53.js → hub-5LXU2IN5.js} +1 -1
- package/dist/index.js +71 -19
- package/dist/{run-tests-PLITC5SK.js → run-tests-HP6VPQ5V.js} +2 -2
- package/dist/{run-tests-EDPOEYLW.js → run-tests-SUBDTMU5.js} +1 -1
- package/dist/{server-HLQS6CDV.js → server-274JSFAD.js} +4 -4
- package/dist/{server-GPD37JVY.js → server-B2T5LCP5.js} +8 -8
- package/dist/{task-orchestrator-2HGNRT75.js → task-orchestrator-SV73GEKC.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-5QSL6HRH.js";
|
|
5
5
|
import "./chunk-2ZD3YTVM.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-RRDBXHVF.js";
|
|
7
7
|
import "./chunk-PDX44BCA.js";
|
|
8
8
|
|
|
9
9
|
// src/cli/batch.ts
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-3BICTI5M.js";
|
|
6
6
|
import {
|
|
7
7
|
runTestsTool
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XOZQLEC2.js";
|
|
9
9
|
import {
|
|
10
10
|
getDangerLevel,
|
|
11
11
|
isFileWriteTool,
|
|
12
12
|
runTool
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QMNYCNPP.js";
|
|
14
14
|
import {
|
|
15
15
|
EnvLoader,
|
|
16
16
|
NetworkError,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
SUBAGENT_ALLOWED_TOOLS,
|
|
24
24
|
SUBAGENT_DEFAULT_MAX_ROUNDS,
|
|
25
25
|
SUBAGENT_MAX_ROUNDS_LIMIT
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RRDBXHVF.js";
|
|
27
27
|
import {
|
|
28
28
|
fileCheckpoints
|
|
29
29
|
} from "./chunk-4BKXL7SM.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
truncateForPersist
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IT34XYPH.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-RRDBXHVF.js";
|
|
15
15
|
import {
|
|
16
16
|
redactJson
|
|
17
17
|
} from "./chunk-7ZJN4KLV.js";
|
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
import {
|
|
3
3
|
getConfigDirUsage,
|
|
4
4
|
listRecentCrashes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ED6MYK6J.js";
|
|
6
6
|
import {
|
|
7
7
|
ProviderRegistry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VJ65M4XI.js";
|
|
9
9
|
import {
|
|
10
10
|
ConfigManager
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5QSL6HRH.js";
|
|
12
12
|
import {
|
|
13
13
|
getStatsSnapshot,
|
|
14
14
|
getTopFailingTools,
|
|
15
15
|
getTopUsedTools,
|
|
16
16
|
resetStats
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QMNYCNPP.js";
|
|
18
18
|
import "./chunk-2ZD3YTVM.js";
|
|
19
19
|
import {
|
|
20
20
|
DEV_STATE_FILE_NAME,
|
|
21
21
|
MEMORY_FILE_NAME,
|
|
22
22
|
VERSION
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RRDBXHVF.js";
|
|
24
24
|
import "./chunk-PDX44BCA.js";
|
|
25
25
|
|
|
26
26
|
// 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-7PK2VALG.js";
|
|
40
40
|
import {
|
|
41
41
|
hasSemanticIndex,
|
|
42
42
|
semanticSearch
|
|
@@ -12511,7 +12511,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
|
|
|
12511
12511
|
case "test": {
|
|
12512
12512
|
this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
12513
12513
|
try {
|
|
12514
|
-
const { executeTests } = await import("./run-tests-
|
|
12514
|
+
const { executeTests } = await import("./run-tests-SUBDTMU5.js");
|
|
12515
12515
|
const argStr = args.join(" ").trim();
|
|
12516
12516
|
let testArgs = {};
|
|
12517
12517
|
if (argStr) {
|
|
@@ -386,7 +386,7 @@ ${content}`);
|
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
async function runTaskMode(config, providers, configManager, topic) {
|
|
389
|
-
const { TaskOrchestrator } = await import("./task-orchestrator-
|
|
389
|
+
const { TaskOrchestrator } = await import("./task-orchestrator-SV73GEKC.js");
|
|
390
390
|
const orchestrator = new TaskOrchestrator(config, providers, configManager);
|
|
391
391
|
let interrupted = false;
|
|
392
392
|
const onSigint = () => {
|
package/dist/index.js
CHANGED
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
saveDevState,
|
|
17
17
|
sessionHasMeaningfulContent,
|
|
18
18
|
setupProxy
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PZVSJ3KQ.js";
|
|
20
20
|
import {
|
|
21
21
|
getConfigDirUsage,
|
|
22
22
|
listRecentCrashes,
|
|
23
23
|
writeCrashLog
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ED6MYK6J.js";
|
|
25
25
|
import {
|
|
26
26
|
CONTENT_ONLY_STREAM_REMINDER,
|
|
27
27
|
HALLUCINATION_CORRECTION_MESSAGE,
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
looksLikeDocumentBody,
|
|
40
40
|
stripPseudoToolCalls,
|
|
41
41
|
stripToolCallReminder
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-VJ65M4XI.js";
|
|
43
43
|
import {
|
|
44
44
|
ConfigManager
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-5QSL6HRH.js";
|
|
46
46
|
import {
|
|
47
47
|
ToolExecutor,
|
|
48
48
|
ToolRegistry,
|
|
@@ -61,16 +61,16 @@ import {
|
|
|
61
61
|
spawnAgentContext,
|
|
62
62
|
theme,
|
|
63
63
|
undoStack
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-IT34XYPH.js";
|
|
65
65
|
import "./chunk-3BICTI5M.js";
|
|
66
66
|
import "./chunk-2DXY7UGF.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-XOZQLEC2.js";
|
|
68
68
|
import {
|
|
69
69
|
getStatsSnapshot,
|
|
70
70
|
getTopFailingTools,
|
|
71
71
|
getTopUsedTools,
|
|
72
72
|
installFlushOnExit
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-QMNYCNPP.js";
|
|
74
74
|
import "./chunk-2ZD3YTVM.js";
|
|
75
75
|
import {
|
|
76
76
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
SKILLS_DIR_NAME,
|
|
94
94
|
VERSION,
|
|
95
95
|
buildUserIdentityPrompt
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-RRDBXHVF.js";
|
|
97
97
|
import {
|
|
98
98
|
formatGitContextForPrompt,
|
|
99
99
|
getGitContext,
|
|
@@ -1812,7 +1812,7 @@ No tools match "${filter}".
|
|
|
1812
1812
|
const { join: join6 } = await import("path");
|
|
1813
1813
|
const { existsSync: existsSync6 } = await import("fs");
|
|
1814
1814
|
const { getGitRoot: getGitRoot2 } = await import("./git-context-7KIP4X2V.js");
|
|
1815
|
-
const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-
|
|
1815
|
+
const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-R3ZNLTEN.js");
|
|
1816
1816
|
const { approveProject, hashMcpFile } = await import("./project-trust-IFM7FXEV.js");
|
|
1817
1817
|
const cwd = process.cwd();
|
|
1818
1818
|
const projectRoot = getGitRoot2(cwd) ?? cwd;
|
|
@@ -2873,7 +2873,7 @@ ${hint}` : "")
|
|
|
2873
2873
|
usage: "/test [command|filter]",
|
|
2874
2874
|
async execute(args, ctx) {
|
|
2875
2875
|
try {
|
|
2876
|
-
const { executeTests } = await import("./run-tests-
|
|
2876
|
+
const { executeTests } = await import("./run-tests-HP6VPQ5V.js");
|
|
2877
2877
|
const argStr = args.join(" ").trim();
|
|
2878
2878
|
let testArgs = {};
|
|
2879
2879
|
if (argStr) {
|
|
@@ -3807,7 +3807,11 @@ ${greeting} Starting ai-cli...
|
|
|
3807
3807
|
const profileName = this.config.get("userProfile")?.nickname || this.config.get("userProfile")?.name;
|
|
3808
3808
|
const profileStatus = profileName ? theme.success(`[${profileName}]`) : theme.dim("[not configured]");
|
|
3809
3809
|
const yoloOn = this.config.get("alwaysYolo") === true;
|
|
3810
|
-
const
|
|
3810
|
+
const mcpOff = this.config.get("mcpEnabled") === false;
|
|
3811
|
+
const behaviorFlags = [];
|
|
3812
|
+
if (yoloOn) behaviorFlags.push("YOLO on");
|
|
3813
|
+
if (mcpOff) behaviorFlags.push("MCP off");
|
|
3814
|
+
const behaviorStatus = behaviorFlags.length ? theme.warning(`[${behaviorFlags.join(", ")}]`) : theme.dim("[default]");
|
|
3811
3815
|
const action = await select({
|
|
3812
3816
|
message: "What would you like to configure?",
|
|
3813
3817
|
choices: [
|
|
@@ -3816,7 +3820,7 @@ ${greeting} Starting ai-cli...
|
|
|
3816
3820
|
{ value: "default", name: "Change default provider" },
|
|
3817
3821
|
{ value: "proxy", name: `Configure proxy (HTTP/HTTPS) ${proxyStatus}` },
|
|
3818
3822
|
{ value: "google", name: `Configure Google Search (API Key + CX) ${googleKeyStatus}` },
|
|
3819
|
-
{ value: "behavior", name: `Behavior toggles (YOLO, ...) ${behaviorStatus}` },
|
|
3823
|
+
{ value: "behavior", name: `Behavior toggles (YOLO, MCP, ...) ${behaviorStatus}` },
|
|
3820
3824
|
{ value: "done", name: "Done" }
|
|
3821
3825
|
]
|
|
3822
3826
|
});
|
|
@@ -3995,10 +3999,34 @@ Managing ${displayName} API Key`);
|
|
|
3995
3999
|
console.log(theme.success(`Proxy saved: ${proxyUrl}
|
|
3996
4000
|
`));
|
|
3997
4001
|
}
|
|
3998
|
-
/** Behavior toggles — alwaysYolo and friends (v0.4.126+). */
|
|
4002
|
+
/** Behavior toggles — alwaysYolo, mcpEnabled, and friends (v0.4.126+). */
|
|
3999
4003
|
async setupBehavior() {
|
|
4004
|
+
let running = true;
|
|
4005
|
+
while (running) {
|
|
4006
|
+
const yoloOn = this.config.get("alwaysYolo") === true;
|
|
4007
|
+
const mcpEnabled = this.config.get("mcpEnabled") !== false;
|
|
4008
|
+
const yoloStatus = yoloOn ? theme.warning("[ON]") : theme.dim("[off]");
|
|
4009
|
+
const mcpStatus = mcpEnabled ? theme.success("[enabled]") : theme.warning("[disabled]");
|
|
4010
|
+
console.log(theme.heading("\n\u2699 Behavior Toggles\n"));
|
|
4011
|
+
const action = await select({
|
|
4012
|
+
message: "Which toggle?",
|
|
4013
|
+
choices: [
|
|
4014
|
+
{ value: "yolo", name: `alwaysYolo ${yoloStatus}` },
|
|
4015
|
+
{ value: "mcp", name: `mcpEnabled ${mcpStatus}` },
|
|
4016
|
+
{ value: "done", name: "Done" }
|
|
4017
|
+
]
|
|
4018
|
+
});
|
|
4019
|
+
if (action === "yolo") {
|
|
4020
|
+
await this.toggleAlwaysYolo();
|
|
4021
|
+
} else if (action === "mcp") {
|
|
4022
|
+
await this.toggleMcpEnabled();
|
|
4023
|
+
} else {
|
|
4024
|
+
running = false;
|
|
4025
|
+
}
|
|
4026
|
+
}
|
|
4027
|
+
}
|
|
4028
|
+
async toggleAlwaysYolo() {
|
|
4000
4029
|
const current = this.config.get("alwaysYolo") === true;
|
|
4001
|
-
console.log(theme.heading("\n\u2699 Behavior Toggles\n"));
|
|
4002
4030
|
console.log(" alwaysYolo: " + (current ? theme.warning("ON") : theme.dim("off")));
|
|
4003
4031
|
console.log(
|
|
4004
4032
|
theme.dim(
|
|
@@ -4021,6 +4049,30 @@ Managing ${displayName} API Key`);
|
|
|
4021
4049
|
console.log(theme.success(" alwaysYolo disabled \u2014 confirmations restored on next REPL start.\n"));
|
|
4022
4050
|
}
|
|
4023
4051
|
}
|
|
4052
|
+
async toggleMcpEnabled() {
|
|
4053
|
+
const current = this.config.get("mcpEnabled") !== false;
|
|
4054
|
+
console.log(" mcpEnabled: " + (current ? theme.success("enabled") : theme.warning("disabled")));
|
|
4055
|
+
console.log(
|
|
4056
|
+
theme.dim(
|
|
4057
|
+
" Global switch for the MCP (Model Context Protocol) subsystem. When disabled,\n REPL startup skips loadProjectMcpConfig() and mcpManager.connectAll() \u2014\n no MCP servers are spawned, no MCP tools appear in the tool list, faster boot.\n Per-server entries in config.mcpServers are preserved but ignored. Disable this\n if you don't use MCP and want a leaner startup / smaller tool schema.\n"
|
|
4058
|
+
)
|
|
4059
|
+
);
|
|
4060
|
+
const next = await confirm({
|
|
4061
|
+
message: current ? "Keep MCP enabled?" : "Re-enable MCP?",
|
|
4062
|
+
default: current
|
|
4063
|
+
});
|
|
4064
|
+
if (next === current) {
|
|
4065
|
+
console.log(theme.dim(" No change.\n"));
|
|
4066
|
+
return;
|
|
4067
|
+
}
|
|
4068
|
+
this.config.set("mcpEnabled", next);
|
|
4069
|
+
this.config.save();
|
|
4070
|
+
if (next) {
|
|
4071
|
+
console.log(theme.success(" MCP enabled \u2014 servers will connect on next REPL start.\n"));
|
|
4072
|
+
} else {
|
|
4073
|
+
console.log(theme.warning(" \u{1F50C} MCP disabled \u2014 no MCP servers will load on next REPL start.\n"));
|
|
4074
|
+
}
|
|
4075
|
+
}
|
|
4024
4076
|
async setupGoogleSearch() {
|
|
4025
4077
|
console.log("\nGoogle Custom Search Configuration");
|
|
4026
4078
|
console.log(theme.dim(" Enables AI to search the web via google_search tool"));
|
|
@@ -7327,7 +7379,7 @@ program.command("web").description("Start Web UI server with browser-based chat
|
|
|
7327
7379
|
console.error("Error: Invalid port number. Must be between 1 and 65535.");
|
|
7328
7380
|
process.exit(1);
|
|
7329
7381
|
}
|
|
7330
|
-
const { startWebServer } = await import("./server-
|
|
7382
|
+
const { startWebServer } = await import("./server-B2T5LCP5.js");
|
|
7331
7383
|
await startWebServer({ port, host: options.host });
|
|
7332
7384
|
});
|
|
7333
7385
|
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) => {
|
|
@@ -7494,12 +7546,12 @@ program.command("sessions").description("List recent conversation sessions").opt
|
|
|
7494
7546
|
console.log(footer + "\n");
|
|
7495
7547
|
});
|
|
7496
7548
|
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) => {
|
|
7497
|
-
const { runDoctorCli } = await import("./doctor-cli-
|
|
7549
|
+
const { runDoctorCli } = await import("./doctor-cli-FGTC5P36.js");
|
|
7498
7550
|
await runDoctorCli({ json: !!options.json, resetStats: !!options.resetStats });
|
|
7499
7551
|
});
|
|
7500
7552
|
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) => {
|
|
7501
7553
|
try {
|
|
7502
|
-
const batch = await import("./batch-
|
|
7554
|
+
const batch = await import("./batch-GXUBLMEK.js");
|
|
7503
7555
|
switch (action) {
|
|
7504
7556
|
case "submit":
|
|
7505
7557
|
if (!arg) {
|
|
@@ -7542,7 +7594,7 @@ program.command("batch <action> [arg] [arg2]").description("Anthropic Message Ba
|
|
|
7542
7594
|
}
|
|
7543
7595
|
});
|
|
7544
7596
|
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) => {
|
|
7545
|
-
const { startMcpServer } = await import("./server-
|
|
7597
|
+
const { startMcpServer } = await import("./server-274JSFAD.js");
|
|
7546
7598
|
await startMcpServer({
|
|
7547
7599
|
allowDestructive: !!options.allowDestructive,
|
|
7548
7600
|
allowOutsideCwd: !!options.allowOutsideCwd,
|
|
@@ -7669,7 +7721,7 @@ program.command("hub [topic]").description("Start multi-agent hub (discuss / bra
|
|
|
7669
7721
|
}),
|
|
7670
7722
|
config.get("customProviders")
|
|
7671
7723
|
);
|
|
7672
|
-
const { startHub } = await import("./hub-
|
|
7724
|
+
const { startHub } = await import("./hub-5LXU2IN5.js");
|
|
7673
7725
|
await startHub(
|
|
7674
7726
|
{
|
|
7675
7727
|
topic: topic ?? "",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ToolRegistry
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IT34XYPH.js";
|
|
5
5
|
import "./chunk-3BICTI5M.js";
|
|
6
6
|
import "./chunk-2DXY7UGF.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-XOZQLEC2.js";
|
|
8
8
|
import {
|
|
9
9
|
getDangerLevel,
|
|
10
10
|
runTool,
|
|
11
11
|
schemaToJsonSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QMNYCNPP.js";
|
|
13
13
|
import "./chunk-2ZD3YTVM.js";
|
|
14
14
|
import {
|
|
15
15
|
VERSION
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RRDBXHVF.js";
|
|
17
17
|
import "./chunk-4BKXL7SM.js";
|
|
18
18
|
import "./chunk-7ZJN4KLV.js";
|
|
19
19
|
import "./chunk-KHYD3WXE.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
loadDevState,
|
|
15
15
|
persistToolRound,
|
|
16
16
|
setupProxy
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PZVSJ3KQ.js";
|
|
18
18
|
import {
|
|
19
19
|
CONTENT_ONLY_STREAM_REMINDER,
|
|
20
20
|
HALLUCINATION_CORRECTION_MESSAGE,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
looksLikeDocumentBody,
|
|
29
29
|
stripPseudoToolCalls,
|
|
30
30
|
stripToolCallReminder
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VJ65M4XI.js";
|
|
32
32
|
import {
|
|
33
33
|
ConfigManager
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5QSL6HRH.js";
|
|
35
35
|
import {
|
|
36
36
|
ToolExecutor,
|
|
37
37
|
ToolRegistry,
|
|
@@ -49,14 +49,14 @@ import {
|
|
|
49
49
|
spawnAgentContext,
|
|
50
50
|
truncateOutput,
|
|
51
51
|
undoStack
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-IT34XYPH.js";
|
|
53
53
|
import "./chunk-3BICTI5M.js";
|
|
54
54
|
import "./chunk-2DXY7UGF.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-XOZQLEC2.js";
|
|
56
56
|
import {
|
|
57
57
|
getDangerLevel,
|
|
58
58
|
runTool
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-QMNYCNPP.js";
|
|
60
60
|
import "./chunk-2ZD3YTVM.js";
|
|
61
61
|
import {
|
|
62
62
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
SKILLS_DIR_NAME,
|
|
77
77
|
VERSION,
|
|
78
78
|
buildUserIdentityPrompt
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-RRDBXHVF.js";
|
|
80
80
|
import {
|
|
81
81
|
formatGitContextForPrompt,
|
|
82
82
|
getGitContext,
|
|
@@ -2460,7 +2460,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
|
|
|
2460
2460
|
case "test": {
|
|
2461
2461
|
this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
2462
2462
|
try {
|
|
2463
|
-
const { executeTests } = await import("./run-tests-
|
|
2463
|
+
const { executeTests } = await import("./run-tests-HP6VPQ5V.js");
|
|
2464
2464
|
const argStr = args.join(" ").trim();
|
|
2465
2465
|
let testArgs = {};
|
|
2466
2466
|
if (argStr) {
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
ToolRegistry,
|
|
4
4
|
googleSearchContext,
|
|
5
5
|
truncateOutput
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IT34XYPH.js";
|
|
7
7
|
import "./chunk-3BICTI5M.js";
|
|
8
8
|
import "./chunk-2DXY7UGF.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-XOZQLEC2.js";
|
|
10
10
|
import {
|
|
11
11
|
getDangerLevel,
|
|
12
12
|
runTool
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QMNYCNPP.js";
|
|
14
14
|
import "./chunk-2ZD3YTVM.js";
|
|
15
15
|
import {
|
|
16
16
|
SUBAGENT_ALLOWED_TOOLS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RRDBXHVF.js";
|
|
18
18
|
import "./chunk-4BKXL7SM.js";
|
|
19
19
|
import "./chunk-7ZJN4KLV.js";
|
|
20
20
|
import "./chunk-KHYD3WXE.js";
|