jinzd-ai-cli 0.4.237 → 0.4.238
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/{chunk-WI4DN5FN.js → chunk-BTKFZUIJ.js} +10 -4
- package/dist/{chunk-KQJ55BTD.js → chunk-PTUOWHOH.js} +1 -1
- package/dist/electron-server.js +10 -4
- package/dist/{hub-2WPMT242.js → hub-5TKAR7Y7.js} +1 -1
- package/dist/index.js +5 -5
- package/dist/{server-JEVAHG53.js → server-77FK46KF.js} +1 -1
- package/dist/{server-J36CY5EU.js → server-7OUD4SE4.js} +2 -2
- package/dist/{task-orchestrator-D66BJZKU.js → task-orchestrator-AJRFTQVB.js} +1 -1
- package/package.json +1 -1
|
@@ -566,8 +566,8 @@ Important rules:
|
|
|
566
566
|
const hint = buildErrorHint(command, combined);
|
|
567
567
|
throw new ToolError(
|
|
568
568
|
"bash",
|
|
569
|
-
|
|
570
|
-
${combined ||
|
|
569
|
+
`${formatFailureHeader(status)}
|
|
570
|
+
${combined || formatFailureFallback(status)}
|
|
571
571
|
|
|
572
572
|
` + (hint ? `${hint}
|
|
573
573
|
|
|
@@ -643,8 +643,8 @@ How to recover (pick ONE \u2014 do NOT retry the same command):
|
|
|
643
643
|
const hint = buildErrorHint(command, combined);
|
|
644
644
|
throw new ToolError(
|
|
645
645
|
"bash",
|
|
646
|
-
|
|
647
|
-
${combined ||
|
|
646
|
+
`${formatFailureHeader(execErr.status)}
|
|
647
|
+
${combined || execErr.message || formatFailureFallback(execErr.status)}
|
|
648
648
|
|
|
649
649
|
` + (hint ? `${hint}
|
|
650
650
|
|
|
@@ -656,6 +656,12 @@ ${combined || (execErr.message ?? "Unknown error")}
|
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
658
|
};
|
|
659
|
+
function formatFailureHeader(status) {
|
|
660
|
+
return typeof status === "number" ? `Exit code ${status}:` : "Command failed before exit code could be determined:";
|
|
661
|
+
}
|
|
662
|
+
function formatFailureFallback(status) {
|
|
663
|
+
return typeof status === "number" ? `exit ${status}` : "The shell process ended before reporting a numeric exit code.";
|
|
664
|
+
}
|
|
659
665
|
function fixWindowsDeleteCommand(command) {
|
|
660
666
|
return command.replace(
|
|
661
667
|
/Remove-Item\b([^;\n]*)/gi,
|
package/dist/electron-server.js
CHANGED
|
@@ -5185,8 +5185,8 @@ Important rules:
|
|
|
5185
5185
|
const hint = buildErrorHint(command, combined);
|
|
5186
5186
|
throw new ToolError(
|
|
5187
5187
|
"bash",
|
|
5188
|
-
|
|
5189
|
-
${combined ||
|
|
5188
|
+
`${formatFailureHeader(status)}
|
|
5189
|
+
${combined || formatFailureFallback(status)}
|
|
5190
5190
|
|
|
5191
5191
|
` + (hint ? `${hint}
|
|
5192
5192
|
|
|
@@ -5262,8 +5262,8 @@ How to recover (pick ONE \u2014 do NOT retry the same command):
|
|
|
5262
5262
|
const hint = buildErrorHint(command, combined);
|
|
5263
5263
|
throw new ToolError(
|
|
5264
5264
|
"bash",
|
|
5265
|
-
|
|
5266
|
-
${combined ||
|
|
5265
|
+
`${formatFailureHeader(execErr.status)}
|
|
5266
|
+
${combined || execErr.message || formatFailureFallback(execErr.status)}
|
|
5267
5267
|
|
|
5268
5268
|
` + (hint ? `${hint}
|
|
5269
5269
|
|
|
@@ -5275,6 +5275,12 @@ ${combined || (execErr.message ?? "Unknown error")}
|
|
|
5275
5275
|
}
|
|
5276
5276
|
}
|
|
5277
5277
|
};
|
|
5278
|
+
function formatFailureHeader(status) {
|
|
5279
|
+
return typeof status === "number" ? `Exit code ${status}:` : "Command failed before exit code could be determined:";
|
|
5280
|
+
}
|
|
5281
|
+
function formatFailureFallback(status) {
|
|
5282
|
+
return typeof status === "number" ? `exit ${status}` : "The shell process ended before reporting a numeric exit code.";
|
|
5283
|
+
}
|
|
5278
5284
|
function fixWindowsDeleteCommand(command) {
|
|
5279
5285
|
return command.replace(
|
|
5280
5286
|
/Remove-Item\b([^;\n]*)/gi,
|
|
@@ -154,7 +154,7 @@ ${content}`);
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
async function runTaskMode(config, providers, configManager, topic) {
|
|
157
|
-
const { TaskOrchestrator } = await import("./task-orchestrator-
|
|
157
|
+
const { TaskOrchestrator } = await import("./task-orchestrator-AJRFTQVB.js");
|
|
158
158
|
const orchestrator = new TaskOrchestrator(config, providers, configManager);
|
|
159
159
|
let interrupted = false;
|
|
160
160
|
const onSigint = () => {
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
scanProject,
|
|
15
15
|
sessionHasMeaningfulContent,
|
|
16
16
|
setupProxy
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PTUOWHOH.js";
|
|
18
18
|
import {
|
|
19
19
|
buildReviewPrompt,
|
|
20
20
|
buildSecurityReviewPrompt
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
theme,
|
|
53
53
|
undoStack,
|
|
54
54
|
updateMemoryApproval
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-BTKFZUIJ.js";
|
|
56
56
|
import "./chunk-K3CF65QH.js";
|
|
57
57
|
import "./chunk-UUSRWSSX.js";
|
|
58
58
|
import "./chunk-CKH4KQ4E.js";
|
|
@@ -7747,7 +7747,7 @@ program.command("web").description("Start Web UI server with browser-based chat
|
|
|
7747
7747
|
console.error("Error: Invalid port number. Must be between 1 and 65535.");
|
|
7748
7748
|
process.exit(1);
|
|
7749
7749
|
}
|
|
7750
|
-
const { startWebServer } = await import("./server-
|
|
7750
|
+
const { startWebServer } = await import("./server-7OUD4SE4.js");
|
|
7751
7751
|
await startWebServer({ port, host: options.host });
|
|
7752
7752
|
});
|
|
7753
7753
|
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) => {
|
|
@@ -7970,7 +7970,7 @@ program.command("batch <action> [arg] [arg2]").description("Anthropic Message Ba
|
|
|
7970
7970
|
}
|
|
7971
7971
|
});
|
|
7972
7972
|
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) => {
|
|
7973
|
-
const { startMcpServer } = await import("./server-
|
|
7973
|
+
const { startMcpServer } = await import("./server-77FK46KF.js");
|
|
7974
7974
|
await startMcpServer({
|
|
7975
7975
|
allowDestructive: !!options.allowDestructive,
|
|
7976
7976
|
allowOutsideCwd: !!options.allowOutsideCwd,
|
|
@@ -8162,7 +8162,7 @@ program.command("hub [topic]").description("Start multi-agent hub (discuss / bra
|
|
|
8162
8162
|
config.get("customProviders"),
|
|
8163
8163
|
config.getConfigDir()
|
|
8164
8164
|
);
|
|
8165
|
-
const { startHub } = await import("./hub-
|
|
8165
|
+
const { startHub } = await import("./hub-5TKAR7Y7.js");
|
|
8166
8166
|
await startHub(
|
|
8167
8167
|
{
|
|
8168
8168
|
topic: topic ?? "",
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
scanDirTree,
|
|
24
24
|
scanProject,
|
|
25
25
|
setupProxy
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PTUOWHOH.js";
|
|
27
27
|
import {
|
|
28
28
|
buildReviewPrompt,
|
|
29
29
|
buildSecurityReviewPrompt
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
truncateOutput,
|
|
68
68
|
undoStack,
|
|
69
69
|
updateMemoryApproval
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-BTKFZUIJ.js";
|
|
71
71
|
import "./chunk-K3CF65QH.js";
|
|
72
72
|
import "./chunk-UUSRWSSX.js";
|
|
73
73
|
import "./chunk-CKH4KQ4E.js";
|