Repository navigation
·
1 commit
to master
since this release
[4.30.0-alpha.1] - 2026-11-15
本版本为 Alpha 测试版,可能存在不稳定或兼容性问题,建议先在测试环境验证。本次涉及对话数据库、Agent 配置和会话设置迁移。升级前请备份数据与配置;回退旧版需同时恢复升级前备份。请不要在重要的生产环境使用该版本。
主要更新
- 将会话后端迁移到事件溯源方式,减少重复上下文写入和部分写放大,优化存储性能;增量保存消息与工具调用,完善执行中断后的历史处理。 (#10077, #11158, #11162)
- 引入新的 Agent 运行时模型。插件可通过
ctx.agent.run_turn()唤起 Agent turn。详见 调用现有会话的 Agent (#10934, #10936, #11052, #11148, #11153) - 重构子代理为具有独立上下文的后台任务,支持通用与专用 Agent、追加指令和结果回传。入口由侧边栏移至 配置文件 → AI → 能力 → 子代理,按配置文件管理。 (#11053)
- 将自定义规则与会话管理统一至 配置文件 → 管理会话配置映射,支持基础配置与字段覆盖、批量编辑和恢复继承;模型指令与页面共用同一份设置。 (#11097)
- 新增 Windows AppContainer 本机沙盒,支持工作区隔离、代码执行与联网控制。 (#10466)
- 新增 DeepSeek 语音识别与语音合成提供商。 (#11118)
- 新增 OpenAI Decisions 判断模型,支持选择、布尔判断与评分。 (#10968)
- 欢迎页 → 总览:展示每日用量、系统资源及机器人异常。 (#11100)
- 支持在外观设置中将聊天入口放入侧边栏。 (#11090)
- 升级 Markdown 渲染,按需加载聊天与语法高亮资源。 (#11138)
- 插件配置支持可折叠分组,并可声明默认收起状态。 (#11067)
- 插件页面可获取当前主题颜色及其变化。 (#11046)
- 重整 AI 开发文档,补充插件配置控件示例与截图。 (#11154)
优化与修复
- 完善运行中追加输入的保存与继续执行。 (#11141)
- 跳过运行时不可用的子代理配置,避免阻断主会话。 (#11128)
- 允许取消选择已禁用、缺失或运行时不可用的子代理配置。 (#11147)
- 移除完整工具 Schema 模式下的默认工具调用提示词。 (#11152)
- 修复模型最后一次重试成功仍被判定为失败的问题。 (#10922)
- 修复 Anthropic 非流式响应丢失多个文本块的问题。 (#11057)
- 搜索密钥失效或额度不足时,尝试其他已配置的密钥。 (#10877)
- 将 Gemini TTS 默认模型更新为
gemini-3.8-flash-tts。 (#10828) - 修复 QQ 按钮回复丢失图片、文件等媒体的问题。 (#10903)
- 避免 QQ 图片上传失败时记录完整图片载荷,减少日志对面板的影响。 (#10740)
- 优化 OneBot 流式分段,减少长文本的重复扫描。 (#10989)
- Telegram 发送者没有用户名时,使用显示名称。 (#10715)
- 修复 Firefox 中聊天历史滚动跳动的问题。 (#11036)
- 修复编辑模型配置时预览与能力标识不一致的问题。 (#10792)
- 统一 WebUI 菜单、弹窗样式,优化滚动条和点击反馈。 (#11107, #11090, #11102)
- 修复 EPUB 解析丢失链接文字的问题。 (#10794)
- 保留 GIF 转换为拼图后的说明,避免历史上下文丢失动画信息。 (#10837)
- 将插件加载及执行失败日志归属到对应插件,方便筛选排查。 (#10904)
- SSE 流关闭时通知插件页面,避免连接状态滞留。 (#10932)
- 控制台日志时间戳增加日期。 (#9617)
This is an Alpha release and may have stability or compatibility issues. Validate it in a test environment first. This release migrates conversation storage, Agent configurations, and session settings. Back up data and configuration before upgrading; downgrading also requires restoring the pre-upgrade backup.
Highlights
- Migrate conversations to event sourcing, reducing duplicate context writes and some write amplification. Persist messages and tool calls incrementally and improve history handling after interrupted execution. (#10077, #11158, #11162)
- Introduce a new Agent runtime model. Plugins can invoke an Agent turn through
ctx.agent.run_turn(). (#10934, #10936, #11052, #11148, #11153) - Rebuild subagents as background tasks with independent context, generic or specialized configurations, follow-up inputs, and result delivery. Move management from the sidebar to Config → AI → Capabilities → Subagents, with per-profile settings. (#11053)
- Merge Custom Rules and Session Management into Config → Manage session mappings, supporting base profiles, field overrides, batch editing, and restored inheritance. Model commands and the editor share the same settings. (#11097)
- Add a Windows AppContainer sandbox with workspace isolation, code execution, and network controls. (#10466)
- Add DeepSeek speech recognition and synthesis providers. (#11118)
- Add OpenAI Decisions models for choices, boolean questions, and scores. (#10968)
- Welcome → Overview now shows daily usage, system resources, and bot errors. (#11100)
- Add an Appearance setting to show Chat in the sidebar. (#11090)
- Upgrade Markdown rendering and load chat and syntax-highlighting assets on demand. (#11138)
- Add collapsible plugin configuration groups with configurable initial state. (#11067)
- Expose current theme colors and their updates to plugin pages. (#11046)
- Reorganize AI development guides and add plugin configuration control examples and screenshots. (#11154)
Improvements and Fixes
- Improve persistence and continuation of inputs added during execution. (#11141)
- Skip subagent configurations with unavailable runtimes so they do not block the main conversation. (#11128)
- Allow deselecting disabled, missing, or runtime-unavailable subagent configurations. (#11147)
- Remove default tool-call instructions in full-schema mode. (#11152)
- Fix successful final model retries being reported as failures. (#10922)
- Preserve all text blocks in non-streaming Anthropic responses. (#11057)
- Try other configured search keys when a key is invalid or its quota is exhausted. (#10877)
- Update the default Gemini TTS model to
gemini-3.8-flash-tts. (#10828) - Preserve images, files, and other media in QQ button replies. (#10903)
- Stop logging full image payloads on QQ upload failures, reducing their impact on the dashboard. (#10740)
- Improve OneBot streaming segmentation by avoiding repeated scans of long text. (#10989)
- Use Telegram display names when usernames are absent. (#10715)
- Fix Firefox chat history scroll jumps. (#11036)
- Preserve model previews and capability indicators while editing provider configurations. (#10792)
- Unify WebUI menus and dialogs and refine scrollbars and press feedback. (#11107, #11090, #11102)
- Preserve link text when parsing EPUB files. (#10794)
- Retain GIF montage guidance in conversation history so animation context is preserved. (#10837)
- Attribute plugin loading and execution errors to their plugins for easier log filtering. (#10904)
- Notify plugin pages when SSE streams close to avoid stale connection states. (#10932)
- Include dates in console log timestamps. (#9617)
Full Changelog: v4.29.4...v4.30.0-alpha.1
What's Changed
- feat: add Project delivery synchronization by @zouyonghe in #10905
- fix: skip fork Project sync events by @zouyonghe in #10909
- fix: retry web searches after key-specific failures by @wozhenbang2004 in #10877
- fix: notify plugin views when SSE streams close by @Soulter in #10932
- fix: text_chat 最后一次重试成功时响应被误判为失败 by @sciman-top in #10922
- fix(logs): attribute plugin failure logs to the plugin by @mantoujun12 in #10904
- perf: speed up full Project reconciliation by @zouyonghe in #10935
- refactor: unify main agent construction and wakeup execution by @Soulter in #10934
- fix: deliver agent wakeup replies through the normal pipeline by @Soulter in #10936
- feat: trace Project sync ancestry by @zouyonghe in #10939
- perf: apply Project updates with four workers by @zouyonghe in #10941
- perf: allow eight Project sync workers and two hours by @zouyonghe in #10945
- fix: restore four Project sync workers by @zouyonghe in #10946
- feat: add native Windows AppContainer sandbox by @RC-CHN in #10466
- fix: improve responsive provider configuration layout by @RC-CHN in #10949
- feat: console 日志时间戳增加日期(YYYY-MM-DD) by @x1051445024 in #9617
- fix(config): clarify wake word dependency for built-in commands by @mantoujun12 in #10861
- fix(qqofficial): stop logging image payload on upload failure by @Zzzzzzouhang in #10740
- fix(webui): wrap long plugin commands by @wozhenbang2004 in #10860
- fix: preserve animation guidance with persistent montage images by @MindOfqc in #10837
- fix(provider): default Gemini TTS to gemini-3.8-flash-tts by @pcbeingused333 in #10828
- fix(telegram): fall back to display name for senders without a username by @rudycelekli in #10715
- chore: replace legacy AstrBot icons with new artwork by @mantoujun12 in #10997
- test: prune low-value and duplicate cases from audited suites by @RC-CHN in #11005
- chore(ci): remove duplicate test runs by @RC-CHN in #11007
- fix(scripts): honor --no-dashboard and align local coverage by @RC-CHN in #11009
- fix(dashboard): stop WebChat scroll jumps in Firefox by @mantoujun12 in #11036
- feat(dashboard): expose theme colors through the plugin bridge by @SXP-Simon in #11046
- fix: preserve inline anchor text when parsing EPUB files by @wcqqq1214 in #10794
- fix: preserve model previews when editing provider config by @wcqqq1214 in #10792
- fix: preserve media in QQ button replies by @wcqqq1214 in #10903
- refactor: reorganize built-in agent modules by @Soulter in #11051
- refactor: run built-in agents through runtime sessions by @Soulter in #11052
- feat: add profile-scoped subagent management by @Soulter in #11053
- fix(anthropic): concatenate multiple text blocks in non-streaming responses by @pcbeingused333 in #11057
- fix(dashboard): add spacing beside the settings scrollbar by @RC-CHN in #11070
- chore(deps): bump the github-actions group with 3 updates by @dependabot[bot] in #11068
- feat(plugin-config): collapsible config groups with a collapsed schema flag by @XTsat in #11067
- docs: clarify bubblewrap version requirement for computer sandbox availability check by @mantoujun12 in #11061
- feat(provider): add OpenAI Decisions API decision provider by @wcqqq1214 in #10968
- fix(aiocqhttp): segment streaming replies incrementally by @sunrioa in #10989
- feat(dashboard): add sidebar chat navigation and fading scrollbars by @Soulter in #11090
- feat: unify session configuration mappings and overrides by @Soulter in #11097
- feat(dashboard): replace welcome page with overview by @Soulter in #11100
- fix(dashboard): soften ripples with Material You motion by @Soulter in #11102
- fix(dashboard): reorder AI capabilities by @Soulter in #11103
- fix(dashboard): center chat title and unify menu and dialog styling by @Soulter in #11107
- fix: skip subagents with unavailable runtimes by @Soulter in #11128
- refactor: migration to event log backend for conversation storage by @Soulter in #10077
- fix: allow removing unavailable agent configurations by @Soulter in #11147
- fix(dashboard): refine sidebar corners and chat hover color by @Soulter in #11149
- fix(dashboard): align command search box corner radius by @mantoujun12 in #11136
- fix: remove discontinued NapCat deployment guidance by @lingyun14beta in #11110
- feat(agent): add metadata to programmatic turns by @Soulter in #11148
- feat: add DeepSeek STT and TTS providers by @wcqqq1214 in #11118
- chore(dashboard): upgrade Markdown rendering dependencies by @Simon-He95 in #11138
- fix: remove default tool call prompt injection by @Soulter in #11152
- feat: expose prepared agent outputs and honor delivery policy by @Soulter in #11153
- docs: streamline guides updated since v4.29.4 by @Soulter in #11154
- fix: append steering input as user messages by @Soulter in #11141
- refactor: persist model usage with assistant messages by @Soulter in #11158
- fix: persist assistant tool calls before execution by @Soulter in #11162
- chore: bump version to 4.30.0-alpha.1 by @Soulter in #11140
New Contributors
- @wozhenbang2004 made their first contribution in #10877
- @sciman-top made their first contribution in #10922
- @pcbeingused333 made their first contribution in #10828
- @rudycelekli made their first contribution in #10715
- @sunrioa made their first contribution in #10989
Full Changelog: v4.29.4...v4.30.0-alpha.1