github AstrBotDevs/AstrBot v4.19.2

8 hours ago

What's Changed

新增

  • 集成 KOOK 平台适配器 (#5658)。
  • 新增 Discord pre-react Emoji 支持 (#5609)。
  • 新增 Telegram 支持 sendMessageDraft 流式实时输出 API (#5726)
  • 支持在 Agent 运行时进行消息跟进能力,跟进的消息实时注入给 Agent (#5484)。
  • 集成 DeerFlow Agent Runner 并优化流式处理 (#5581)。
  • 新增 shell, ipython tool 中包含操作系统信息,提高 windows 下 tool call 成功率 (#5677)。
  • Sandbox 支持 Shipyard-neo - 支持 Skills 自迭代 (#5028)。
  • 新增 ChatUI WebSocket 传输模式选择,OpenAPI Chat API 支持 WebSocket 连接 (#5410)。
  • 支持 Persona 自定义报错回复消息与兜底逻辑 (#5547)。
  • 将 WebUI 静态文件打包至 wheel,并将 astrbot CLI 日志替换为英文 (#5665)。
  • 增强聊天界面与移动端响应式体验 (#5635)。
  • 优化插件失败处理逻辑与扩展列表交互体验 (#5535)。

修复

  • 修复 MCP 初始化超时参数关键字不匹配的问题 (#5743)。
  • 修复 MCP 工具竞态条件导致"completion 无法解析"错误 (#5534)。
  • 修复 LINE 适配器中非 HTTPS URL 直接透传的问题 (#5697)。
  • 修复 WebUI 侧边栏自定义状态不稳定的问题 (#5670)。
  • 修复 KOOK 适配器收到消息和心跳响应时输出多余调试日志的问题。
  • 修复 DEMO_MODE 环境变量未正确解析为布尔值的问题 (#5676)。
  • 修复子 Agent 无法正确接收本地图片(参考图)路径的问题 (#5579)。
  • 修复 /model 命令切换至不同 Provider 模型时产生误导性行为的问题 (#5578)。
  • 修复对话记录中 UTC 时区偏移未处理导致时间戳异常的问题 (#5580)。
  • 修复备份导入时重复平台统计数据导致异常的问题 (#5594)。
  • 修复 max_agent_step 配置未应用到子 Agent 的问题 (#5608)。
  • 修复插件列表排序和搜索过滤逻辑 (#5559)。
  • 修复 uv sync 时未要求 Node.js 环境的问题。

What's Changed (EN)

New Features

  • Integrated KOOK platform adapter (#5658).
  • Integrated DeerFlow Agent Runner with optimized streaming support (#5581).
  • feat(telegram): supports sendMessageDraft API (#5726)
  • Integrated Neo skill self-iteration capability with full lifecycle management (candidate, release, deletion) via Shipyard Neo sandbox (#5028).
  • Added Discord pre-ack emoji support (#5609).
  • Added WebSocket transport mode selection for the chat interface (#5410).
  • Added OS information to tool descriptions with unit test coverage (#5677).
  • Added follow-up message handling in ToolLoopAgentRunner (#5484).
  • Added support for persona custom error reply messages with fallback logic (#5547).
  • Bundled WebUI static files into the wheel package and replaced astrbot CLI logs with English (#5665).
  • Optimized async IO performance and added benchmark coverage (#5737).
  • Refactored API key creation and added unit tests for open API routes.
  • Improved error messaging for AI execution failures in agent runners.
  • Enhanced chat interface and mobile responsiveness (#5635).
  • Improved plugin failure handling and extension list UX (#5535).

Bug Fixes

  • Fixed MCP initialization timeout keyword mismatch (#5743).
  • Fixed MCP tools race condition causing completion 无法解析 error (#5534).
  • Fixed LINE adapter allowing non-HTTPS URLs to pass through directly (#5697).
  • Fixed unstable sidebar customization state in WebUI (#5670).
  • Fixed excessive debug logging in KOOK adapter for received messages and heartbeat responses.
  • Fixed DEMO_MODE environment variable not being parsed correctly as a boolean (#5676).
  • Fixed sub-agent failing to correctly receive local image (reference image) paths (#5579).
  • Fixed misleading behavior of the /model command when switching to a model from a different provider (#5578).
  • Fixed unhandled UTC timezone offset causing incorrect timestamps in conversation records (#5580).
  • Fixed backup import failure due to duplicate platform stats entries (#5594).
  • Fixed max_agent_step config not being applied to sub-agents (#5608).
  • Fixed plugin list sorting and search filtering logic (#5559).
  • Fixed missing Node.js environment requirement during uv sync.

What's Changed

  • Feat/ipv6 by @LIghtJUNction in #4898
  • feat: implement follow-up message handling in ToolLoopAgentRunner by @Soulter in #5484
  • feat: implement websockets transport mode selection for chat by @Soulter in #5410
  • 可选后端,实现前后端分离 by @LIghtJUNction in #4899
  • Revert "可选后端,实现前后端分离" by @LIghtJUNction in #5536
  • feat: improve plugin failure handling and extension list UX by @zouyonghe in #5535
  • feat: support persona custom error reply message with fallback by @zouyonghe in #5547
  • fix: add plugin sorting by name and improve search filtering logic by @Flartiny in #5559
  • test: add tests for star base class and config management by @whatevertogo in #5356
  • test: add comprehensive tests for core lifecycle and agent execution by @whatevertogo in #5357
  • feat: 集成 DeerFlow Agent Runner 并优化流式处理 by @zouyonghe in #5581
  • fix: resolve unhandled UTC timezone offset for timestamps in conversation records by @WintryWind7 in #5580
  • fix:修正子agent无法正确接收本地图片(参考图)路径的问题 by @a61995987 in #5579
  • fix: resolve /model command misleading behavior when switching to model from different provider by @pandyzhou in #5578
  • fix: harden backup import for duplicate platform stats by @Clhikari in #5594
  • feat: 接入 Shipyard Neo 自迭代 Skill 闭环与管理能力 by @w31r4 in #5028
  • feat: enhance chat interface and mobile responsiveness by @Soulter in #5635
  • fix: apply max_agent_step config to subagents by @Copilot in #5608
  • feat: add Discord pre-ack emoji support by @Copilot in #5609
  • Fix/fix: resolve MCP tools race condition causing 'completion 无法解析' error by @idiotsj in #5534
  • refactor: bundled webui static files into wheel and replace astrbot cli log with English by @Soulter in #5665
  • feat: integrates KOOK platform adapter by @shuiping233 in #5658
  • fix(dashboard): 自定义侧边栏中错误展开“更多功能”页面问题 (#5405) by @catDforD in #5670
  • fix: only allow HTTPS URLs to pass through directly in LINE adapter by @KBVsent in #5697
  • chore(deps): bump the github-actions group with 2 updates by @dependabot[bot] in #5694
  • fix(core): correctly parse DEMO_MODE as boolean from env var. by @L-1ngg in #5676
  • feat: add OS information to tool descriptions and implement unit tests by @miaoxutao123 in #5677
  • unittest: 添加之前遗漏的kook_card_data.json by @shuiping233 in #5703

New Contributors

Full Changelog: v4.18.3...v4.19.2

Don't miss a new AstrBot release

NewReleases is sending notifications on new releases.