jinzd-ai-cli 0.4.258 → 0.4.259
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-B42DJMDJ.js → batch-74P2FQWX.js} +2 -2
- package/dist/{chunk-3ERLNXT2.js → chunk-3EWST6SE.js} +3 -3
- package/dist/{chunk-BIXQHN77.js → chunk-3KYUE2MD.js} +1 -1
- package/dist/{chunk-QJXUJFYD.js → chunk-4RPJQJBI.js} +68 -48
- package/dist/{chunk-I7LBWY7E.js → chunk-4TDVLTX2.js} +1 -1
- package/dist/{chunk-BWZT74E3.js → chunk-7DVIAK6J.js} +2 -2
- package/dist/{chunk-WLSK55ED.js → chunk-BWJYDG3C.js} +1 -1
- package/dist/{chunk-S5YGYXAE.js → chunk-DLOOIAAD.js} +1 -1
- package/dist/{chunk-HT5LC2PL.js → chunk-FGONEVTP.js} +1 -1
- package/dist/{chunk-XYNZVGUH.js → chunk-G65I4DXP.js} +1 -1
- package/dist/{chunk-BEER3VEB.js → chunk-KXAVUZKH.js} +1 -1
- package/dist/{chunk-PNQS67JC.js → chunk-PSH5O44I.js} +1 -1
- package/dist/{chunk-GWXWAQVM.js → chunk-V5FB72RK.js} +1 -1
- package/dist/{chunk-GVLUGPIX.js → chunk-ZZ5WTHKY.js} +3 -3
- package/dist/{ci-MMXYIHYY.js → ci-6BANR65W.js} +4 -4
- package/dist/{ci-format-FG53M5V2.js → ci-format-2OVEQK6O.js} +2 -2
- package/dist/{constants-WROFKV3K.js → constants-DKZEF3CE.js} +1 -1
- package/dist/{doctor-cli-USQ4HX7A.js → doctor-cli-6MHA7Q7M.js} +4 -4
- package/dist/electron-server.js +117 -99
- package/dist/{hub-MWEDYMK6.js → hub-L7RSDS4J.js} +1 -1
- package/dist/index.js +19 -19
- package/dist/{persistent-memory-PAHA4R7U.js → persistent-memory-I4JV3CME.js} +2 -2
- package/dist/{persistent-memory-ZHYBVUGR.js → persistent-memory-WBR2DALU.js} +2 -2
- package/dist/{pr-4P7XC2RK.js → pr-UNCWDVN3.js} +4 -4
- package/dist/{run-tests-WWJHCLFZ.js → run-tests-HFT5RUXF.js} +2 -2
- package/dist/{run-tests-Y6CBCPFF.js → run-tests-XBODGDFO.js} +2 -2
- package/dist/{server-JDKLBBVN.js → server-ILKG2672.js} +17 -17
- package/dist/{server-IMKKKH57.js → server-RNBKZ6TP.js} +5 -5
- package/dist/{task-orchestrator-F534G7LG.js → task-orchestrator-GXP5HNBZ.js} +5 -5
- package/dist/{usage-P4ORZDPV.js → usage-KCPH75KI.js} +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
scanProject,
|
|
18
18
|
sessionHasMeaningfulContent,
|
|
19
19
|
setupProxy
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7DVIAK6J.js";
|
|
21
21
|
import {
|
|
22
22
|
computeCost,
|
|
23
23
|
formatCost,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
spawnAgentContext,
|
|
51
51
|
theme,
|
|
52
52
|
undoStack
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-4RPJQJBI.js";
|
|
54
54
|
import {
|
|
55
55
|
addMemoryEntry,
|
|
56
56
|
backupMemoryStore,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
touchMemoryReferences,
|
|
77
77
|
updateMemoryApproval,
|
|
78
78
|
updateMemoryEntry
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-FGONEVTP.js";
|
|
80
80
|
import "./chunk-GLSR2NR3.js";
|
|
81
81
|
import "./chunk-UUSRWSSX.js";
|
|
82
82
|
import "./chunk-CKH4KQ4E.js";
|
|
@@ -90,13 +90,13 @@ import {
|
|
|
90
90
|
formatDoctorReport,
|
|
91
91
|
loadContextFiles,
|
|
92
92
|
writeCrashLog
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-ZZ5WTHKY.js";
|
|
94
94
|
import {
|
|
95
95
|
ProviderRegistry
|
|
96
96
|
} from "./chunk-GDJII6TK.js";
|
|
97
97
|
import {
|
|
98
98
|
ConfigManager
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-G65I4DXP.js";
|
|
100
100
|
import {
|
|
101
101
|
describePlugin,
|
|
102
102
|
getActivePluginAssets,
|
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
trustHook,
|
|
114
114
|
trustPlugin,
|
|
115
115
|
untrustHook
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-3KYUE2MD.js";
|
|
117
117
|
import {
|
|
118
118
|
CONTENT_ONLY_STREAM_REMINDER,
|
|
119
119
|
TEE_FINAL_USER_NUDGE,
|
|
@@ -146,7 +146,7 @@ import {
|
|
|
146
146
|
import {
|
|
147
147
|
fileCheckpoints
|
|
148
148
|
} from "./chunk-4BKXL7SM.js";
|
|
149
|
-
import "./chunk-
|
|
149
|
+
import "./chunk-BWJYDG3C.js";
|
|
150
150
|
import {
|
|
151
151
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
152
152
|
AUTHOR,
|
|
@@ -165,7 +165,7 @@ import {
|
|
|
165
165
|
SKILLS_DIR_NAME,
|
|
166
166
|
VERSION,
|
|
167
167
|
buildUserIdentityPrompt
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-4TDVLTX2.js";
|
|
169
169
|
import {
|
|
170
170
|
buildChatIndex,
|
|
171
171
|
clearChatIndex,
|
|
@@ -1397,7 +1397,7 @@ No tools match "${filter}".
|
|
|
1397
1397
|
const { join: join6 } = await import("path");
|
|
1398
1398
|
const { existsSync: existsSync6 } = await import("fs");
|
|
1399
1399
|
const { getGitRoot: getGitRoot2 } = await import("./git-context-EXOEHQSF.js");
|
|
1400
|
-
const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-
|
|
1400
|
+
const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-DKZEF3CE.js");
|
|
1401
1401
|
const { approveProject, hashMcpFile } = await import("./project-trust-NKYHL3VZ.js");
|
|
1402
1402
|
const cwd = process.cwd();
|
|
1403
1403
|
const projectRoot = getGitRoot2(cwd) ?? cwd;
|
|
@@ -2376,7 +2376,7 @@ function createReviewCommands() {
|
|
|
2376
2376
|
usage: "/test [command|filter]",
|
|
2377
2377
|
async execute(args, ctx) {
|
|
2378
2378
|
try {
|
|
2379
|
-
const { executeTests } = await import("./run-tests-
|
|
2379
|
+
const { executeTests } = await import("./run-tests-XBODGDFO.js");
|
|
2380
2380
|
const argStr = args.join(" ").trim();
|
|
2381
2381
|
let testArgs = {};
|
|
2382
2382
|
if (argStr) {
|
|
@@ -8033,7 +8033,7 @@ program.command("web").description("Start Web UI server with browser-based chat
|
|
|
8033
8033
|
console.error("Error: Invalid port number. Must be between 1 and 65535.");
|
|
8034
8034
|
process.exit(1);
|
|
8035
8035
|
}
|
|
8036
|
-
const { startWebServer } = await import("./server-
|
|
8036
|
+
const { startWebServer } = await import("./server-ILKG2672.js");
|
|
8037
8037
|
await startWebServer({ port, host: options.host });
|
|
8038
8038
|
});
|
|
8039
8039
|
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) => {
|
|
@@ -8200,11 +8200,11 @@ program.command("sessions").description("List recent conversation sessions").opt
|
|
|
8200
8200
|
console.log(footer + "\n");
|
|
8201
8201
|
});
|
|
8202
8202
|
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) => {
|
|
8203
|
-
const { runUsageCli } = await import("./usage-
|
|
8203
|
+
const { runUsageCli } = await import("./usage-KCPH75KI.js");
|
|
8204
8204
|
await runUsageCli(options);
|
|
8205
8205
|
});
|
|
8206
8206
|
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) => {
|
|
8207
|
-
const { runDoctorCli } = await import("./doctor-cli-
|
|
8207
|
+
const { runDoctorCli } = await import("./doctor-cli-6MHA7Q7M.js");
|
|
8208
8208
|
const argv = process.argv.slice(2);
|
|
8209
8209
|
await runDoctorCli({
|
|
8210
8210
|
json: !!options.json || argv.includes("--json"),
|
|
@@ -8213,7 +8213,7 @@ program.command("doctor").description("Health check: API keys, config, MCP, rece
|
|
|
8213
8213
|
});
|
|
8214
8214
|
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) => {
|
|
8215
8215
|
try {
|
|
8216
|
-
const batch = await import("./batch-
|
|
8216
|
+
const batch = await import("./batch-74P2FQWX.js");
|
|
8217
8217
|
switch (action) {
|
|
8218
8218
|
case "submit":
|
|
8219
8219
|
if (!arg) {
|
|
@@ -8256,7 +8256,7 @@ program.command("batch <action> [arg] [arg2]").description("Anthropic Message Ba
|
|
|
8256
8256
|
}
|
|
8257
8257
|
});
|
|
8258
8258
|
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) => {
|
|
8259
|
-
const { startMcpServer } = await import("./server-
|
|
8259
|
+
const { startMcpServer } = await import("./server-RNBKZ6TP.js");
|
|
8260
8260
|
await startMcpServer({
|
|
8261
8261
|
allowDestructive: !!options.allowDestructive,
|
|
8262
8262
|
allowOutsideCwd: !!options.allowOutsideCwd,
|
|
@@ -8269,7 +8269,7 @@ program.command("pr <action> [target]").description("PR review helpers: review |
|
|
|
8269
8269
|
console.error(`Unknown pr action: ${action}. Use review | security-review | summarize.`);
|
|
8270
8270
|
process.exit(1);
|
|
8271
8271
|
}
|
|
8272
|
-
const { runPrCli } = await import("./pr-
|
|
8272
|
+
const { runPrCli } = await import("./pr-UNCWDVN3.js");
|
|
8273
8273
|
const result = await runPrCli({
|
|
8274
8274
|
action,
|
|
8275
8275
|
target,
|
|
@@ -8289,8 +8289,8 @@ program.command("pr <action> [target]").description("PR review helpers: review |
|
|
|
8289
8289
|
process.exit(result.exitCode);
|
|
8290
8290
|
});
|
|
8291
8291
|
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 or URL; diff fetched via gh pr diff <value>", (v) => /^#?\d+$/.test(v) ? parseInt(v.replace(/^#/, ""), 10) : v).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)").option("--json", "Output a structured JSON report").option("--markdown", "Output Markdown report (default)").option("--sarif", "Output SARIF 2.1.0 for code scanning artifacts").option("--fail-on-security-high", "Fail when the security review contains HIGH/CRITICAL findings (default)").option("--no-fail-on-security-high", "Do not fail on security HIGH/CRITICAL findings").option("--fail-on-test-failure", "Fail when the report mentions test failures (default)").option("--no-fail-on-test-failure", "Do not fail on test failure findings").option("--fail-on-lint-failure", "Fail when the report mentions lint/typecheck failures (default)").option("--no-fail-on-lint-failure", "Do not fail on lint/typecheck failure findings").action(async (options) => {
|
|
8292
|
-
const { runCi } = await import("./ci-
|
|
8293
|
-
const { formatCiResult } = await import("./ci-format-
|
|
8292
|
+
const { runCi } = await import("./ci-6BANR65W.js");
|
|
8293
|
+
const { formatCiResult } = await import("./ci-format-2OVEQK6O.js");
|
|
8294
8294
|
const formats = [options.json, options.markdown, options.sarif].filter(Boolean).length;
|
|
8295
8295
|
if (formats > 1) {
|
|
8296
8296
|
console.error("Choose only one output format: --json, --markdown, or --sarif.");
|
|
@@ -8448,7 +8448,7 @@ program.command("hub [topic]").description("Start multi-agent hub (discuss / bra
|
|
|
8448
8448
|
config.get("customProviders"),
|
|
8449
8449
|
config.getConfigDir()
|
|
8450
8450
|
);
|
|
8451
|
-
const { startHub } = await import("./hub-
|
|
8451
|
+
const { startHub } = await import("./hub-L7RSDS4J.js");
|
|
8452
8452
|
await startHub(
|
|
8453
8453
|
{
|
|
8454
8454
|
topic: topic ?? "",
|
|
@@ -27,9 +27,9 @@ import {
|
|
|
27
27
|
touchMemoryReferences,
|
|
28
28
|
updateMemoryApproval,
|
|
29
29
|
updateMemoryEntry
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KXAVUZKH.js";
|
|
31
31
|
import "./chunk-YVTASHS5.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-DLOOIAAD.js";
|
|
33
33
|
import "./chunk-6BUTA5VW.js";
|
|
34
34
|
export {
|
|
35
35
|
addMemoryEntry,
|
|
@@ -28,9 +28,9 @@ import {
|
|
|
28
28
|
touchMemoryReferences,
|
|
29
29
|
updateMemoryApproval,
|
|
30
30
|
updateMemoryEntry
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FGONEVTP.js";
|
|
32
32
|
import "./chunk-HOSJZMQS.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-4TDVLTX2.js";
|
|
34
34
|
import "./chunk-B5TYJO7V.js";
|
|
35
35
|
import "./chunk-IW3Q7AE5.js";
|
|
36
36
|
export {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
countSeverity,
|
|
4
4
|
runCi
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-3EWST6SE.js";
|
|
6
|
+
import "./chunk-PSH5O44I.js";
|
|
7
7
|
import {
|
|
8
8
|
buildReviewPrompt,
|
|
9
9
|
buildSecurityReviewPrompt,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
} from "./chunk-GDJII6TK.js";
|
|
15
15
|
import {
|
|
16
16
|
ConfigManager
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-G65I4DXP.js";
|
|
18
18
|
import "./chunk-XPNKMDBH.js";
|
|
19
19
|
import "./chunk-TU3L3PW7.js";
|
|
20
20
|
import {
|
|
21
21
|
VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4TDVLTX2.js";
|
|
23
23
|
import "./chunk-IW3Q7AE5.js";
|
|
24
24
|
|
|
25
25
|
// src/cli/pr.ts
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
scanDirTree,
|
|
24
24
|
scanProject,
|
|
25
25
|
setupProxy
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7DVIAK6J.js";
|
|
27
27
|
import {
|
|
28
28
|
computeCost,
|
|
29
29
|
formatCost,
|
|
@@ -55,6 +55,7 @@ import {
|
|
|
55
55
|
renderDiff,
|
|
56
56
|
requestAgentStop,
|
|
57
57
|
resolveAgentConfig,
|
|
58
|
+
resolveWriteFileArgs,
|
|
58
59
|
runSafePhases,
|
|
59
60
|
runWithSessionKey,
|
|
60
61
|
setContextWindow,
|
|
@@ -63,7 +64,7 @@ import {
|
|
|
63
64
|
spawnAgentContext,
|
|
64
65
|
truncateOutput,
|
|
65
66
|
undoStack
|
|
66
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-4RPJQJBI.js";
|
|
67
68
|
import {
|
|
68
69
|
addMemoryEntry,
|
|
69
70
|
clearMemoryEntries,
|
|
@@ -77,7 +78,7 @@ import {
|
|
|
77
78
|
parseWritableScope,
|
|
78
79
|
updateMemoryApproval,
|
|
79
80
|
updateMemoryEntry
|
|
80
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-FGONEVTP.js";
|
|
81
82
|
import "./chunk-GLSR2NR3.js";
|
|
82
83
|
import "./chunk-UUSRWSSX.js";
|
|
83
84
|
import "./chunk-CKH4KQ4E.js";
|
|
@@ -90,13 +91,13 @@ import {
|
|
|
90
91
|
buildDoctorReport,
|
|
91
92
|
formatDoctorReport,
|
|
92
93
|
loadContextFiles
|
|
93
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-ZZ5WTHKY.js";
|
|
94
95
|
import {
|
|
95
96
|
ProviderRegistry
|
|
96
97
|
} from "./chunk-GDJII6TK.js";
|
|
97
98
|
import {
|
|
98
99
|
ConfigManager
|
|
99
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-G65I4DXP.js";
|
|
100
101
|
import {
|
|
101
102
|
describePlugin,
|
|
102
103
|
getActivePluginAssets,
|
|
@@ -111,7 +112,7 @@ import {
|
|
|
111
112
|
runTool,
|
|
112
113
|
setPluginEnabled,
|
|
113
114
|
trustPlugin
|
|
114
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-3KYUE2MD.js";
|
|
115
116
|
import {
|
|
116
117
|
CONTENT_ONLY_STREAM_REMINDER,
|
|
117
118
|
TEE_FINAL_USER_NUDGE,
|
|
@@ -136,7 +137,7 @@ import {
|
|
|
136
137
|
getGitRoot
|
|
137
138
|
} from "./chunk-HOSJZMQS.js";
|
|
138
139
|
import "./chunk-4BKXL7SM.js";
|
|
139
|
-
import "./chunk-
|
|
140
|
+
import "./chunk-BWJYDG3C.js";
|
|
140
141
|
import {
|
|
141
142
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
142
143
|
AUTHOR,
|
|
@@ -152,7 +153,7 @@ import {
|
|
|
152
153
|
SKILLS_DIR_NAME,
|
|
153
154
|
VERSION,
|
|
154
155
|
buildUserIdentityPrompt
|
|
155
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-4TDVLTX2.js";
|
|
156
157
|
import "./chunk-6RPGQ5CG.js";
|
|
157
158
|
import "./chunk-KHYD3WXE.js";
|
|
158
159
|
import "./chunk-NYNSYLFY.js";
|
|
@@ -313,18 +314,17 @@ var ToolExecutorWeb = class _ToolExecutorWeb {
|
|
|
313
314
|
}
|
|
314
315
|
getDiffPreview(call) {
|
|
315
316
|
if (call.name === "write_file") {
|
|
316
|
-
const filePath =
|
|
317
|
-
const newContent = String(call.arguments["content"] ?? "");
|
|
317
|
+
const { path: filePath, content: chunk, append } = resolveWriteFileArgs(call.arguments);
|
|
318
318
|
if (filePath && existsSync(filePath)) {
|
|
319
319
|
try {
|
|
320
320
|
const old = readFileSync(filePath, "utf-8");
|
|
321
|
-
return renderDiff(old,
|
|
321
|
+
return renderDiff(old, append ? old + chunk : chunk, { filePath });
|
|
322
322
|
} catch {
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
const lines =
|
|
326
|
-
return lines.map((l) => `+ ${l}`).join("\n") + (
|
|
327
|
-
... (+${
|
|
325
|
+
const lines = chunk.split("\n").slice(0, 20);
|
|
326
|
+
return lines.map((l) => `+ ${l}`).join("\n") + (chunk.split("\n").length > 20 ? `
|
|
327
|
+
... (+${chunk.split("\n").length - 20} more lines)` : "");
|
|
328
328
|
}
|
|
329
329
|
if (call.name === "edit_file") {
|
|
330
330
|
const oldStr = String(call.arguments["old_str"] ?? "");
|
|
@@ -815,7 +815,7 @@ Cache: write=${cacheCreate} read=${cacheRead}` : "";
|
|
|
815
815
|
Cost: ${formatCost(cost)}` : "";
|
|
816
816
|
let memoryLine = "";
|
|
817
817
|
try {
|
|
818
|
-
const { countPendingMemories } = await import("./persistent-memory-
|
|
818
|
+
const { countPendingMemories } = await import("./persistent-memory-WBR2DALU.js");
|
|
819
819
|
const pending = countPendingMemories(ctx.config.getConfigDir());
|
|
820
820
|
if (pending > 0) memoryLine = `
|
|
821
821
|
Memory: \u26A0 ${pending} pending approval \u2014 see the Memory panel or /memory`;
|
|
@@ -1624,7 +1624,7 @@ async function handleSecurityReview(args, ctx) {
|
|
|
1624
1624
|
async function handleTest(args, ctx) {
|
|
1625
1625
|
ctx.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
1626
1626
|
try {
|
|
1627
|
-
const { executeTests } = await import("./run-tests-
|
|
1627
|
+
const { executeTests } = await import("./run-tests-XBODGDFO.js");
|
|
1628
1628
|
const argStr = args.join(" ").trim();
|
|
1629
1629
|
let testArgs = {};
|
|
1630
1630
|
if (argStr) {
|
|
@@ -1888,7 +1888,7 @@ async function handleMemory(args, ctx) {
|
|
|
1888
1888
|
ctx.handleMemoryManage(sub, args[1], sub === "expire" ? args[2] : void 0);
|
|
1889
1889
|
} else if (sub === "export") {
|
|
1890
1890
|
if (args[1] === "md") {
|
|
1891
|
-
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-
|
|
1891
|
+
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-WBR2DALU.js");
|
|
1892
1892
|
ctx.send({
|
|
1893
1893
|
type: "export_data",
|
|
1894
1894
|
format: "md",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ToolRegistry
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-4RPJQJBI.js";
|
|
5
|
+
import "./chunk-FGONEVTP.js";
|
|
6
6
|
import "./chunk-GLSR2NR3.js";
|
|
7
7
|
import "./chunk-UUSRWSSX.js";
|
|
8
8
|
import "./chunk-CKH4KQ4E.js";
|
|
9
9
|
import "./chunk-BXP6YZ2P.js";
|
|
10
10
|
import {
|
|
11
11
|
runTool
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3KYUE2MD.js";
|
|
13
13
|
import {
|
|
14
14
|
getDangerLevel,
|
|
15
15
|
schemaToJsonSchema
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
import "./chunk-TU3L3PW7.js";
|
|
18
18
|
import "./chunk-HOSJZMQS.js";
|
|
19
19
|
import "./chunk-4BKXL7SM.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-BWJYDG3C.js";
|
|
21
21
|
import {
|
|
22
22
|
VERSION
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4TDVLTX2.js";
|
|
24
24
|
import "./chunk-6RPGQ5CG.js";
|
|
25
25
|
import "./chunk-KHYD3WXE.js";
|
|
26
26
|
import "./chunk-NYNSYLFY.js";
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
ToolRegistry,
|
|
4
4
|
googleSearchContext,
|
|
5
5
|
truncateOutput
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-4RPJQJBI.js";
|
|
7
|
+
import "./chunk-FGONEVTP.js";
|
|
8
8
|
import "./chunk-GLSR2NR3.js";
|
|
9
9
|
import "./chunk-UUSRWSSX.js";
|
|
10
10
|
import "./chunk-CKH4KQ4E.js";
|
|
11
11
|
import "./chunk-BXP6YZ2P.js";
|
|
12
12
|
import {
|
|
13
13
|
runTool
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3KYUE2MD.js";
|
|
15
15
|
import {
|
|
16
16
|
getDangerLevel,
|
|
17
17
|
runLeanAgentLoop
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
import "./chunk-TU3L3PW7.js";
|
|
20
20
|
import "./chunk-HOSJZMQS.js";
|
|
21
21
|
import "./chunk-4BKXL7SM.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-BWJYDG3C.js";
|
|
23
23
|
import {
|
|
24
24
|
SUBAGENT_ALLOWED_TOOLS
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-4TDVLTX2.js";
|
|
26
26
|
import "./chunk-6RPGQ5CG.js";
|
|
27
27
|
import "./chunk-KHYD3WXE.js";
|
|
28
28
|
import "./chunk-NYNSYLFY.js";
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
} from "./chunk-EZ6QLHOS.js";
|
|
9
9
|
import {
|
|
10
10
|
ConfigManager
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-G65I4DXP.js";
|
|
12
12
|
import "./chunk-TU3L3PW7.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-4TDVLTX2.js";
|
|
14
14
|
import "./chunk-IW3Q7AE5.js";
|
|
15
15
|
|
|
16
16
|
// src/cli/usage.ts
|