diff --git a/CHANGELOG.md b/CHANGELOG.md index 568e2d9..1c70a88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,26 @@ --- +## v8.0.1 (2026-08-07) — Release + +### ✨ 新增功能 + +- **Operit 市场插件转译层全面落地** + - `plugins/operit_loader.py` 增强:`OkHttp.newClient()`、`OkHttpRequest.execute()` 改为异步、`OkHttpResponse` 新增 `json()` 与 `statusMessage()`(基于 `http.HTTPStatus`) + - `plugins/operit_translate.py` 新增:Operit `.ts` 插件 → xiaoli-cli `.py` 脚手架生成器(自动提取 METADATA、生成 `exports` 胶水,原 TS 作参考注释保留) + - 接入 5 个已全链路验证的 Operit 市场插件: + - `market_time` — 时间查询 / 格式化 + - `market_duckduckgo` — 网页内容抓取与清洗 + - `market_crossref` — Crossref 学术文献检索 + - `market_network_test` — HTTP 连通性测试 + - `market_reader` — 本地代码递归搜索 + +### 🛠 工程 + +- 版本号统一更新至 v8.0.1(含 README 中英 badge、`about.txt`、`xcli_core/constants.py` 中央 `VERSION`、TUI banner、LSP/MCP `clientInfo.version`) + +--- + ## v5.4.0 (2026-05-09) — Release ### ✨ 新增功能 diff --git a/README.en.md b/README.en.md index 130a17e..8dbcc9e 100644 --- a/README.en.md +++ b/README.en.md @@ -5,7 +5,7 @@

- version + version python license tests diff --git a/README.md b/README.md index 5a5b188..2cd559c 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@

- version + version python license tests diff --git a/about.txt b/about.txt index b0259c4..d4882ce 100644 --- a/about.txt +++ b/about.txt @@ -1,7 +1,7 @@ **产品标识** - **产品名称**:小狸智能体 增强-终端(Xiaoli Pro-CLI) - **内部版本号**:20260801 -- **发布版本**:发行版8.0.0 +- **发布版本**:发行版8.0.1 **技术规格** - **主要语言**:简体中文(UTF-8) diff --git a/lsp_client.py b/lsp_client.py index e689cc2..4f393cc 100644 --- a/lsp_client.py +++ b/lsp_client.py @@ -268,7 +268,7 @@ class LspClient: "workspace": {"workspaceFolders": True, "configuration": True}, }, - "clientInfo": {"name": "xiaoli-cli", "version": "8.0"}, + "clientInfo": {"name": "xiaoli-cli", "version": "8.0.1"}, }) if isinstance(result, dict): self.capabilities = result.get("capabilities", {}) or {} diff --git a/mcp_client.py b/mcp_client.py index 9d32d06..43cc8d1 100644 --- a/mcp_client.py +++ b/mcp_client.py @@ -153,7 +153,7 @@ class McpClient: result = self._send("initialize", { "protocolVersion": PROTOCOL_VERSION, "capabilities": {}, - "clientInfo": {"name": "xiaoli-cli", "version": "8.0"}, + "clientInfo": {"name": "xiaoli-cli", "version": "8.0.1"}, }) # 通知 server 初始化完成(无响应,无需等待) self._send("notifications/initialized", {}, is_notification=True) diff --git a/xcli_core/constants.py b/xcli_core/constants.py index d2ce9b6..2125d50 100644 --- a/xcli_core/constants.py +++ b/xcli_core/constants.py @@ -7,7 +7,7 @@ LOVE_FILE_PATH = "love.txt" DEFAULT_MAX_HISTORY = 999999 # 无限制对话历史 # 版本号(v8.0 基于 v5.4.1 重新立项) -VERSION = "8.0.0" +VERSION = "8.0.1" VERSION_NAME = "小狸 Pro-CLI" import os diff --git a/xcli_core/rich_tui.py b/xcli_core/rich_tui.py index 1cecf44..027d7f5 100644 --- a/xcli_core/rich_tui.py +++ b/xcli_core/rich_tui.py @@ -28,7 +28,7 @@ class RichTUI: self.cli = cli # record=True 是关键:渲染过程被记录,可随时导出文本/SVG/HTML 自验 self.console = Console(record=True, width=100) - self.version = "8.0.0" + self.version = "8.0.1" self.engine = "" self.model = "" self.mode = "普通" diff --git a/xcli_core/tui.py b/xcli_core/tui.py index cce4256..04db379 100644 --- a/xcli_core/tui.py +++ b/xcli_core/tui.py @@ -667,7 +667,7 @@ if TEXTUAL_AVAILABLE: "", " ╔══════════════════════════════════════════════╗", " ║ ║", - " ║ 小狸 Pro-CLI v8.0.0 ║", + " ║ 小狸 Pro-CLI v8.0.1 ║", " ║ 智能编程助手 · 动画增强版 ║", " ║ ║", " ╚══════════════════════════════════════════════╝", @@ -711,7 +711,7 @@ if TEXTUAL_AVAILABLE: ("", "msg-dim"), (" ╔══════════════════════════════════════════════╗", "msg-welcome"), (" ║ ║", "msg-welcome"), - (" ║ 小狸 Pro-CLI v8.0.0 ║", "msg-welcome"), + (" ║ 小狸 Pro-CLI v8.0.1 ║", "msg-welcome"), (" ║ 智能编程助手 · 动画增强版 ║", "msg-welcome"), (" ║ ║", "msg-welcome"), (" ╚══════════════════════════════════════════════╝", "msg-welcome"),