From 20ff719c007548c369f57f8ab95c9f1c27dfffec Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sun, 22 Feb 2026 16:43:00 +0800 Subject: [PATCH] cho --- astrbot/cli/__init__.py | 2 +- astrbot/core/config/default.py | 2 +- changelogs/v4.18.1.md | 17 +++++++++++++++++ pyproject.toml | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 changelogs/v4.18.1.md diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index dfdbb7a0f..d4a215c3f 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.18.0" +__version__ = "4.18.1" diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index ab311d8fe..a151e7cfd 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.18.0" +VERSION = "4.18.1" DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") WEBHOOK_SUPPORTED_PLATFORMS = [ diff --git a/changelogs/v4.18.1.md b/changelogs/v4.18.1.md new file mode 100644 index 000000000..1f17162eb --- /dev/null +++ b/changelogs/v4.18.1.md @@ -0,0 +1,17 @@ +## What's Changed + +### 修复 +- fix: 修复插件市场出现插件显示为空白的 bug;纠正已安装插件卡片的排版,统一大小 ([#5309](https://github.com/AstrBotDevs/AstrBot/issues/5309)) + +### 新增 +- SubAgent 支持后台执行模式配置:当 `background: true` 时,子代理将在后台运行,主对话无需等待子代理完成即可继续进行。当子代理完成后,会收到通知。适用于长时间运行或用户不需要立即结果的任务。([#5081](https://github.com/AstrBotDevs/AstrBot/issues/5081)) +- 配置 Schema 新增密码渲染支持:`string` 与 `text` 类型可通过 `password: true`(或 `render_type: "password"`)在 WebUI 中按密码输入方式显示。 + +## What's Changed (EN) + +### Fixes +- fix: Fixed a bug where the plugin marketplace would show blank cards for plugins; corrected the layout of installed plugin cards for consistent sizing ([#5309](https://github.com/AstrBotDevs/AstrBot/issues/5309)) + +### New Features +- Added background execution mode support for sub-agents: when `background: true` is set, the sub-agent will run in the background, allowing the main conversation to continue without waiting for the sub-agent to finish. You will be notified when the sub-agent completes. This is suitable for long-running tasks or when the user does not need immediate results. ([#5081](https://github.com/AstrBotDevs/AstrBot/issues/5081)) +- Added password rendering support in config schema: `string` and `text` fields can be rendered as password inputs in WebUI with `password: true` (or `render_type: "password"`). diff --git a/pyproject.toml b/pyproject.toml index 15c696894..468a5219f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.18.0" +version = "4.18.1" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" requires-python = ">=3.12"