jinzd-ai-cli 0.4.317 → 0.4.318

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.
Files changed (34) hide show
  1. package/dist/{batch-OWVPYMTH.js → batch-Y7IG5WTY.js} +2 -2
  2. package/dist/{chunk-LONB36SP.js → chunk-46OEMKQX.js} +0 -2
  3. package/dist/{chunk-6EM2TRG5.js → chunk-4MLOMT3W.js} +1 -1
  4. package/dist/{chunk-VUZCU6BH.js → chunk-7HX3FC67.js} +4 -4
  5. package/dist/{chunk-S73DO2G5.js → chunk-APGWL4CQ.js} +1 -1
  6. package/dist/{chunk-HD7KVZLR.js → chunk-BVEEA5BS.js} +1 -1
  7. package/dist/{chunk-VZBBSBSN.js → chunk-DAWPHJSS.js} +1 -1
  8. package/dist/{chunk-WJOINCVO.js → chunk-IODFI5GY.js} +1 -1
  9. package/dist/{chunk-X4GNEJNN.js → chunk-KPCXZJW2.js} +1 -1
  10. package/dist/{chunk-2Z7SOAPR.js → chunk-MBI4RPRN.js} +4 -4
  11. package/dist/{chunk-K2TKTYEH.js → chunk-RB6FKHNZ.js} +8 -8
  12. package/dist/{chunk-DPWHBIK2.js → chunk-SPSFCJLM.js} +4 -4
  13. package/dist/{chunk-27RIJK3U.js → chunk-TNEGZIP6.js} +1 -1
  14. package/dist/{chunk-LZJHXSR3.js → chunk-VXQSMWXN.js} +4 -4
  15. package/dist/{chunk-DOWBL4OI.js → chunk-ZGIMXWXZ.js} +1 -1
  16. package/dist/{chunk-HDHVWGDA.js → chunk-ZXNQ37FB.js} +1 -1
  17. package/dist/{ci-ED4EZGRM.js → ci-XE42OB7U.js} +5 -5
  18. package/dist/{ci-format-2ORFD7KF.js → ci-format-IHLVLQ6B.js} +2 -2
  19. package/dist/{constants-N3AHLPRZ.js → constants-HVWL645G.js} +1 -1
  20. package/dist/{constants-QX6K72OV.js → constants-XUNVLHWI.js} +1 -1
  21. package/dist/{doctor-cli-J6NQF6HS.js → doctor-cli-R3WQP5FD.js} +5 -5
  22. package/dist/electron-server.js +14 -16
  23. package/dist/{hub-B6SI42VX.js → hub-34YQNQF3.js} +1 -1
  24. package/dist/index.js +20 -20
  25. package/dist/{persistent-memory-5VRVOD76.js → persistent-memory-IUALAZ5K.js} +2 -2
  26. package/dist/{persistent-memory-6AEA7G2Q.js → persistent-memory-VBVGH3P5.js} +2 -2
  27. package/dist/{pr-D3A76PY6.js → pr-QEQH3TAH.js} +5 -5
  28. package/dist/{run-tests-J3N7IM4M.js → run-tests-L7FHOQAD.js} +2 -2
  29. package/dist/{run-tests-UFL7ZB4U.js → run-tests-OBX5CEPQ.js} +2 -2
  30. package/dist/{server-NOU4PXEC.js → server-ESLQPXVI.js} +15 -15
  31. package/dist/{server-FBIKTICF.js → server-NBAC226K.js} +5 -5
  32. package/dist/{task-orchestrator-KT6G2WSM.js → task-orchestrator-2IKNOOMG.js} +5 -5
  33. package/dist/{usage-QV3RTJ7B.js → usage-B7TQHRIN.js} +3 -3
  34. package/package.json +1 -1
@@ -4,12 +4,12 @@ import {
4
4
  } from "./chunk-RS7SKYTS.js";
5
5
  import {
6
6
  ConfigManager
7
- } from "./chunk-VZBBSBSN.js";
7
+ } from "./chunk-DAWPHJSS.js";
8
8
  import "./chunk-TU3L3PW7.js";
9
9
  import {
10
10
  atomicWriteFileSync
11
11
  } from "./chunk-BMLQPSHP.js";
12
- import "./chunk-X4GNEJNN.js";
12
+ import "./chunk-KPCXZJW2.js";
13
13
 
14
14
  // src/cli/batch.ts
15
15
  import Anthropic from "@anthropic-ai/sdk";
@@ -122,8 +122,6 @@ var PRICING_TABLE = {
122
122
  // GLM-5V-Turbo(2026-04 视觉编程旗舰)官方直连 API 定价 $1.20 / $4.00。
123
123
  "glm-5v-turbo": { input: 1.2, output: 4 },
124
124
  "glm-5.1": { input: 0.95, output: 3.15 },
125
- "glm-5.1-reasoning": { input: 1.4, output: 4.4 },
126
- "glm-5.1-air": { input: 0.4, output: 1.2 },
127
125
  "glm-z1": { input: 0.5, output: 1.5 },
128
126
  "glm-z1-air": { input: 0.2, output: 0.6 },
129
127
  "glm-z1-flash": { input: 0, output: 0 },
@@ -12,7 +12,7 @@ import {
12
12
  MEMORY_FILE_NAME,
13
13
  MEMORY_MAX_CHARS,
14
14
  MEMORY_STORE_FILE_NAME
15
- } from "./chunk-DOWBL4OI.js";
15
+ } from "./chunk-ZGIMXWXZ.js";
16
16
 
17
17
  // src/memory/persistent-memory.ts
18
18
  import { copyFileSync, existsSync, mkdirSync, readFileSync, statSync } from "fs";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  evaluateCiGate,
4
4
  normalizeCiThresholds
5
- } from "./chunk-HD7KVZLR.js";
5
+ } from "./chunk-BVEEA5BS.js";
6
6
  import {
7
7
  buildReviewPrompt,
8
8
  buildSecurityReviewPrompt,
@@ -13,13 +13,13 @@ import {
13
13
  } from "./chunk-6YZEZFX5.js";
14
14
  import {
15
15
  ProviderRegistry
16
- } from "./chunk-2Z7SOAPR.js";
16
+ } from "./chunk-MBI4RPRN.js";
17
17
  import {
18
18
  ConfigManager
19
- } from "./chunk-VZBBSBSN.js";
19
+ } from "./chunk-DAWPHJSS.js";
20
20
  import {
21
21
  VERSION
22
- } from "./chunk-X4GNEJNN.js";
22
+ } from "./chunk-KPCXZJW2.js";
23
23
 
