jinzd-ai-cli 0.4.329 → 0.4.330
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 +4 -4
- package/README.zh-CN.md +4 -4
- package/dist/{batch-NNYRIS4U.js → batch-GXITPLER.js} +2 -2
- package/dist/{chunk-ABIR2TGW.js → chunk-265M6ZLH.js} +4 -4
- package/dist/{chunk-BRZZ3QAI.js → chunk-2BAFLDDL.js} +44 -7
- package/dist/{chunk-LKSMXCFL.js → chunk-2SYDIWRU.js} +1 -1
- package/dist/{chunk-IUC3DRGB.js → chunk-3YVZJHTF.js} +1 -1
- package/dist/{chunk-6UDKGZ3D.js → chunk-AJITHMRE.js} +1 -1
- package/dist/{chunk-YDH5ZWOQ.js → chunk-CCFCPAKN.js} +1 -1
- package/dist/{chunk-LRRBYGHE.js → chunk-DU44SD6A.js} +1 -1
- package/dist/{chunk-XF2S7LNM.js → chunk-DX2U6QK4.js} +1 -1
- package/dist/{chunk-I5KLH7TL.js → chunk-GEC3MEVQ.js} +48 -40
- package/dist/{chunk-DRNRQ6SD.js → chunk-GWEBO4RF.js} +1 -1
- package/dist/{chunk-SS3PG7LP.js → chunk-HMQA2R3O.js} +1 -1
- package/dist/{chunk-LSSOPLKJ.js → chunk-LLXHA2LA.js} +8 -8
- package/dist/{chunk-TYQODNI7.js → chunk-LUJ4JVMI.js} +4 -4
- package/dist/{chunk-MPCQG7LV.js → chunk-M5B6G6AY.js} +4 -4
- package/dist/{chunk-2CNJ25U7.js → chunk-QU74ONFF.js} +9 -3
- package/dist/{ci-ODKA57IG.js → ci-6K3JNHB4.js} +5 -5
- package/dist/{ci-format-QDC4XKYZ.js → ci-format-2L3RFJVH.js} +2 -2
- package/dist/{constants-MG7EGG5J.js → constants-DLJECTGQ.js} +1 -1
- package/dist/{constants-BYWEJLAI.js → constants-J5SJ232X.js} +1 -1
- package/dist/{doctor-cli-LYZSHYR6.js → doctor-cli-BHS7G2XY.js} +5 -5
- package/dist/electron-server.js +109 -58
- package/dist/{hub-GRHYVLGV.js → hub-PPG4N6QQ.js} +1 -1
- package/dist/index.js +21 -20
- package/dist/{persistent-memory-OCDFR4BH.js → persistent-memory-3XTSZ3QR.js} +2 -2
- package/dist/{persistent-memory-O6GWHGJH.js → persistent-memory-O4T2OTVV.js} +2 -2
- package/dist/{pr-LDUIDU27.js → pr-M6ZY4CEK.js} +5 -5
- package/dist/{run-tests-YTRU22LY.js → run-tests-H3DIUCDB.js} +2 -2
- package/dist/{run-tests-LTYJACRX.js → run-tests-WQE3XTUL.js} +2 -2
- package/dist/{server-2NZN22XP.js → server-5NQSYQ2T.js} +15 -15
- package/dist/{server-ZTFB3KMS.js → server-J2B26DZK.js} +5 -5
- package/dist/{task-orchestrator-URFLWSPI.js → task-orchestrator-CI7EDT25.js} +5 -5
- package/dist/{usage-IP6G4Q2K.js → usage-AJYZ5A7P.js} +3 -3
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
executeTests,
|
|
3
3
|
runTestProcess,
|
|
4
4
|
runTestsTool
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DU44SD6A.js";
|
|
6
6
|
import "./chunk-QMFMST2T.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-3YVZJHTF.js";
|
|
8
8
|
export {
|
|
9
9
|
executeTests,
|
|
10
10
|
runTestProcess,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
skillHistoryNote,
|
|
87
87
|
snapshotFile,
|
|
88
88
|
stripRoutingTags
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-LLXHA2LA.js";
|
|
90
90
|
import {
|
|
91
91
|
CNY_PER_USD,
|
|
92
92
|
CostTracker,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
getCostCurrency,
|
|
96
96
|
getPricing,
|
|
97
97
|
setCostCurrency
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-2BAFLDDL.js";
|
|
99
99
|
import {
|
|
100
100
|
DEFAULT_MAX_TOOL_OUTPUT_CHARS,
|
|
101
101
|
ToolExecutor,
|
|
@@ -130,7 +130,7 @@ import {
|
|
|
130
130
|
spawnAgentContext,
|
|
131
131
|
truncateOutput,
|
|
132
132
|
undoStack
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-M5B6G6AY.js";
|
|
134
134
|
import {
|
|
135
135
|
buildReviewPrompt,
|
|
136
136
|
buildSecurityReviewPrompt
|
|
@@ -157,7 +157,7 @@ import {
|
|
|
157
157
|
restoreMemoryEntries,
|
|
158
158
|
updateMemoryApproval,
|
|
159
159
|
updateMemoryEntry
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-DX2U6QK4.js";
|
|
161
161
|
import "./chunk-RWRZVQCB.js";
|
|
162
162
|
import "./chunk-B3MPYI4E.js";
|
|
163
163
|
import "./chunk-M6HLYG33.js";
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
buildDoctorReport,
|
|
177
177
|
formatDoctorReport,
|
|
178
178
|
loadContextFiles
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-265M6ZLH.js";
|
|
180
180
|
import {
|
|
181
181
|
describePlugin,
|
|
182
182
|
getActivePluginAssets,
|
|
@@ -191,14 +191,14 @@ import {
|
|
|
191
191
|
runTool,
|
|
192
192
|
setPluginEnabled,
|
|
193
193
|
trustPlugin
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-HMQA2R3O.js";
|
|
195
195
|
import "./chunk-RS7SKYTS.js";
|
|
196
196
|
import {
|
|
197
197
|
ProviderRegistry
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-GEC3MEVQ.js";
|
|
199
199
|
import {
|
|
200
200
|
ConfigManager
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-QU74ONFF.js";
|
|
202
202
|
import {
|
|
203
203
|
CONTENT_ONLY_STREAM_REMINDER,
|
|
204
204
|
TEE_FINAL_USER_NUDGE,
|
|
@@ -231,7 +231,7 @@ import {
|
|
|
231
231
|
import {
|
|
232
232
|
assertReadablePath
|
|
233
233
|
} from "./chunk-JJFJWD35.js";
|
|
234
|
-
import "./chunk-
|
|
234
|
+
import "./chunk-GWEBO4RF.js";
|
|
235
235
|
import {
|
|
236
236
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
237
237
|
AUTHOR,
|
|
@@ -247,7 +247,7 @@ import {
|
|
|
247
247
|
SKILLS_DIR_NAME,
|
|
248
248
|
VERSION,
|
|
249
249
|
buildUserIdentityPrompt
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-AJITHMRE.js";
|
|
251
251
|
import {
|
|
252
252
|
runWithExecutionContext,
|
|
253
253
|
runWithSessionKey
|
|
@@ -979,7 +979,7 @@ Cache: write=${cacheCreate} read=${cacheRead}` : "";
|
|
|
979
979
|
Cost: ${formatCost(cost)}` : "";
|
|
980
980
|
let memoryLine = "";
|
|
981
981
|
try {
|
|
982
|
-
const { countPendingMemories: countPendingMemories2 } = await import("./persistent-memory-
|
|
982
|
+
const { countPendingMemories: countPendingMemories2 } = await import("./persistent-memory-O4T2OTVV.js");
|
|
983
983
|
const pending = countPendingMemories2(ctx.config.getConfigDir());
|
|
984
984
|
if (pending > 0) memoryLine = `
|
|
985
985
|
Memory: \u26A0 ${pending} pending approval \u2014 see the Memory panel or /memory`;
|
|
@@ -1908,7 +1908,7 @@ async function handleTest(args, ctx) {
|
|
|
1908
1908
|
const isCommand = argStr.includes(" ") || /^(mvn|gradle|npm|pytest|cargo|go)\b/.test(argStr);
|
|
1909
1909
|
testArgs = isCommand ? { command: argStr } : { filter: argStr };
|
|
1910
1910
|
}
|
|
1911
|
-
const runTests = ctx.runTests ?? (await import("./run-tests-
|
|
1911
|
+
const runTests = ctx.runTests ?? (await import("./run-tests-H3DIUCDB.js")).executeTests;
|
|
1912
1912
|
const report = await runTests(testArgs);
|
|
1913
1913
|
ctx.send({ type: "info", message: report });
|
|
1914
1914
|
} catch (err) {
|
|
@@ -2184,7 +2184,7 @@ async function handleMemory(args, ctx) {
|
|
|
2184
2184
|
}
|
|
2185
2185
|
if (intent.kind === "status") {
|
|
2186
2186
|
const { getChatIndexStatus } = await import("./chat-index-7CLR4CBG.js");
|
|
2187
|
-
const { listMemoryEntries: listMemoryEntries2, isMemoryExpired: isMemoryExpired2, formatMemoryForPrompt: formatMemoryForPrompt2 } = await import("./persistent-memory-
|
|
2187
|
+
const { listMemoryEntries: listMemoryEntries2, isMemoryExpired: isMemoryExpired2, formatMemoryForPrompt: formatMemoryForPrompt2 } = await import("./persistent-memory-O4T2OTVV.js");
|
|
2188
2188
|
const memories = listMemoryEntries2(configDir, { includeExpired: true, includeRejected: true });
|
|
2189
2189
|
const injected = formatMemoryForPrompt2(configDir, process.cwd(), ctx.config.get("memory")?.maxChars);
|
|
2190
2190
|
const view = buildMemoryStatusView({
|
|
@@ -2207,7 +2207,7 @@ async function handleMemory(args, ctx) {
|
|
|
2207
2207
|
return;
|
|
2208
2208
|
}
|
|
2209
2209
|
if (intent.kind === "recall") {
|
|
2210
|
-
const { searchPersistentMemories, touchMemoryReferences } = await import("./persistent-memory-
|
|
2210
|
+
const { searchPersistentMemories, touchMemoryReferences } = await import("./persistent-memory-O4T2OTVV.js");
|
|
2211
2211
|
const { searchChatMemory } = await import("./chat-index-7CLR4CBG.js");
|
|
2212
2212
|
const persistentHits = searchPersistentMemories(configDir, intent.query, process.cwd(), 3);
|
|
2213
2213
|
if (persistentHits.length > 0) {
|
|
@@ -2328,7 +2328,7 @@ async function handleMemory(args, ctx) {
|
|
|
2328
2328
|
ctx.handleMemoryManage(intent.action, args[1], intent.action === "expire" ? args[2] : void 0);
|
|
2329
2329
|
} else if (intent.kind === "export") {
|
|
2330
2330
|
if (args[1] === "md") {
|
|
2331
|
-
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-
|
|
2331
|
+
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-O4T2OTVV.js");
|
|
2332
2332
|
ctx.send({
|
|
2333
2333
|
type: "export_data",
|
|
2334
2334
|
format: "md",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ToolRegistry
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M5B6G6AY.js";
|
|
5
5
|
import "./chunk-6JHACXB3.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-DX2U6QK4.js";
|
|
7
7
|
import "./chunk-RWRZVQCB.js";
|
|
8
8
|
import "./chunk-B3MPYI4E.js";
|
|
9
9
|
import "./chunk-M6HLYG33.js";
|
|
@@ -14,7 +14,7 @@ import "./chunk-JL44HGZC.js";
|
|
|
14
14
|
import "./chunk-3FEZSLGI.js";
|
|
15
15
|
import {
|
|
16
16
|
runTool
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HMQA2R3O.js";
|
|
18
18
|
import "./chunk-RS7SKYTS.js";
|
|
19
19
|
import {
|
|
20
20
|
getDangerLevel,
|
|
@@ -24,10 +24,10 @@ import "./chunk-TU3L3PW7.js";
|
|
|
24
24
|
import "./chunk-HOSJZMQS.js";
|
|
25
25
|
import "./chunk-BMLQPSHP.js";
|
|
26
26
|
import "./chunk-JJFJWD35.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-GWEBO4RF.js";
|
|
28
28
|
import {
|
|
29
29
|
VERSION
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AJITHMRE.js";
|
|
31
31
|
import "./chunk-SXIJLSVF.js";
|
|
32
32
|
|
|
33
33
|
// src/mcp/server.ts
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
googleSearchContext,
|
|
5
5
|
isToolCapableProvider,
|
|
6
6
|
truncateOutput
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M5B6G6AY.js";
|
|
8
8
|
import "./chunk-6JHACXB3.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-DX2U6QK4.js";
|
|
10
10
|
import "./chunk-RWRZVQCB.js";
|
|
11
11
|
import "./chunk-B3MPYI4E.js";
|
|
12
12
|
import "./chunk-M6HLYG33.js";
|
|
@@ -17,7 +17,7 @@ import "./chunk-JL44HGZC.js";
|
|
|
17
17
|
import "./chunk-3FEZSLGI.js";
|
|
18
18
|
import {
|
|
19
19
|
runTool
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HMQA2R3O.js";
|
|
21
21
|
import "./chunk-RS7SKYTS.js";
|
|
22
22
|
import {
|
|
23
23
|
getDangerLevel,
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
atomicWriteFileSync
|
|
30
30
|
} from "./chunk-BMLQPSHP.js";
|
|
31
31
|
import "./chunk-JJFJWD35.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-GWEBO4RF.js";
|
|
33
33
|
import {
|
|
34
34
|
SUBAGENT_ALLOWED_TOOLS
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-AJITHMRE.js";
|
|
36
36
|
import "./chunk-SXIJLSVF.js";
|
|
37
37
|
|
|
38
38
|
// src/hub/task-orchestrator.ts
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
formatCost,
|
|
6
6
|
getPricing,
|
|
7
7
|
setCostCurrency
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2BAFLDDL.js";
|
|
9
9
|
import "./chunk-RS7SKYTS.js";
|
|
10
10
|
import {
|
|
11
11
|
ConfigManager
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QU74ONFF.js";
|
|
13
13
|
import "./chunk-TU3L3PW7.js";
|
|
14
14
|
import "./chunk-BMLQPSHP.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-AJITHMRE.js";
|
|
16
16
|
|
|
17
17
|
// src/cli/usage.ts
|
|
18
18
|
function classifyRowCost(row) {
|