jinzd-ai-cli 0.4.171 → 0.4.172
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-6WDD57ZG.js → batch-7FOD7UAI.js} +2 -2
- package/dist/{chunk-57H6YNXY.js → chunk-3QHN2LKK.js} +2 -2
- package/dist/{chunk-RSZWLQU4.js → chunk-675G3UGO.js} +1 -1
- package/dist/{chunk-H53UCPFF.js → chunk-DCZYF7AK.js} +1 -1
- package/dist/{chunk-WG4THOHH.js → chunk-H2X7LKLQ.js} +3 -3
- package/dist/{chunk-IZY4MCKG.js → chunk-QZ4TXN6I.js} +1 -1
- package/dist/{chunk-MELFYYS7.js → chunk-SGD5WSDG.js} +1 -1
- package/dist/{chunk-6JTVUGSF.js → chunk-UEPQH4FK.js} +1 -1
- package/dist/{chunk-YMH6BKAE.js → chunk-VNWZTKRX.js} +1 -1
- package/dist/{ci-Y4FEHLDL.js → ci-AFTGRKJ6.js} +2 -2
- package/dist/{constants-OMTUJRKU.js → constants-J2BZAFWO.js} +1 -1
- package/dist/{doctor-cli-OZJZKETL.js → doctor-cli-YYQ5QXDR.js} +4 -4
- package/dist/electron-server.js +2 -2
- package/dist/{hub-IVVW7BTJ.js → hub-7IF37CGA.js} +1 -1
- package/dist/index.js +52 -15
- package/dist/{run-tests-A2Q5VMHF.js → run-tests-FXXWLFKS.js} +1 -1
- package/dist/{run-tests-AYADOMOF.js → run-tests-HLB2NHJO.js} +2 -2
- package/dist/{server-7B7HTSLE.js → server-MZL4VR7M.js} +7 -7
- package/dist/{server-RXWYMDAH.js → server-O3NO5D3X.js} +4 -4
- package/dist/{task-orchestrator-U7KU4SOS.js → task-orchestrator-OCMQPD4H.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-UEPQH4FK.js";
|
|
5
5
|
import "./chunk-TZQHYZKT.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-675G3UGO.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-H2X7LKLQ.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-675G3UGO.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-SGD5WSDG.js";
|
|
9
9
|
import {
|
|
10
10
|
runTool
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DCZYF7AK.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-675G3UGO.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-UEPQH4FK.js";
|
|
14
14
|
import "./chunk-TZQHYZKT.js";
|
|
15
15
|
import {
|
|
16
16
|
VERSION
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-675G3UGO.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-QZ4TXN6I.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-DCZYF7AK.js";
|
|
15
15
|
import "./chunk-NXXNLLSG.js";
|
|
16
16
|
import {
|
|
17
17
|
ConfigManager
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UEPQH4FK.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-675G3UGO.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-VNWZTKRX.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-FXXWLFKS.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-OCMQPD4H.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-3QHN2LKK.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-H2X7LKLQ.js";
|
|
41
41
|
import "./chunk-HDSKW7Q3.js";
|
|
42
42
|
import "./chunk-ZWVIDFGY.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-SGD5WSDG.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-QZ4TXN6I.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-DCZYF7AK.js";
|
|
78
78
|
import "./chunk-NXXNLLSG.js";
|
|
79
79
|
import {
|
|
80
80
|
ConfigManager
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-UEPQH4FK.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-675G3UGO.js";
|
|
109
109
|
import {
|
|
110
110
|
formatGitContextForPrompt,
|
|
111
111
|
getGitContext,
|
|
@@ -1786,7 +1786,7 @@ No tools match "${filter}".
|
|
|
1786
1786
|
const { join: join6 } = await import("path");
|
|
1787
1787
|
const { existsSync: existsSync6 } = await import("fs");
|
|
1788
1788
|
const { getGitRoot: getGitRoot2 } = await import("./git-context-7KIP4X2V.js");
|
|
1789
|
-
const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-
|
|
1789
|
+
const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-J2BZAFWO.js");
|
|
1790
1790
|
const { approveProject, hashMcpFile } = await import("./project-trust-IFM7FXEV.js");
|
|
1791
1791
|
const cwd = process.cwd();
|
|
1792
1792
|
const projectRoot = getGitRoot2(cwd) ?? cwd;
|
|
@@ -2847,7 +2847,7 @@ ${hint}` : "")
|
|
|
2847
2847
|
usage: "/test [command|filter]",
|
|
2848
2848
|
async execute(args, ctx) {
|
|
2849
2849
|
try {
|
|
2850
|
-
const { executeTests } = await import("./run-tests-
|
|
2850
|
+
const { executeTests } = await import("./run-tests-HLB2NHJO.js");
|
|
2851
2851
|
const argStr = args.join(" ").trim();
|
|
2852
2852
|
let testArgs = {};
|
|
2853
2853
|
if (argStr) {
|
|
@@ -4761,6 +4761,8 @@ var Repl = class {
|
|
|
4761
4761
|
currentProvider;
|
|
4762
4762
|
currentModel;
|
|
4763
4763
|
running = false;
|
|
4764
|
+
/** 是否已注册 bracketed-paste 的 process.exit 还原钩子(只注册一次) */
|
|
4765
|
+
bracketedPasteRestoreHooked = false;
|
|
4764
4766
|
renderer;
|
|
4765
4767
|
commands;
|
|
4766
4768
|
toolRegistry;
|
|
@@ -5692,6 +5694,7 @@ Session '${this.resumeSessionId}' not found.
|
|
|
5692
5694
|
}
|
|
5693
5695
|
}
|
|
5694
5696
|
this.setupClipboardPaste();
|
|
5697
|
+
this.enableBracketedPaste();
|
|
5695
5698
|
this.rl.on("SIGINT", () => {
|
|
5696
5699
|
if (this.streamAbortController) {
|
|
5697
5700
|
this.streamAbortController.abort();
|
|
@@ -6268,6 +6271,39 @@ Session '${this.resumeSessionId}' not found.
|
|
|
6268
6271
|
* 3. 后续字符正常插入
|
|
6269
6272
|
* 最终 readline 缓冲区包含完整的 @路径,用户可继续追加描述文字后回车发送。
|
|
6270
6273
|
*/
|
|
6274
|
+
/**
|
|
6275
|
+
* 开启终端 bracketed paste 模式(ESC[?2004h)。
|
|
6276
|
+
*
|
|
6277
|
+
* 粘贴时终端把内容包进 `ESC[200~ … ESC[201~`,Node readline 原生识别这对标记,
|
|
6278
|
+
* 把整段粘贴当作**一次**插入渲染——而不是逐字符触发 `_refreshLine()` 整行重绘。
|
|
6279
|
+
* 这消除了长中文(双宽字符)输入折行时多帧重绘叠加产生的“鬼影”
|
|
6280
|
+
* (prompt `[provider] >` 串进正文、文字错位重复)。markers 由 readline 自动剥离,
|
|
6281
|
+
* 不会进入 `rl.line`,多行粘贴的逐行 `line` 事件也保持不变。
|
|
6282
|
+
*
|
|
6283
|
+
* 仅在 TTY 下启用;并注册一次性 `process.exit` 钩子,确保异常退出时也还原终端
|
|
6284
|
+
* (否则之后运行的其它程序会收到带 200~/201~ 标记的粘贴)。
|
|
6285
|
+
*/
|
|
6286
|
+
enableBracketedPaste() {
|
|
6287
|
+
if (!process.stdout.isTTY) return;
|
|
6288
|
+
process.stdout.write("\x1B[?2004h");
|
|
6289
|
+
if (!this.bracketedPasteRestoreHooked) {
|
|
6290
|
+
this.bracketedPasteRestoreHooked = true;
|
|
6291
|
+
process.once("exit", () => {
|
|
6292
|
+
try {
|
|
6293
|
+
if (process.stdout.isTTY) process.stdout.write("\x1B[?2004l");
|
|
6294
|
+
} catch {
|
|
6295
|
+
}
|
|
6296
|
+
});
|
|
6297
|
+
}
|
|
6298
|
+
}
|
|
6299
|
+
/** 关闭 bracketed paste 模式(ESC[?2004l),还原终端,供正常退出路径调用。 */
|
|
6300
|
+
disableBracketedPaste() {
|
|
6301
|
+
if (!process.stdout.isTTY) return;
|
|
6302
|
+
try {
|
|
6303
|
+
process.stdout.write("\x1B[?2004l");
|
|
6304
|
+
} catch {
|
|
6305
|
+
}
|
|
6306
|
+
}
|
|
6271
6307
|
setupClipboardPaste() {
|
|
6272
6308
|
process.stdin.prependListener("keypress", (_ch, key) => {
|
|
6273
6309
|
if (!key?.ctrl || key?.name !== "v") return;
|
|
@@ -7499,6 +7535,7 @@ Tip: You can continue the conversation by asking the AI to proceed.`
|
|
|
7499
7535
|
process.stderr.write(`[mcp] cleanup error: ${err instanceof Error ? err.message : err}
|
|
7500
7536
|
`);
|
|
7501
7537
|
});
|
|
7538
|
+
this.disableBracketedPaste();
|
|
7502
7539
|
this.rl.close();
|
|
7503
7540
|
console.log(theme.dim("\nGoodbye!"));
|
|
7504
7541
|
process.exit(0);
|
|
@@ -7596,7 +7633,7 @@ program.command("web").description("Start Web UI server with browser-based chat
|
|
|
7596
7633
|
console.error("Error: Invalid port number. Must be between 1 and 65535.");
|
|
7597
7634
|
process.exit(1);
|
|
7598
7635
|
}
|
|
7599
|
-
const { startWebServer } = await import("./server-
|
|
7636
|
+
const { startWebServer } = await import("./server-MZL4VR7M.js");
|
|
7600
7637
|
await startWebServer({ port, host: options.host });
|
|
7601
7638
|
});
|
|
7602
7639
|
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) => {
|
|
@@ -7763,12 +7800,12 @@ program.command("sessions").description("List recent conversation sessions").opt
|
|
|
7763
7800
|
console.log(footer + "\n");
|
|
7764
7801
|
});
|
|
7765
7802
|
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) => {
|
|
7766
|
-
const { runDoctorCli } = await import("./doctor-cli-
|
|
7803
|
+
const { runDoctorCli } = await import("./doctor-cli-YYQ5QXDR.js");
|
|
7767
7804
|
await runDoctorCli({ json: !!options.json, resetStats: !!options.resetStats });
|
|
7768
7805
|
});
|
|
7769
7806
|
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) => {
|
|
7770
7807
|
try {
|
|
7771
|
-
const batch = await import("./batch-
|
|
7808
|
+
const batch = await import("./batch-7FOD7UAI.js");
|
|
7772
7809
|
switch (action) {
|
|
7773
7810
|
case "submit":
|
|
7774
7811
|
if (!arg) {
|
|
@@ -7811,7 +7848,7 @@ program.command("batch <action> [arg] [arg2]").description("Anthropic Message Ba
|
|
|
7811
7848
|
}
|
|
7812
7849
|
});
|
|
7813
7850
|
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) => {
|
|
7814
|
-
const { startMcpServer } = await import("./server-
|
|
7851
|
+
const { startMcpServer } = await import("./server-O3NO5D3X.js");
|
|
7815
7852
|
await startMcpServer({
|
|
7816
7853
|
allowDestructive: !!options.allowDestructive,
|
|
7817
7854
|
allowOutsideCwd: !!options.allowOutsideCwd,
|
|
@@ -7820,7 +7857,7 @@ program.command("mcp-serve").description("Start an MCP server over STDIO, exposi
|
|
|
7820
7857
|
});
|
|
7821
7858
|
});
|
|
7822
7859
|
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) => {
|
|
7823
|
-
const { runCi } = await import("./ci-
|
|
7860
|
+
const { runCi } = await import("./ci-AFTGRKJ6.js");
|
|
7824
7861
|
const result = await runCi({
|
|
7825
7862
|
pr: options.pr,
|
|
7826
7863
|
base: options.base,
|
|
@@ -7965,7 +8002,7 @@ program.command("hub [topic]").description("Start multi-agent hub (discuss / bra
|
|
|
7965
8002
|
}),
|
|
7966
8003
|
config.get("customProviders")
|
|
7967
8004
|
);
|
|
7968
|
-
const { startHub } = await import("./hub-
|
|
8005
|
+
const { startHub } = await import("./hub-7IF37CGA.js");
|
|
7969
8006
|
await startHub(
|
|
7970
8007
|
{
|
|
7971
8008
|
topic: topic ?? "",
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
loadDevState,
|
|
22
22
|
persistToolRound,
|
|
23
23
|
setupProxy
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3QHN2LKK.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-H2X7LKLQ.js";
|
|
43
43
|
import "./chunk-HDSKW7Q3.js";
|
|
44
44
|
import "./chunk-ZWVIDFGY.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-SGD5WSDG.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-DCZYF7AK.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-UEPQH4FK.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-675G3UGO.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-HLB2NHJO.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-H2X7LKLQ.js";
|
|
5
5
|
import "./chunk-HDSKW7Q3.js";
|
|
6
6
|
import "./chunk-ZWVIDFGY.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-SGD5WSDG.js";
|
|
8
8
|
import {
|
|
9
9
|
runTool
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DCZYF7AK.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-675G3UGO.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-H2X7LKLQ.js";
|
|
7
7
|
import "./chunk-HDSKW7Q3.js";
|
|
8
8
|
import "./chunk-ZWVIDFGY.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-SGD5WSDG.js";
|
|
10
10
|
import {
|
|
11
11
|
runTool
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DCZYF7AK.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-675G3UGO.js";
|
|
20
20
|
import "./chunk-4BKXL7SM.js";
|
|
21
21
|
import "./chunk-MM3F43H6.js";
|
|
22
22
|
import "./chunk-KHYD3WXE.js";
|