jinzd-ai-cli 0.4.255 → 0.4.256
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/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/dist/{batch-OWBKG6XZ.js → batch-A6WZTY56.js} +3 -3
- package/dist/{chunk-ZRBGH245.js → chunk-2CGCEN7Q.js} +2 -2
- package/dist/{chunk-IRSNREEO.js → chunk-3C6TKCRL.js} +3 -3
- package/dist/{chunk-X2V76VPG.js → chunk-3F5FAUCI.js} +1 -1
- package/dist/{chunk-YJ7VL7VL.js → chunk-AL3H7VI2.js} +1 -1
- package/dist/{chunk-B42HK6GL.js → chunk-DQW3TJ4M.js} +1 -1
- package/dist/{chunk-SMIQ6CBX.js → chunk-FIXDD5WC.js} +1 -1
- package/dist/{chunk-SVWIUNOA.js → chunk-IXGGIS3K.js} +1 -1
- package/dist/{chunk-CU5ZNAIX.js → chunk-KTN7YDXC.js} +1 -1
- package/dist/{chunk-PSXIVQ3N.js → chunk-LEZB4KKZ.js} +1 -0
- package/dist/{chunk-FOC2YWOF.js → chunk-P5HO5RXI.js} +1 -1
- package/dist/{chunk-U6OV523Y.js → chunk-TN62NEIY.js} +1 -1
- package/dist/{chunk-5ULLIOVC.js → chunk-TU3L3PW7.js} +5 -2
- package/dist/{chunk-2UZ23L5P.js → chunk-UPOFNYWD.js} +2 -2
- package/dist/{chunk-PSP4W2MG.js → chunk-VEBTQK3D.js} +38 -20
- package/dist/{chunk-3WKUKMBG.js → chunk-VUGDRRX3.js} +4 -4
- package/dist/{chunk-7QWFFLKV.js → chunk-X45KVQHD.js} +4 -4
- package/dist/ci-2YHS67DD.js +19 -0
- package/dist/{ci-format-CTGDLJTS.js → ci-format-AS3NBCVH.js} +2 -2
- package/dist/{constants-LJRYL7IN.js → constants-RMUULNCF.js} +1 -1
- package/dist/doctor-cli-UOSY3GL6.js +17 -0
- package/dist/electron-server.js +47 -23
- package/dist/{hub-4EEDUJED.js → hub-SIPD6DKN.js} +2 -2
- package/dist/{hub-server-XA7HTVLD.js → hub-server-QGUSMN22.js} +3 -0
- package/dist/index.js +34 -28
- package/dist/{persistent-memory-DMN76UB5.js → persistent-memory-ELW2QNRA.js} +2 -2
- package/dist/{persistent-memory-EEAGHDFR.js → persistent-memory-JIXASKVH.js} +2 -2
- package/dist/{pr-Q74YHWN2.js → pr-NI5ZF7LE.js} +7 -7
- package/dist/{run-tests-N3ES4YMU.js → run-tests-NSOI3UB5.js} +2 -2
- package/dist/{run-tests-ADZQ2JWI.js → run-tests-XZ4DN4NV.js} +2 -2
- package/dist/{server-HUWVPJKQ.js → server-52KYUXTT.js} +7 -7
- package/dist/{server-PMEZ3HDO.js → server-WIBGSOFE.js} +16 -14
- package/dist/{task-orchestrator-KLCN25OY.js → task-orchestrator-BPXLRZTU.js} +13 -7
- package/dist/{usage-MNMRX5OE.js → usage-K7GM44EG.js} +3 -3
- package/dist/web/client/app.js +3329 -3312
- package/dist/web/client/index.html +70 -70
- package/package.json +19 -9
- package/dist/ci-V5GVGYZO.js +0 -19
- package/dist/doctor-cli-GOM2GQUK.js +0 -17
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
scanDirTree,
|
|
24
24
|
scanProject,
|
|
25
25
|
setupProxy
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UPOFNYWD.js";
|
|
27
27
|
import {
|
|
28
28
|
computeCost,
|
|
29
29
|
formatCost,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
spawnAgentContext,
|
|
64
64
|
truncateOutput,
|
|
65
65
|
undoStack
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-VEBTQK3D.js";
|
|
67
67
|
import {
|
|
68
68
|
addMemoryEntry,
|
|
69
69
|
clearMemoryEntries,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
parseWritableScope,
|
|
78
78
|
updateMemoryApproval,
|
|
79
79
|
updateMemoryEntry
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-3F5FAUCI.js";
|
|
81
81
|
import "./chunk-GLSR2NR3.js";
|
|
82
82
|
import "./chunk-UUSRWSSX.js";
|
|
83
83
|
import "./chunk-CKH4KQ4E.js";
|
|
@@ -90,13 +90,13 @@ import {
|
|
|
90
90
|
buildDoctorReport,
|
|
91
91
|
formatDoctorReport,
|
|
92
92
|
loadContextFiles
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-VUGDRRX3.js";
|
|
94
94
|
import {
|
|
95
95
|
ProviderRegistry
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-2CGCEN7Q.js";
|
|
97
97
|
import {
|
|
98
98
|
ConfigManager
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-3C6TKCRL.js";
|
|
100
100
|
import {
|
|
101
101
|
describePlugin,
|
|
102
102
|
getActivePluginAssets,
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
runTool,
|
|
112
112
|
setPluginEnabled,
|
|
113
113
|
trustPlugin
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-P5HO5RXI.js";
|
|
115
115
|
import {
|
|
116
116
|
CONTENT_ONLY_STREAM_REMINDER,
|
|
117
117
|
TEE_FINAL_USER_NUDGE,
|
|
@@ -128,15 +128,15 @@ import {
|
|
|
128
128
|
stripOuterCodeFence,
|
|
129
129
|
stripToolCallReminder,
|
|
130
130
|
teeStreamErrorSummary
|
|
131
|
-
} from "./chunk-
|
|
132
|
-
import "./chunk-
|
|
131
|
+
} from "./chunk-LEZB4KKZ.js";
|
|
132
|
+
import "./chunk-TU3L3PW7.js";
|
|
133
133
|
import {
|
|
134
134
|
formatGitContextForPrompt,
|
|
135
135
|
getGitContext,
|
|
136
136
|
getGitRoot
|
|
137
137
|
} from "./chunk-HOSJZMQS.js";
|
|
138
138
|
import "./chunk-4BKXL7SM.js";
|
|
139
|
-
import "./chunk-
|
|
139
|
+
import "./chunk-TN62NEIY.js";
|
|
140
140
|
import {
|
|
141
141
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
142
142
|
AUTHOR,
|
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
SKILLS_DIR_NAME,
|
|
153
153
|
VERSION,
|
|
154
154
|
buildUserIdentityPrompt
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-IXGGIS3K.js";
|
|
156
156
|
import "./chunk-6RPGQ5CG.js";
|
|
157
157
|
import "./chunk-KHYD3WXE.js";
|
|
158
158
|
import "./chunk-NYNSYLFY.js";
|
|
@@ -180,6 +180,8 @@ var ToolExecutorWeb = class _ToolExecutorWeb {
|
|
|
180
180
|
this.registry = registry;
|
|
181
181
|
this.ws = ws;
|
|
182
182
|
}
|
|
183
|
+
registry;
|
|
184
|
+
ws;
|
|
183
185
|
round = 0;
|
|
184
186
|
totalRounds = 0;
|
|
185
187
|
hookConfig;
|
|
@@ -813,7 +815,7 @@ Cache: write=${cacheCreate} read=${cacheRead}` : "";
|
|
|
813
815
|
Cost: ${formatCost(cost)}` : "";
|
|
814
816
|
let memoryLine = "";
|
|
815
817
|
try {
|
|
816
|
-
const { countPendingMemories } = await import("./persistent-memory-
|
|
818
|
+
const { countPendingMemories } = await import("./persistent-memory-ELW2QNRA.js");
|
|
817
819
|
const pending = countPendingMemories(ctx.config.getConfigDir());
|
|
818
820
|
if (pending > 0) memoryLine = `
|
|
819
821
|
Memory: \u26A0 ${pending} pending approval \u2014 see the Memory panel or /memory`;
|
|
@@ -1622,7 +1624,7 @@ async function handleSecurityReview(args, ctx) {
|
|
|
1622
1624
|
async function handleTest(args, ctx) {
|
|
1623
1625
|
ctx.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
1624
1626
|
try {
|
|
1625
|
-
const { executeTests } = await import("./run-tests-
|
|
1627
|
+
const { executeTests } = await import("./run-tests-XZ4DN4NV.js");
|
|
1626
1628
|
const argStr = args.join(" ").trim();
|
|
1627
1629
|
let testArgs = {};
|
|
1628
1630
|
if (argStr) {
|
|
@@ -1886,7 +1888,7 @@ async function handleMemory(args, ctx) {
|
|
|
1886
1888
|
ctx.handleMemoryManage(sub, args[1], sub === "expire" ? args[2] : void 0);
|
|
1887
1889
|
} else if (sub === "export") {
|
|
1888
1890
|
if (args[1] === "md") {
|
|
1889
|
-
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-
|
|
1891
|
+
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-ELW2QNRA.js");
|
|
1890
1892
|
ctx.send({
|
|
1891
1893
|
type: "export_data",
|
|
1892
1894
|
format: "md",
|
|
@@ -3,26 +3,26 @@ import {
|
|
|
3
3
|
ToolRegistry,
|
|
4
4
|
googleSearchContext,
|
|
5
5
|
truncateOutput
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-VEBTQK3D.js";
|
|
7
|
+
import "./chunk-3F5FAUCI.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-P5HO5RXI.js";
|
|
15
15
|
import {
|
|
16
16
|
getDangerLevel,
|
|
17
17
|
runLeanAgentLoop
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-LEZB4KKZ.js";
|
|
19
|
+
import "./chunk-TU3L3PW7.js";
|
|
20
20
|
import "./chunk-HOSJZMQS.js";
|
|
21
21
|
import "./chunk-4BKXL7SM.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-TN62NEIY.js";
|
|
23
23
|
import {
|
|
24
24
|
SUBAGENT_ALLOWED_TOOLS
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IXGGIS3K.js";
|
|
26
26
|
import "./chunk-6RPGQ5CG.js";
|
|
27
27
|
import "./chunk-KHYD3WXE.js";
|
|
28
28
|
import "./chunk-NYNSYLFY.js";
|
|
@@ -149,6 +149,9 @@ var TaskToolExecutor = class {
|
|
|
149
149
|
this.onToolCall = onToolCall;
|
|
150
150
|
this.onToolResult = onToolResult;
|
|
151
151
|
}
|
|
152
|
+
registry;
|
|
153
|
+
onToolCall;
|
|
154
|
+
onToolResult;
|
|
152
155
|
setRoundInfo(_current, _total) {
|
|
153
156
|
}
|
|
154
157
|
async execute(call) {
|
|
@@ -203,6 +206,9 @@ var TaskOrchestrator = class {
|
|
|
203
206
|
this.providers = providers;
|
|
204
207
|
this.configManager = configManager;
|
|
205
208
|
}
|
|
209
|
+
config;
|
|
210
|
+
providers;
|
|
211
|
+
configManager;
|
|
206
212
|
aborted = false;
|
|
207
213
|
abort() {
|
|
208
214
|
this.aborted = true;
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
} from "./chunk-GUOLPI33.js";
|
|
9
9
|
import {
|
|
10
10
|
ConfigManager
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-3C6TKCRL.js";
|
|
12
|
+
import "./chunk-TU3L3PW7.js";
|
|
13
|
+
import "./chunk-IXGGIS3K.js";
|
|
14
14
|
import "./chunk-IW3Q7AE5.js";
|
|
15
15
|
|
|
16
16
|
// src/cli/usage.ts
|