jinzd-ai-cli 0.1.86 → 0.1.87

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.
@@ -16,7 +16,7 @@ import {
16
16
  SUBAGENT_MAX_ROUNDS_LIMIT,
17
17
  VERSION,
18
18
  runTestsTool
19
- } from "./chunk-SMLN357K.js";
19
+ } from "./chunk-L5YUW6T3.js";
20
20
 
21
21
  // src/config/config-manager.ts
22
22
  import { readFileSync, writeFileSync, existsSync, mkdirSync } from "fs";
@@ -1449,6 +1449,8 @@ function detectsCodeBlockPseudoCall(content) {
1449
1449
  var DEEPSEEK_CODE_BLOCK_CORRECTION = "You wrote a code block in your response text, but you did NOT actually execute it. Code blocks in text are NOT executed by the system. You MUST use the function calling API to invoke the appropriate tool (e.g., mcp__postgres__query for SQL queries, bash for shell commands). Please call the correct tool NOW to execute the query/command.";
1450
1450
  var DeepSeekProvider = class extends OpenAICompatibleProvider {
1451
1451
  defaultBaseUrl = "https://api.deepseek.com/v1";
1452
+ /** 禁用流式工具调用,确保 chatWithTools 覆写(代码块检测)生效 */
1453
+ enableStreamingToolCalls = false;
1452
1454
  info = {
1453
1455
  id: "deepseek",
1454
1456
  displayName: "DeepSeek",
@@ -14,7 +14,7 @@ import { platform } from "os";
14
14
  import chalk from "chalk";
15
15
 
16
16
  // src/core/constants.ts
17
- var VERSION = "0.1.86";
17
+ var VERSION = "0.1.87";
18
18
  var APP_NAME = "ai-cli";
19
19
  var CONFIG_DIR_NAME = ".aicli";
20
20
  var CONFIG_FILE_NAME = "config.json";
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ import {
35
35
  theme,
36
36
  truncateOutput,
37
37
  undoStack
38
- } from "./chunk-PCT4OP6Q.js";
38
+ } from "./chunk-F2N4QBIY.js";
39
39
  import {
40
40
  AGENTIC_BEHAVIOR_GUIDELINE,
41
41
  AUTHOR,
@@ -55,7 +55,7 @@ import {
55
55
  REPO_URL,
56
56
  SKILLS_DIR_NAME,
57
57
  VERSION
58
- } from "./chunk-SMLN357K.js";
58
+ } from "./chunk-L5YUW6T3.js";
59
59
 
60
60
  // src/index.ts
61
61
  import { program } from "commander";
@@ -103,8 +103,8 @@ function createSpinner(text) {
103
103
  if (timer) {
104
104
  clearInterval(timer);
105
105
  timer = null;
106
+ clear();
106
107
  }
107
- clear();
108
108
  },
109
109
  start(t) {
110
110
  currentText = t;
@@ -1904,7 +1904,7 @@ ${hint}` : "")
1904
1904
  description: "Run project tests and show structured report",
1905
1905
  usage: "/test [command|filter]",
1906
1906
  async execute(args, _ctx) {
1907
- const { executeTests } = await import("./run-tests-Y2PN5FYJ.js");
1907
+ const { executeTests } = await import("./run-tests-RCWE32G4.js");
1908
1908
  const argStr = args.join(" ").trim();
1909
1909
  let testArgs = {};
1910
1910
  if (argStr) {
@@ -5292,7 +5292,7 @@ program.command("web").description("Start Web UI server with browser-based chat
5292
5292
  console.error("Error: Invalid port number. Must be between 1 and 65535.");
5293
5293
  process.exit(1);
5294
5294
  }
5295
- const { startWebServer } = await import("./server-BFNZIL3O.js");
5295
+ const { startWebServer } = await import("./server-MDRGHPXN.js");
5296
5296
  await startWebServer({ port, host: options.host });
5297
5297
  });
5298
5298
  program.command("sessions").description("List recent conversation sessions").action(async () => {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  executeTests,
4
4
  runTestsTool
5
- } from "./chunk-SMLN357K.js";
5
+ } from "./chunk-L5YUW6T3.js";
6
6
  export {
7
7
  executeTests,
8
8
  runTestsTool
@@ -23,7 +23,7 @@ import {
23
23
  setupProxy,
24
24
  spawnAgentContext,
25
25
  truncateOutput
26
- } from "./chunk-PCT4OP6Q.js";
26
+ } from "./chunk-F2N4QBIY.js";
27
27
  import {
28
28
  AGENTIC_BEHAVIOR_GUIDELINE,
29
29
  CONTEXT_FILE_CANDIDATES,
@@ -36,7 +36,7 @@ import {
36
36
  SKILLS_DIR_NAME,
37
37
  VERSION,
38
38
  __require
39
- } from "./chunk-SMLN357K.js";
39
+ } from "./chunk-L5YUW6T3.js";
40
40
 
41
41
  // src/web/server.ts
42
42
  import express from "express";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jinzd-ai-cli",
3
- "version": "0.1.86",
3
+ "version": "0.1.87",
4
4
  "description": "Cross-platform REPL-style AI CLI with multi-provider support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",