24
24
  // src/cli/ci.ts
25
25
  import { execFileSync } from "child_process";
@@ -13,7 +13,7 @@ import {
13
13
  MEMORY_FILE_NAME,
14
14
  MEMORY_MAX_CHARS,
15
15
  MEMORY_STORE_FILE_NAME
16
- } from "./chunk-X4GNEJNN.js";
16
+ } from "./chunk-KPCXZJW2.js";
17
17
 
18
18
  // src/memory/persistent-memory.ts
19
19
  import { copyFileSync, existsSync, mkdirSync, readFileSync, statSync } from "fs";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  VERSION
4
- } from "./chunk-X4GNEJNN.js";
4
+ } from "./chunk-KPCXZJW2.js";
5
5
 
6
6
  // src/cli/ci-format.ts
7
7
  var DEFAULT_CI_THRESHOLDS = {
@@ -11,7 +11,7 @@ import {
11
11
  CONFIG_FILE_NAME,
12
12
  HISTORY_DIR_NAME,
13
13
  PLUGINS_DIR_NAME
14
- } from "./chunk-X4GNEJNN.js";
14
+ } from "./chunk-KPCXZJW2.js";
15
15
 
16
16
  // src/config/config-manager.ts
17
17
  import { readFileSync, existsSync, mkdirSync } from "fs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QMFMST2T.js";
5
5
  import {
6
6
  TEST_TIMEOUT
7
- } from "./chunk-DOWBL4OI.js";
7
+ } from "./chunk-ZGIMXWXZ.js";
8
8
 
9
9
  // src/tools/builtin/run-tests.ts
10
10
  import { spawn as spawn2 } from "child_process";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/core/constants.ts
4
- var VERSION = "0.4.317";
4
+ var VERSION = "0.4.318";
5
5
  var APP_NAME = "ai-cli";
6
6
  var CONFIG_DIR_NAME = ".aicli";
7
7
  var CONFIG_FILE_NAME = "config.json";
@@ -1756,10 +1756,10 @@ var ZHIPU_CONFIG = {
1756
1756
  { id: "glm-5.3-flash", displayName: "GLM-5.3 Flash (\u539F\u751F\u591A\u6A21\u6001, 1M, \u8F93\u5165\u7EA6\u4E3A 5.3 \u7684 1/10, \u59CB\u7EC8\u601D\u8003)", contextWindow: 1048576, supportsStreaming: true, supportsThinking: true },
1757
1757
  { id: "glm-5.2", displayName: "GLM-5.2 (2026-06 Flagship, 1M, Coding)", contextWindow: 1048576, supportsStreaming: true, supportsThinking: true },
1758
1758
  { id: "glm-5v-turbo", displayName: "GLM-5V-Turbo (Multimodal Vision + Coding)", contextWindow: 202752, supportsStreaming: true },
1759
- { id: "glm-5.1", displayName: "GLM-5.1 (2026 Flagship, 200K, Agent+Code)", contextWindow: 204800, supportsStreaming: true, supportsThinking: true },
1760
- { id: "glm-5.1-reasoning", displayName: "GLM-5.1 Reasoning (Deep Thinking)", contextWindow: 204800, supportsStreaming: true, supportsThinking: true },
1761
- { id: "glm-5.1-air", displayName: "GLM-5.1 Air (Lightweight 5.1)", contextWindow: 204800, supportsStreaming: true, supportsThinking: true },
1762
- { id: "glm-5", displayName: "GLM-5 (Flagship, Deep Thinking)", contextWindow: 131072, supportsStreaming: true, supportsThinking: true },
1759
+ // 2026-10-07 清理:移除 glm-5.1-reasoning / glm-5.1-air(官方模型总览与发布记录里**从未出现过**,
1760
+ // 当初取自第三方标注,同 v0.4.198 的 `glm-5.2[1m]`)与 glm-5 / glm-5.1(已被 glm-5.2 / 5.3 取代,
1761
+ // 要便宜有 glm-5.3-flash;glm-5 这里标的 128K 与官方 200K 也不符)。后两者端点仍可用,`/model` 照收,
1762
+ // pricing.ts 保留其费率供历史成本回算。
1763
1763
  { id: "glm-4.6", displayName: "GLM-4.6 (200K, \u4E2D\u6587\u5199\u4F5C\u63A8\u8350)", contextWindow: 204800, supportsStreaming: true }
1764
1764
  ]
1765
1765
  };
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  computeCost,
4
4
  formatCost
5
- } from "./chunk-LONB36SP.js";
5
+ } from "./chunk-46OEMKQX.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-LZJHXSR3.js";
19
+ } from "./chunk-VXQSMWXN.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-S73DO2G5.js";
54
+ } from "./chunk-APGWL4CQ.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-DPWHBIK2.js";
68
+ } from "./chunk-SPSFCJLM.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-HDHVWGDA.js";
83
+ } from "./chunk-ZXNQ37FB.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-X4GNEJNN.js";
112
+ } from "./chunk-KPCXZJW2.js";
113
113
 
114
114
  // src/skills/manager.ts
115
115
  import { existsSync, readdirSync, mkdirSync, statSync } from "fs";
@@ -2426,7 +2426,7 @@ No tools match "${filter}".
2426
2426
  const { join: join6 } = await import("path");
2427
2427
  const { existsSync: existsSync6 } = await import("fs");
2428
2428
  const { getGitRoot } = await import("./git-context-EXOEHQSF.js");
2429
- const { MCP_PROJECT_CONFIG_NAME } = await import("./constants-QX6K72OV.js");
2429
+ const { MCP_PROJECT_CONFIG_NAME } = await import("./constants-XUNVLHWI.js");
2430
2430
  const { approveProject, hashMcpFile } = await import("./project-trust-KGG2BWKC.js");
2431
2431
  const cwd = process.cwd();
2432
2432
  const projectRoot = getGitRoot(cwd) ?? cwd;
