jinzd-ai-cli 0.4.203 → 0.4.204
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-PRC75BKT.js → batch-ZP52GVVD.js} +2 -2
- package/dist/{chunk-EZR7NIC5.js → chunk-26YWVRLT.js} +1 -1
- package/dist/{chunk-742TILCK.js → chunk-B75A6AG4.js} +18 -4
- package/dist/{chunk-EOYN2PCH.js → chunk-BENRC3OO.js} +1 -1
- package/dist/{chunk-VYCSZBII.js → chunk-GYN2PTY2.js} +1 -1
- package/dist/{chunk-ZEDQBXVK.js → chunk-JLZ5QA2I.js} +1 -1
- package/dist/{chunk-YG5CA4ZA.js → chunk-PIZWD5JN.js} +2 -2
- package/dist/{chunk-RFWBHCDC.js → chunk-SCQOEDVL.js} +1 -1
- package/dist/{chunk-2V4QG75U.js → chunk-T5RTPF2Q.js} +1 -1
- package/dist/{ci-OZ4EB52Y.js → ci-LWE2I5QW.js} +2 -2
- package/dist/{constants-PN4X2MIK.js → constants-JRY7PDEY.js} +1 -1
- package/dist/{doctor-cli-YPL3XCBU.js → doctor-cli-KPUULUPS.js} +4 -4
- package/dist/electron-server.js +17 -3
- package/dist/{hub-PKFAPVXM.js → hub-4CDJPNIM.js} +1 -1
- package/dist/index.js +16 -16
- package/dist/{run-tests-DOBBUV45.js → run-tests-6G2F7OSC.js} +1 -1
- package/dist/{run-tests-ADASGIJE.js → run-tests-RQWSG25U.js} +2 -2
- package/dist/{server-FLDRVPXJ.js → server-MF6UDMBZ.js} +7 -7
- package/dist/{server-WBIQCV6B.js → server-XNB76DRR.js} +4 -4
- package/dist/{task-orchestrator-6FD2AXLQ.js → task-orchestrator-PKZ2UTOK.js} +4 -4
- package/dist/{usage-NDMBSGG6.js → usage-Z64KJASD.js} +2 -2
- 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-BENRC3OO.js";
|
|
5
5
|
import "./chunk-TZQHYZKT.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-SCQOEDVL.js";
|
|
7
7
|
import {
|
|
8
8
|
atomicWriteFileSync
|
|
9
9
|
} from "./chunk-IW3Q7AE5.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "./chunk-T2NL5ZIA.js";
|
|
6
6
|
import {
|
|
7
7
|
runTestsTool
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GYN2PTY2.js";
|
|
9
9
|
import {
|
|
10
10
|
runTool
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JLZ5QA2I.js";
|
|
12
12
|
import {
|
|
13
13
|
getDangerLevel,
|
|
14
14
|
isFileWriteTool,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
SUBAGENT_ALLOWED_TOOLS,
|
|
27
27
|
SUBAGENT_DEFAULT_MAX_ROUNDS,
|
|
28
28
|
SUBAGENT_MAX_ROUNDS_LIMIT
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SCQOEDVL.js";
|
|
30
30
|
import {
|
|
31
31
|
fileCheckpoints
|
|
32
32
|
} from "./chunk-4BKXL7SM.js";
|
|
@@ -3660,8 +3660,19 @@ function classifyBingWeakness(query, results) {
|
|
|
3660
3660
|
if (noiseCount / results.length >= 0.4) {
|
|
3661
3661
|
return `${noiseCount}/${results.length} results from known-noise domains`;
|
|
3662
3662
|
}
|
|
3663
|
+
const homepageCount = results.filter((r) => isBareHomepage(r.url)).length;
|
|
3664
|
+
if (homepageCount / results.length >= 0.6) {
|
|
3665
|
+
return `${homepageCount}/${results.length} results are bare site homepages (popular-sites fallback)`;
|
|
3666
|
+
}
|
|
3663
3667
|
return null;
|
|
3664
3668
|
}
|
|
3669
|
+
function isBareHomepage(url) {
|
|
3670
|
+
try {
|
|
3671
|
+
return new URL(url).pathname.replace(/\/+$/, "") === "";
|
|
3672
|
+
} catch {
|
|
3673
|
+
return false;
|
|
3674
|
+
}
|
|
3675
|
+
}
|
|
3665
3676
|
var NOISE_DOMAIN_RE = new RegExp(
|
|
3666
3677
|
"\\b(" + [
|
|
3667
3678
|
// Network/CDN noise tests
|
|
@@ -3726,11 +3737,14 @@ function hasZeroKeywordOverlap(query, results) {
|
|
|
3726
3737
|
}
|
|
3727
3738
|
return true;
|
|
3728
3739
|
}
|
|
3740
|
+
function pickBingMarket(query) {
|
|
3741
|
+
return /[一-鿿-ヿ가-]/.test(query) ? "zh-CN" : "en-US";
|
|
3742
|
+
}
|
|
3729
3743
|
async function searchBing(query, num) {
|
|
3730
3744
|
const url = new URL("https://cn.bing.com/search");
|
|
3731
3745
|
url.searchParams.set("q", query);
|
|
3732
3746
|
url.searchParams.set("count", String(num));
|
|
3733
|
-
url.searchParams.set("mkt",
|
|
3747
|
+
url.searchParams.set("mkt", pickBingMarket(query));
|
|
3734
3748
|
const html = await fetchHtml(url.toString());
|
|
3735
3749
|
return parseBingResults(html, num);
|
|
3736
3750
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
truncateForPersist
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-B75A6AG4.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-SCQOEDVL.js";
|
|
15
15
|
|
|
16
16
|
// src/mcp/client.ts
|
|
17
17
|
import { spawn } from "child_process";
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
import "./chunk-SMFRJCXB.js";
|
|
11
11
|
import {
|
|
12
12
|
ConfigManager
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BENRC3OO.js";
|
|
14
14
|
import "./chunk-TZQHYZKT.js";
|
|
15
15
|
import {
|
|
16
16
|
VERSION
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SCQOEDVL.js";
|
|
18
18
|
|
|
19
19
|
// src/cli/ci.ts
|
|
20
20
|
import { execFileSync, execSync } from "child_process";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
getConfigDirUsage,
|
|
4
4
|
listRecentCrashes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-T5RTPF2Q.js";
|
|
6
6
|
import {
|
|
7
7
|
ProviderRegistry
|
|
8
8
|
} from "./chunk-UZISJ3KZ.js";
|
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
getTopFailingTools,
|
|
12
12
|
getTopUsedTools,
|
|
13
13
|
resetStats
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JLZ5QA2I.js";
|
|
15
15
|
import "./chunk-SMFRJCXB.js";
|
|
16
16
|
import {
|
|
17
17
|
ConfigManager
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BENRC3OO.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-SCQOEDVL.js";
|
|
25
25
|
import "./chunk-IW3Q7AE5.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-26YWVRLT.js";
|
|
40
40
|
import {
|
|
41
41
|
hasSemanticIndex,
|
|
42
42
|
semanticSearch
|
|
@@ -8375,8 +8375,19 @@ function classifyBingWeakness(query, results) {
|
|
|
8375
8375
|
if (noiseCount / results.length >= 0.4) {
|
|
8376
8376
|
return `${noiseCount}/${results.length} results from known-noise domains`;
|
|
8377
8377
|
}
|
|
8378
|
+
const homepageCount = results.filter((r) => isBareHomepage(r.url)).length;
|
|
8379
|
+
if (homepageCount / results.length >= 0.6) {
|
|
8380
|
+
return `${homepageCount}/${results.length} results are bare site homepages (popular-sites fallback)`;
|
|
8381
|
+
}
|
|
8378
8382
|
return null;
|
|
8379
8383
|
}
|
|
8384
|
+
function isBareHomepage(url) {
|
|
8385
|
+
try {
|
|
8386
|
+
return new URL(url).pathname.replace(/\/+$/, "") === "";
|
|
8387
|
+
} catch {
|
|
8388
|
+
return false;
|
|
8389
|
+
}
|
|
8390
|
+
}
|
|
8380
8391
|
var NOISE_DOMAIN_RE = new RegExp(
|
|
8381
8392
|
"\\b(" + [
|
|
8382
8393
|
// Network/CDN noise tests
|
|
@@ -8441,11 +8452,14 @@ function hasZeroKeywordOverlap(query, results) {
|
|
|
8441
8452
|
}
|
|
8442
8453
|
return true;
|
|
8443
8454
|
}
|
|
8455
|
+
function pickBingMarket(query) {
|
|
8456
|
+
return /[一-鿿-ヿ가-]/.test(query) ? "zh-CN" : "en-US";
|
|
8457
|
+
}
|
|
8444
8458
|
async function searchBing(query, num) {
|
|
8445
8459
|
const url = new URL("https://cn.bing.com/search");
|
|
8446
8460
|
url.searchParams.set("q", query);
|
|
8447
8461
|
url.searchParams.set("count", String(num));
|
|
8448
|
-
url.searchParams.set("mkt",
|
|
8462
|
+
url.searchParams.set("mkt", pickBingMarket(query));
|
|
8449
8463
|
const html = await fetchHtml(url.toString());
|
|
8450
8464
|
return parseBingResults(html, num);
|
|
8451
8465
|
}
|
|
@@ -14311,7 +14325,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
|
|
|
14311
14325
|
case "test": {
|
|
14312
14326
|
this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
14313
14327
|
try {
|
|
14314
|
-
const { executeTests } = await import("./run-tests-
|
|
14328
|
+
const { executeTests } = await import("./run-tests-6G2F7OSC.js");
|
|
14315
14329
|
const argStr = args.join(" ").trim();
|
|
14316
14330
|
let testArgs = {};
|
|
14317
14331
|
if (argStr) {
|
|
@@ -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-PKZ2UTOK.js");
|
|
158
158
|
const orchestrator = new TaskOrchestrator(config, providers, configManager);
|
|
159
159
|
let interrupted = false;
|
|
160
160
|
const onSigint = () => {
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
saveDevState,
|
|
16
16
|
sessionHasMeaningfulContent,
|
|
17
17
|
setupProxy
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PIZWD5JN.js";
|
|
19
19
|
import {
|
|
20
20
|
ToolExecutor,
|
|
21
21
|
ToolRegistry,
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
spawnAgentContext,
|
|
36
36
|
theme,
|
|
37
37
|
undoStack
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-B75A6AG4.js";
|
|
39
39
|
import "./chunk-T2NL5ZIA.js";
|
|
40
40
|
import "./chunk-BXP6YZ2P.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-GYN2PTY2.js";
|
|
42
42
|
import {
|
|
43
43
|
SessionManager,
|
|
44
44
|
getContentText
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
getConfigDirUsage,
|
|
56
56
|
listRecentCrashes,
|
|
57
57
|
writeCrashLog
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-T5RTPF2Q.js";
|
|
59
59
|
import {
|
|
60
60
|
ProviderRegistry
|
|
61
61
|
} from "./chunk-UZISJ3KZ.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
getTopFailingTools,
|
|
65
65
|
getTopUsedTools,
|
|
66
66
|
installFlushOnExit
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-JLZ5QA2I.js";
|
|
68
68
|
import {
|
|
69
69
|
CONTENT_ONLY_STREAM_REMINDER,
|
|
70
70
|
TEE_FINAL_USER_NUDGE,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
} from "./chunk-SMFRJCXB.js";
|
|
87
87
|
import {
|
|
88
88
|
ConfigManager
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-BENRC3OO.js";
|
|
90
90
|
import {
|
|
91
91
|
AuthError,
|
|
92
92
|
ProviderError,
|
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
SKILLS_DIR_NAME,
|
|
114
114
|
VERSION,
|
|
115
115
|
buildUserIdentityPrompt
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-SCQOEDVL.js";
|
|
117
117
|
import {
|
|
118
118
|
formatGitContextForPrompt,
|
|
119
119
|
getGitContext,
|
|
@@ -1828,7 +1828,7 @@ No tools match "${filter}".
|
|
|
1828
1828
|
const { join: join5 } = await import("path");
|
|
1829
1829
|
const { existsSync: existsSync5 } = await import("fs");
|
|
1830
1830
|
const { getGitRoot: getGitRoot2 } = await import("./git-context-EXOEHQSF.js");
|
|
1831
|
-
const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-
|
|
1831
|
+
const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-JRY7PDEY.js");
|
|
1832
1832
|
const { approveProject, hashMcpFile } = await import("./project-trust-NKYHL3VZ.js");
|
|
1833
1833
|
const cwd = process.cwd();
|
|
1834
1834
|
const projectRoot = getGitRoot2(cwd) ?? cwd;
|
|
@@ -2889,7 +2889,7 @@ ${hint}` : "")
|
|
|
2889
2889
|
usage: "/test [command|filter]",
|
|
2890
2890
|
async execute(args, ctx) {
|
|
2891
2891
|
try {
|
|
2892
|
-
const { executeTests } = await import("./run-tests-
|
|
2892
|
+
const { executeTests } = await import("./run-tests-RQWSG25U.js");
|
|
2893
2893
|
const argStr = args.join(" ").trim();
|
|
2894
2894
|
let testArgs = {};
|
|
2895
2895
|
if (argStr) {
|
|
@@ -7267,7 +7267,7 @@ program.command("web").description("Start Web UI server with browser-based chat
|
|
|
7267
7267
|
console.error("Error: Invalid port number. Must be between 1 and 65535.");
|
|
7268
7268
|
process.exit(1);
|
|
7269
7269
|
}
|
|
7270
|
-
const { startWebServer } = await import("./server-
|
|
7270
|
+
const { startWebServer } = await import("./server-MF6UDMBZ.js");
|
|
7271
7271
|
await startWebServer({ port, host: options.host });
|
|
7272
7272
|
});
|
|
7273
7273
|
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) => {
|
|
@@ -7434,16 +7434,16 @@ program.command("sessions").description("List recent conversation sessions").opt
|
|
|
7434
7434
|
console.log(footer + "\n");
|
|
7435
7435
|
});
|
|
7436
7436
|
program.command("usage").description("Show token + cost usage grouped by provider/model (cross-session)").option("--days <n>", "Only the last N days (inclusive of today)").option("--month <ym>", "Only a specific month, format YYYY-MM (e.g. 2026-06)").option("--json", "Output as JSON (for scripting)").action(async (options) => {
|
|
7437
|
-
const { runUsageCli } = await import("./usage-
|
|
7437
|
+
const { runUsageCli } = await import("./usage-Z64KJASD.js");
|
|
7438
7438
|
await runUsageCli(options);
|
|
7439
7439
|
});
|
|
7440
7440
|
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) => {
|
|
7441
|
-
const { runDoctorCli } = await import("./doctor-cli-
|
|
7441
|
+
const { runDoctorCli } = await import("./doctor-cli-KPUULUPS.js");
|
|
7442
7442
|
await runDoctorCli({ json: !!options.json, resetStats: !!options.resetStats });
|
|
7443
7443
|
});
|
|
7444
7444
|
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) => {
|
|
7445
7445
|
try {
|
|
7446
|
-
const batch = await import("./batch-
|
|
7446
|
+
const batch = await import("./batch-ZP52GVVD.js");
|
|
7447
7447
|
switch (action) {
|
|
7448
7448
|
case "submit":
|
|
7449
7449
|
if (!arg) {
|
|
@@ -7486,7 +7486,7 @@ program.command("batch <action> [arg] [arg2]").description("Anthropic Message Ba
|
|
|
7486
7486
|
}
|
|
7487
7487
|
});
|
|
7488
7488
|
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) => {
|
|
7489
|
-
const { startMcpServer } = await import("./server-
|
|
7489
|
+
const { startMcpServer } = await import("./server-XNB76DRR.js");
|
|
7490
7490
|
await startMcpServer({
|
|
7491
7491
|
allowDestructive: !!options.allowDestructive,
|
|
7492
7492
|
allowOutsideCwd: !!options.allowOutsideCwd,
|
|
@@ -7495,7 +7495,7 @@ program.command("mcp-serve").description("Start an MCP server over STDIO, exposi
|
|
|
7495
7495
|
});
|
|
7496
7496
|
});
|
|
7497
7497
|
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) => {
|
|
7498
|
-
const { runCi } = await import("./ci-
|
|
7498
|
+
const { runCi } = await import("./ci-LWE2I5QW.js");
|
|
7499
7499
|
const result = await runCi({
|
|
7500
7500
|
pr: options.pr,
|
|
7501
7501
|
base: options.base,
|
|
@@ -7641,7 +7641,7 @@ program.command("hub [topic]").description("Start multi-agent hub (discuss / bra
|
|
|
7641
7641
|
}),
|
|
7642
7642
|
config.get("customProviders")
|
|
7643
7643
|
);
|
|
7644
|
-
const { startHub } = await import("./hub-
|
|
7644
|
+
const { startHub } = await import("./hub-4CDJPNIM.js");
|
|
7645
7645
|
await startHub(
|
|
7646
7646
|
{
|
|
7647
7647
|
topic: topic ?? "",
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
loadDevState,
|
|
20
20
|
persistToolRound,
|
|
21
21
|
setupProxy
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PIZWD5JN.js";
|
|
23
23
|
import {
|
|
24
24
|
ToolExecutor,
|
|
25
25
|
ToolRegistry,
|
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
spawnAgentContext,
|
|
39
39
|
truncateOutput,
|
|
40
40
|
undoStack
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-B75A6AG4.js";
|
|
42
42
|
import "./chunk-T2NL5ZIA.js";
|
|
43
43
|
import "./chunk-BXP6YZ2P.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-GYN2PTY2.js";
|
|
45
45
|
import {
|
|
46
46
|
SessionManager,
|
|
47
47
|
getContentText
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
} from "./chunk-UZISJ3KZ.js";
|
|
56
56
|
import {
|
|
57
57
|
runTool
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-JLZ5QA2I.js";
|
|
59
59
|
import {
|
|
60
60
|
CONTENT_ONLY_STREAM_REMINDER,
|
|
61
61
|
TEE_FINAL_USER_NUDGE,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
} from "./chunk-SMFRJCXB.js";
|
|
75
75
|
import {
|
|
76
76
|
ConfigManager
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-BENRC3OO.js";
|
|
78
78
|
import "./chunk-TZQHYZKT.js";
|
|
79
79
|
import {
|
|
80
80
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
SKILLS_DIR_NAME,
|
|
95
95
|
VERSION,
|
|
96
96
|
buildUserIdentityPrompt
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-SCQOEDVL.js";
|
|
98
98
|
import {
|
|
99
99
|
formatGitContextForPrompt,
|
|
100
100
|
getGitContext,
|
|
@@ -2456,7 +2456,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
|
|
|
2456
2456
|
case "test": {
|
|
2457
2457
|
this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
2458
2458
|
try {
|
|
2459
|
-
const { executeTests } = await import("./run-tests-
|
|
2459
|
+
const { executeTests } = await import("./run-tests-RQWSG25U.js");
|
|
2460
2460
|
const argStr = args.join(" ").trim();
|
|
2461
2461
|
let testArgs = {};
|
|
2462
2462
|
if (argStr) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ToolRegistry
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-B75A6AG4.js";
|
|
5
5
|
import "./chunk-T2NL5ZIA.js";
|
|
6
6
|
import "./chunk-BXP6YZ2P.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-GYN2PTY2.js";
|
|
8
8
|
import {
|
|
9
9
|
runTool
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JLZ5QA2I.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-SCQOEDVL.js";
|
|
19
19
|
import "./chunk-4BKXL7SM.js";
|
|
20
20
|
import "./chunk-TB4W4Y4T.js";
|
|
21
21
|
import "./chunk-KHYD3WXE.js";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
ToolRegistry,
|
|
4
4
|
googleSearchContext,
|
|
5
5
|
truncateOutput
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B75A6AG4.js";
|
|
7
7
|
import "./chunk-T2NL5ZIA.js";
|
|
8
8
|
import "./chunk-BXP6YZ2P.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-GYN2PTY2.js";
|
|
10
10
|
import {
|
|
11
11
|
runTool
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JLZ5QA2I.js";
|
|
13
13
|
import {
|
|
14
14
|
getDangerLevel,
|
|
15
15
|
runLeanAgentLoop
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import "./chunk-TZQHYZKT.js";
|
|
18
18
|
import {
|
|
19
19
|
SUBAGENT_ALLOWED_TOOLS
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SCQOEDVL.js";
|
|
21
21
|
import "./chunk-4BKXL7SM.js";
|
|
22
22
|
import "./chunk-TB4W4Y4T.js";
|
|
23
23
|
import "./chunk-KHYD3WXE.js";
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
} from "./chunk-E44DTERW.js";
|
|
9
9
|
import {
|
|
10
10
|
ConfigManager
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BENRC3OO.js";
|
|
12
12
|
import "./chunk-TZQHYZKT.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-SCQOEDVL.js";
|
|
14
14
|
import "./chunk-IW3Q7AE5.js";
|
|
15
15
|
|
|
16
16
|
// src/cli/usage.ts
|