jinzd-ai-cli 0.4.196 → 0.4.197

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 (25) hide show
  1. package/dist/{batch-GRWWEG6A.js → batch-J7VUH3KF.js} +2 -2
  2. package/dist/{chunk-DXUS6OZH.js → chunk-3RZPN7JQ.js} +1 -1
  3. package/dist/{chunk-MJAQ7GYG.js → chunk-6CKRV2FS.js} +1 -1
  4. package/dist/{chunk-WM2WVHKT.js → chunk-7DHEXP75.js} +1 -1
  5. package/dist/{chunk-DXWNQA7R.js → chunk-7HOD25LM.js} +1 -1
  6. package/dist/{chunk-YUBD7T2R.js → chunk-HJIO4757.js} +1 -1
  7. package/dist/{chunk-PK7MMIKC.js → chunk-LDAYU4HS.js} +1 -1
  8. package/dist/{chunk-PREP4QF5.js → chunk-LG24ALXZ.js} +3 -3
  9. package/dist/{chunk-UA43JQPP.js → chunk-UE7OWTR4.js} +17 -0
  10. package/dist/{chunk-V37XOYOE.js → chunk-USZ74WGI.js} +3 -0
  11. package/dist/{chunk-I5GST3DL.js → chunk-VO2KLECL.js} +1 -1
  12. package/dist/{chunk-GCQCR6GS.js → chunk-ZVBVRELH.js} +2 -2
  13. package/dist/{ci-PATHTNOQ.js → ci-WFZCKBQJ.js} +3 -3
  14. package/dist/{constants-K6Z3CTGO.js → constants-WKQJDLWM.js} +1 -1
  15. package/dist/{doctor-cli-OPFDP5XS.js → doctor-cli-M5SBETFW.js} +5 -5
  16. package/dist/electron-server.js +22 -2
  17. package/dist/{hub-4GYSHUUZ.js → hub-P5I2UR5Q.js} +1 -1
  18. package/dist/index.js +19 -19
  19. package/dist/{run-tests-JI4KLFJ5.js → run-tests-5KH5JTSN.js} +2 -2
  20. package/dist/{run-tests-SRAVIQHP.js → run-tests-FB3FMYYM.js} +1 -1
  21. package/dist/{server-ZBM2UVWA.js → server-6K737MMC.js} +4 -4
  22. package/dist/{server-JNHAYMDO.js → server-XVVP6ALG.js} +9 -9
  23. package/dist/{task-orchestrator-4IPPR3RK.js → task-orchestrator-CFXNT77I.js} +4 -4
  24. package/dist/{usage-EEQI544N.js → usage-ZOVDK7UC.js} +4 -4
  25. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  ConfigManager
4
- } from "./chunk-WM2WVHKT.js";
4
+ } from "./chunk-7DHEXP75.js";
5
5
  import "./chunk-TZQHYZKT.js";
6
- import "./chunk-PK7MMIKC.js";
6
+ import "./chunk-LDAYU4HS.js";
7
7
  import {
8
8
  atomicWriteFileSync
9
9
  } from "./chunk-IW3Q7AE5.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  CONFIG_DIR_NAME,
4
4
  VERSION
5
- } from "./chunk-PK7MMIKC.js";
5
+ } from "./chunk-LDAYU4HS.js";
6
6
 
7
7
  // src/diagnostics/crash-log.ts
8
8
  import {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CONFIG_DIR_NAME
4
- } from "./chunk-PK7MMIKC.js";
4
+ } from "./chunk-LDAYU4HS.js";
5
5
  import {
6
6
  atomicWriteFileSync
7
7
  } from "./chunk-IW3Q7AE5.js";
@@ -8,7 +8,7 @@ import {
8
8
  CONFIG_FILE_NAME,
9
9
  HISTORY_DIR_NAME,
10
10
  PLUGINS_DIR_NAME
11
- } from "./chunk-PK7MMIKC.js";
11
+ } from "./chunk-LDAYU4HS.js";
12
12
 
13
13
  // src/config/config-manager.ts
14
14
  import { readFileSync, writeFileSync, existsSync, mkdirSync } from "fs";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  TEST_TIMEOUT
4
- } from "./chunk-PK7MMIKC.js";
4
+ } from "./chunk-LDAYU4HS.js";
5
5
 
