jinzd-ai-cli 0.4.116 → 0.4.118
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-GRHEH3JF.js → batch-AZ55FS2U.js} +2 -2
- package/dist/{chunk-KRTQDZMY.js → chunk-267DHNV2.js} +1 -1
- package/dist/{chunk-BXDHW7JO.js → chunk-3YUH5CCS.js} +1 -1
- package/dist/{chunk-YTP26DOV.js → chunk-7QZOLJ2R.js} +28 -6
- package/dist/{chunk-H3F2E4MD.js → chunk-LO4MSGGO.js} +1 -1
- package/dist/{chunk-VJE5V4H2.js → chunk-W622HYR2.js} +1 -1
- package/dist/{chunk-QMT4T4PH.js → chunk-Z6BSKKF6.js} +2 -2
- package/dist/{constants-NWATGC4A.js → constants-H7Q7BTHA.js} +1 -1
- package/dist/electron-server.js +28 -6
- package/dist/{hub-YNP5HCTT.js → hub-TGZYNCE6.js} +1 -1
- package/dist/index.js +11 -11
- package/dist/{run-tests-OKQEMYZK.js → run-tests-CQME3NR3.js} +1 -1
- package/dist/{run-tests-QOZZHW4L.js → run-tests-G22G7UMT.js} +2 -2
- package/dist/{server-HI6GVBD3.js → server-7NVVJSNQ.js} +3 -3
- package/dist/{server-IX6L4W2L.js → server-KLAINAR5.js} +6 -6
- package/dist/{task-orchestrator-SCH3JUKT.js → task-orchestrator-BZS2GA2Q.js} +3 -3
- 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-267DHNV2.js";
|
|
5
5
|
import "./chunk-2ZD3YTVM.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-LO4MSGGO.js";
|
|
7
7
|
import "./chunk-PDX44BCA.js";
|
|
8
8
|
|
|
9
9
|
// src/cli/batch.ts
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-3BICTI5M.js";
|
|
6
6
|
import {
|
|
7
7
|
runTestsTool
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W622HYR2.js";
|
|
9
9
|
import {
|
|
10
10
|
EnvLoader,
|
|
11
11
|
NetworkError,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
SUBAGENT_ALLOWED_TOOLS,
|
|
19
19
|
SUBAGENT_DEFAULT_MAX_ROUNDS,
|
|
20
20
|
SUBAGENT_MAX_ROUNDS_LIMIT
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LO4MSGGO.js";
|
|
22
22
|
import {
|
|
23
23
|
fileCheckpoints
|
|
24
24
|
} from "./chunk-4BKXL7SM.js";
|
|
@@ -372,7 +372,7 @@ Important rules:
|
|
|
372
372
|
}
|
|
373
373
|
updateCwdFromCommand(command, effectiveCwd);
|
|
374
374
|
pushBashUndoEntries(beforeSnapshot, parsedTargetsBefore, effectiveCwd);
|
|
375
|
-
const result = Buffer.isBuffer(stdout) ? stdout.toString("utf-8") : String(stdout ?? "");
|
|
375
|
+
const result = Buffer.isBuffer(stdout) ? IS_WINDOWS ? decodeWindowsBuffer(stdout) : stdout.toString("utf-8") : String(stdout ?? "");
|
|
376
376
|
return result || "(command completed with no output)";
|
|
377
377
|
} catch (err) {
|
|
378
378
|
pushBashUndoEntries(beforeSnapshot, parsedTargetsBefore, effectiveCwd);
|
|
@@ -397,8 +397,8 @@ How to recover (pick ONE \u2014 do NOT retry the same command):
|
|
|
397
397
|
);
|
|
398
398
|
}
|
|
399
399
|
if ("status" in execErr && execErr.status !== void 0) {
|
|
400
|
-
const stderr = IS_WINDOWS && Buffer.isBuffer(execErr.stderr) ? execErr.stderr
|
|
401
|
-
const stdout = IS_WINDOWS && Buffer.isBuffer(execErr.stdout) ? execErr.stdout
|
|
400
|
+
const stderr = IS_WINDOWS && Buffer.isBuffer(execErr.stderr) ? decodeWindowsBuffer(execErr.stderr).trim() : execErr.stderr?.toString().trim() ?? "";
|
|
401
|
+
const stdout = IS_WINDOWS && Buffer.isBuffer(execErr.stdout) ? decodeWindowsBuffer(execErr.stdout).trim() : execErr.stdout?.toString().trim() ?? "";
|
|
402
402
|
const combined = [stdout, stderr].filter(Boolean).join("\n");
|
|
403
403
|
const hint = buildErrorHint(command, combined);
|
|
404
404
|
throw new ToolError(
|
|
@@ -432,6 +432,15 @@ function fixWindowsDeleteCommand(command) {
|
|
|
432
432
|
}
|
|
433
433
|
);
|
|
434
434
|
}
|
|
435
|
+
function decodeWindowsBuffer(buf) {
|
|
436
|
+
const utf8 = buf.toString("utf-8");
|
|
437
|
+
if (!utf8.includes("\uFFFD")) return utf8;
|
|
438
|
+
try {
|
|
439
|
+
return new TextDecoder("gbk").decode(buf);
|
|
440
|
+
} catch {
|
|
441
|
+
return utf8;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
435
444
|
function buildErrorHint(command, stderr) {
|
|
436
445
|
const hints = [];
|
|
437
446
|
if (IS_WINDOWS && /\|\|/.test(command) && /(\|\||is not a valid argument|不是此版本中的有效|ParserError|Unexpected token)/i.test(stderr)) {
|
|
@@ -449,6 +458,11 @@ function buildErrorHint(command, stderr) {
|
|
|
449
458
|
`Hint: SSH + nested quotes ("...\\"...\\"") is fragile across PS \u2192 ssh \u2192 remote-shell \u2192 psql layers. Use the file-based flow: (1) write_file locally to a .sql file, (2) 'scp x.sql root@host:/tmp/', (3) 'ssh root@host "sudo -u postgres psql -d <db> -f /tmp/x.sql"'. Or for remote-only SQL: 'ssh host "cat > /tmp/x.sql << \\'SQLEOF\\'\\n...\\nSQLEOF"' then run psql -f. Avoid inline psql -c with embedded quotes.`
|
|
450
459
|
);
|
|
451
460
|
}
|
|
461
|
+
if (IS_WINDOWS && /Remove-Item/i.test(command) && /cannot find path|no such file|exit 1/i.test(stderr || command)) {
|
|
462
|
+
hints.push(
|
|
463
|
+
`Hint: Add -ErrorAction SilentlyContinue to Remove-Item so missing files don't fail the cleanup step. Example: Remove-Item tmp_*.sql,tmp_*.csv -ErrorAction SilentlyContinue`
|
|
464
|
+
);
|
|
465
|
+
}
|
|
452
466
|
const colMissing = stderr.match(/column "([^"]+)" does not exist/i);
|
|
453
467
|
if (colMissing) {
|
|
454
468
|
hints.push(
|
|
@@ -1855,7 +1869,15 @@ var ToolExecutor = class {
|
|
|
1855
1869
|
}
|
|
1856
1870
|
printToolResult(name, content, isError, wasTruncated) {
|
|
1857
1871
|
if (isError) {
|
|
1858
|
-
|
|
1872
|
+
const lines = content.split("\n");
|
|
1873
|
+
const meaningful = lines.filter(
|
|
1874
|
+
(l) => !/^Exit code \d+:$/.test(l.trim()) && !l.startsWith("[Command failed") && !l.startsWith("\u{1F4A1} ") && l.trim() !== ""
|
|
1875
|
+
);
|
|
1876
|
+
const preview = meaningful.slice(0, 2).join(" \xB7 ") || content.slice(0, 120);
|
|
1877
|
+
const isSoft = /no such file or directory|not found|no matches|exit 1\s*$|cannot find path/i.test(content);
|
|
1878
|
+
const renderFn = isSoft ? theme.warning : theme.error;
|
|
1879
|
+
const icon = isSoft ? "\u2139" : "\u26A0";
|
|
1880
|
+
console.log(renderFn(`${icon} ${name} error: `) + theme.dim(preview.slice(0, 200)));
|
|
1859
1881
|
} else {
|
|
1860
1882
|
const lines = content.split("\n");
|
|
1861
1883
|
const maxLines = name === "run_interactive" ? 40 : 8;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
schemaToJsonSchema,
|
|
4
4
|
truncateForPersist
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7QZOLJ2R.js";
|
|
6
6
|
import {
|
|
7
7
|
AuthError,
|
|
8
8
|
ProviderError,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
MCP_PROTOCOL_VERSION,
|
|
19
19
|
MCP_TOOL_PREFIX,
|
|
20
20
|
VERSION
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LO4MSGGO.js";
|
|
22
22
|
import {
|
|
23
23
|
redactJson
|
|
24
24
|
} from "./chunk-7ZJN4KLV.js";
|
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-3YUH5CCS.js";
|
|
40
40
|
import {
|
|
41
41
|
hasSemanticIndex,
|
|
42
42
|
semanticSearch
|
|
@@ -3936,7 +3936,7 @@ Important rules:
|
|
|
3936
3936
|
}
|
|
3937
3937
|
updateCwdFromCommand(command, effectiveCwd);
|
|
3938
3938
|
pushBashUndoEntries(beforeSnapshot, parsedTargetsBefore, effectiveCwd);
|
|
3939
|
-
const result = Buffer.isBuffer(stdout) ? stdout.toString("utf-8") : String(stdout ?? "");
|
|
3939
|
+
const result = Buffer.isBuffer(stdout) ? IS_WINDOWS ? decodeWindowsBuffer(stdout) : stdout.toString("utf-8") : String(stdout ?? "");
|
|
3940
3940
|
return result || "(command completed with no output)";
|
|
3941
3941
|
} catch (err) {
|
|
3942
3942
|
pushBashUndoEntries(beforeSnapshot, parsedTargetsBefore, effectiveCwd);
|
|
@@ -3961,8 +3961,8 @@ How to recover (pick ONE \u2014 do NOT retry the same command):
|
|
|
3961
3961
|
);
|
|
3962
3962
|
}
|
|
3963
3963
|
if ("status" in execErr && execErr.status !== void 0) {
|
|
3964
|
-
const stderr = IS_WINDOWS && Buffer.isBuffer(execErr.stderr) ? execErr.stderr
|
|
3965
|
-
const stdout = IS_WINDOWS && Buffer.isBuffer(execErr.stdout) ? execErr.stdout
|
|
3964
|
+
const stderr = IS_WINDOWS && Buffer.isBuffer(execErr.stderr) ? decodeWindowsBuffer(execErr.stderr).trim() : execErr.stderr?.toString().trim() ?? "";
|
|
3965
|
+
const stdout = IS_WINDOWS && Buffer.isBuffer(execErr.stdout) ? decodeWindowsBuffer(execErr.stdout).trim() : execErr.stdout?.toString().trim() ?? "";
|
|
3966
3966
|
const combined = [stdout, stderr].filter(Boolean).join("\n");
|
|
3967
3967
|
const hint = buildErrorHint(command, combined);
|
|
3968
3968
|
throw new ToolError(
|
|
@@ -3996,6 +3996,15 @@ function fixWindowsDeleteCommand(command) {
|
|
|
3996
3996
|
}
|
|
3997
3997
|
);
|
|
3998
3998
|
}
|
|
3999
|
+
function decodeWindowsBuffer(buf) {
|
|
4000
|
+
const utf8 = buf.toString("utf-8");
|
|
4001
|
+
if (!utf8.includes("\uFFFD")) return utf8;
|
|
4002
|
+
try {
|
|
4003
|
+
return new TextDecoder("gbk").decode(buf);
|
|
4004
|
+
} catch {
|
|
4005
|
+
return utf8;
|
|
4006
|
+
}
|
|
4007
|
+
}
|
|
3999
4008
|
function buildErrorHint(command, stderr) {
|
|
4000
4009
|
const hints = [];
|
|
4001
4010
|
if (IS_WINDOWS && /\|\|/.test(command) && /(\|\||is not a valid argument|不是此版本中的有效|ParserError|Unexpected token)/i.test(stderr)) {
|
|
@@ -4013,6 +4022,11 @@ function buildErrorHint(command, stderr) {
|
|
|
4013
4022
|
`Hint: SSH + nested quotes ("...\\"...\\"") is fragile across PS \u2192 ssh \u2192 remote-shell \u2192 psql layers. Use the file-based flow: (1) write_file locally to a .sql file, (2) 'scp x.sql root@host:/tmp/', (3) 'ssh root@host "sudo -u postgres psql -d <db> -f /tmp/x.sql"'. Or for remote-only SQL: 'ssh host "cat > /tmp/x.sql << \\'SQLEOF\\'\\n...\\nSQLEOF"' then run psql -f. Avoid inline psql -c with embedded quotes.`
|
|
4014
4023
|
);
|
|
4015
4024
|
}
|
|
4025
|
+
if (IS_WINDOWS && /Remove-Item/i.test(command) && /cannot find path|no such file|exit 1/i.test(stderr || command)) {
|
|
4026
|
+
hints.push(
|
|
4027
|
+
`Hint: Add -ErrorAction SilentlyContinue to Remove-Item so missing files don't fail the cleanup step. Example: Remove-Item tmp_*.sql,tmp_*.csv -ErrorAction SilentlyContinue`
|
|
4028
|
+
);
|
|
4029
|
+
}
|
|
4016
4030
|
const colMissing = stderr.match(/column "([^"]+)" does not exist/i);
|
|
4017
4031
|
if (colMissing) {
|
|
4018
4032
|
hints.push(
|
|
@@ -5380,7 +5394,15 @@ var ToolExecutor = class {
|
|
|
5380
5394
|
}
|
|
5381
5395
|
printToolResult(name, content, isError, wasTruncated) {
|
|
5382
5396
|
if (isError) {
|
|
5383
|
-
|
|
5397
|
+
const lines = content.split("\n");
|
|
5398
|
+
const meaningful = lines.filter(
|
|
5399
|
+
(l) => !/^Exit code \d+:$/.test(l.trim()) && !l.startsWith("[Command failed") && !l.startsWith("\u{1F4A1} ") && l.trim() !== ""
|
|
5400
|
+
);
|
|
5401
|
+
const preview = meaningful.slice(0, 2).join(" \xB7 ") || content.slice(0, 120);
|
|
5402
|
+
const isSoft = /no such file or directory|not found|no matches|exit 1\s*$|cannot find path/i.test(content);
|
|
5403
|
+
const renderFn = isSoft ? theme.warning : theme.error;
|
|
5404
|
+
const icon = isSoft ? "\u2139" : "\u26A0";
|
|
5405
|
+
console.log(renderFn(`${icon} ${name} error: `) + theme.dim(preview.slice(0, 200)));
|
|
5384
5406
|
} else {
|
|
5385
5407
|
const lines = content.split("\n");
|
|
5386
5408
|
const maxLines = name === "run_interactive" ? 40 : 8;
|
|
@@ -12068,7 +12090,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
|
|
|
12068
12090
|
case "test": {
|
|
12069
12091
|
this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
12070
12092
|
try {
|
|
12071
|
-
const { executeTests } = await import("./run-tests-
|
|
12093
|
+
const { executeTests } = await import("./run-tests-CQME3NR3.js");
|
|
12072
12094
|
const argStr = args.join(" ").trim();
|
|
12073
12095
|
let testArgs = {};
|
|
12074
12096
|
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-BZS2GA2Q.js");
|
|
390
390
|
const orchestrator = new TaskOrchestrator(config, providers, configManager);
|
|
391
391
|
let interrupted = false;
|
|
392
392
|
const onSigint = () => {
|
package/dist/index.js
CHANGED
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
setupProxy,
|
|
33
33
|
stripPseudoToolCalls,
|
|
34
34
|
stripToolCallReminder
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-Z6BSKKF6.js";
|
|
36
36
|
import {
|
|
37
37
|
ConfigManager
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-267DHNV2.js";
|
|
39
39
|
import {
|
|
40
40
|
ToolExecutor,
|
|
41
41
|
ToolRegistry,
|
|
@@ -54,10 +54,10 @@ import {
|
|
|
54
54
|
spawnAgentContext,
|
|
55
55
|
theme,
|
|
56
56
|
undoStack
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-7QZOLJ2R.js";
|
|
58
58
|
import "./chunk-3BICTI5M.js";
|
|
59
59
|
import "./chunk-2DXY7UGF.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-W622HYR2.js";
|
|
61
61
|
import "./chunk-2ZD3YTVM.js";
|
|
62
62
|
import {
|
|
63
63
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
SKILLS_DIR_NAME,
|
|
81
81
|
VERSION,
|
|
82
82
|
buildUserIdentityPrompt
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-LO4MSGGO.js";
|
|
84
84
|
import {
|
|
85
85
|
formatGitContextForPrompt,
|
|
86
86
|
getGitContext,
|
|
@@ -1648,7 +1648,7 @@ ${text}
|
|
|
1648
1648
|
const { join: join6 } = await import("path");
|
|
1649
1649
|
const { existsSync: existsSync6 } = await import("fs");
|
|
1650
1650
|
const { getGitRoot: getGitRoot2 } = await import("./git-context-7KIP4X2V.js");
|
|
1651
|
-
const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-
|
|
1651
|
+
const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-H7Q7BTHA.js");
|
|
1652
1652
|
const { approveProject, hashMcpFile } = await import("./project-trust-IFM7FXEV.js");
|
|
1653
1653
|
const cwd = process.cwd();
|
|
1654
1654
|
const projectRoot = getGitRoot2(cwd) ?? cwd;
|
|
@@ -2709,7 +2709,7 @@ ${hint}` : "")
|
|
|
2709
2709
|
usage: "/test [command|filter]",
|
|
2710
2710
|
async execute(args, ctx) {
|
|
2711
2711
|
try {
|
|
2712
|
-
const { executeTests } = await import("./run-tests-
|
|
2712
|
+
const { executeTests } = await import("./run-tests-G22G7UMT.js");
|
|
2713
2713
|
const argStr = args.join(" ").trim();
|
|
2714
2714
|
let testArgs = {};
|
|
2715
2715
|
if (argStr) {
|
|
@@ -7002,7 +7002,7 @@ program.command("web").description("Start Web UI server with browser-based chat
|
|
|
7002
7002
|
console.error("Error: Invalid port number. Must be between 1 and 65535.");
|
|
7003
7003
|
process.exit(1);
|
|
7004
7004
|
}
|
|
7005
|
-
const { startWebServer } = await import("./server-
|
|
7005
|
+
const { startWebServer } = await import("./server-KLAINAR5.js");
|
|
7006
7006
|
await startWebServer({ port, host: options.host });
|
|
7007
7007
|
});
|
|
7008
7008
|
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) => {
|
|
@@ -7138,7 +7138,7 @@ program.command("sessions").description("List recent conversation sessions").act
|
|
|
7138
7138
|
});
|
|
7139
7139
|
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) => {
|
|
7140
7140
|
try {
|
|
7141
|
-
const batch = await import("./batch-
|
|
7141
|
+
const batch = await import("./batch-AZ55FS2U.js");
|
|
7142
7142
|
switch (action) {
|
|
7143
7143
|
case "submit":
|
|
7144
7144
|
if (!arg) {
|
|
@@ -7181,7 +7181,7 @@ program.command("batch <action> [arg] [arg2]").description("Anthropic Message Ba
|
|
|
7181
7181
|
}
|
|
7182
7182
|
});
|
|
7183
7183
|
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) => {
|
|
7184
|
-
const { startMcpServer } = await import("./server-
|
|
7184
|
+
const { startMcpServer } = await import("./server-7NVVJSNQ.js");
|
|
7185
7185
|
await startMcpServer({
|
|
7186
7186
|
allowDestructive: !!options.allowDestructive,
|
|
7187
7187
|
allowOutsideCwd: !!options.allowOutsideCwd,
|
|
@@ -7308,7 +7308,7 @@ program.command("hub [topic]").description("Start multi-agent hub (discuss / bra
|
|
|
7308
7308
|
}),
|
|
7309
7309
|
config.get("customProviders")
|
|
7310
7310
|
);
|
|
7311
|
-
const { startHub } = await import("./hub-
|
|
7311
|
+
const { startHub } = await import("./hub-TGZYNCE6.js");
|
|
7312
7312
|
await startHub(
|
|
7313
7313
|
{
|
|
7314
7314
|
topic: topic ?? "",
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
ToolRegistry,
|
|
4
4
|
getDangerLevel,
|
|
5
5
|
schemaToJsonSchema
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7QZOLJ2R.js";
|
|
7
7
|
import "./chunk-3BICTI5M.js";
|
|
8
8
|
import "./chunk-2DXY7UGF.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-W622HYR2.js";
|
|
10
10
|
import "./chunk-2ZD3YTVM.js";
|
|
11
11
|
import {
|
|
12
12
|
VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LO4MSGGO.js";
|
|
14
14
|
import "./chunk-4BKXL7SM.js";
|
|
15
15
|
import "./chunk-7ZJN4KLV.js";
|
|
16
16
|
import "./chunk-KHYD3WXE.js";
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
setupProxy,
|
|
27
27
|
stripPseudoToolCalls,
|
|
28
28
|
stripToolCallReminder
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-Z6BSKKF6.js";
|
|
30
30
|
import {
|
|
31
31
|
ConfigManager
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-267DHNV2.js";
|
|
33
33
|
import {
|
|
34
34
|
ToolExecutor,
|
|
35
35
|
ToolRegistry,
|
|
@@ -47,10 +47,10 @@ import {
|
|
|
47
47
|
spawnAgentContext,
|
|
48
48
|
truncateOutput,
|
|
49
49
|
undoStack
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-7QZOLJ2R.js";
|
|
51
51
|
import "./chunk-3BICTI5M.js";
|
|
52
52
|
import "./chunk-2DXY7UGF.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-W622HYR2.js";
|
|
54
54
|
import "./chunk-2ZD3YTVM.js";
|
|
55
55
|
import {
|
|
56
56
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
SKILLS_DIR_NAME,
|
|
71
71
|
VERSION,
|
|
72
72
|
buildUserIdentityPrompt
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-LO4MSGGO.js";
|
|
74
74
|
import {
|
|
75
75
|
formatGitContextForPrompt,
|
|
76
76
|
getGitContext,
|
|
@@ -2443,7 +2443,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
|
|
|
2443
2443
|
case "test": {
|
|
2444
2444
|
this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
2445
2445
|
try {
|
|
2446
|
-
const { executeTests } = await import("./run-tests-
|
|
2446
|
+
const { executeTests } = await import("./run-tests-G22G7UMT.js");
|
|
2447
2447
|
const argStr = args.join(" ").trim();
|
|
2448
2448
|
let testArgs = {};
|
|
2449
2449
|
if (argStr) {
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
getDangerLevel,
|
|
5
5
|
googleSearchContext,
|
|
6
6
|
truncateOutput
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7QZOLJ2R.js";
|
|
8
8
|
import "./chunk-3BICTI5M.js";
|
|
9
9
|
import "./chunk-2DXY7UGF.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-W622HYR2.js";
|
|
11
11
|
import "./chunk-2ZD3YTVM.js";
|
|
12
12
|
import {
|
|
13
13
|
SUBAGENT_ALLOWED_TOOLS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LO4MSGGO.js";
|
|
15
15
|
import "./chunk-4BKXL7SM.js";
|
|
16
16
|
import "./chunk-7ZJN4KLV.js";
|
|
17
17
|
import "./chunk-KHYD3WXE.js";
|