@@ -3534,7 +3534,7 @@ function createReviewCommands() {
3534
3534
  usage: "/test [command|filter]",
3535
3535
  async execute(args, ctx) {
3536
3536
  try {
3537
- const { executeTests } = await import("./run-tests-J3N7IM4M.js");
3537
+ const { executeTests } = await import("./run-tests-L7FHOQAD.js");
3538
3538
  const argStr = args.join(" ").trim();
3539
3539
  let testArgs = {};
3540
3540
  if (argStr) {
@@ -8,13 +8,13 @@ import {
8
8
  listHooks,
9
9
  listInstalledPlugins,
10
10
  resetStats
11
- } from "./chunk-HDHVWGDA.js";
11
+ } from "./chunk-ZXNQ37FB.js";
12
12
  import {
13
13
  ProviderRegistry
14
- } from "./chunk-2Z7SOAPR.js";
14
+ } from "./chunk-MBI4RPRN.js";
15
15
  import {
16
16
  ConfigManager
17
- } from "./chunk-VZBBSBSN.js";
17
+ } from "./chunk-DAWPHJSS.js";
18
18
  import {
19
19
  getGitRoot
20
20
  } from "./chunk-HOSJZMQS.js";
@@ -26,7 +26,7 @@ import {
26
26
  MCP_PROJECT_CONFIG_NAME,
27
27
  MEMORY_FILE_NAME,
28
28
  VERSION
29
- } from "./chunk-X4GNEJNN.js";
29
+ } from "./chunk-KPCXZJW2.js";
30
30
 
31
31
  // src/diagnostics/doctor-report.ts
32
32
  import { existsSync as existsSync3, statSync as statSync2 } from "fs";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  TEST_TIMEOUT
4
- } from "./chunk-X4GNEJNN.js";
4
+ } from "./chunk-KPCXZJW2.js";
5
5
  import {
6
6
  getExecutionConfigDir,
7
7
  getExecutionSignal
@@ -11,7 +11,7 @@ import {
11
11
  searchPersistentMemories,
12
12
  touchMemoryReferences,
13
13
  updateMemoryEntry
14
- } from "./chunk-S73DO2G5.js";
14
+ } from "./chunk-APGWL4CQ.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-HDHVWGDA.js";
33
+ } from "./chunk-ZXNQ37FB.js";
34
34
  import {
35
35
  buildTruncatedArgumentsError,
36
36
  getDangerLevel,
@@ -63,7 +63,7 @@ import {
63
63
  recoverGbkMojibake,
64
64
  runTestsTool,
65
65
  shellInvocation
66
- } from "./chunk-27RIJK3U.js";
66
+ } from "./chunk-TNEGZIP6.js";
67
67
  import {
68
68
  CONFIG_DIR_NAME,
69
69
  DEFAULT_MAX_TOOL_OUTPUT_CHARS_CAP,
@@ -72,7 +72,7 @@ import {
72
72
  SUBAGENT_ALLOWED_TOOLS,
73
73
  SUBAGENT_DEFAULT_MAX_ROUNDS,
74
74
  SUBAGENT_MAX_ROUNDS_LIMIT
75
- } from "./chunk-X4GNEJNN.js";
75
+ } from "./chunk-KPCXZJW2.js";
76
76
  import {
77
77
  getCurrentSessionKey,
78
78
  getExecutionConfigDir,
@@ -1,5 +1,5 @@
1
1
  // src/core/constants.ts
2
- var VERSION = "0.4.317";
2
+ var VERSION = "0.4.318";
3
3
  var APP_NAME = "ai-cli";
4
4
  var CONFIG_DIR_NAME = ".aicli";
5
5
  var CONFIG_FILE_NAME = "config.json";
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  CONFIG_DIR_NAME,
10
10
  PLUGINS_DIR_NAME
11
- } from "./chunk-X4GNEJNN.js";
11
+ } from "./chunk-KPCXZJW2.js";
12
12
 
13
13
  // src/diagnostics/tool-stats.ts
14
14
  import { mkdirSync } from "fs";
@@ -3,16 +3,16 @@ import {
3
3
  CI_COMMENT_MARKER,
4
4
  countSeverity,
5
5
  runCi
6
- } from "./chunk-VUZCU6BH.js";
7
- import "./chunk-HD7KVZLR.js";
6
+ } from "./chunk-7HX3FC67.js";
7
+ import "./chunk-BVEEA5BS.js";
8
8
  import "./chunk-HLWUDRBO.js";
9
9
  import "./chunk-6YZEZFX5.js";
10
- import "./chunk-2Z7SOAPR.js";
11
- import "./chunk-VZBBSBSN.js";
10
+ import "./chunk-MBI4RPRN.js";
11
+ import "./chunk-DAWPHJSS.js";
12
12
  import "./chunk-6VBW3L57.js";
13
13
  import "./chunk-TU3L3PW7.js";
14
14
  import "./chunk-BMLQPSHP.js";
15
- import "./chunk-X4GNEJNN.js";
15
+ import "./chunk-KPCXZJW2.js";
16
16
  export {
17
17
  CI_COMMENT_MARKER,
18
18
  countSeverity,
@@ -6,8 +6,8 @@ import {
6
6
  formatCiResult,
7
7
  formatCiSarif,
8
8
  normalizeCiThresholds
9
- } from "./chunk-HD7KVZLR.js";
10
- import "./chunk-X4GNEJNN.js";
9
+ } from "./chunk-BVEEA5BS.js";
10
+ import "./chunk-KPCXZJW2.js";
11
11
  export {
12
12
  DEFAULT_CI_THRESHOLDS,
13
13
  detectCiGateSignals,
@@ -38,7 +38,7 @@ import {
38
38
  TEST_TIMEOUT,
39
39
  VERSION,
40
40
  buildUserIdentityPrompt
41
- } from "./chunk-DOWBL4OI.js";
41
+ } from "./chunk-ZGIMXWXZ.js";
42
42
  export {
43
43
  AGENTIC_BEHAVIOR_GUIDELINE,
44
44
  APP_NAME,
@@ -39,7 +39,7 @@ import {
39
39
  TEST_TIMEOUT,
40
40
  VERSION,
41
41
  buildUserIdentityPrompt
42
- } from "./chunk-X4GNEJNN.js";
42
+ } from "./chunk-KPCXZJW2.js";
43
43
  export {
44
44
  AGENTIC_BEHAVIOR_GUIDELINE,
45
45
  APP_NAME,
@@ -2,16 +2,16 @@
2
2
  import {
3
3
  formatDoctorReport,
4
4
  runDoctorCli
5
- } from "./chunk-DPWHBIK2.js";
6
- import "./chunk-HDHVWGDA.js";
5
+ } from "./chunk-SPSFCJLM.js";
6
+ import "./chunk-ZXNQ37FB.js";
7
7
  import "./chunk-RS7SKYTS.js";
8
- import "./chunk-2Z7SOAPR.js";
9
- import "./chunk-VZBBSBSN.js";
8
+ import "./chunk-MBI4RPRN.js";
9
+ import "./chunk-DAWPHJSS.js";
10
10
  import "./chunk-6VBW3L57.js";