6
6
  // src/tools/builtin/run-tests.ts
7
7
  import { execSync, spawnSync } from "child_process";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  computeCost,
4
4
  formatCost
5
- } from "./chunk-V37XOYOE.js";
5
+ } from "./chunk-USZ74WGI.js";
6
6
  import {
7
7
  atomicWriteFileSync
8
8
  } from "./chunk-IW3Q7AE5.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/core/constants.ts
4
- var VERSION = "0.4.196";
4
+ var VERSION = "0.4.197";
5
5
  var APP_NAME = "ai-cli";
6
6
  var CONFIG_DIR_NAME = ".aicli";
7
7
  var CONFIG_FILE_NAME = "config.json";
@@ -5,10 +5,10 @@ import {
5
5
  } from "./chunk-T2NL5ZIA.js";
6
6
  import {
7
7
  runTestsTool
8
- } from "./chunk-DXWNQA7R.js";
8
+ } from "./chunk-7HOD25LM.js";
9
9
  import {
10
10
  runTool
11
- } from "./chunk-MJAQ7GYG.js";
11
+ } from "./chunk-6CKRV2FS.js";
12
12
  import {
13
13
  getDangerLevel,
14
14
  isFileWriteTool,
@@ -26,7 +26,7 @@ import {
26
26
  SUBAGENT_ALLOWED_TOOLS,
27
27
  SUBAGENT_DEFAULT_MAX_ROUNDS,
28
28
  SUBAGENT_MAX_ROUNDS_LIMIT
29
- } from "./chunk-PK7MMIKC.js";
29
+ } from "./chunk-LDAYU4HS.js";
30
30
  import {
31
31
  fileCheckpoints
32
32
  } from "./chunk-4BKXL7SM.js";
@@ -1489,6 +1489,23 @@ var ZhipuProvider = class extends OpenAICompatibleProvider {
1489
1489
  requiresApiKey: true,
1490
1490
  baseUrl: this.defaultBaseUrl,
1491
1491
  models: [
1492
+ // ── GLM-5.2 系列(2026-06 最新旗舰,主打代码工程 + 百万上下文) ──
1493
+ // 744B MoE / 40B active,与 5.1 同底座,后训练强化超长上下文代码任务。
1494
+ // 思考模式 High/Max 由请求参数控制,不另列 model id。
1495
+ {
1496
+ id: "glm-5.2",
1497
+ displayName: "GLM-5.2 (2026-06 Flagship, 200K, Coding)",
1498
+ contextWindow: 204800,
1499
+ supportsStreaming: true,
1500
+ supportsThinking: true
1501
+ },
1502
+ {
1503
+ id: "glm-5.2[1m]",
1504
+ displayName: "GLM-5.2 [1M] (\u767E\u4E07\u4E0A\u4E0B\u6587\uFF0C\u6574\u5E93\u5206\u6790/\u5168\u5C40\u91CD\u6784)",
1505
+ contextWindow: 1e6,
1506
+ supportsStreaming: true,
1507
+ supportsThinking: true
1508
+ },
1492
1509
  // ── GLM-5.1 系列(2026-04 旗舰,主打长程 Agent + 代码工程) ──
1493
1510
  {
1494
1511
  id: "glm-5.1",
@@ -59,6 +59,9 @@ var PRICING_TABLE = {
59
59
  "glm-4.6": { input: 0.6, output: 2.2 },
60
60
  "glm-4.6v": { input: 0.6, output: 2.2 },
61
61
  "glm-5": { input: 0.85, output: 2.85 },
62
+ // GLM-5.2(2026-06)官方直连 API 定价 $1.40 / $4.40。
63
+ // 'glm-5.2[1m]' 走最长前缀匹配命中 'glm-5.2'(暂按同价,1M 变体若另计费再拆)。
64
+ "glm-5.2": { input: 1.4, output: 4.4 },
62
65
  "glm-5.1": { input: 0.95, output: 3.15 },
63
66
  "glm-5.1-reasoning": { input: 1.4, output: 4.4 },
64
67
  "glm-5.1-air": { input: 0.4, output: 1.2 },
@@ -6,7 +6,7 @@ import { platform } from "os";
6
6
  import chalk from "chalk";
7
7
 
8
8
  // src/core/constants.ts
9
- var VERSION = "0.4.196";
9
+ var VERSION = "0.4.197";
10
10
  var APP_NAME = "ai-cli";
11
11
  var CONFIG_DIR_NAME = ".aicli";
12
12
  var CONFIG_FILE_NAME = "config.json";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  truncateForPersist
4
- } from "./chunk-PREP4QF5.js";
4
+ } from "./chunk-LG24ALXZ.js";
5
5
  import {
6
6
  APP_NAME,
7
7
  CONFIG_DIR_NAME,
@@ -11,7 +11,7 @@ import {
11
11
  MCP_PROTOCOL_VERSION,
12
12
  MCP_TOOL_PREFIX,
13
13
  VERSION
14
- } from "./chunk-PK7MMIKC.js";
14
+ } from "./chunk-LDAYU4HS.js";
15
15
 
16
16
  // src/mcp/client.ts
17
17
  import { spawn } from "child_process";
@@ -6,15 +6,15 @@ import {
6
6
  } from "./chunk-HLWUDRBO.js";
7
7
  import {
8
8
  ProviderRegistry
9
- } from "./chunk-UA43JQPP.js";
9
+ } from "./chunk-UE7OWTR4.js";
10
10
  import "./chunk-YZH2QQXJ.js";
11
11
  import {
12
12
  ConfigManager
13
- } from "./chunk-WM2WVHKT.js";
13
+ } from "./chunk-7DHEXP75.js";
14
14
  import "./chunk-TZQHYZKT.js";
