jinzd-ai-cli 0.4.253 → 0.4.254
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-TPW2SM6G.js → batch-WRISEJGQ.js} +2 -2
- package/dist/{chunk-UMW33EEH.js → chunk-5CCIFT5B.js} +1 -1
- package/dist/{chunk-USG3ASQ2.js → chunk-6OEZMFMM.js} +1 -1
- package/dist/{chunk-YWG5KKSL.js → chunk-EOZROPAY.js} +3 -3
- package/dist/{chunk-Q4KBR2SG.js → chunk-KGJCRE6U.js} +1 -1
- package/dist/{chunk-ABMMKA5S.js → chunk-MBOEMIH2.js} +1 -1
- package/dist/{chunk-YMHARKR6.js → chunk-OI247DUJ.js} +1 -1
- package/dist/{chunk-OWCEONX7.js → chunk-Q6MD47RH.js} +1 -1
- package/dist/{chunk-2JHYZUQE.js → chunk-QXIKCU5R.js} +1 -1
- package/dist/{chunk-SC6FMQLH.js → chunk-SCLXRJKE.js} +3 -3
- package/dist/{chunk-P5JUXUBS.js → chunk-TF5XR7NI.js} +2 -2
- package/dist/{chunk-RPYNPLIE.js → chunk-TUPLHKYE.js} +1 -1
- package/dist/{chunk-BZNTSGLQ.js → chunk-VCY6NH43.js} +4 -4
- package/dist/{chunk-M2QHKPRA.js → chunk-XBCOYS22.js} +1 -1
- package/dist/{ci-DYTVVEBO.js → ci-JINX6RT6.js} +4 -4
- package/dist/{ci-format-QTSA6FJJ.js → ci-format-ZQX57BPV.js} +2 -2
- package/dist/{constants-7KSDW6RF.js → constants-ASRW3Y6O.js} +1 -1
- package/dist/{doctor-cli-ZOIMXV4C.js → doctor-cli-CKJ7NEKC.js} +4 -4
- package/dist/electron-server.js +6 -6
- package/dist/{hub-6L2UCZAU.js → hub-LBPFXAXM.js} +1 -1
- package/dist/index.js +116 -112
- package/dist/{persistent-memory-HQKE5X7Z.js → persistent-memory-HJB6XTWD.js} +2 -2
- package/dist/{persistent-memory-QOT2TQCT.js → persistent-memory-LKWQ777N.js} +2 -2
- package/dist/{pr-HMOXDXWR.js → pr-JM266VJT.js} +4 -4
- package/dist/{run-tests-RSYTYFZF.js → run-tests-CMCXT3ZW.js} +2 -2
- package/dist/{run-tests-JVQU3RAN.js → run-tests-DAOPTU2O.js} +2 -2
- package/dist/{server-O2YQGG72.js → server-4KFSPCPP.js} +5 -5
- package/dist/{server-VOIG5VKM.js → server-ADRQ3MFV.js} +11 -11
- package/dist/{task-orchestrator-PLP3INNN.js → task-orchestrator-OH5S26KX.js} +5 -5
- package/dist/{usage-3EQUVK37.js → usage-MKPF3XFL.js} +2 -2
- package/dist/web/client/api.js +41 -0
- package/dist/web/client/app.js +9 -35
- package/package.json +2 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ConfigManager
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q6MD47RH.js";
|
|
5
5
|
import "./chunk-5ULLIOVC.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-XBCOYS22.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-OI247DUJ.js";
|
|
6
6
|
import {
|
|
7
7
|
buildReviewPrompt,
|
|
8
8
|
buildSecurityReviewPrompt,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-ZRBGH245.js";
|
|
14
14
|
import {
|
|
15
15
|
ConfigManager
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Q6MD47RH.js";
|
|
17
17
|
import {
|
|
18
18
|
VERSION
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XBCOYS22.js";
|
|
20
20
|
|
|
21
21
|
// src/cli/ci.ts
|
|
22
22
|
import { execFileSync } from "child_process";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-ZRBGH245.js";
|
|
5
5
|
import {
|
|
6
6
|
ConfigManager
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Q6MD47RH.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-KGJCRE6U.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-XBCOYS22.js";
|
|
30
30
|
|
|
31
31
|
// src/diagnostics/doctor-report.ts
|
|
32
32
|
import { existsSync as existsSync3, statSync as statSync2 } from "fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
truncateForPersist
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VCY6NH43.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-XBCOYS22.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteFileSync
|
|
17
17
|
} from "./chunk-IW3Q7AE5.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
searchPersistentMemories,
|
|
8
8
|
touchMemoryReferences,
|
|
9
9
|
updateMemoryEntry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6OEZMFMM.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-KGJCRE6U.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-MBOEMIH2.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-XBCOYS22.js";
|
|
51
51
|
import {
|
|
52
52
|
loadChatIndex,
|
|
53
53
|
searchChatMemory
|
|
@@ -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-EOZROPAY.js";
|
|
7
|
+
import "./chunk-OI247DUJ.js";
|
|
8
8
|
import "./chunk-HLWUDRBO.js";
|
|
9
9
|
import "./chunk-ZRBGH245.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-Q6MD47RH.js";
|
|
11
11
|
import "./chunk-PSXIVQ3N.js";
|
|
12
12
|
import "./chunk-5ULLIOVC.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-XBCOYS22.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-SCLXRJKE.js";
|
|
6
6
|
import "./chunk-ZRBGH245.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-Q6MD47RH.js";
|
|
8
|
+
import "./chunk-KGJCRE6U.js";
|
|
9
9
|
import "./chunk-PSXIVQ3N.js";
|
|
10
10
|
import "./chunk-5ULLIOVC.js";
|
|
11
11
|
import "./chunk-HOSJZMQS.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-XBCOYS22.js";
|
|
13
13
|
import "./chunk-IW3Q7AE5.js";
|
|
14
14
|
export {
|
|
15
15
|
formatDoctorReport,
|
package/dist/electron-server.js
CHANGED
|
@@ -34,14 +34,14 @@ import {
|
|
|
34
34
|
touchMemoryReferences,
|
|
35
35
|
updateMemoryApproval,
|
|
36
36
|
updateMemoryEntry
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QXIKCU5R.js";
|
|
38
38
|
import {
|
|
39
39
|
redactJson,
|
|
40
40
|
scanString
|
|
41
41
|
} from "./chunk-YVTASHS5.js";
|
|
42
42
|
import {
|
|
43
43
|
runTestsTool
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-TUPLHKYE.js";
|
|
45
45
|
import {
|
|
46
46
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
47
47
|
APP_NAME,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
SUBAGENT_MAX_ROUNDS_LIMIT,
|
|
74
74
|
VERSION,
|
|
75
75
|
buildUserIdentityPrompt
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-5CCIFT5B.js";
|
|
77
77
|
import {
|
|
78
78
|
hasSemanticIndex,
|
|
79
79
|
semanticSearch
|
|
@@ -15205,7 +15205,7 @@ Cache: write=${cacheCreate} read=${cacheRead}` : "";
|
|
|
15205
15205
|
Cost: ${formatCost(cost)}` : "";
|
|
15206
15206
|
let memoryLine = "";
|
|
15207
15207
|
try {
|
|
15208
|
-
const { countPendingMemories } = await import("./persistent-memory-
|
|
15208
|
+
const { countPendingMemories } = await import("./persistent-memory-LKWQ777N.js");
|
|
15209
15209
|
const pending = countPendingMemories(ctx.config.getConfigDir());
|
|
15210
15210
|
if (pending > 0) memoryLine = `
|
|
15211
15211
|
Memory: \u26A0 ${pending} pending approval \u2014 see the Memory panel or /memory`;
|
|
@@ -16014,7 +16014,7 @@ async function handleSecurityReview(args, ctx) {
|
|
|
16014
16014
|
async function handleTest(args, ctx) {
|
|
16015
16015
|
ctx.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
16016
16016
|
try {
|
|
16017
|
-
const { executeTests } = await import("./run-tests-
|
|
16017
|
+
const { executeTests } = await import("./run-tests-DAOPTU2O.js");
|
|
16018
16018
|
const argStr = args.join(" ").trim();
|
|
16019
16019
|
let testArgs = {};
|
|
16020
16020
|
if (argStr) {
|
|
@@ -16278,7 +16278,7 @@ async function handleMemory(args, ctx) {
|
|
|
16278
16278
|
ctx.handleMemoryManage(sub, args[1], sub === "expire" ? args[2] : void 0);
|
|
16279
16279
|
} else if (sub === "export") {
|
|
16280
16280
|
if (args[1] === "md") {
|
|
16281
|
-
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-
|
|
16281
|
+
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-LKWQ777N.js");
|
|
16282
16282
|
ctx.send({
|
|
16283
16283
|
type: "export_data",
|
|
16284
16284
|
format: "md",
|
|
@@ -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-OH5S26KX.js");
|
|
158
158
|
const orchestrator = new TaskOrchestrator(config, providers, configManager);
|
|
159
159
|
let interrupted = false;
|
|
160
160
|
const onSigint = () => {
|