jinzd-ai-cli 0.4.305 → 0.4.307
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-OX27K4GG.js → batch-HMADXNOD.js} +2 -2
- package/dist/{chunk-UFK5CTBU.js → chunk-3CKJOTVM.js} +3 -3
- package/dist/{chunk-4DH5LZR5.js → chunk-3TBXHLSC.js} +1 -1
- package/dist/{chunk-I6RATYRF.js → chunk-4W6VDVQU.js} +1 -1
- package/dist/{chunk-Q4DAKI7I.js → chunk-5GQL4TSZ.js} +1 -1
- package/dist/{chunk-3ZABGT3S.js → chunk-AHL6KOGM.js} +1 -1
- package/dist/{chunk-NFLE34QG.js → chunk-AQF6IXSR.js} +1 -1
- package/dist/{chunk-YPOWDFOV.js → chunk-CIM2PV2F.js} +1 -1
- package/dist/{chunk-SZ4226XY.js → chunk-KRCYR46A.js} +1 -1
- package/dist/{chunk-IPUTC5EX.js → chunk-L2RJPVHV.js} +142 -16
- package/dist/{chunk-AXKERUXH.js → chunk-NQJSPMY2.js} +3 -3
- package/dist/{chunk-PA4C452B.js → chunk-SJFZPS65.js} +3 -1
- package/dist/{chunk-NBYSFFCO.js → chunk-VAV2IJ3R.js} +3 -1
- package/dist/{chunk-GOIDKTBE.js → chunk-YFDQIUQ3.js} +7 -7
- package/dist/{ci-IIMLOXFH.js → ci-QD2Q7NWY.js} +4 -4
- package/dist/{ci-format-FMBJC3EY.js → ci-format-42XIZO5P.js} +2 -2
- package/dist/{constants-55QQ3RYE.js → constants-5CMEFZQB.js} +3 -1
- package/dist/{constants-7NVAPQVR.js → constants-NMASHFDL.js} +3 -1
- package/dist/{doctor-cli-ZHZ2XOF3.js → doctor-cli-IOVSHBDI.js} +4 -4
- package/dist/electron-server.js +148 -22
- package/dist/{hub-MF53NIM2.js → hub-ZLF6GMQD.js} +1 -1
- package/dist/index.js +18 -18
- package/dist/{persistent-memory-LCOKUDTM.js → persistent-memory-GJE7HKVK.js} +2 -2
- package/dist/{persistent-memory-NACQW2VB.js → persistent-memory-MBSBTBGY.js} +2 -2
- package/dist/{pr-NHWE5FW7.js → pr-SXRW24JG.js} +4 -4
- package/dist/{run-tests-ZG5X25BJ.js → run-tests-EQCAMFQE.js} +2 -2
- package/dist/{run-tests-EUPJLDXS.js → run-tests-V3N7YV3P.js} +2 -2
- package/dist/{server-PG7QCH53.js → server-GGEO7SA2.js} +13 -13
- package/dist/{server-PNYRE3AL.js → server-MO3EU2XD.js} +5 -5
- package/dist/{task-orchestrator-WAJTCE6D.js → task-orchestrator-JGEEQ2OE.js} +5 -5
- package/dist/{usage-DOES3DOS.js → usage-B7RIAPPT.js} +2 -2
- package/package.json +1 -1
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
skillHistoryNote,
|
|
82
82
|
snapshotFile,
|
|
83
83
|
stripRoutingTags
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-YFDQIUQ3.js";
|
|
85
85
|
import {
|
|
86
86
|
CNY_PER_USD,
|
|
87
87
|
CostTracker,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
spawnAgentContext,
|
|
127
127
|
truncateOutput,
|
|
128
128
|
undoStack
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-L2RJPVHV.js";
|
|
130
130
|
import {
|
|
131
131
|
buildReviewPrompt,
|
|
132
132
|
buildSecurityReviewPrompt
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
restoreMemoryEntries,
|
|
154
154
|
updateMemoryApproval,
|
|
155
155
|
updateMemoryEntry
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-AHL6KOGM.js";
|
|
157
157
|
import "./chunk-LF67HWWR.js";
|
|
158
158
|
import "./chunk-XJOK5353.js";
|
|
159
159
|
import "./chunk-WQ3OMEC4.js";
|
|
@@ -172,7 +172,7 @@ import {
|
|
|
172
172
|
buildDoctorReport,
|
|
173
173
|
formatDoctorReport,
|
|
174
174
|
loadContextFiles
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-NQJSPMY2.js";
|
|
176
176
|
import {
|
|
177
177
|
describePlugin,
|
|
178
178
|
getActivePluginAssets,
|
|
@@ -187,14 +187,14 @@ import {
|
|
|
187
187
|
runTool,
|
|
188
188
|
setPluginEnabled,
|
|
189
189
|
trustPlugin
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-5GQL4TSZ.js";
|
|
191
191
|
import "./chunk-RS7SKYTS.js";
|
|
192
192
|
import {
|
|
193
193
|
ProviderRegistry
|
|
194
194
|
} from "./chunk-VXEF2SWG.js";
|
|
195
195
|
import {
|
|
196
196
|
ConfigManager
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-AQF6IXSR.js";
|
|
198
198
|
import {
|
|
199
199
|
CONTENT_ONLY_STREAM_REMINDER,
|
|
200
200
|
TEE_FINAL_USER_NUDGE,
|
|
@@ -225,7 +225,7 @@ import {
|
|
|
225
225
|
maskConfigSecrets
|
|
226
226
|
} from "./chunk-XNFIYS7G.js";
|
|
227
227
|
import "./chunk-4BKXL7SM.js";
|
|
228
|
-
import "./chunk-
|
|
228
|
+
import "./chunk-4W6VDVQU.js";
|
|
229
229
|
import {
|
|
230
230
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
231
231
|
AUTHOR,
|
|
@@ -241,7 +241,7 @@ import {
|
|
|
241
241
|
SKILLS_DIR_NAME,
|
|
242
242
|
VERSION,
|
|
243
243
|
buildUserIdentityPrompt
|
|
244
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-VAV2IJ3R.js";
|
|
245
245
|
|
|
246
246
|
// src/web/server.ts
|
|
247
247
|
import express from "express";
|
|
@@ -968,7 +968,7 @@ Cache: write=${cacheCreate} read=${cacheRead}` : "";
|
|
|
968
968
|
Cost: ${formatCost(cost)}` : "";
|
|
969
969
|
let memoryLine = "";
|
|
970
970
|
try {
|
|
971
|
-
const { countPendingMemories: countPendingMemories2 } = await import("./persistent-memory-
|
|
971
|
+
const { countPendingMemories: countPendingMemories2 } = await import("./persistent-memory-MBSBTBGY.js");
|
|
972
972
|
const pending = countPendingMemories2(ctx.config.getConfigDir());
|
|
973
973
|
if (pending > 0) memoryLine = `
|
|
974
974
|
Memory: \u26A0 ${pending} pending approval \u2014 see the Memory panel or /memory`;
|
|
@@ -1897,7 +1897,7 @@ async function handleTest(args, ctx) {
|
|
|
1897
1897
|
const isCommand = argStr.includes(" ") || /^(mvn|gradle|npm|pytest|cargo|go)\b/.test(argStr);
|
|
1898
1898
|
testArgs = isCommand ? { command: argStr } : { filter: argStr };
|
|
1899
1899
|
}
|
|
1900
|
-
const runTests = ctx.runTests ?? (await import("./run-tests-
|
|
1900
|
+
const runTests = ctx.runTests ?? (await import("./run-tests-EQCAMFQE.js")).executeTests;
|
|
1901
1901
|
const report = await runTests(testArgs);
|
|
1902
1902
|
ctx.send({ type: "info", message: report });
|
|
1903
1903
|
} catch (err) {
|
|
@@ -2173,7 +2173,7 @@ async function handleMemory(args, ctx) {
|
|
|
2173
2173
|
}
|
|
2174
2174
|
if (intent.kind === "status") {
|
|
2175
2175
|
const { getChatIndexStatus } = await import("./chat-index-2D5GK2DB.js");
|
|
2176
|
-
const { listMemoryEntries: listMemoryEntries2, isMemoryExpired: isMemoryExpired2, formatMemoryForPrompt: formatMemoryForPrompt2 } = await import("./persistent-memory-
|
|
2176
|
+
const { listMemoryEntries: listMemoryEntries2, isMemoryExpired: isMemoryExpired2, formatMemoryForPrompt: formatMemoryForPrompt2 } = await import("./persistent-memory-MBSBTBGY.js");
|
|
2177
2177
|
const memories = listMemoryEntries2(configDir, { includeExpired: true, includeRejected: true });
|
|
2178
2178
|
const injected = formatMemoryForPrompt2(configDir, process.cwd(), ctx.config.get("memory")?.maxChars);
|
|
2179
2179
|
const view = buildMemoryStatusView({
|
|
@@ -2196,7 +2196,7 @@ async function handleMemory(args, ctx) {
|
|
|
2196
2196
|
return;
|
|
2197
2197
|
}
|
|
2198
2198
|
if (intent.kind === "recall") {
|
|
2199
|
-
const { searchPersistentMemories, touchMemoryReferences } = await import("./persistent-memory-
|
|
2199
|
+
const { searchPersistentMemories, touchMemoryReferences } = await import("./persistent-memory-MBSBTBGY.js");
|
|
2200
2200
|
const { searchChatMemory } = await import("./chat-index-2D5GK2DB.js");
|
|
2201
2201
|
const persistentHits = searchPersistentMemories(configDir, intent.query, process.cwd(), 3);
|
|
2202
2202
|
if (persistentHits.length > 0) {
|
|
@@ -2317,7 +2317,7 @@ async function handleMemory(args, ctx) {
|
|
|
2317
2317
|
ctx.handleMemoryManage(intent.action, args[1], intent.action === "expire" ? args[2] : void 0);
|
|
2318
2318
|
} else if (intent.kind === "export") {
|
|
2319
2319
|
if (args[1] === "md") {
|
|
2320
|
-
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-
|
|
2320
|
+
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-MBSBTBGY.js");
|
|
2321
2321
|
ctx.send({
|
|
2322
2322
|
type: "export_data",
|
|
2323
2323
|
format: "md",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ToolRegistry
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-L2RJPVHV.js";
|
|
5
5
|
import "./chunk-GHWZVPUV.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-AHL6KOGM.js";
|
|
7
7
|
import "./chunk-LF67HWWR.js";
|
|
8
8
|
import "./chunk-XJOK5353.js";
|
|
9
9
|
import "./chunk-WQ3OMEC4.js";
|
|
@@ -14,7 +14,7 @@ import "./chunk-NYNSYLFY.js";
|
|
|
14
14
|
import "./chunk-3FEZSLGI.js";
|
|
15
15
|
import {
|
|
16
16
|
runTool
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5GQL4TSZ.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-IW3Q7AE5.js";
|
|
26
26
|
import "./chunk-4BKXL7SM.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-4W6VDVQU.js";
|
|
28
28
|
import {
|
|
29
29
|
VERSION
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VAV2IJ3R.js";
|
|
31
31
|
|
|
32
32
|
// src/mcp/server.ts
|
|
33
33
|
import { createInterface } from "readline";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
googleSearchContext,
|
|
5
5
|
isToolCapableProvider,
|
|
6
6
|
truncateOutput
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L2RJPVHV.js";
|
|
8
8
|
import "./chunk-GHWZVPUV.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-AHL6KOGM.js";
|
|
10
10
|
import "./chunk-LF67HWWR.js";
|
|
11
11
|
import "./chunk-XJOK5353.js";
|
|
12
12
|
import "./chunk-WQ3OMEC4.js";
|
|
@@ -17,7 +17,7 @@ import "./chunk-NYNSYLFY.js";
|
|
|
17
17
|
import "./chunk-3FEZSLGI.js";
|
|
18
18
|
import {
|
|
19
19
|
runTool
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5GQL4TSZ.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-IW3Q7AE5.js";
|
|
31
31
|
import "./chunk-4BKXL7SM.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-4W6VDVQU.js";
|
|
33
33
|
import {
|
|
34
34
|
SUBAGENT_ALLOWED_TOOLS
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VAV2IJ3R.js";
|
|
36
36
|
|
|
37
37
|
// src/hub/task-orchestrator.ts
|
|
38
38
|
import { createInterface } from "readline";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
import "./chunk-RS7SKYTS.js";
|
|
10
10
|
import {
|
|
11
11
|
ConfigManager
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AQF6IXSR.js";
|
|
13
13
|
import "./chunk-TU3L3PW7.js";
|
|
14
14
|
import "./chunk-IW3Q7AE5.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-VAV2IJ3R.js";
|
|
16
16
|
|
|
17
17
|
// src/cli/usage.ts
|
|
18
18
|
function classifyRowCost(row) {
|