15
15
  import {
16
16
  VERSION
17
- } from "./chunk-PK7MMIKC.js";
17
+ } from "./chunk-LDAYU4HS.js";
18
18
 
19
19
  // src/cli/ci.ts
20
20
  import { execFileSync, execSync } from "child_process";
@@ -36,7 +36,7 @@ import {
36
36
  TEST_TIMEOUT,
37
37
  VERSION,
38
38
  buildUserIdentityPrompt
39
- } from "./chunk-PK7MMIKC.js";
39
+ } from "./chunk-LDAYU4HS.js";
40
40
  export {
41
41
  AGENTIC_BEHAVIOR_GUIDELINE,
42
42
  APP_NAME,
@@ -2,26 +2,26 @@
2
2
  import {
3
3
  getConfigDirUsage,
4
4
  listRecentCrashes
5
- } from "./chunk-DXUS6OZH.js";
5
+ } from "./chunk-3RZPN7JQ.js";
6
6
  import {
7
7
  ProviderRegistry
8
- } from "./chunk-UA43JQPP.js";
8
+ } from "./chunk-UE7OWTR4.js";
9
9
  import {
10
10
  getStatsSnapshot,
11
11
  getTopFailingTools,
12
12
  getTopUsedTools,
13
13
  resetStats
14
- } from "./chunk-MJAQ7GYG.js";
14
+ } from "./chunk-6CKRV2FS.js";
15
15
  import "./chunk-YZH2QQXJ.js";
16
16
  import {
17
17
  ConfigManager
18
- } from "./chunk-WM2WVHKT.js";
18
+ } from "./chunk-7DHEXP75.js";
19
19
  import "./chunk-TZQHYZKT.js";
20
20
  import {
21
21
  DEV_STATE_FILE_NAME,
22
22
  MEMORY_FILE_NAME,
23
23
  VERSION
24
- } from "./chunk-PK7MMIKC.js";
24
+ } from "./chunk-LDAYU4HS.js";
25
25
  import "./chunk-IW3Q7AE5.js";
26
26
 
27
27
  // src/diagnostics/doctor-cli.ts
