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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ConfigManager
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G65I4DXP.js";
|
|
5
5
|
import "./chunk-TU3L3PW7.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-4TDVLTX2.js";
|
|
7
7
|
import {
|
|
8
8
|
atomicWriteFileSync
|
|
9
9
|
} from "./chunk-IW3Q7AE5.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
evaluateCiGate,
|
|
4
4
|
normalizeCiThresholds
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PSH5O44I.js";
|
|
6
6
|
import {
|
|
7
7
|
buildReviewPrompt,
|
|
8
8
|
buildSecurityReviewPrompt,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-GDJII6TK.js";
|
|
14
14
|
import {
|
|
15
15
|
ConfigManager
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-G65I4DXP.js";
|
|
17
17
|
import {
|
|
18
18
|
VERSION
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4TDVLTX2.js";
|
|
20
20
|
|
|
21
21
|
// src/cli/ci.ts
|
|
22
22
|
import { execFileSync } from "child_process";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
searchPersistentMemories,
|
|
8
8
|
touchMemoryReferences,
|
|
9
9
|
updateMemoryEntry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FGONEVTP.js";
|
|
11
11
|
import {
|
|
12
12
|
indexProject
|
|
13
13
|
} from "./chunk-GLSR2NR3.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
runHook,
|
|
24
24
|
runLifecycleHooks,
|
|
25
25
|
runTool
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3KYUE2MD.js";
|
|
27
27
|
import {
|
|
28
28
|
buildTruncatedArgumentsError,
|
|
29
29
|
getDangerLevel,
|
|
@@ -40,14 +40,14 @@ import {
|
|
|
40
40
|
} from "./chunk-4BKXL7SM.js";
|
|
41
41
|
import {
|
|
42
42
|
runTestsTool
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-BWJYDG3C.js";
|
|
44
44
|
import {
|
|
45
45
|
CONFIG_DIR_NAME,
|
|
46
46
|
DEFAULT_MAX_TOOL_OUTPUT_CHARS_CAP,
|
|
47
47
|
SUBAGENT_ALLOWED_TOOLS,
|
|
48
48
|
SUBAGENT_DEFAULT_MAX_ROUNDS,
|
|
49
49
|
SUBAGENT_MAX_ROUNDS_LIMIT
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-4TDVLTX2.js";
|
|
51
51
|
import {
|
|
52
52
|
loadChatIndex,
|
|
53
53
|
searchChatMemory
|
|
@@ -1376,7 +1376,7 @@ ${content}`;
|
|
|
1376
1376
|
};
|
|
1377
1377
|
|
|
1378
1378
|
// src/tools/builtin/write-file.ts
|
|
1379
|
-
import { appendFileSync, mkdirSync } from "fs";
|
|
1379
|
+
import { appendFileSync, mkdirSync, readFileSync as readFileSync5, statSync as statSync3 } from "fs";
|
|
1380
1380
|
import { dirname as dirname3 } from "path";
|
|
1381
1381
|
|
|
1382
1382
|
// src/tools/executor.ts
|
|
@@ -1434,6 +1434,37 @@ async function runSafePhases(phase, execute, results, logTag = "executor") {
|
|
|
1434
1434
|
return Date.now() - t0;
|
|
1435
1435
|
}
|
|
1436
1436
|
|
|
1437
|
+
// src/tools/arg-aliases.ts
|
|
1438
|
+
function pickArg(args, canonical, aliases) {
|
|
1439
|
+
if (args[canonical] !== void 0 && args[canonical] !== null) return args[canonical];
|
|
1440
|
+
for (const alias of aliases) {
|
|
1441
|
+
if (args[alias] !== void 0 && args[alias] !== null) return args[alias];
|
|
1442
|
+
}
|
|
1443
|
+
return void 0;
|
|
1444
|
+
}
|
|
1445
|
+
var OLD_STR_ALIASES = ["old_string", "oldStr", "oldString", "old_text", "search"];
|
|
1446
|
+
var NEW_STR_ALIASES = ["new_string", "newStr", "newString", "new_text", "replace"];
|
|
1447
|
+
var CONTENT_ALIASES = ["file_text", "text", "contents", "data"];
|
|
1448
|
+
var INSERT_LINE_ALIASES = ["insert_line", "line", "after_line"];
|
|
1449
|
+
var INSERT_CONTENT_ALIASES = ["content", "new_str", "text"];
|
|
1450
|
+
function normalizeReplaceArgs(raw) {
|
|
1451
|
+
const oldStr = pickArg(raw, "old_str", OLD_STR_ALIASES);
|
|
1452
|
+
if (oldStr === void 0) return void 0;
|
|
1453
|
+
return { old_str: oldStr, new_str: pickArg(raw, "new_str", NEW_STR_ALIASES) };
|
|
1454
|
+
}
|
|
1455
|
+
function resolveWriteFileArgs(args) {
|
|
1456
|
+
return {
|
|
1457
|
+
path: String(pickArg(args, "path", ["file"]) ?? ""),
|
|
1458
|
+
content: String(pickArg(args, "content", CONTENT_ALIASES) ?? ""),
|
|
1459
|
+
append: String(args["append"] ?? "false").toLowerCase() === "true"
|
|
1460
|
+
};
|
|
1461
|
+
}
|
|
1462
|
+
function describeReceivedKeys(args) {
|
|
1463
|
+
const keys = Object.keys(args).filter((k) => args[k] !== void 0);
|
|
1464
|
+
if (keys.length === 0) return " (no arguments received)";
|
|
1465
|
+
return ` Received keys: ${keys.join(", ")}.`;
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1437
1468
|
// src/tools/diff-utils.ts
|
|
1438
1469
|
import chalk from "chalk";
|
|
1439
1470
|
function renderDiff(oldText, newText, opts = {}) {
|
|
@@ -2677,8 +2708,7 @@ var ToolExecutor = class {
|
|
|
2677
2708
|
*/
|
|
2678
2709
|
printDiffPreview(call) {
|
|
2679
2710
|
if (call.name === "write_file") {
|
|
2680
|
-
const filePath =
|
|
2681
|
-
const newContent = String(call.arguments["content"] ?? "");
|
|
2711
|
+
const { path: filePath, content: chunk, append } = resolveWriteFileArgs(call.arguments);
|
|
2682
2712
|
if (!filePath) return;
|
|
2683
2713
|
if (existsSync6(filePath)) {
|
|
2684
2714
|
let oldContent;
|
|
@@ -2687,16 +2717,17 @@ var ToolExecutor = class {
|
|
|
2687
2717
|
} catch {
|
|
2688
2718
|
return;
|
|
2689
2719
|
}
|
|
2720
|
+
const newContent = append ? oldContent + chunk : chunk;
|
|
2690
2721
|
if (oldContent === newContent) {
|
|
2691
2722
|
console.log(theme.dim(" (file content unchanged)"));
|
|
2692
2723
|
return;
|
|
2693
2724
|
}
|
|
2694
2725
|
const diff = renderDiff(oldContent, newContent, { filePath, contextLines: 3 });
|
|
2695
|
-
console.log(theme.dim(" \u2500\u2500 diff preview \u2500\u2500"));
|
|
2726
|
+
console.log(theme.dim(append ? " \u2500\u2500 append preview \u2500\u2500" : " \u2500\u2500 diff preview \u2500\u2500"));
|
|
2696
2727
|
console.log(diff);
|
|
2697
2728
|
console.log();
|
|
2698
2729
|
} else {
|
|
2699
|
-
const lines =
|
|
2730
|
+
const lines = chunk.split("\n");
|
|
2700
2731
|
const preview = lines.slice(0, 20).map((l) => theme.success(`+ ${l}`)).join("\n");
|
|
2701
2732
|
const more = lines.length > 20 ? theme.dim(`
|
|
2702
2733
|
... (+${lines.length - 20} more lines)`) : "";
|
|
@@ -2917,31 +2948,10 @@ var subAgentGuard = {
|
|
|
2917
2948
|
active: false
|
|
2918
2949
|
};
|
|
2919
2950
|
|
|
2920
|
-
// src/tools/arg-aliases.ts
|
|
2921
|
-
function pickArg(args, canonical, aliases) {
|
|
2922
|
-
if (args[canonical] !== void 0 && args[canonical] !== null) return args[canonical];
|
|
2923
|
-
for (const alias of aliases) {
|
|
2924
|
-
if (args[alias] !== void 0 && args[alias] !== null) return args[alias];
|
|
2925
|
-
}
|
|
2926
|
-
return void 0;
|
|
2927
|
-
}
|
|
2928
|
-
var OLD_STR_ALIASES = ["old_string", "oldStr", "oldString", "old_text", "search"];
|
|
2929
|
-
var NEW_STR_ALIASES = ["new_string", "newStr", "newString", "new_text", "replace"];
|
|
2930
|
-
var CONTENT_ALIASES = ["file_text", "text", "contents", "data"];
|
|
2931
|
-
var INSERT_LINE_ALIASES = ["insert_line", "line", "after_line"];
|
|
2932
|
-
var INSERT_CONTENT_ALIASES = ["content", "new_str", "text"];
|
|
2933
|
-
function normalizeReplaceArgs(raw) {
|
|
2934
|
-
const oldStr = pickArg(raw, "old_str", OLD_STR_ALIASES);
|
|
2935
|
-
if (oldStr === void 0) return void 0;
|
|
2936
|
-
return { old_str: oldStr, new_str: pickArg(raw, "new_str", NEW_STR_ALIASES) };
|
|
2937
|
-
}
|
|
2938
|
-
function describeReceivedKeys(args) {
|
|
2939
|
-
const keys = Object.keys(args).filter((k) => args[k] !== void 0);
|
|
2940
|
-
if (keys.length === 0) return " (no arguments received)";
|
|
2941
|
-
return ` Received keys: ${keys.join(", ")}.`;
|
|
2942
|
-
}
|
|
2943
|
-
|
|
2944
2951
|
// src/tools/builtin/write-file.ts
|
|
2952
|
+
function countFileLines(filePath) {
|
|
2953
|
+
return readFileSync5(filePath, "utf-8").split("\n").length;
|
|
2954
|
+
}
|
|
2945
2955
|
var writeFileTool = {
|
|
2946
2956
|
definition: {
|
|
2947
2957
|
name: "write_file",
|
|
@@ -3009,12 +3019,21 @@ Do NOT split a long document into many write_file(append=true) calls. That patte
|
|
|
3009
3019
|
} catch {
|
|
3010
3020
|
}
|
|
3011
3021
|
})();
|
|
3022
|
+
if (appendMode) {
|
|
3023
|
+
let total = "";
|
|
3024
|
+
try {
|
|
3025
|
+
const st = statSync3(filePath);
|
|
3026
|
+
total = `; file now ${countFileLines(filePath)} lines, ${st.size} bytes`;
|
|
3027
|
+
} catch {
|
|
3028
|
+
}
|
|
3029
|
+
return `File appended: ${filePath} (+${lines} lines, +${bytes} bytes${total})`;
|
|
3030
|
+
}
|
|
3012
3031
|
return `File ${mode}: ${filePath} (${lines} lines, ${bytes} bytes)`;
|
|
3013
3032
|
}
|
|
3014
3033
|
};
|
|
3015
3034
|
|
|
3016
3035
|
// src/tools/builtin/edit-file.ts
|
|
3017
|
-
import { readFileSync as
|
|
3036
|
+
import { readFileSync as readFileSync6, existsSync as existsSync7 } from "fs";
|
|
3018
3037
|
|
|
3019
3038
|
// src/tools/builtin/patch-apply.ts
|
|
3020
3039
|
function parseUnifiedDiff(patch) {
|
|
@@ -3390,7 +3409,7 @@ Note: Path can be absolute or relative to cwd.`,
|
|
|
3390
3409
|
`Refused: sub-agents cannot edit sensitive paths \u2014 ${verdict.reason}. If this is genuinely needed, ask the parent agent to perform the edit so the user can approve it.`
|
|
3391
3410
|
);
|
|
3392
3411
|
}
|
|
3393
|
-
const original =
|
|
3412
|
+
const original = readFileSync6(filePath, encoding);
|
|
3394
3413
|
if (args["patch"] !== void 0) {
|
|
3395
3414
|
const patchText = String(args["patch"] ?? "");
|
|
3396
3415
|
const stopOnError = args["stop_on_error"] !== false;
|
|
@@ -3559,7 +3578,7 @@ function truncatePreview(str, maxLen = 80) {
|
|
|
3559
3578
|
}
|
|
3560
3579
|
|
|
3561
3580
|
// src/tools/builtin/list-dir.ts
|
|
3562
|
-
import { readdirSync as readdirSync3, statSync as
|
|
3581
|
+
import { readdirSync as readdirSync3, statSync as statSync4, existsSync as existsSync8 } from "fs";
|
|
3563
3582
|
import { join as join2, basename as basename4 } from "path";
|
|
3564
3583
|
var listDirTool = {
|
|
3565
3584
|
definition: {
|
|
@@ -3644,7 +3663,7 @@ function listRecursive(basePath, indent, recursive, lines) {
|
|
|
3644
3663
|
}
|
|
3645
3664
|
} else {
|
|
3646
3665
|
try {
|
|
3647
|
-
const stat =
|
|
3666
|
+
const stat = statSync4(join2(basePath, entry.name));
|
|
3648
3667
|
const size = formatSize(stat.size);
|
|
3649
3668
|
lines.push(`${indent}\u{1F4C4} ${entry.name} (${size})`);
|
|
3650
3669
|
} catch {
|
|
@@ -3660,7 +3679,7 @@ function formatSize(bytes) {
|
|
|
3660
3679
|
}
|
|
3661
3680
|
|
|
3662
3681
|
// src/tools/builtin/grep-files.ts
|
|
3663
|
-
import { readdirSync as readdirSync4, readFileSync as
|
|
3682
|
+
import { readdirSync as readdirSync4, readFileSync as readFileSync7, statSync as statSync5, existsSync as existsSync9 } from "fs";
|
|
3664
3683
|
import { readFile } from "fs/promises";
|
|
3665
3684
|
import { join as join3, relative } from "path";
|
|
3666
3685
|
var grepFilesTool = {
|
|
@@ -3726,7 +3745,7 @@ Supports regex. Automatically skips node_modules, dist, .git directories.`,
|
|
|
3726
3745
|
regex = new RegExp(escaped, ignoreCase ? "gi" : "g");
|
|
3727
3746
|
}
|
|
3728
3747
|
const results = [];
|
|
3729
|
-
const stat =
|
|
3748
|
+
const stat = statSync5(rootPath);
|
|
3730
3749
|
if (stat.isFile()) {
|
|
3731
3750
|
searchInFile(rootPath, rootPath, regex, contextLines, maxResults, results);
|
|
3732
3751
|
} else {
|
|
@@ -3813,7 +3832,7 @@ function collectFilePaths(rootPath, filePattern, maxFiles) {
|
|
|
3813
3832
|
if (filePattern && !matchesFilePattern(entry.name, filePattern)) continue;
|
|
3814
3833
|
const fullPath = join3(dirPath, entry.name);
|
|
3815
3834
|
try {
|
|
3816
|
-
if (
|
|
3835
|
+
if (statSync5(fullPath).size > 1e6) continue;
|
|
3817
3836
|
} catch {
|
|
3818
3837
|
continue;
|
|
3819
3838
|
}
|
|
@@ -3859,14 +3878,14 @@ async function searchInFileAsync(fullPath, displayPath, regex, contextLines, max
|
|
|
3859
3878
|
}
|
|
3860
3879
|
function searchInFile(fullPath, displayPath, regex, contextLines, maxResults, results) {
|
|
3861
3880
|
try {
|
|
3862
|
-
const stat =
|
|
3881
|
+
const stat = statSync5(fullPath);
|
|
3863
3882
|
if (stat.size > 1e6) return;
|
|
3864
3883
|
} catch {
|
|
3865
3884
|
return;
|
|
3866
3885
|
}
|
|
3867
3886
|
let content;
|
|
3868
3887
|
try {
|
|
3869
|
-
content =
|
|
3888
|
+
content = readFileSync7(fullPath, "utf-8");
|
|
3870
3889
|
} catch {
|
|
3871
3890
|
return;
|
|
3872
3891
|
}
|
|
@@ -3897,7 +3916,7 @@ function searchInFile(fullPath, displayPath, regex, contextLines, maxResults, re
|
|
|
3897
3916
|
}
|
|
3898
3917
|
|
|
3899
3918
|
// src/tools/builtin/glob-files.ts
|
|
3900
|
-
import { readdirSync as readdirSync5, statSync as
|
|
3919
|
+
import { readdirSync as readdirSync5, statSync as statSync6, existsSync as existsSync10 } from "fs";
|
|
3901
3920
|
import { join as join4, relative as relative2, basename as basename5 } from "path";
|
|
3902
3921
|
var globFilesTool = {
|
|
3903
3922
|
definition: {
|
|
@@ -4016,7 +4035,7 @@ function collectMatchingFiles(dirPath, rootPath, regex, results, maxResults) {
|
|
|
4016
4035
|
const relPath = relative2(rootPath, fullPath).replace(/\\/g, "/");
|
|
4017
4036
|
if (regex.test(relPath) || regex.test(basename5(relPath))) {
|
|
4018
4037
|
try {
|
|
4019
|
-
const stat =
|
|
4038
|
+
const stat = statSync6(fullPath);
|
|
4020
4039
|
results.push({ relPath, absPath: fullPath, mtime: stat.mtimeMs });
|
|
4021
4040
|
} catch {
|
|
4022
4041
|
results.push({ relPath, absPath: fullPath, mtime: 0 });
|
|
@@ -5202,7 +5221,7 @@ function formatResults2(query, data, _requested) {
|
|
|
5202
5221
|
}
|
|
5203
5222
|
|
|
5204
5223
|
// src/agents/agent-config.ts
|
|
5205
|
-
import { existsSync as existsSync11, readdirSync as readdirSync6, readFileSync as
|
|
5224
|
+
import { existsSync as existsSync11, readdirSync as readdirSync6, readFileSync as readFileSync8 } from "fs";
|
|
5206
5225
|
import { join as join6 } from "path";
|
|
5207
5226
|
import { homedir as homedir4 } from "os";
|
|
5208
5227
|
var READ_ONLY_TOOLS2 = /* @__PURE__ */ new Set([
|
|
@@ -5304,7 +5323,7 @@ function loadAgentDir(dir, source) {
|
|
|
5304
5323
|
if (!file.endsWith(".json")) continue;
|
|
5305
5324
|
const path3 = join6(dir, file);
|
|
5306
5325
|
try {
|
|
5307
|
-
const parsed = JSON.parse(
|
|
5326
|
+
const parsed = JSON.parse(readFileSync8(path3, "utf-8"));
|
|
5308
5327
|
const cfg = parseAgentConfig(parsed, source, path3);
|
|
5309
5328
|
if (cfg) out.push(cfg);
|
|
5310
5329
|
} catch {
|
|
@@ -6304,7 +6323,7 @@ ${commitOutput.trim()}`;
|
|
|
6304
6323
|
};
|
|
6305
6324
|
|
|
6306
6325
|
// src/tools/builtin/notebook-edit.ts
|
|
6307
|
-
import { readFileSync as
|
|
6326
|
+
import { readFileSync as readFileSync9, existsSync as existsSync13 } from "fs";
|
|
6308
6327
|
import { writeFile } from "fs/promises";
|
|
6309
6328
|
import { resolve as resolve6, extname as extname2 } from "path";
|
|
6310
6329
|
var notebookEditTool = {
|
|
@@ -6362,7 +6381,7 @@ var notebookEditTool = {
|
|
|
6362
6381
|
if (!existsSync13(absPath)) {
|
|
6363
6382
|
throw new ToolError("notebook_edit", `Notebook not found: ${filePath}`);
|
|
6364
6383
|
}
|
|
6365
|
-
const raw =
|
|
6384
|
+
const raw = readFileSync9(absPath, "utf-8");
|
|
6366
6385
|
const nb = parseNotebook(raw);
|
|
6367
6386
|
const cellIdx0 = cellIndexRaw - 1;
|
|
6368
6387
|
undoStack.push(absPath, `notebook_edit (${action}): ${filePath}`);
|
|
@@ -7031,6 +7050,7 @@ export {
|
|
|
7031
7050
|
rlInternal,
|
|
7032
7051
|
groupCallsByPhase,
|
|
7033
7052
|
runSafePhases,
|
|
7053
|
+
resolveWriteFileArgs,
|
|
7034
7054
|
checkPermissionWithProfile,
|
|
7035
7055
|
formatPermissionProfileWarning,
|
|
7036
7056
|
checkNetworkPolicy,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
truncateForPersist
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4RPJQJBI.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-4TDVLTX2.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteFileSync
|
|
17
17
|
} from "./chunk-IW3Q7AE5.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-GDJII6TK.js";
|
|
5
5
|
import {
|
|
6
6
|
ConfigManager
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-G65I4DXP.js";
|
|
8
8
|
import {
|
|
9
9
|
getActivePluginAssets,
|
|
10
10
|
getPendingHookTrust,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
listHooks,
|
|
15
15
|
listInstalledPlugins,
|
|
16
16
|
resetStats
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3KYUE2MD.js";
|
|
18
18
|
import {
|
|
19
19
|
getGitRoot
|
|
20
20
|
} from "./chunk-HOSJZMQS.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
MCP_PROJECT_CONFIG_NAME,
|
|
27
27
|
MEMORY_FILE_NAME,
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4TDVLTX2.js";
|
|
30
30
|
|
|
31
31
|
// src/diagnostics/doctor-report.ts
|
|
32
32
|
import { existsSync as existsSync3, statSync as statSync2 } from "fs";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
CI_COMMENT_MARKER,
|
|
4
4
|
countSeverity,
|
|
5
5
|
runCi
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-3EWST6SE.js";
|
|
7
|
+
import "./chunk-PSH5O44I.js";
|
|
8
8
|
import "./chunk-HLWUDRBO.js";
|
|
9
9
|
import "./chunk-GDJII6TK.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-G65I4DXP.js";
|
|
11
11
|
import "./chunk-XPNKMDBH.js";
|
|
12
12
|
import "./chunk-TU3L3PW7.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-4TDVLTX2.js";
|
|
14
14
|
import "./chunk-IW3Q7AE5.js";
|
|
15
15
|
export {
|
|
16
16
|
CI_COMMENT_MARKER,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
formatDoctorReport,
|
|
4
4
|
runDoctorCli
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZZ5WTHKY.js";
|
|
6
6
|
import "./chunk-GDJII6TK.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-G65I4DXP.js";
|
|
8
|
+
import "./chunk-3KYUE2MD.js";
|
|
9
9
|
import "./chunk-XPNKMDBH.js";
|
|
10
10
|
import "./chunk-TU3L3PW7.js";
|
|
11
11
|
import "./chunk-HOSJZMQS.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-4TDVLTX2.js";
|
|
13
13
|
import "./chunk-IW3Q7AE5.js";
|
|
14
14
|
export {
|
|
15
15
|
formatDoctorReport,
|