jinzd-ai-cli 0.4.325 → 0.4.327
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 +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/{batch-BGKTM75D.js → batch-NBI46MI4.js} +6 -4
- package/dist/{chunk-PIX4ZPFB.js → chunk-AVVT7ZZT.js} +129 -72
- package/dist/{chunk-NFPJ6KUU.js → chunk-BRZZ3QAI.js} +23 -5
- package/dist/{chunk-TJFHBYQ3.js → chunk-C2625RDR.js} +1 -1
- package/dist/{chunk-N6QFHXSF.js → chunk-C3EFGIJY.js} +34 -2
- package/dist/{chunk-PXJ3XVR5.js → chunk-CLGEU35T.js} +1 -1
- package/dist/{chunk-NBNRQ44O.js → chunk-HN5A5ZXX.js} +1 -1
- package/dist/{chunk-GCYH5WOZ.js → chunk-I7J7E7OB.js} +1 -1
- package/dist/{chunk-3ALMUKHF.js → chunk-KIE2KL2R.js} +4 -4
- package/dist/{chunk-5BS2NVSB.js → chunk-L3KXGINR.js} +4 -4
- package/dist/{chunk-CVWR3VYH.js → chunk-NFA6OCYA.js} +1 -1
- package/dist/{chunk-KS6RNA4E.js → chunk-NW3X6KQR.js} +1 -1
- package/dist/{chunk-C52FQ3ZE.js → chunk-RE72FGOG.js} +14 -11
- package/dist/{chunk-NI7YIDLF.js → chunk-URTVV3CB.js} +1 -1
- package/dist/{chunk-GVVYQJYF.js → chunk-YHTEI5KL.js} +4 -4
- package/dist/{chunk-WDD76ALZ.js → chunk-ZAZUWQBG.js} +1 -1
- package/dist/{ci-OE7Q3UOI.js → ci-XDUIRFJL.js} +5 -5
- package/dist/{ci-format-OWSFR34D.js → ci-format-DRD4BRGP.js} +2 -2
- package/dist/{constants-74TAAY4L.js → constants-NZVTDFL4.js} +1 -1
- package/dist/{constants-W2CH36YR.js → constants-QFXJCLTM.js} +1 -1
- package/dist/{doctor-cli-6C3WJTL5.js → doctor-cli-Z2Y4MWLK.js} +5 -5
- package/dist/electron-server.js +200 -92
- package/dist/{hub-RHMDL74E.js → hub-OE7M7DRD.js} +1 -1
- package/dist/index.js +21 -20
- package/dist/{persistent-memory-S2QLVL43.js → persistent-memory-EWDVXYTZ.js} +2 -2
- package/dist/{persistent-memory-OAFPFGKB.js → persistent-memory-Q34UVU4P.js} +2 -2
- package/dist/{pr-5PMXXHH6.js → pr-XWYKWZ2C.js} +5 -5
- package/dist/{run-tests-7AOMBU2D.js → run-tests-6EB6ABYH.js} +2 -2
- package/dist/{run-tests-W773M3KK.js → run-tests-WUN5OEU5.js} +2 -2
- package/dist/{server-SK4JQWT5.js → server-KQBLT4EX.js} +17 -16
- package/dist/{server-O75UHHR7.js → server-N7GH5D3I.js} +5 -5
- package/dist/{task-orchestrator-7H7UYCU7.js → task-orchestrator-MWWHWMBT.js} +5 -5
- package/dist/{usage-F6BD7DHL.js → usage-VFQINJ7I.js} +3 -3
- package/dist/wasm/web-tree-sitter.wasm +0 -0
- package/package.json +15 -15
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computeCost,
|
|
4
4
|
formatCost
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BRZZ3QAI.js";
|
|
6
6
|
import {
|
|
7
7
|
clearRecentlyDeniedAutoActions,
|
|
8
8
|
estimateTokens,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
setPreferredAgentName,
|
|
17
17
|
truncateForPersist,
|
|
18
18
|
undoStack
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YHTEI5KL.js";
|
|
20
20
|
import {
|
|
21
21
|
buildReviewPrompt,
|
|
22
22
|
buildSecurityReviewPrompt
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
touchMemoryReferences,
|
|
52
52
|
updateMemoryApproval,
|
|
53
53
|
updateMemoryEntry
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-URTVV3CB.js";
|
|
55
55
|
import {
|
|
56
56
|
theme
|
|
57
57
|
} from "./chunk-5C76XDDF.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
import {
|
|
66
66
|
buildDoctorReport,
|
|
67
67
|
formatDoctorReport
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-L3KXGINR.js";
|
|
69
69
|
import {
|
|
70
70
|
describePlugin,
|
|
71
71
|
getActivePluginAssets,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
trustHook,
|
|
81
81
|
trustPlugin,
|
|
82
82
|
untrustHook
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-ZAZUWQBG.js";
|
|
84
84
|
import {
|
|
85
85
|
isCleanDocumentBody,
|
|
86
86
|
stripOuterCodeFence
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
MCP_TOOL_PREFIX,
|
|
110
110
|
REPO_URL,
|
|
111
111
|
VERSION
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-NFA6OCYA.js";
|
|
113
113
|
|
|
114
114
|
// src/skills/manager.ts
|
|
115
115
|
import { existsSync, readdirSync, mkdirSync, statSync } from "fs";
|
|
@@ -1348,6 +1348,7 @@ function applyThinkCommand(sub, state) {
|
|
|
1348
1348
|
details: effort && !state.supportsEffort ? [`Note: ${state.provider} has no reasoning-effort levels \u2014 the level is ignored.`] : [],
|
|
1349
1349
|
changed: true
|
|
1350
1350
|
});
|
|
1351
|
+
const alwaysThinksNote = state.alwaysThinks ? ["Note: this model always thinks and cannot turn it off \u2014 OFF only hides the thinking text; thinking tokens are still billed."] : [];
|
|
1351
1352
|
const disable = () => ({
|
|
1352
1353
|
runtimeThinking: false,
|
|
1353
1354
|
// 刻意保留档位:重新开启时不该丢掉用户选过的档
|
|
@@ -1355,11 +1356,12 @@ function applyThinkCommand(sub, state) {
|
|
|
1355
1356
|
effective: false,
|
|
1356
1357
|
origin: "runtime override",
|
|
1357
1358
|
summary: "Extended Thinking: OFF",
|
|
1358
|
-
details:
|
|
1359
|
+
details: alwaysThinksNote,
|
|
1359
1360
|
changed: true
|
|
1360
1361
|
});
|
|
1361
1362
|
if (key === "status") {
|
|
1362
1363
|
const details = current.effective ? [effortLine(state, null)] : [
|
|
1364
|
+
...alwaysThinksNote,
|
|
1363
1365
|
"Enable with /think on | low | high | max, or set",
|
|
1364
1366
|
"modelParams.<model>.thinking in ~/.aicli/config.json"
|
|
1365
1367
|
];
|
|
@@ -1506,7 +1508,7 @@ function parseRouteCommand(args) {
|
|
|
1506
1508
|
}
|
|
1507
1509
|
function routingEmptyRulesNote(routing) {
|
|
1508
1510
|
if (routing && routing.rules.length > 0) return null;
|
|
1509
|
-
return 'No rules configured yet. Add rules under `routing.rules` in ~/.aicli/config.json.\nExample: { match: { tag: "fast" }, model: "claude-haiku-
|
|
1511
|
+
return 'No rules configured yet. Add rules under `routing.rules` in ~/.aicli/config.json.\nExample: { match: { tag: "fast" }, model: "claude-haiku-5-5" }';
|
|
1510
1512
|
}
|
|
1511
1513
|
function describeRoutingRule(rule, index) {
|
|
1512
1514
|
const parts = [];
|
|
@@ -2168,7 +2170,8 @@ function createProviderCommands() {
|
|
|
2168
2170
|
configuredThinking: ctx.getConfiguredThinking(),
|
|
2169
2171
|
configuredEffort: ctx.getConfiguredThinkingEffort(),
|
|
2170
2172
|
supportsEffort: ctx.getProviderSupportsReasoningEffort(),
|
|
2171
|
-
provider: ctx.getCurrentProvider()
|
|
2173
|
+
provider: ctx.getCurrentProvider(),
|
|
2174
|
+
alwaysThinks: ctx.getModelCanDisableThinking ? !ctx.getModelCanDisableThinking() : false
|
|
2172
2175
|
});
|
|
2173
2176
|
if (outcome.changed) {
|
|
2174
2177
|
ctx.setThinkingMode(outcome.runtimeThinking);
|
|
@@ -2442,7 +2445,7 @@ No tools match "${filter}".
|
|
|
2442
2445
|
const { join: join6 } = await import("path");
|
|
2443
2446
|
const { existsSync: existsSync6 } = await import("fs");
|
|
2444
2447
|
const { getGitRoot } = await import("./git-context-EXOEHQSF.js");
|
|
2445
|
-
const { MCP_PROJECT_CONFIG_NAME } = await import("./constants-
|
|
2448
|
+
const { MCP_PROJECT_CONFIG_NAME } = await import("./constants-NZVTDFL4.js");
|
|
2446
2449
|
const { approveProject, hashMcpFile } = await import("./project-trust-KGG2BWKC.js");
|
|
2447
2450
|
const cwd = process.cwd();
|
|
2448
2451
|
const projectRoot = getGitRoot(cwd) ?? cwd;
|
|
@@ -3550,7 +3553,7 @@ function createReviewCommands() {
|
|
|
3550
3553
|
usage: "/test [command|filter]",
|
|
3551
3554
|
async execute(args, ctx) {
|
|
3552
3555
|
try {
|
|
3553
|
-
const { executeTests } = await import("./run-tests-
|
|
3556
|
+
const { executeTests } = await import("./run-tests-WUN5OEU5.js");
|
|
3554
3557
|
const argStr = args.join(" ").trim();
|
|
3555
3558
|
let testArgs = {};
|
|
3556
3559
|
if (argStr) {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
MEMORY_FILE_NAME,
|
|
14
14
|
MEMORY_MAX_CHARS,
|
|
15
15
|
MEMORY_STORE_FILE_NAME
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NFA6OCYA.js";
|
|
17
17
|
|
|
18
18
|
// src/memory/persistent-memory.ts
|
|
19
19
|
import { copyFileSync, existsSync, mkdirSync, readFileSync, statSync } from "fs";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
searchPersistentMemories,
|
|
12
12
|
touchMemoryReferences,
|
|
13
13
|
updateMemoryEntry
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-URTVV3CB.js";
|
|
15
15
|
import {
|
|
16
16
|
indexProject
|
|
17
17
|
} from "./chunk-RWRZVQCB.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
runHook,
|
|
31
31
|
runLifecycleHooks,
|
|
32
32
|
runTool
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZAZUWQBG.js";
|
|
34
34
|
import {
|
|
35
35
|
buildTruncatedArgumentsError,
|
|
36
36
|
getDangerLevel,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
recoverGbkMojibake,
|
|
65
65
|
runTestsTool,
|
|
66
66
|
shellInvocation
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-NW3X6KQR.js";
|
|
68
68
|
import {
|
|
69
69
|
CONFIG_DIR_NAME,
|
|
70
70
|
DEFAULT_MAX_TOOL_OUTPUT_CHARS_CAP,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
SUBAGENT_ALLOWED_TOOLS,
|
|
74
74
|
SUBAGENT_DEFAULT_MAX_ROUNDS,
|
|
75
75
|
SUBAGENT_MAX_ROUNDS_LIMIT
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-NFA6OCYA.js";
|
|
77
77
|
import {
|
|
78
78
|
getCurrentSessionKey,
|
|
79
79
|
getExecutionConfigDir,
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
CI_COMMENT_MARKER,
|
|
4
4
|
countSeverity,
|
|
5
5
|
runCi
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-KIE2KL2R.js";
|
|
7
|
+
import "./chunk-HN5A5ZXX.js";
|
|
8
8
|
import "./chunk-HLWUDRBO.js";
|
|
9
9
|
import "./chunk-6YZEZFX5.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-AVVT7ZZT.js";
|
|
11
|
+
import "./chunk-C3EFGIJY.js";
|
|
12
12
|
import "./chunk-E2W2MI6H.js";
|
|
13
13
|
import "./chunk-TU3L3PW7.js";
|
|
14
14
|
import "./chunk-BMLQPSHP.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-NFA6OCYA.js";
|
|
16
16
|
export {
|
|
17
17
|
CI_COMMENT_MARKER,
|
|
18
18
|
countSeverity,
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
formatDoctorReport,
|
|
4
4
|
runDoctorCli
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-L3KXGINR.js";
|
|
6
|
+
import "./chunk-ZAZUWQBG.js";
|
|
7
7
|
import "./chunk-RS7SKYTS.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-AVVT7ZZT.js";
|
|
9
|
+
import "./chunk-C3EFGIJY.js";
|
|
10
10
|
import "./chunk-E2W2MI6H.js";
|
|
11
11
|
import "./chunk-TU3L3PW7.js";
|
|
12
12
|
import "./chunk-HOSJZMQS.js";
|
|
13
13
|
import "./chunk-BMLQPSHP.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-NFA6OCYA.js";
|
|
15
15
|
export {
|
|
16
16
|
formatDoctorReport,
|
|
17
17
|
runDoctorCli
|