@@ -36,7 +36,7 @@ import {
36
36
  VERSION,
37
37
  buildUserIdentityPrompt,
38
38
  runTestsTool
39
- } from "./chunk-I5GST3DL.js";
39
+ } from "./chunk-VO2KLECL.js";
40
40
  import {
41
41
  hasSemanticIndex,
42
42
  semanticSearch
@@ -3123,6 +3123,23 @@ var ZhipuProvider = class extends OpenAICompatibleProvider {
3123
3123
  requiresApiKey: true,
3124
3124
  baseUrl: this.defaultBaseUrl,
3125
3125
  models: [
3126
+ // ── GLM-5.2 系列(2026-06 最新旗舰,主打代码工程 + 百万上下文) ──
3127
+ // 744B MoE / 40B active,与 5.1 同底座,后训练强化超长上下文代码任务。
3128
+ // 思考模式 High/Max 由请求参数控制,不另列 model id。
3129
+ {
3130
+ id: "glm-5.2",
3131
+ displayName: "GLM-5.2 (2026-06 Flagship, 200K, Coding)",
3132
+ contextWindow: 204800,
3133
+ supportsStreaming: true,
3134
+ supportsThinking: true
3135
+ },
3136
+ {
3137
+ id: "glm-5.2[1m]",
3138
+ displayName: "GLM-5.2 [1M] (\u767E\u4E07\u4E0A\u4E0B\u6587\uFF0C\u6574\u5E93\u5206\u6790/\u5168\u5C40\u91CD\u6784)",
3139
+ contextWindow: 1e6,
3140
+ supportsStreaming: true,
3141
+ supportsThinking: true
3142
+ },
3126
3143
  // ── GLM-5.1 系列(2026-04 旗舰,主打长程 Agent + 代码工程) ──
3127
3144
  {
3128
3145
  id: "glm-5.1",
@@ -11444,6 +11461,9 @@ var PRICING_TABLE = {
11444
11461
  "glm-4.6": { input: 0.6, output: 2.2 },
11445
11462
  "glm-4.6v": { input: 0.6, output: 2.2 },
11446
11463
  "glm-5": { input: 0.85, output: 2.85 },
11464
+ // GLM-5.2(2026-06)官方直连 API 定价 $1.40 / $4.40。
11465
+ // 'glm-5.2[1m]' 走最长前缀匹配命中 'glm-5.2'(暂按同价,1M 变体若另计费再拆)。
11466
+ "glm-5.2": { input: 1.4, output: 4.4 },
11447
11467
  "glm-5.1": { input: 0.95, output: 3.15 },
11448
11468
  "glm-5.1-reasoning": { input: 1.4, output: 4.4 },
11449
11469
  "glm-5.1-air": { input: 0.4, output: 1.2 },
@@ -14220,7 +14240,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
14220
14240
  case "test": {
14221
14241
  this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
14222
14242
  try {
14223
- const { executeTests } = await import("./run-tests-SRAVIQHP.js");
14243
+ const { executeTests } = await import("./run-tests-FB3FMYYM.js");
14224
14244
  const argStr = args.join(" ").trim();
14225
14245
  let testArgs = {};
14226
14246
  if (argStr) {
@@ -154,7 +154,7 @@ ${content}`);
154
154
  }
155
155
  }
156
156
  async function runTaskMode(config, providers, configManager, topic) {
157
- const { TaskOrchestrator } = await import("./task-orchestrator-4IPPR3RK.js");
157
+ const { TaskOrchestrator } = await import("./task-orchestrator-CFXNT77I.js");
158
158
  const orchestrator = new TaskOrchestrator(config, providers, configManager);
159
159
  let interrupted = false;
160
160
  const onSigint = () => {
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  saveDevState,
16
16
  sessionHasMeaningfulContent,
17
17
  setupProxy
18
- } from "./chunk-GCQCR6GS.js";
18
+ } from "./chunk-ZVBVRELH.js";
19
19
  import {
20
20
  ToolExecutor,
21
21
  ToolRegistry,
@@ -35,36 +35,36 @@ import {
35
35
  spawnAgentContext,
36
36
  theme,
37
37
  undoStack
38
- } from "./chunk-PREP4QF5.js";
38
+ } from "./chunk-LG24ALXZ.js";
39
39
  import "./chunk-T2NL5ZIA.js";
40
40
  import "./chunk-BXP6YZ2P.js";
41
- import "./chunk-DXWNQA7R.js";
41
+ import "./chunk-7HOD25LM.js";
42
42
  import {
43
43
  SessionManager,
44
44
  getContentText
45
45
  } from "./chunk-MC34ISJU.js";
46
46
  import {
47
47
  CostTracker
48
- } from "./chunk-YUBD7T2R.js";
48
+ } from "./chunk-HJIO4757.js";
49
49
  import {
50
50
  computeCost,
51
51
  formatCost,
52
52
  getPricing
53
- } from "./chunk-V37XOYOE.js";
53
+ } from "./chunk-USZ74WGI.js";
54
54
  import {
55
55
  getConfigDirUsage,
56
56
  listRecentCrashes,
57
57
  writeCrashLog
58
- } from "./chunk-DXUS6OZH.js";
58
+ } from "./chunk-3RZPN7JQ.js";
59
59
  import {
60
60
  ProviderRegistry
61
- } from "./chunk-UA43JQPP.js";
61
+ } from "./chunk-UE7OWTR4.js";
62
62
  import {
63
63
  getStatsSnapshot,
64
64
  getTopFailingTools,
65
65
  getTopUsedTools,
66
66
  installFlushOnExit
67
- } from "./chunk-MJAQ7GYG.js";
67
+ } from "./chunk-6CKRV2FS.js";
68
68
  import {
69
69
  CONTENT_ONLY_STREAM_REMINDER,
70
70
  TEE_FINAL_USER_NUDGE,
@@ -85,7 +85,7 @@ import {
85
85
  } from "./chunk-YZH2QQXJ.js";
86
86
  import {
87
87
  ConfigManager
88
- } from "./chunk-WM2WVHKT.js";
88
+ } from "./chunk-7DHEXP75.js";
89
89
  import {
90
90
  AuthError,
91
91
  ProviderError,
@@ -112,7 +112,7 @@ import {
112
112
  SKILLS_DIR_NAME,
113
113
  VERSION,
114
114
  buildUserIdentityPrompt
115
- } from "./chunk-PK7MMIKC.js";
115
+ } from "./chunk-LDAYU4HS.js";
116
116
  import {
117
117
  formatGitContextForPrompt,
118
118
  getGitContext,
@@ -1827,7 +1827,7 @@ No tools match "${filter}".
1827
1827
  const { join: join5 } = await import("path");
1828
1828
  const { existsSync: existsSync5 } = await import("fs");
1829
1829
  const { getGitRoot: getGitRoot2 } = await import("./git-context-EXOEHQSF.js");
1830
- const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-K6Z3CTGO.js");
1830
+ const { MCP_PROJECT_CONFIG_NAME: MCP_PROJECT_CONFIG_NAME2 } = await import("./constants-WKQJDLWM.js");
1831
1831
  const { approveProject, hashMcpFile } = await import("./project-trust-NKYHL3VZ.js");
1832
1832
  const cwd = process.cwd();
1833
1833
  const projectRoot = getGitRoot2(cwd) ?? cwd;
@@ -2888,7 +2888,7 @@ ${hint}` : "")
2888
2888
  usage: "/test [command|filter]",
2889
2889
  async execute(args, ctx) {
2890
2890
  try {
2891
- const { executeTests } = await import("./run-tests-JI4KLFJ5.js");
2891
+ const { executeTests } = await import("./run-tests-5KH5JTSN.js");
2892
2892
  const argStr = args.join(" ").trim();
2893
2893
  let testArgs = {};
2894
2894
  if (argStr) {
@@ -7266,7 +7266,7 @@ program.command("web").description("Start Web UI server with browser-based chat
7266
7266
  console.error("Error: Invalid port number. Must be between 1 and 65535.");
7267
7267
  process.exit(1);
7268
7268
  }
7269
- const { startWebServer } = await import("./server-JNHAYMDO.js");
7269
+ const { startWebServer } = await import("./server-XVVP6ALG.js");
7270
7270
  await startWebServer({ port, host: options.host });
7271
7271
  });
7272
7272
  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) => {
@@ -7433,16 +7433,16 @@ program.command("sessions").description("List recent conversation sessions").opt
7433
7433
  console.log(footer + "\n");
7434
7434
  });
7435
7435
  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) => {
7436
- const { runUsageCli } = await import("./usage-EEQI544N.js");
7436
+ const { runUsageCli } = await import("./usage-ZOVDK7UC.js");
7437
7437
  await runUsageCli(options);
7438
7438
  });
7439
7439
  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) => {
7440
- const { runDoctorCli } = await import("./doctor-cli-OPFDP5XS.js");
7440
+ const { runDoctorCli } = await import("./doctor-cli-M5SBETFW.js");
7441
7441
  await runDoctorCli({ json: !!options.json, resetStats: !!options.resetStats });
7442
7442
  });
7443
7443
  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) => {
7444
7444
  try {
7445
- const batch = await import("./batch-GRWWEG6A.js");
7445
+ const batch = await import("./batch-J7VUH3KF.js");
7446
7446
  switch (action) {
7447
7447
  case "submit":
7448
7448
  if (!arg) {
@@ -7485,7 +7485,7 @@ program.command("batch <action> [arg] [arg2]").description("Anthropic Message Ba
7485
7485
  }
7486
7486
  });
7487
7487
  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) => {
7488
- const { startMcpServer } = await import("./server-ZBM2UVWA.js");
7488
+ const { startMcpServer } = await import("./server-6K737MMC.js");
7489
7489
  await startMcpServer({
7490
7490
  allowDestructive: !!options.allowDestructive,
7491
7491
  allowOutsideCwd: !!options.allowOutsideCwd,
@@ -7494,7 +7494,7 @@ program.command("mcp-serve").description("Start an MCP server over STDIO, exposi
7494
7494
  });
7495
7495
  });
7496
7496
  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; diff fetched via `gh pr diff <num>`", (v) => parseInt(v, 10)).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)").action(async (options) => {
7497
- const { runCi } = await import("./ci-PATHTNOQ.js");
7497
+ const { runCi } = await import("./ci-WFZCKBQJ.js");
7498
7498
  const result = await runCi({
7499
7499
  pr: options.pr,
7500
7500
  base: options.base,
@@ -7640,7 +7640,7 @@ program.command("hub [topic]").description("Start multi-agent hub (discuss / bra
7640
7640
  }),
7641
7641
  config.get("customProviders")
7642
7642
  );
7643
- const { startHub } = await import("./hub-4GYSHUUZ.js");
7643
+ const { startHub } = await import("./hub-P5I2UR5Q.js");
7644
7644
  await startHub(
7645
7645
  {
7646
7646
  topic: topic ?? "",
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  executeTests,
4
4
  runTestsTool
5
- } from "./chunk-DXWNQA7R.js";
6
- import "./chunk-PK7MMIKC.js";
5
+ } from "./chunk-7HOD25LM.js";
6
+ import "./chunk-LDAYU4HS.js";
7
7
  export {
8
8
  executeTests,
9
9
  runTestsTool
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeTests,
3
3
  runTestsTool
4
- } from "./chunk-I5GST3DL.js";
4
+ } from "./chunk-VO2KLECL.js";
5
5
  export {
6
6
  executeTests,
7
7
  runTestsTool
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  ToolRegistry
4
- } from "./chunk-PREP4QF5.js";
4
+ } from "./chunk-LG24ALXZ.js";
5
5
  import "./chunk-T2NL5ZIA.js";
6
6
  import "./chunk-BXP6YZ2P.js";
7
- import "./chunk-DXWNQA7R.js";
7
+ import "./chunk-7HOD25LM.js";
8
8
  import {
9
9
  runTool
10
- } from "./chunk-MJAQ7GYG.js";
10
+ } from "./chunk-6CKRV2FS.js";
11
11
  import {
12
12
  getDangerLevel,
13
13
  schemaToJsonSchema
@@ -15,7 +15,7 @@ import {
15
15
  import "./chunk-TZQHYZKT.js";
16
16
  import {
17
17
  VERSION
18
- } from "./chunk-PK7MMIKC.js";
18
+ } from "./chunk-LDAYU4HS.js";
19
19
  import "./chunk-4BKXL7SM.js";
20
20
  import "./chunk-TB4W4Y4T.js";
21
21
  import "./chunk-KHYD3WXE.js";
@@ -19,7 +19,7 @@ import {
19
19
  loadDevState,
20
20
  persistToolRound,
21
21
  setupProxy
22
- } from "./chunk-GCQCR6GS.js";
22
+ } from "./chunk-ZVBVRELH.js";
23
23
  import {
24
24
  ToolExecutor,
25
25
  ToolRegistry,
@@ -38,10 +38,10 @@ import {
38
38
  spawnAgentContext,
39
39
  truncateOutput,
40
40
  undoStack
41
- } from "./chunk-PREP4QF5.js";
41
+ } from "./chunk-LG24ALXZ.js";
42
42
  import "./chunk-T2NL5ZIA.js";
