jinzd-ai-cli 0.4.337 → 0.4.338
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-GUQLUOXL.js → batch-N4DOEUEW.js} +2 -2
- package/dist/{chunk-6SFS6IJH.js → chunk-7BOHS5IX.js} +5 -0
- package/dist/{chunk-WL4NXDYT.js → chunk-ATOF545W.js} +1 -1
- package/dist/{chunk-MAUNCANT.js → chunk-DCWBDSMO.js} +2 -2
- package/dist/{chunk-EGRKGP4P.js → chunk-DOO4QAGJ.js} +2 -2
- package/dist/{chunk-HXENKVWP.js → chunk-DRCN44SZ.js} +4 -4
- package/dist/{chunk-YYO6TMOA.js → chunk-JUYK4OML.js} +1 -1
- package/dist/{chunk-5WUOBFYG.js → chunk-KGHVSYGI.js} +5 -1
- package/dist/{chunk-PWXVC6UZ.js → chunk-NJREBH6A.js} +1 -1
- package/dist/{chunk-7TU4KHMK.js → chunk-NRFAGZVJ.js} +1 -1
- package/dist/{chunk-RVB4GCSQ.js → chunk-OXVJZLJM.js} +6 -5
- package/dist/{chunk-DQBWJG32.js → chunk-PKYNCSQC.js} +58 -9
- package/dist/{chunk-56IOLQ5E.js → chunk-RIDNF4G2.js} +1 -1
- package/dist/{chunk-SSQARJMS.js → chunk-TTLLXFJC.js} +40 -3
- package/dist/{chunk-VHLZ2ZUQ.js → chunk-UWEBIOHD.js} +8 -20
- package/dist/{chunk-XF2F2V5Y.js → chunk-WQAUMAEV.js} +1 -1
- package/dist/{ci-FSMBWLMM.js → ci-HFAPFMZY.js} +6 -6
- package/dist/{ci-format-BONCHM6H.js → ci-format-QTRMHY3N.js} +2 -2
- package/dist/{constants-ARJE6QPN.js → constants-JZH2QKMQ.js} +1 -1
- package/dist/{constants-RMAQCGVM.js → constants-QJNJFMC6.js} +1 -1
- package/dist/{doctor-cli-T7D4DPWU.js → doctor-cli-FZ4IVZ6H.js} +6 -6
- package/dist/electron-server.js +113 -29
- package/dist/{hub-KCYDY3U6.js → hub-IRILXTL3.js} +1 -1
- package/dist/index.js +25 -23
- package/dist/{persistent-memory-ZO6NGZIV.js → persistent-memory-UZIZVHRT.js} +2 -2
- package/dist/{persistent-memory-3RG5Z6WK.js → persistent-memory-VRBNWOWN.js} +2 -2
- package/dist/{pr-W2PPGBYA.js → pr-4KNQWYC6.js} +7 -7
- package/dist/{run-tests-BWJEL7PA.js → run-tests-N2VKD7BU.js} +2 -2
- package/dist/{run-tests-72HGJXD4.js → run-tests-UXEOFPAW.js} +2 -2
- package/dist/{server-WTLNIO23.js → server-2VSO2ZX4.js} +6 -6
- package/dist/{server-Y3N6RMIN.js → server-HWKYWQEP.js} +21 -20
- package/dist/{task-orchestrator-QYCG7NVG.js → task-orchestrator-SC42LAFG.js} +6 -6
- package/dist/{usage-5L4ZQENO.js → usage-ZVV27BHD.js} +2 -2
- package/package.json +1 -1
|
@@ -84,11 +84,10 @@ import {
|
|
|
84
84
|
sessionListJsonRow,
|
|
85
85
|
sessionListNeedsFileSize,
|
|
86
86
|
sessionListSummary,
|
|
87
|
-
setupProxy,
|
|
88
87
|
skillHistoryNote,
|
|
89
88
|
snapshotFile,
|
|
90
89
|
stripRoutingTags
|
|
91
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-UWEBIOHD.js";
|
|
92
91
|
import {
|
|
93
92
|
CNY_PER_USD,
|
|
94
93
|
CostTracker,
|
|
@@ -132,7 +131,7 @@ import {
|
|
|
132
131
|
spawnAgentContext,
|
|
133
132
|
truncateOutput,
|
|
134
133
|
undoStack
|
|
135
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-PKYNCSQC.js";
|
|
136
135
|
import {
|
|
137
136
|
buildReviewPrompt,
|
|
138
137
|
buildSecurityReviewPrompt
|
|
@@ -159,7 +158,7 @@ import {
|
|
|
159
158
|
restoreMemoryEntries,
|
|
160
159
|
updateMemoryApproval,
|
|
161
160
|
updateMemoryEntry
|
|
162
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-WQAUMAEV.js";
|
|
163
162
|
import "./chunk-RWRZVQCB.js";
|
|
164
163
|
import "./chunk-B3MPYI4E.js";
|
|
165
164
|
import "./chunk-M6HLYG33.js";
|
|
@@ -178,7 +177,7 @@ import {
|
|
|
178
177
|
buildDoctorReport,
|
|
179
178
|
formatDoctorReport,
|
|
180
179
|
loadContextFiles
|
|
181
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-DRCN44SZ.js";
|
|
182
181
|
import {
|
|
183
182
|
describePlugin,
|
|
184
183
|
getActivePluginAssets,
|
|
@@ -193,17 +192,18 @@ import {
|
|
|
193
192
|
runTool,
|
|
194
193
|
setPluginEnabled,
|
|
195
194
|
trustPlugin
|
|
196
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-NJREBH6A.js";
|
|
197
196
|
import "./chunk-RS7SKYTS.js";
|
|
198
197
|
import {
|
|
199
|
-
ProviderRegistry
|
|
200
|
-
|
|
198
|
+
ProviderRegistry,
|
|
199
|
+
setupProxy
|
|
200
|
+
} from "./chunk-TTLLXFJC.js";
|
|
201
201
|
import {
|
|
202
202
|
ConfigManager
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-KGHVSYGI.js";
|
|
204
204
|
import {
|
|
205
205
|
getDangerLevel
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-7BOHS5IX.js";
|
|
207
207
|
import {
|
|
208
208
|
CONTENT_ONLY_STREAM_REMINDER,
|
|
209
209
|
TEE_FINAL_USER_NUDGE,
|
|
@@ -235,7 +235,7 @@ import {
|
|
|
235
235
|
import {
|
|
236
236
|
assertReadablePath
|
|
237
237
|
} from "./chunk-JJFJWD35.js";
|
|
238
|
-
import "./chunk-
|
|
238
|
+
import "./chunk-DOO4QAGJ.js";
|
|
239
239
|
import {
|
|
240
240
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
241
241
|
AUTHOR,
|
|
@@ -251,7 +251,7 @@ import {
|
|
|
251
251
|
SKILLS_DIR_NAME,
|
|
252
252
|
VERSION,
|
|
253
253
|
buildUserIdentityPrompt
|
|
254
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-NRFAGZVJ.js";
|
|
255
255
|
import {
|
|
256
256
|
runWithExecutionContext,
|
|
257
257
|
runWithSessionKey
|
|
@@ -983,7 +983,7 @@ Cache: write=${cacheCreate} read=${cacheRead}` : "";
|
|
|
983
983
|
Cost: ${formatCost(cost)}` : "";
|
|
984
984
|
let memoryLine = "";
|
|
985
985
|
try {
|
|
986
|
-
const { countPendingMemories: countPendingMemories2 } = await import("./persistent-memory-
|
|
986
|
+
const { countPendingMemories: countPendingMemories2 } = await import("./persistent-memory-VRBNWOWN.js");
|
|
987
987
|
const pending = countPendingMemories2(ctx.config.getConfigDir());
|
|
988
988
|
if (pending > 0) memoryLine = `
|
|
989
989
|
Memory: \u26A0 ${pending} pending approval \u2014 see the Memory panel or /memory`;
|
|
@@ -1912,7 +1912,7 @@ async function handleTest(args, ctx) {
|
|
|
1912
1912
|
const isCommand = argStr.includes(" ") || /^(mvn|gradle|npm|pytest|cargo|go)\b/.test(argStr);
|
|
1913
1913
|
testArgs = isCommand ? { command: argStr } : { filter: argStr };
|
|
1914
1914
|
}
|
|
1915
|
-
const runTests = ctx.runTests ?? (await import("./run-tests-
|
|
1915
|
+
const runTests = ctx.runTests ?? (await import("./run-tests-N2VKD7BU.js")).executeTests;
|
|
1916
1916
|
const report = await runTests(testArgs);
|
|
1917
1917
|
ctx.send({ type: "info", message: report });
|
|
1918
1918
|
} catch (err) {
|
|
@@ -2188,7 +2188,7 @@ async function handleMemory(args, ctx) {
|
|
|
2188
2188
|
}
|
|
2189
2189
|
if (intent.kind === "status") {
|
|
2190
2190
|
const { getChatIndexStatus } = await import("./chat-index-7CLR4CBG.js");
|
|
2191
|
-
const { listMemoryEntries: listMemoryEntries2, isMemoryExpired: isMemoryExpired2, formatMemoryForPrompt: formatMemoryForPrompt2 } = await import("./persistent-memory-
|
|
2191
|
+
const { listMemoryEntries: listMemoryEntries2, isMemoryExpired: isMemoryExpired2, formatMemoryForPrompt: formatMemoryForPrompt2 } = await import("./persistent-memory-VRBNWOWN.js");
|
|
2192
2192
|
const memories = listMemoryEntries2(configDir, { includeExpired: true, includeRejected: true });
|
|
2193
2193
|
const injected = formatMemoryForPrompt2(configDir, process.cwd(), ctx.config.get("memory")?.maxChars);
|
|
2194
2194
|
const view = buildMemoryStatusView({
|
|
@@ -2211,7 +2211,7 @@ async function handleMemory(args, ctx) {
|
|
|
2211
2211
|
return;
|
|
2212
2212
|
}
|
|
2213
2213
|
if (intent.kind === "recall") {
|
|
2214
|
-
const { searchPersistentMemories, touchMemoryReferences } = await import("./persistent-memory-
|
|
2214
|
+
const { searchPersistentMemories, touchMemoryReferences } = await import("./persistent-memory-VRBNWOWN.js");
|
|
2215
2215
|
const { searchChatMemory } = await import("./chat-index-7CLR4CBG.js");
|
|
2216
2216
|
const persistentHits = searchPersistentMemories(configDir, intent.query, process.cwd(), 3);
|
|
2217
2217
|
if (persistentHits.length > 0) {
|
|
@@ -2332,7 +2332,7 @@ async function handleMemory(args, ctx) {
|
|
|
2332
2332
|
ctx.handleMemoryManage(intent.action, args[1], intent.action === "expire" ? args[2] : void 0);
|
|
2333
2333
|
} else if (intent.kind === "export") {
|
|
2334
2334
|
if (args[1] === "md") {
|
|
2335
|
-
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-
|
|
2335
|
+
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-VRBNWOWN.js");
|
|
2336
2336
|
ctx.send({
|
|
2337
2337
|
type: "export_data",
|
|
2338
2338
|
format: "md",
|
|
@@ -3063,7 +3063,8 @@ var SessionHandler = class _SessionHandler {
|
|
|
3063
3063
|
return;
|
|
3064
3064
|
}
|
|
3065
3065
|
case "interjection":
|
|
3066
|
-
this.userInterjection =
|
|
3066
|
+
this.userInterjection = this.userInterjection ? `${this.userInterjection}
|
|
3067
|
+
${msg.content}` : msg.content;
|
|
3067
3068
|
return;
|
|
3068
3069
|
}
|
|
3069
3070
|
}
|
|
@@ -3531,7 +3532,6 @@ ${systemPromptVolatile}` : systemPrompt;
|
|
|
3531
3532
|
if (!this.userInterjection) return null;
|
|
3532
3533
|
const msg = this.userInterjection;
|
|
3533
3534
|
this.userInterjection = null;
|
|
3534
|
-
this.send({ type: "info", message: `\u26A1 Interjection: "${msg}"` });
|
|
3535
3535
|
return msg;
|
|
3536
3536
|
},
|
|
3537
3537
|
onRoundStart: (round, total) => {
|
|
@@ -4427,7 +4427,8 @@ async function startWebServer(options = {}) {
|
|
|
4427
4427
|
(id) => ({
|
|
4428
4428
|
baseUrl: config.get("customBaseUrls")[id],
|
|
4429
4429
|
timeout: config.get("timeouts")[id],
|
|
4430
|
-
proxy: config.get("proxy")
|
|
4430
|
+
proxy: config.get("proxy"),
|
|
4431
|
+
noProxy: config.get("noProxy")
|
|
4431
4432
|
}),
|
|
4432
4433
|
config.get("customProviders"),
|
|
4433
4434
|
config.getConfigDir()
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
googleSearchContext,
|
|
5
5
|
isToolCapableProvider,
|
|
6
6
|
truncateOutput
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PKYNCSQC.js";
|
|
8
8
|
import "./chunk-6JHACXB3.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-WQAUMAEV.js";
|
|
10
10
|
import "./chunk-RWRZVQCB.js";
|
|
11
11
|
import "./chunk-B3MPYI4E.js";
|
|
12
12
|
import "./chunk-M6HLYG33.js";
|
|
@@ -17,11 +17,11 @@ import "./chunk-JL44HGZC.js";
|
|
|
17
17
|
import "./chunk-3FEZSLGI.js";
|
|
18
18
|
import {
|
|
19
19
|
runTool
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NJREBH6A.js";
|
|
21
21
|
import "./chunk-RS7SKYTS.js";
|
|
22
22
|
import {
|
|
23
23
|
getDangerLevel
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-7BOHS5IX.js";
|
|
25
25
|
import {
|
|
26
26
|
runLeanAgentLoop
|
|
27
27
|
} from "./chunk-C6GA7H5D.js";
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
atomicWriteFileSync
|
|
32
32
|
} from "./chunk-BMLQPSHP.js";
|
|
33
33
|
import "./chunk-JJFJWD35.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-DOO4QAGJ.js";
|
|
35
35
|
import {
|
|
36
36
|
SUBAGENT_ALLOWED_TOOLS
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-NRFAGZVJ.js";
|
|
38
38
|
import "./chunk-SXIJLSVF.js";
|
|
39
39
|
|
|
40
40
|
// src/hub/task-orchestrator.ts
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
import "./chunk-RS7SKYTS.js";
|
|
10
10
|
import {
|
|
11
11
|
ConfigManager
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KGHVSYGI.js";
|
|
13
13
|
import "./chunk-TU3L3PW7.js";
|
|
14
14
|
import "./chunk-BMLQPSHP.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-NRFAGZVJ.js";
|
|
16
16
|
|
|
17
17
|
// src/cli/usage.ts
|
|
18
18
|
function classifyRowCost(row) {
|