jinzd-ai-cli 0.4.251 → 0.4.253
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-S4ZNQSLB.js → batch-TPW2SM6G.js} +2 -2
- package/dist/{chunk-WAMQOWD7.js → chunk-2JHYZUQE.js} +1 -1
- package/dist/{chunk-TOLUJH7J.js → chunk-ABMMKA5S.js} +1 -1
- package/dist/{chunk-KKUQYOJ2.js → chunk-BZNTSGLQ.js} +74 -20
- package/dist/{chunk-BPIQVHMP.js → chunk-M2QHKPRA.js} +1 -1
- package/dist/{chunk-JNBI6LWS.js → chunk-OWCEONX7.js} +1 -1
- package/dist/{chunk-JIFN4ZTW.js → chunk-P5JUXUBS.js} +2 -2
- package/dist/{chunk-O3XSFPYH.js → chunk-PSXIVQ3N.js} +14 -6
- package/dist/{chunk-TL2OVINO.js → chunk-Q4KBR2SG.js} +1 -1
- package/dist/{chunk-7LCBW23G.js → chunk-RPYNPLIE.js} +1 -1
- package/dist/{chunk-AU25ALMG.js → chunk-SC6FMQLH.js} +4 -4
- package/dist/{chunk-SJTKGZTS.js → chunk-UMW33EEH.js} +1 -1
- package/dist/{chunk-PPLGNBAM.js → chunk-USG3ASQ2.js} +1 -1
- package/dist/{chunk-BWKVP5MG.js → chunk-YMHARKR6.js} +1 -1
- package/dist/{chunk-OOLE7AB4.js → chunk-YWG5KKSL.js} +4 -4
- package/dist/{chunk-2QZMITSL.js → chunk-ZRBGH245.js} +5 -4
- package/dist/{ci-CBYMGT6N.js → ci-DYTVVEBO.js} +6 -6
- package/dist/{ci-format-BL33TQJQ.js → ci-format-QTSA6FJJ.js} +2 -2
- package/dist/{constants-OBL6KZZH.js → constants-7KSDW6RF.js} +1 -1
- package/dist/{doctor-cli-EPQYJPFE.js → doctor-cli-ZOIMXV4C.js} +6 -6
- package/dist/electron-server.js +98 -28
- package/dist/{hub-XDXDCDAE.js → hub-6L2UCZAU.js} +1 -1
- package/dist/index.js +21 -21
- package/dist/{persistent-memory-INKFBSYN.js → persistent-memory-HQKE5X7Z.js} +2 -2
- package/dist/{persistent-memory-BYENYJ2N.js → persistent-memory-QOT2TQCT.js} +2 -2
- package/dist/{pr-TQSLLQOK.js → pr-HMOXDXWR.js} +6 -6
- package/dist/{run-tests-NXCN4BG3.js → run-tests-JVQU3RAN.js} +2 -2
- package/dist/{run-tests-GYAYL4QO.js → run-tests-RSYTYFZF.js} +2 -2
- package/dist/{server-YAUZBOBR.js → server-O2YQGG72.js} +6 -6
- package/dist/{server-GEESDASL.js → server-VOIG5VKM.js} +23 -13
- package/dist/{task-orchestrator-XYXSWZ2W.js → task-orchestrator-PLP3INNN.js} +6 -6
- package/dist/{usage-MTCEERXQ.js → usage-3EQUVK37.js} +2 -2
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
scanDirTree,
|
|
24
24
|
scanProject,
|
|
25
25
|
setupProxy
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-P5JUXUBS.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-BZNTSGLQ.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-USG3ASQ2.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-SC6FMQLH.js";
|
|
94
94
|
import {
|
|
95
95
|
ProviderRegistry
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-ZRBGH245.js";
|
|
97
97
|
import {
|
|
98
98
|
ConfigManager
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-OWCEONX7.js";
|
|
100
100
|
import {
|
|
101
101
|
describePlugin,
|
|
102
102
|
getActivePluginAssets,
|
|
@@ -111,13 +111,14 @@ import {
|
|
|
111
111
|
runTool,
|
|
112
112
|
setPluginEnabled,
|
|
113
113
|
trustPlugin
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-Q4KBR2SG.js";
|
|
115
115
|
import {
|
|
116
116
|
CONTENT_ONLY_STREAM_REMINDER,
|
|
117
117
|
TEE_FINAL_USER_NUDGE,
|
|
118
118
|
TOOL_CALL_REMINDER,
|
|
119
119
|
buildDeferredSaveInstruction,
|
|
120
120
|
buildRoundBudgetHint,
|
|
121
|
+
buildTruncatedArgumentsError,
|
|
121
122
|
consumeToolCallStream,
|
|
122
123
|
evaluateTeeContent,
|
|
123
124
|
freshPriorContent,
|
|
@@ -127,7 +128,7 @@ import {
|
|
|
127
128
|
stripOuterCodeFence,
|
|
128
129
|
stripToolCallReminder,
|
|
129
130
|
teeStreamErrorSummary
|
|
130
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-PSXIVQ3N.js";
|
|
131
132
|
import "./chunk-5ULLIOVC.js";
|
|
132
133
|
import {
|
|
133
134
|
formatGitContextForPrompt,
|
|
@@ -135,7 +136,7 @@ import {
|
|
|
135
136
|
getGitRoot
|
|
136
137
|
} from "./chunk-HOSJZMQS.js";
|
|
137
138
|
import "./chunk-4BKXL7SM.js";
|
|
138
|
-
import "./chunk-
|
|
139
|
+
import "./chunk-ABMMKA5S.js";
|
|
139
140
|
import {
|
|
140
141
|
AGENTIC_BEHAVIOR_GUIDELINE,
|
|
141
142
|
AUTHOR,
|
|
@@ -151,7 +152,7 @@ import {
|
|
|
151
152
|
SKILLS_DIR_NAME,
|
|
152
153
|
VERSION,
|
|
153
154
|
buildUserIdentityPrompt
|
|
154
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-M2QHKPRA.js";
|
|
155
156
|
import "./chunk-6RPGQ5CG.js";
|
|
156
157
|
import "./chunk-KHYD3WXE.js";
|
|
157
158
|
import "./chunk-NYNSYLFY.js";
|
|
@@ -387,6 +388,15 @@ var ToolExecutorWeb = class _ToolExecutorWeb {
|
|
|
387
388
|
if (!tool) {
|
|
388
389
|
return { callId: call.id, content: `Unknown tool: ${call.name}`, isError: true };
|
|
389
390
|
}
|
|
391
|
+
if (call.argumentsTruncated) {
|
|
392
|
+
const message = buildTruncatedArgumentsError(
|
|
393
|
+
call.name,
|
|
394
|
+
call.argumentsTruncated,
|
|
395
|
+
Object.keys(call.arguments)
|
|
396
|
+
);
|
|
397
|
+
this.send({ type: "info", message: `\u26A0 ${call.name}: arguments truncated by output limit \u2014 not executed` });
|
|
398
|
+
return { callId: call.id, content: message, isError: true };
|
|
399
|
+
}
|
|
390
400
|
const dangerLevel = getDangerLevel(call.name, call.arguments);
|
|
391
401
|
let toolCallStarted = false;
|
|
392
402
|
runHook(this.hookConfig?.preToolExecution, {
|
|
@@ -803,7 +813,7 @@ Cache: write=${cacheCreate} read=${cacheRead}` : "";
|
|
|
803
813
|
Cost: ${formatCost(cost)}` : "";
|
|
804
814
|
let memoryLine = "";
|
|
805
815
|
try {
|
|
806
|
-
const { countPendingMemories } = await import("./persistent-memory-
|
|
816
|
+
const { countPendingMemories } = await import("./persistent-memory-HQKE5X7Z.js");
|
|
807
817
|
const pending = countPendingMemories(ctx.config.getConfigDir());
|
|
808
818
|
if (pending > 0) memoryLine = `
|
|
809
819
|
Memory: \u26A0 ${pending} pending approval \u2014 see the Memory panel or /memory`;
|
|
@@ -1612,7 +1622,7 @@ async function handleSecurityReview(args, ctx) {
|
|
|
1612
1622
|
async function handleTest(args, ctx) {
|
|
1613
1623
|
ctx.send({ type: "info", message: "\u{1F9EA} Running tests..." });
|
|
1614
1624
|
try {
|
|
1615
|
-
const { executeTests } = await import("./run-tests-
|
|
1625
|
+
const { executeTests } = await import("./run-tests-RSYTYFZF.js");
|
|
1616
1626
|
const argStr = args.join(" ").trim();
|
|
1617
1627
|
let testArgs = {};
|
|
1618
1628
|
if (argStr) {
|
|
@@ -1876,7 +1886,7 @@ async function handleMemory(args, ctx) {
|
|
|
1876
1886
|
ctx.handleMemoryManage(sub, args[1], sub === "expire" ? args[2] : void 0);
|
|
1877
1887
|
} else if (sub === "export") {
|
|
1878
1888
|
if (args[1] === "md") {
|
|
1879
|
-
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-
|
|
1889
|
+
const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-HQKE5X7Z.js");
|
|
1880
1890
|
ctx.send({
|
|
1881
1891
|
type: "export_data",
|
|
1882
1892
|
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-BZNTSGLQ.js";
|
|
7
|
+
import "./chunk-USG3ASQ2.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-Q4KBR2SG.js";
|
|
15
15
|
import {
|
|
16
16
|
getDangerLevel,
|
|
17
17
|
runLeanAgentLoop
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PSXIVQ3N.js";
|
|
19
19
|
import "./chunk-5ULLIOVC.js";
|
|
20
20
|
import "./chunk-HOSJZMQS.js";
|
|
21
21
|
import "./chunk-4BKXL7SM.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-ABMMKA5S.js";
|
|
23
23
|
import {
|
|
24
24
|
SUBAGENT_ALLOWED_TOOLS
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-M2QHKPRA.js";
|
|
26
26
|
import "./chunk-6RPGQ5CG.js";
|
|
27
27
|
import "./chunk-KHYD3WXE.js";
|
|
28
28
|
import "./chunk-NYNSYLFY.js";
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
} from "./chunk-GUOLPI33.js";
|
|
9
9
|
import {
|
|
10
10
|
ConfigManager
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OWCEONX7.js";
|
|
12
12
|
import "./chunk-5ULLIOVC.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-M2QHKPRA.js";
|
|
14
14
|
import "./chunk-IW3Q7AE5.js";
|
|
15
15
|
|
|
16
16
|
// src/cli/usage.ts
|