From 9b0e24ec4995b1d1f2b9487db86752dea57f3368 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Tue, 17 Feb 2026 21:19:53 +0800 Subject: [PATCH] chore: bump version to 4.17.4 --- astrbot/cli/__init__.py | 2 +- astrbot/core/computer/tools/python.py | 2 +- astrbot/core/computer/tools/shell.py | 2 +- astrbot/core/config/default.py | 2 +- changelogs/v4.17.4.md | 32 +++++++++++++++++++++++++++ desktop/package.json | 2 +- pyproject.toml | 2 +- 7 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 changelogs/v4.17.4.md diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index 10b26dff5..bbdf42b26 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.17.3" +__version__ = "4.17.4" diff --git a/astrbot/core/computer/tools/python.py b/astrbot/core/computer/tools/python.py index 9c4768320..dc3ab4b7f 100644 --- a/astrbot/core/computer/tools/python.py +++ b/astrbot/core/computer/tools/python.py @@ -90,7 +90,7 @@ class LocalPythonTool(FunctionTool): if context.context.event.role != "admin": return ( "error: Permission denied. Local Python execution is only allowed for admin users. " - "Tell user to set admins in AstrBot WebUI by adding their user ID to the admins list if they need this feature." + "Tell user to set admins in `AstrBot WebUI -> Config -> General Config` by adding their user ID to the admins list if they need this feature." f"User's ID is: {context.context.event.get_sender_id()}. User's ID can be found by using /sid command." ) sb = get_local_booter() diff --git a/astrbot/core/computer/tools/shell.py b/astrbot/core/computer/tools/shell.py index e63124d2d..8c2331bd4 100644 --- a/astrbot/core/computer/tools/shell.py +++ b/astrbot/core/computer/tools/shell.py @@ -49,7 +49,7 @@ class ExecuteShellTool(FunctionTool): if context.context.event.role != "admin": return ( "error: Permission denied. Local shell execution is only allowed for admin users. " - "Tell user to set admins in AstrBot WebUI by adding their user ID to the admins list if they need this feature." + "Tell user to set admins in `AstrBot WebUI -> Config -> General Config` by adding their user ID to the admins list if they need this feature." f"User's ID is: {context.context.event.get_sender_id()}. User's ID can be found by using /sid command." ) diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 8a21f58ac..8602250cf 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -5,7 +5,7 @@ from typing import Any, TypedDict from astrbot.core.utils.astrbot_path import get_astrbot_data_path -VERSION = "4.17.3" +VERSION = "4.17.4" DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") WEBHOOK_SUPPORTED_PLATFORMS = [ diff --git a/changelogs/v4.17.4.md b/changelogs/v4.17.4.md new file mode 100644 index 000000000..667b03060 --- /dev/null +++ b/changelogs/v4.17.4.md @@ -0,0 +1,32 @@ +## What's Changed + +### 新增 +- 新增 NVIDIA Provider 模板,便于快速接入 NVIDIA 模型服务 ([#5157](https://github.com/AstrBotDevs/AstrBot/issues/5157))。 +- 支持在 WebUI 搜索配置 + +### 修复 +- 修复 CronJob 页面操作列按钮重叠问题,提升任务管理可用性 ([#5163](https://github.com/AstrBotDevs/AstrBot/issues/5163))。 + +### 优化 +- 优化 Python / Shell 本地执行工具的权限拒绝提示信息引导,提升排障可读性。 +- Provider 来源面板样式升级,新增菜单交互并完善移动端适配。 +- PersonaForm 组件增强响应式布局与样式细节,改进不同屏幕下的编辑体验 ([#5162](https://github.com/AstrBotDevs/AstrBot/issues/5162))。 +- 配置页面新增未保存变更提示,减少误操作导致的配置丢失。 +- 配置相关组件新增搜索能力并同步更新界面交互,提升配置项定位效率 ([#5168](https://github.com/AstrBotDevs/AstrBot/issues/5168))。 + +## What's Changed (EN) + +### New Features +- Added an NVIDIA provider template for faster integration with NVIDIA model services ([#5157](https://github.com/AstrBotDevs/AstrBot/issues/5157)). +- Added an announcement section to the Welcome page, with localized announcement title support. +- Added an FAQ link to the vertical sidebar and updated navigation for localization. + +### Fixes +- Fixed overlapping action buttons in the CronJob page action column to improve task management usability ([#5163](https://github.com/AstrBotDevs/AstrBot/issues/5163)). +- Improved permission-denied messages for local execution in Python and shell tools for better troubleshooting clarity. + +### Improvements +- Enhanced the provider sources panel with a refined menu style and better mobile support. +- Improved PersonaForm with responsive layout and styling updates for better editing experience across screen sizes ([#5162](https://github.com/AstrBotDevs/AstrBot/issues/5162)). +- Added an unsaved-changes notice on the configuration page to reduce accidental config loss. +- Added search functionality to configuration components and updated related UI interactions for faster settings discovery ([#5168](https://github.com/AstrBotDevs/AstrBot/issues/5168)). diff --git a/desktop/package.json b/desktop/package.json index 3e04f21b1..6487c2878 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -1,6 +1,6 @@ { "name": "astrbot-desktop", - "version": "4.17.3", + "version": "4.17.4", "description": "AstrBot desktop wrapper", "private": true, "main": "main.js", diff --git a/pyproject.toml b/pyproject.toml index d8d751b8e..7420582c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.17.3" +version = "4.17.4" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" requires-python = ">=3.12"