11
11
  import "./chunk-TU3L3PW7.js";
12
12
  import "./chunk-HOSJZMQS.js";
13
13
  import "./chunk-BMLQPSHP.js";
14
- import "./chunk-X4GNEJNN.js";
14
+ import "./chunk-KPCXZJW2.js";
15
15
  export {
16
16
  formatDoctorReport,
17
17
  runDoctorCli
@@ -55,7 +55,7 @@ import {
55
55
  touchMemoryReferences,
56
56
  updateMemoryApproval,
57
57
  updateMemoryEntry
58
- } from "./chunk-6EM2TRG5.js";
58
+ } from "./chunk-4MLOMT3W.js";
59
59
  import {
60
60
  DEFAULT_PATTERNS,
61
61
  redactJson,
@@ -80,7 +80,7 @@ import {
80
80
  recoverGbkMojibake,
81
81
  runTestsTool,
82
82
  shellInvocation
83
- } from "./chunk-WJOINCVO.js";
83
+ } from "./chunk-IODFI5GY.js";
84
84
  import {
85
85
  getCurrentSessionKey,
86
86
  getExecutionConfigDir,
@@ -122,7 +122,7 @@ import {
122
122
  SUBAGENT_MAX_ROUNDS_LIMIT,
123
123
  VERSION,
124
124
  buildUserIdentityPrompt
125
- } from "./chunk-DOWBL4OI.js";
125
+ } from "./chunk-ZGIMXWXZ.js";
126
126
 
127
127
  // src/web/access.ts
128
128
  import { randomBytes, timingSafeEqual } from "crypto";
@@ -994,8 +994,6 @@ var PRICING_TABLE = {
994
994
  // GLM-5V-Turbo(2026-04 视觉编程旗舰)官方直连 API 定价 $1.20 / $4.00。
995
995
  "glm-5v-turbo": { input: 1.2, output: 4 },
996
996
  "glm-5.1": { input: 0.95, output: 3.15 },
997
- "glm-5.1-reasoning": { input: 1.4, output: 4.4 },
998
- "glm-5.1-air": { input: 0.4, output: 1.2 },
999
997
  "glm-z1": { input: 0.5, output: 1.5 },
1000
998
  "glm-z1-air": { input: 0.2, output: 0.6 },
1001
999
  "glm-z1-flash": { input: 0, output: 0 },
@@ -4340,10 +4338,10 @@ var ZHIPU_CONFIG = {
4340
4338
  { id: "glm-5.3-flash", displayName: "GLM-5.3 Flash (\u539F\u751F\u591A\u6A21\u6001, 1M, \u8F93\u5165\u7EA6\u4E3A 5.3 \u7684 1/10, \u59CB\u7EC8\u601D\u8003)", contextWindow: 1048576, supportsStreaming: true, supportsThinking: true },
4341
4339
  { id: "glm-5.2", displayName: "GLM-5.2 (2026-06 Flagship, 1M, Coding)", contextWindow: 1048576, supportsStreaming: true, supportsThinking: true },
4342
4340
  { id: "glm-5v-turbo", displayName: "GLM-5V-Turbo (Multimodal Vision + Coding)", contextWindow: 202752, supportsStreaming: true },
4343
- { id: "glm-5.1", displayName: "GLM-5.1 (2026 Flagship, 200K, Agent+Code)", contextWindow: 204800, supportsStreaming: true, supportsThinking: true },
4344
- { id: "glm-5.1-reasoning", displayName: "GLM-5.1 Reasoning (Deep Thinking)", contextWindow: 204800, supportsStreaming: true, supportsThinking: true },
4345
- { id: "glm-5.1-air", displayName: "GLM-5.1 Air (Lightweight 5.1)", contextWindow: 204800, supportsStreaming: true, supportsThinking: true },
4346
- { id: "glm-5", displayName: "GLM-5 (Flagship, Deep Thinking)", contextWindow: 131072, supportsStreaming: true, supportsThinking: true },
4341
+ // 2026-10-07 清理:移除 glm-5.1-reasoning / glm-5.1-air(官方模型总览与发布记录里**从未出现过**,
4342
+ // 当初取自第三方标注,同 v0.4.198 的 `glm-5.2[1m]`)与 glm-5 / glm-5.1(已被 glm-5.2 / 5.3 取代,
4343
+ // 要便宜有 glm-5.3-flash;glm-5 这里标的 128K 与官方 200K 也不符)。后两者端点仍可用,`/model` 照收,
4344
+ // pricing.ts 保留其费率供历史成本回算。
4347
4345
  { id: "glm-4.6", displayName: "GLM-4.6 (200K, \u4E2D\u6587\u5199\u4F5C\u63A8\u8350)", contextWindow: 204800, supportsStreaming: true }
4348
4346
  ]
4349
4347
  };
@@ -17490,7 +17488,7 @@ Cache: write=${cacheCreate} read=${cacheRead}` : "";
17490
17488
  Cost: ${formatCost(cost)}` : "";
17491
17489
  let memoryLine = "";
