release: v5.4.0 - 跨平台进程保护机制

This commit is contained in:
xiaoli-cli committed 2026-05-09 20:33:14 +08:00
1 parent 97cc2bb0f7
commit 2a1822d3f4
5 files changed
+9 -8

No files matched your search

+2 -1
View File
@@ -4,7 +4,7 @@
---
## v5.3.0 (2026-05-09)
## v5.4.0 (2026-05-09) — Release
### ✨ 新增功能
@@ -23,6 +23,7 @@
- `platform_utils.py` 新增 `is_process_running()`、`get_process_priority()`、`set_process_priority()` 跨平台工具函数
- `cli_base.py` 启动时自动初始化进程保护,退出时自动清理
- `cli_core.py` 启动 banner 显示保护状态图标(单实例/优先级/PPL/看门狗)
- 全版本号统一更新至 v5.4.0
---
+1 -1
View File
@@ -5,7 +5,7 @@
</p>
<p align="center">
<img src="https://img.shields.io/badge/version-5.2.0-blue" alt="version">
<img src="https://img.shields.io/badge/version-5.4.0-blue" alt="version">
<img src="https://img.shields.io/badge/python-3.10+-green" alt="python">
<img src="https://img.shields.io/badge/license-MIT-orange" alt="license">
<img src="https://img.shields.io/badge/tests-113%20passed-brightgreen" alt="tests">
+1 -1
View File
@@ -9,7 +9,7 @@
</p>
<p align="center">
<img src="https://img.shields.io/badge/version-5.3.0-blue" alt="version">
<img src="https://img.shields.io/badge/version-5.4.0-blue" alt="version">
<img src="https://img.shields.io/badge/python-3.10+-green" alt="python">
<img src="https://img.shields.io/badge/license-MIT-orange" alt="license">
<img src="https://img.shields.io/badge/tests-150+%20passed-brightgreen" alt="tests">
+2 -2
View File
@@ -1,10 +1,10 @@
@echo off
chcp 65001 >nul 2>&1
title 小狸 Pro-CLI v5.1.2
title 小狸 Pro-CLI v5.4.0
echo.
echo ╔══════════════════════════════════════╗
echo ║ 小狸 Pro-CLI 启动器 v5.1.2 ║
echo ║ 小狸 Pro-CLI 启动器 v5.4.0 ║
echo ║ 正在检测环境... ║
echo ╚══════════════════════════════════════╝
echo.
+3 -3
View File
@@ -480,7 +480,7 @@ if TEXTUAL_AVAILABLE:
"",
" ╔══════════════════════════════════════════════╗",
" ║ ║",
" ║ 小狸 Pro-CLI v5.2 ║",
" ║ 小狸 Pro-CLI v5.4 ║",
" ║ 智能编程助手 · 动画增强版 ║",
" ║ ║",
" ╚══════════════════════════════════════════════╝",
@@ -524,7 +524,7 @@ if TEXTUAL_AVAILABLE:
("", "msg-dim"),
(" ╔══════════════════════════════════════════════╗", "msg-welcome"),
(" ║ ║", "msg-welcome"),
(" ║ 小狸 Pro-CLI v5.2 ║", "msg-welcome"),
(" ║ 小狸 Pro-CLI v5.4 ║", "msg-welcome"),
(" ║ 智能编程助手 · 动画增强版 ║", "msg-welcome"),
(" ║ ║", "msg-welcome"),
(" ╚══════════════════════════════════════════════╝", "msg-welcome"),
@@ -719,7 +719,7 @@ if TEXTUAL_AVAILABLE:
'cls': lambda: self.action_clear(),
'model': lambda: self._switch_model(args),
'engine': lambda: self._switch_model(args),
'about': lambda: self._system(" 小狸 Pro-CLI v5.2 - 智能编程助手"),
'about': lambda: self._system(" 小狸 Pro-CLI v5.4 - 智能编程助手"),
'status': lambda: self._show_status(),
'tools': lambda: self._show_tools(),
'engines': lambda: self._show_engines(),