43
43
  import "./chunk-BXP6YZ2P.js";
44
- import "./chunk-DXWNQA7R.js";
44
+ import "./chunk-7HOD25LM.js";
45
45
  import {
46
46
  SessionManager,
47
47
  getContentText
@@ -49,13 +49,13 @@ import {
49
49
  import {
50
50
  computeCost,
51
51
  formatCost
52
- } from "./chunk-V37XOYOE.js";
52
+ } from "./chunk-USZ74WGI.js";
53
53
  import {
54
54
  ProviderRegistry
55
- } from "./chunk-UA43JQPP.js";
55
+ } from "./chunk-UE7OWTR4.js";
56
56
  import {
57
57
  runTool
58
- } from "./chunk-MJAQ7GYG.js";
58
+ } from "./chunk-6CKRV2FS.js";
59
59
  import {
60
60
  CONTENT_ONLY_STREAM_REMINDER,
61
61
  TEE_FINAL_USER_NUDGE,
@@ -73,7 +73,7 @@ import {
73
73
  } from "./chunk-YZH2QQXJ.js";
74
74
  import {
75
75
  ConfigManager
76
- } from "./chunk-WM2WVHKT.js";
76
+ } from "./chunk-7DHEXP75.js";
77
77
  import "./chunk-TZQHYZKT.js";