17492
17490
  try {
17493
- const { countPendingMemories: countPendingMemories2 } = await import("./persistent-memory-6AEA7G2Q.js");
17491
+ const { countPendingMemories: countPendingMemories2 } = await import("./persistent-memory-VBVGH3P5.js");
17494
17492
  const pending = countPendingMemories2(ctx.config.getConfigDir());
17495
17493
  if (pending > 0) memoryLine = `
17496
17494
  Memory: \u26A0 ${pending} pending approval \u2014 see the Memory panel or /memory`;
@@ -18478,7 +18476,7 @@ async function handleTest(args, ctx) {
18478
18476
  const isCommand = argStr.includes(" ") || /^(mvn|gradle|npm|pytest|cargo|go)\b/.test(argStr);
18479
18477
  testArgs = isCommand ? { command: argStr } : { filter: argStr };
18480
18478
  }
18481
- const runTests = ctx.runTests ?? (await import("./run-tests-UFL7ZB4U.js")).executeTests;
18479
+ const runTests = ctx.runTests ?? (await import("./run-tests-OBX5CEPQ.js")).executeTests;
18482
18480
  const report = await runTests(testArgs);
18483
18481
  ctx.send({ type: "info", message: report });
18484
18482
  } catch (err) {
@@ -18869,7 +18867,7 @@ async function handleMemory(args, ctx) {
18869
18867
  }
18870
18868
  if (intent.kind === "status") {
18871
18869
  const { getChatIndexStatus: getChatIndexStatus2 } = await import("./chat-index-RLVLQRRC.js");
18872
- const { listMemoryEntries: listMemoryEntries2, isMemoryExpired: isMemoryExpired2, formatMemoryForPrompt: formatMemoryForPrompt2 } = await import("./persistent-memory-6AEA7G2Q.js");
18870
+ const { listMemoryEntries: listMemoryEntries2, isMemoryExpired: isMemoryExpired2, formatMemoryForPrompt: formatMemoryForPrompt2 } = await import("./persistent-memory-VBVGH3P5.js");
18873
18871
  const memories = listMemoryEntries2(configDir, { includeExpired: true, includeRejected: true });
18874
18872
  const injected = formatMemoryForPrompt2(configDir, process.cwd(), ctx.config.get("memory")?.maxChars);
18875
18873
  const view = buildMemoryStatusView({
@@ -18892,7 +18890,7 @@ async function handleMemory(args, ctx) {
18892
18890
  return;
18893
18891
  }
18894
18892
  if (intent.kind === "recall") {
18895
- const { searchPersistentMemories: searchPersistentMemories2, touchMemoryReferences: touchMemoryReferences2 } = await import("./persistent-memory-6AEA7G2Q.js");
18893
+ const { searchPersistentMemories: searchPersistentMemories2, touchMemoryReferences: touchMemoryReferences2 } = await import("./persistent-memory-VBVGH3P5.js");
18896
18894
  const { searchChatMemory: searchChatMemory2 } = await import("./chat-index-RLVLQRRC.js");
18897
18895
  const persistentHits = searchPersistentMemories2(configDir, intent.query, process.cwd(), 3);
18898
18896
  if (persistentHits.length > 0) {
@@ -19013,7 +19011,7 @@ async function handleMemory(args, ctx) {
19013
19011
  ctx.handleMemoryManage(intent.action, args[1], intent.action === "expire" ? args[2] : void 0);
19014
19012
  } else if (intent.kind === "export") {
19015
19013
  if (args[1] === "md") {
19016
- const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-6AEA7G2Q.js");
19014
+ const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-VBVGH3P5.js");
19017
19015
  ctx.send({
19018
19016
  type: "export_data",
19019
19017
  format: "md",
@@ -20018,7 +20016,7 @@ No tools match "${filter}".
20018
20016
  const { join: join26 } = await import("path");
20019
20017
  const { existsSync: existsSync32 } = await import("fs");
20020
20018
  const { getGitRoot: getGitRoot2 } = await import("./git-context-VNCA2GU7.js");
20021
- const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-N3AHLPRZ.js");
20019
+ const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-HVWL645G.js");
20022
20020
  const { approveProject, hashMcpFile } = await import("./project-trust-6CJB5ZMX.js");
20023
20021
  const cwd = process.cwd();
20024
20022
  const projectRoot = getGitRoot2(cwd) ?? cwd;
@@ -20937,7 +20935,7 @@ function createReviewCommands() {
20937
20935
  usage: "/test [command|filter]",
20938
20936
  async execute(args, ctx) {
20939
20937
  try {
20940
- const { executeTests } = await import("./run-tests-UFL7ZB4U.js");
20938
+ const { executeTests } = await import("./run-tests-OBX5CEPQ.js");
20941
20939
  const argStr = args.join(" ").trim();
20942
20940
  let testArgs = {};
20943
20941
  if (argStr) {
@@ -158,7 +158,7 @@ ${content}`);
158
158
  }
159
159
  }
160
160
  async function runTaskMode(config, providers, configManager, topic) {
161
- const { TaskOrchestrator } = await import("./task-orchestrator-KT6G2WSM.js");
161
+ const { TaskOrchestrator } = await import("./task-orchestrator-2IKNOOMG.js");
162
162
  const orchestrator = new TaskOrchestrator(config, providers, configManager);
163
163
  let interrupted = false;
164
164
  const onSigint = () => {
package/dist/index.js CHANGED
@@ -24,12 +24,12 @@ import {
24
24
  setupProxy,
25
25
  snapshotFile,
26
26
  stripRoutingTags
27
- } from "./chunk-K2TKTYEH.js";
27
+ } from "./chunk-RB6FKHNZ.js";
28
28
  import {
29
29
  CostTracker,
30
30
  getPricing,
31
31
  setCostCurrency
32
- } from "./chunk-LONB36SP.js";
32
+ } from "./chunk-46OEMKQX.js";
33
33
  import {
34
34
  ToolExecutor,
35
35
  ToolRegistry,
@@ -47,7 +47,7 @@ import {
47
47
  setMaxOutputCap,
48
48
  spawnAgentContext,
49
49
  undoStack
50
- } from "./chunk-LZJHXSR3.js";
50
+ } from "./chunk-VXQSMWXN.js";
51
51
  import "./chunk-HLWUDRBO.js";
52
52
  import {
53
53
  NO_THINKING,
@@ -60,7 +60,7 @@ import {
60
60
  countPendingMemories,
61
61
  detectStaleLegacyMarkdownEdit,
62
62
  formatMemoryForPrompt
63
- } from "./chunk-S73DO2G5.js";
63
+ } from "./chunk-APGWL4CQ.js";
64
64
  import "./chunk-RWRZVQCB.js";
65
65
  import "./chunk-B3MPYI4E.js";
66
66
  import "./chunk-M6HLYG33.js";
@@ -81,22 +81,22 @@ import {
81
81
  import {
82
82
  loadContextFiles,
83
83
  writeCrashLog
84
- } from "./chunk-DPWHBIK2.js";
84
+ } from "./chunk-SPSFCJLM.js";
85
85
  import {
86
86
  getActivePluginAssets,
87
87
  getPendingHookTrust,
88
88
  installFlushOnExit,
89
89
  mergePluginHooks,
90
90
  runLifecycleHooks
91
- } from "./chunk-HDHVWGDA.js";
91
+ } from "./chunk-ZXNQ37FB.js";
92
92
  import "./chunk-RS7SKYTS.js";
93
93
  import {
94
94
  ProviderRegistry,
95
95
  listBuiltInProviderMetadata
96
- } from "./chunk-2Z7SOAPR.js";
96
+ } from "./chunk-MBI4RPRN.js";
97
97
  import {
98
98
  ConfigManager
99
- } from "./chunk-VZBBSBSN.js";
99
+ } from "./chunk-DAWPHJSS.js";
100
100
  import {
101
101
  CONTENT_ONLY_STREAM_REMINDER,
102
102
  TEE_FINAL_USER_NUDGE,
@@ -134,7 +134,7 @@ import {
134
134
  isInterrupted,
135
135
  requestInterrupt,
136
136
  resetInterrupt
137
- } from "./chunk-27RIJK3U.js";
137
+ } from "./chunk-TNEGZIP6.js";
138
138
  import {
139
139
  AGENTIC_BEHAVIOR_GUIDELINE,
140
140
  AUTHOR,
@@ -152,7 +152,7 @@ import {
152
152
  SKILLS_DIR_NAME,
153
153
  VERSION,
154
154
  buildUserIdentityPrompt
155
- } from "./chunk-X4GNEJNN.js";
155
+ } from "./chunk-KPCXZJW2.js";
156
156
  import "./chunk-SXIJLSVF.js";
157
157
 
158
158
  // src/index.ts
@@ -2600,7 +2600,7 @@ Session '${this.resumeSessionId}' not found.
2600
2600
  /**
2601
2601
  * 从 config.modelParams 读取当前模型的推理参数(temperature / maxTokens / timeout / thinking)。
2602
2602
  * 用户可在 config.json 的 modelParams 字段按模型 ID 配置,例如:
2603
- * "modelParams": { "glm-5": { "temperature": 1.0, "maxTokens": 65536, "thinking": true } }
2603
+ * "modelParams": { "glm-5.3": { "temperature": 1.0, "maxTokens": 65536, "thinking": true } }
2604
2604
  */
2605
2605
  /** 运行时 thinking 模式覆盖:null=使用配置值,true/false=运行时覆盖 */
2606
2606
  runtimeThinking = null;
@@ -4107,7 +4107,7 @@ program.command("web").description("Start Web UI server with browser-based chat
4107
4107
  console.error("Error: Invalid port number. Must be between 1 and 65535.");
4108
4108
  process.exit(1);
4109
4109
  }
4110
- const { startWebServer } = await import("./server-NOU4PXEC.js");
4110
+ const { startWebServer } = await import("./server-ESLQPXVI.js");
4111
4111
  await startWebServer({ port, host: options.host, externalOrigin: options.externalOrigin });
4112
4112
  });
4113
4113
  program.command("user [action] [username]").description("Manage Web UI users (list | create <name> | delete <name> | reset-password <name> | logout-all <name> | migrate <name>)").action(async (action, username) => {
@@ -4274,11 +4274,11 @@ program.command("sessions").description("List recent conversation sessions").opt
4274
4274
  console.log(footer + "\n");
4275
4275
  });
4276
4276
  program.command("usage").description("Show token + cost usage grouped by provider/model (cross-session)").option("--days <n>", "Only the last N days (inclusive of today)").option("--month <ym>", "Only a specific month, format YYYY-MM (e.g. 2026-06)").option("--json", "Output as JSON (for scripting)").action(async (options) => {
4277
- const { runUsageCli } = await import("./usage-QV3RTJ7B.js");
4277
+ const { runUsageCli } = await import("./usage-B7TQHRIN.js");
4278
4278
  await runUsageCli(options);
4279
4279
  });
4280
4280
  program.command("doctor").description("Health check: API keys, config, MCP, recent crashes, tool usage, disk usage").option("--json", "Output as JSON (for scripting)").option("--reset-stats", "Reset accumulated tool usage statistics").action(async (options) => {
4281
- const { runDoctorCli } = await import("./doctor-cli-J6NQF6HS.js");
4281
+ const { runDoctorCli } = await import("./doctor-cli-R3WQP5FD.js");
4282
4282
  const argv = process.argv.slice(2);
4283
4283
  await runDoctorCli({
4284
4284
  json: !!options.json || argv.includes("--json"),
@@ -4287,7 +4287,7 @@ program.command("doctor").description("Health check: API keys, config, MCP, rece
4287
4287
  });
4288
4288
  program.command("batch <action> [arg] [arg2]").description("Anthropic Message Batches: submit | list | status <id> | results <id> [out] | cancel <id>").option("--dry-run", "Parse and validate input without submitting (submit only)").action(async (action, arg, arg2, options) => {
4289
4289
  try {
4290
- const batch = await import("./batch-OWVPYMTH.js");
4290
+ const batch = await import("./batch-Y7IG5WTY.js");
4291
4291
  switch (action) {
4292
4292
  case "submit":
4293
4293
  if (!arg) {
@@ -4330,7 +4330,7 @@ program.command("batch <action> [arg] [arg2]").description("Anthropic Message Ba
4330
4330
  }
4331
4331
  });
4332
4332
  program.command("mcp-serve").description("Start an MCP server over STDIO, exposing aicli's built-in tools to Claude Desktop / Cursor / other MCP clients").option("--allow-destructive", "Allow bash / run_interactive / task_create (always destructive in MCP mode)").option("--allow-outside-cwd", "Allow tool path arguments to escape the sandbox root \u2014 disabled by default").option("--tools <list>", "Comma-separated whitelist of tools to expose (default: all eligible tools)").option("--cwd <path>", "Working directory AND sandbox root (default: current directory)").action(async (options) => {
4333
- const { startMcpServer } = await import("./server-FBIKTICF.js");
4333
+ const { startMcpServer } = await import("./server-NBAC226K.js");
4334
4334
  await startMcpServer({
4335
4335
  allowDestructive: !!options.allowDestructive,
4336
4336
  allowOutsideCwd: !!options.allowOutsideCwd,
@@ -4343,7 +4343,7 @@ program.command("pr <action> [target]").description("PR review helpers: review |
4343
4343
  console.error(`Unknown pr action: ${action}. Use review | security-review | summarize.`);
4344
4344
  process.exit(1);
4345
4345
  }
4346
- const { runPrCli } = await import("./pr-D3A76PY6.js");
4346
+ const { runPrCli } = await import("./pr-QEQH3TAH.js");
4347
4347
  const result = await runPrCli({
4348
4348
  action,
4349
4349
  target,
@@ -4363,8 +4363,8 @@ program.command("pr <action> [target]").description("PR review helpers: review |
4363
4363
  process.exit(result.exitCode);
4364
4364
  });
4365
4365
  program.command("ci").description("Headless PR review (code + security) \u2014 reads git/gh diff, optionally posts to PR. Designed for GitHub Actions.").option("--pr <num>", "PR number or URL; diff fetched via gh pr diff <value>", (v) => /^#?\d+$/.test(v) ? parseInt(v.replace(/^#/, ""), 10) : v).option("--base <ref>", "Base ref for git diff <ref>...HEAD (ignored when --pr set)").option("--post", "Post review as a PR comment (requires gh CLI + GH_TOKEN, needs --pr)").option("--no-update", "Always create a new comment instead of updating the previous aicli review").option("--skip-code", "Skip the code review section").option("--skip-security", "Skip the security review section").option("--detailed", "Use the detailed code-review prompt").option("--max-diff <n>", "Max diff chars sent to the model (default 30000)", (v) => parseInt(v, 10)).option("--provider <id>", "Override provider (default: config.defaultProvider)").option("--model <id>", "Override model").option("--dry-run", "Print result to stdout instead of posting (overrides --post)").option("--json", "Output a structured JSON report").option("--markdown", "Output Markdown report (default)").option("--sarif", "Output SARIF 2.1.0 for code scanning artifacts").option("--fail-on-security-high", "Fail when the security review contains HIGH/CRITICAL findings (default)").option("--no-fail-on-security-high", "Do not fail on security HIGH/CRITICAL findings").option("--fail-on-test-failure", "Fail when the report mentions test failures (default)").option("--no-fail-on-test-failure", "Do not fail on test failure findings").option("--fail-on-lint-failure", "Fail when the report mentions lint/typecheck failures (default)").option("--no-fail-on-lint-failure", "Do not fail on lint/typecheck failure findings").action(async (options) => {
4366
- const { runCi } = await import("./ci-ED4EZGRM.js");
4367
- const { formatCiResult } = await import("./ci-format-2ORFD7KF.js");
4366
+ const { runCi } = await import("./ci-XE42OB7U.js");
4367
+ const { formatCiResult } = await import("./ci-format-IHLVLQ6B.js");
4368
4368
  const formats = [options.json, options.markdown, options.sarif].filter(Boolean).length;
4369
4369
  if (formats > 1) {
4370
4370
  console.error("Choose only one output format: --json, --markdown, or --sarif.");
@@ -4523,7 +4523,7 @@ program.command("hub [topic]").description("Start multi-agent hub (discuss / bra
4523
4523
  config.get("customProviders"),
4524
4524
  config.getConfigDir()
4525
4525
  );
4526
- const { startHub } = await import("./hub-B6SI42VX.js");
4526
+ const { startHub } = await import("./hub-34YQNQF3.js");
4527
4527
  await startHub(
4528
4528
  {
4529
4529
  topic: topic ?? "",
@@ -28,11 +28,11 @@ import {
28
28
  touchMemoryReferences,
29
29
  updateMemoryApproval,
30
30
  updateMemoryEntry
31
- } from "./chunk-S73DO2G5.js";
31
+ } from "./chunk-APGWL4CQ.js";
32
32
  import "./chunk-3FEZSLGI.js";
33
33
  import "./chunk-HOSJZMQS.js";
34
34
  import "./chunk-BMLQPSHP.js";
35
- import "./chunk-X4GNEJNN.js";
35
+ import "./chunk-KPCXZJW2.js";
36
36
  export {
37
37
  addMemoryEntry,
38
38
  backupMemoryStore,
@@ -27,11 +27,11 @@ import {
27
27
  touchMemoryReferences,
28
28
  updateMemoryApproval,
29
29
  updateMemoryEntry
30
- } from "./chunk-6EM2TRG5.js";
30
+ } from "./chunk-4MLOMT3W.js";
31
31
  import "./chunk-FSC6KEWU.js";
32
32
  import "./chunk-2XMUCC42.js";
33
33
  import "./chunk-CGLYJRFA.js";
34
- import "./chunk-DOWBL4OI.js";
34
+ import "./chunk-ZGIMXWXZ.js";
35
35
  export {
36
36
  addMemoryEntry,
37
37
  backupMemoryStore,
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  countSeverity,
4
4
  runCi
5
- } from "./chunk-VUZCU6BH.js";
6
- import "./chunk-HD7KVZLR.js";
5
+ } from "./chunk-7HX3FC67.js";
6
+ import "./chunk-BVEEA5BS.js";
7
7
  import {
8
8
  buildReviewPrompt,
9
9
  buildSecurityReviewPrompt,
@@ -14,16 +14,16 @@ import {
14
14
  } from "./chunk-6YZEZFX5.js";
15
15
  import {
16
16
  ProviderRegistry
17
- } from "./chunk-2Z7SOAPR.js";
17
+ } from "./chunk-MBI4RPRN.js";
18
18
  import {
19
19
  ConfigManager
20
- } from "./chunk-VZBBSBSN.js";
20
+ } from "./chunk-DAWPHJSS.js";
21
21
  import "./chunk-6VBW3L57.js";
22
22
  import "./chunk-TU3L3PW7.js";
23
23
  import "./chunk-BMLQPSHP.js";
24
24
  import {
25
25
  VERSION
26
- } from "./chunk-X4GNEJNN.js";
26
+ } from "./chunk-KPCXZJW2.js";
27
27
 
28
28
  // src/cli/pr.ts
29
29
  import { execFileSync } from "child_process";
@@ -3,8 +3,8 @@ import {
3
3
  executeTests,
4
4
  runTestProcess,
5
5
  runTestsTool
6
- } from "./chunk-27RIJK3U.js";
7
- import "./chunk-X4GNEJNN.js";
6
+ } from "./chunk-TNEGZIP6.js";
7
+ import "./chunk-KPCXZJW2.js";
8
8
  import "./chunk-SXIJLSVF.js";
9
9
  export {
10
10
  executeTests,
@@ -2,9 +2,9 @@ import {
2
2
  executeTests,
3
3
  runTestProcess,
4
4
  runTestsTool
5
- } from "./chunk-WJOINCVO.js";
5
+ } from "./chunk-IODFI5GY.js";
6
6
  import "./chunk-QMFMST2T.js";
7
- import "./chunk-DOWBL4OI.js";
7
+ import "./chunk-ZGIMXWXZ.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-K2TKTYEH.js";
89
+ } from "./chunk-RB6FKHNZ.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-LONB36SP.js";
98
+ } from "./chunk-46OEMKQX.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-LZJHXSR3.js";
133
+ } from "./chunk-VXQSMWXN.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-S73DO2G5.js";
160
+ } from "./chunk-APGWL4CQ.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-DPWHBIK2.js";
179
+ } from "./chunk-SPSFCJLM.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-HDHVWGDA.js";
194
+ } from "./chunk-ZXNQ37FB.js";
195
195
  import "./chunk-RS7SKYTS.js";
196
196
  import {
197
197
  ProviderRegistry
198
- } from "./chunk-2Z7SOAPR.js";
198
+ } from "./chunk-MBI4RPRN.js";
199
199
  import {
200
200
  ConfigManager
201
- } from "./chunk-VZBBSBSN.js";
201
+ } from "./chunk-DAWPHJSS.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-27RIJK3U.js";
234
+ import "./chunk-TNEGZIP6.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-X4GNEJNN.js";
250
+ } from "./chunk-KPCXZJW2.js";
251
251
  import {
252
252
  runWithExecutionContext,
253
253
  runWithSessionKey
@@ -978,7 +978,7 @@ Cache: write=${cacheCreate} read=${cacheRead}` : "";
978
978
  Cost: ${formatCost(cost)}` : "";
979
979
  let memoryLine = "";
980
980
  try {
981
- const { countPendingMemories: countPendingMemories2 } = await import("./persistent-memory-5VRVOD76.js");
981
+ const { countPendingMemories: countPendingMemories2 } = await import("./persistent-memory-IUALAZ5K.js");
982
982
  const pending = countPendingMemories2(ctx.config.getConfigDir());
983
983
  if (pending > 0) memoryLine = `
984
984
  Memory: \u26A0 ${pending} pending approval \u2014 see the Memory panel or /memory`;
@@ -1907,7 +1907,7 @@ async function handleTest(args, ctx) {
1907
1907
  const isCommand = argStr.includes(" ") || /^(mvn|gradle|npm|pytest|cargo|go)\b/.test(argStr);
1908
1908
  testArgs = isCommand ? { command: argStr } : { filter: argStr };
1909
1909
  }
1910
- const runTests = ctx.runTests ?? (await import("./run-tests-J3N7IM4M.js")).executeTests;
1910
+ const runTests = ctx.runTests ?? (await import("./run-tests-L7FHOQAD.js")).executeTests;
1911
1911
  const report = await runTests(testArgs);
1912
1912
  ctx.send({ type: "info", message: report });
1913
1913
  } catch (err) {
@@ -2183,7 +2183,7 @@ async function handleMemory(args, ctx) {
2183
2183
  }
2184
2184
  if (intent.kind === "status") {
2185
2185
  const { getChatIndexStatus } = await import("./chat-index-7CLR4CBG.js");
2186
- const { listMemoryEntries: listMemoryEntries2, isMemoryExpired: isMemoryExpired2, formatMemoryForPrompt: formatMemoryForPrompt2 } = await import("./persistent-memory-5VRVOD76.js");
2186
+ const { listMemoryEntries: listMemoryEntries2, isMemoryExpired: isMemoryExpired2, formatMemoryForPrompt: formatMemoryForPrompt2 } = await import("./persistent-memory-IUALAZ5K.js");
2187
2187
  const memories = listMemoryEntries2(configDir, { includeExpired: true, includeRejected: true });
2188
2188
  const injected = formatMemoryForPrompt2(configDir, process.cwd(), ctx.config.get("memory")?.maxChars);
2189
2189
  const view = buildMemoryStatusView({
@@ -2206,7 +2206,7 @@ async function handleMemory(args, ctx) {
2206
2206
  return;
2207
2207
  }
2208
2208
  if (intent.kind === "recall") {
2209
- const { searchPersistentMemories, touchMemoryReferences } = await import("./persistent-memory-5VRVOD76.js");
2209
+ const { searchPersistentMemories, touchMemoryReferences } = await import("./persistent-memory-IUALAZ5K.js");
2210
2210
  const { searchChatMemory } = await import("./chat-index-7CLR4CBG.js");
2211
2211
  const persistentHits = searchPersistentMemories(configDir, intent.query, process.cwd(), 3);
2212
2212
  if (persistentHits.length > 0) {
@@ -2327,7 +2327,7 @@ async function handleMemory(args, ctx) {
2327
2327
  ctx.handleMemoryManage(intent.action, args[1], intent.action === "expire" ? args[2] : void 0);
2328
2328
  } else if (intent.kind === "export") {
2329
2329
  if (args[1] === "md") {
2330
- const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-5VRVOD76.js");
2330
+ const { exportMemoryEntries: exportMemoryEntries2 } = await import("./persistent-memory-IUALAZ5K.js");
2331
2331
  ctx.send({
2332
2332
  type: "export_data",
2333
2333
  format: "md",
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  ToolRegistry
4
- } from "./chunk-LZJHXSR3.js";
4
+ } from "./chunk-VXQSMWXN.js";
5
5
  import "./chunk-6JHACXB3.js";
6
- import "./chunk-S73DO2G5.js";
6
+ import "./chunk-APGWL4CQ.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-HDHVWGDA.js";
17
+ } from "./chunk-ZXNQ37FB.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-27RIJK3U.js";
27
+ import "./chunk-TNEGZIP6.js";
28
28
  import {
29
29
  VERSION
30
- } from "./chunk-X4GNEJNN.js";
30
+ } from "./chunk-KPCXZJW2.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-LZJHXSR3.js";
7
+ } from "./chunk-VXQSMWXN.js";
8
8
  import "./chunk-6JHACXB3.js";
9
- import "./chunk-S73DO2G5.js";
9
+ import "./chunk-APGWL4CQ.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-HDHVWGDA.js";
20
+ } from "./chunk-ZXNQ37FB.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-27RIJK3U.js";
32
+ import "./chunk-TNEGZIP6.js";
33
33
  import {
34
34
  SUBAGENT_ALLOWED_TOOLS
35
- } from "./chunk-X4GNEJNN.js";
35
+ } from "./chunk-KPCXZJW2.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-LONB36SP.js";
8
+ } from "./chunk-46OEMKQX.js";
9
9
  import "./chunk-RS7SKYTS.js";
10
10
  import {
11
11
  ConfigManager
12
- } from "./chunk-VZBBSBSN.js";
12
+ } from "./chunk-DAWPHJSS.js";
13
13
  import "./chunk-TU3L3PW7.js";
14
14
  import "./chunk-BMLQPSHP.js";
15
- import "./chunk-X4GNEJNN.js";
15
+ import "./chunk-KPCXZJW2.js";
16
16
 
17
17
  // src/cli/usage.ts
18
18
  function classifyRowCost(row) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jinzd-ai-cli",
3
- "version": "0.4.317",
3
+ "version": "0.4.318",
4
4
  "description": "Cross-platform REPL-style AI CLI with multi-provider support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",