78
78
  import {
79
79
  AGENTIC_BEHAVIOR_GUIDELINE,
@@ -93,7 +93,7 @@ import {
93
93
  SKILLS_DIR_NAME,
94
94
  VERSION,
95
95
  buildUserIdentityPrompt
96
- } from "./chunk-PK7MMIKC.js";
96
+ } from "./chunk-LDAYU4HS.js";
97
97
  import {
98
98
  formatGitContextForPrompt,
99
99
  getGitContext,
@@ -2454,7 +2454,7 @@ ${undoResults.map((r) => ` \u2022 ${r}`).join("\n")}` });
2454
2454
  case "test": {
2455
2455
  this.send({ type: "info", message: "\u{1F9EA} Running tests..." });
2456
2456
  try {
2457
- const { executeTests } = await import("./run-tests-JI4KLFJ5.js");
2457
+ const { executeTests } = await import("./run-tests-5KH5JTSN.js");
2458
2458
  const argStr = args.join(" ").trim();
2459
2459
  let testArgs = {};
2460
2460
  if (argStr) {
@@ -3,13 +3,13 @@ import {
3
3
  ToolRegistry,
4
4
  googleSearchContext,
5
5
  truncateOutput
6
- } from "./chunk-PREP4QF5.js";
6
+ } from "./chunk-LG24ALXZ.js";
7
7
  import "./chunk-T2NL5ZIA.js";
8
8
  import "./chunk-BXP6YZ2P.js";
9
- import "./chunk-DXWNQA7R.js";
9
+ import "./chunk-7HOD25LM.js";
10
10
  import {
11
11
  runTool
12
- } from "./chunk-MJAQ7GYG.js";
12
+ } from "./chunk-6CKRV2FS.js";
13
13
  import {
14
14
  getDangerLevel,
15
15
  runLeanAgentLoop
@@ -17,7 +17,7 @@ import {
17
17
  import "./chunk-TZQHYZKT.js";
18
18
  import {
19
19
  SUBAGENT_ALLOWED_TOOLS
20
- } from "./chunk-PK7MMIKC.js";
20
+ } from "./chunk-LDAYU4HS.js";
21
21
  import "./chunk-4BKXL7SM.js";
22
22
  import "./chunk-TB4W4Y4T.js";
23
23
  import "./chunk-KHYD3WXE.js";
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CostTracker
4
- } from "./chunk-YUBD7T2R.js";
4
+ } from "./chunk-HJIO4757.js";
5
5
  import {
6
6
  formatCost,
7
7
  getPricing
8
- } from "./chunk-V37XOYOE.js";
8
+ } from "./chunk-USZ74WGI.js";
9
9
  import {
10
10
  ConfigManager
11
- } from "./chunk-WM2WVHKT.js";
11
+ } from "./chunk-7DHEXP75.js";
12
12
  import "./chunk-TZQHYZKT.js";
13
- import "./chunk-PK7MMIKC.js";
13
+ import "./chunk-LDAYU4HS.js";
14
14
  import "./chunk-IW3Q7AE5.js";
15
15
 
16
16
  // src/cli/usage.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jinzd-ai-cli",
3
- "version": "0.4.196",
3
+ "version": "0.4.197",
4
4
  "description": "Cross-platform REPL-style AI CLI with multi-provider support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",