Ocetars 7fa71c538e feat(command-management): 新增指令层级管理与UI展示
- 【后端】
  - `CommandDescriptor` 新增 `parent_group_handler` 和 `sub_commands` 字段,支持指令层级结构定义。
  - `list_commands` 函数重构,实现指令的层级收集与构建,将子指令正确挂载到其父指令组下。
  - 新增 `_collect_all_descriptors` 和 `_find_parent_group_handler` 辅助函数,用于全面收集指令并定位父指令组。
  - `_build_descriptor` 优化指令类型判断逻辑,明确区分普通指令、指令组和子指令。
  - `_descriptor_to_dict` 递归处理子指令,确保 API 返回完整的指令层级数据。
- 【前端】
  - 指令管理页面 (`CommandPage.vue`) 增加指令类型筛选器,并支持指令组的展开/折叠功能。
  - 表格展示优化,为指令组和子指令添加不同的样式和缩进,提升层级结构的视觉可读性。
  - 指令详情对话框新增指令类型、所属指令组和子指令列表的展示。
  - 更新 `CommandItem` 接口,以适配后端提供的层级数据结构。
- 【i18n】
  - 新增指令类型(指令、指令组、子指令)的国际化文本。
  - 更新指令管理相关 UI 文本,包括表格头部、详情对话框字段和筛选器选项。
2025-12-03 17:58:52 +08:00
2025-12-01 18:42:07 +08:00
2025-11-07 15:41:03 +08:00
2025-05-01 20:32:05 +08:00
2023-04-15 15:33:00 +08:00
2025-11-07 15:41:03 +08:00
2025-02-24 00:31:57 +08:00
2025-12-01 18:42:07 +08:00
2025-11-22 18:57:08 +08:00

AstrBot-Logo-Simplified

AstrBot is an open-source all-in-one Agent chatbot platform and development framework.

Key Features

  1. LLM Conversations. Supports integration with various large language model services. Features include multimodal capabilities, tool calling, MCP, native knowledge base, character personas, and more.
  2. Multi-Platform Support. Integrates with QQ, WeChat Work, WeChat Official Accounts, Feishu, Telegram, DingTalk, Discord, KOOK, and other platforms. Supports rate limiting, whitelisting, and Baidu content moderation.
  3. Agent Capabilities. Fully optimized agentic features including multi-turn tool calling, built-in sandboxed code executor, web search, and more.
  4. Plugin Extensions. Deeply optimized plugin mechanism supporting plugin development to extend functionality, with a rich community plugin ecosystem.
  5. Web UI. Visual configuration and management of your bot with comprehensive features.

Deployment Methods

We recommend deploying AstrBot using Docker or Docker Compose.

Please refer to the official documentation: Deploy AstrBot with Docker.

BT-Panel Deployment

AstrBot has partnered with BT-Panel and is now available in their marketplace.

Please refer to the official documentation: BT-Panel Deployment.

1Panel Deployment

AstrBot has been officially listed on the 1Panel marketplace.

Please refer to the official documentation: 1Panel Deployment.

Deploy on RainYun

AstrBot has been officially listed on RainYun's cloud application platform with one-click deployment.

Deploy on RainYun

Deploy on Replit

Community-contributed deployment method.

Run on Repl.it

Windows One-Click Installer

Please refer to the official documentation: Deploy AstrBot with Windows One-Click Installer.

CasaOS Deployment

Community-contributed deployment method.

Please refer to the official documentation: CasaOS Deployment.

Manual Deployment

First, install uv:

pip install uv

Install AstrBot via Git Clone:

git clone https://github.com/AstrBotDevs/AstrBot && cd AstrBot
uv run main.py

Or refer to the official documentation: Deploy AstrBot from Source.

🌍 Community

QQ Groups

  • Group 1: 322154837
  • Group 3: 630166526
  • Group 5: 822130018
  • Group 6: 753075035
  • Developer Group: 975206796

Telegram Group

Telegram_community

Discord Server

Discord_community

Supported Messaging Platforms

Officially Maintained

  • QQ (Official Platform & OneBot)
  • Telegram
  • WeChat Work Application & WeChat Work Intelligent Bot
  • WeChat Customer Service & WeChat Official Accounts
  • Feishu (Lark)
  • DingTalk
  • Slack
  • Discord
  • Satori
  • Misskey
  • WhatsApp (Coming Soon)
  • LINE (Coming Soon)

Community Maintained

Supported Model Services

LLM Services

LLMOps Platforms

  • Dify
  • Alibaba Cloud Bailian Applications
  • Coze

Speech-to-Text Services

  • OpenAI Whisper
  • SenseVoice

Text-to-Speech Services

  • OpenAI TTS
  • Gemini TTS
  • GPT-Sovits-Inference
  • GPT-Sovits
  • FishAudio
  • Edge TTS
  • Alibaba Cloud Bailian TTS
  • Azure TTS
  • Minimax TTS
  • Volcano Engine TTS

❤️ Contributing

Issues and Pull Requests are always welcome! Feel free to submit your changes to this project :)

How to Contribute

You can contribute by reviewing issues or helping with pull request reviews. Any issues or PRs are welcome to encourage community participation. Of course, these are just suggestions—you can contribute in any way you like. For adding new features, please discuss through an Issue first.

Development Environment

AstrBot uses ruff for code formatting and linting.

git clone https://github.com/AstrBotDevs/AstrBot
pip install pre-commit
pre-commit install

❤️ Special Thanks

Special thanks to all Contributors and plugin developers for their contributions to AstrBot ❤️

Additionally, the birth of this project would not have been possible without the help of the following open-source projects:

Star History

Tip

If this project has helped you in your life or work, or if you're interested in its future development, please give the project a Star. It's the driving force behind maintaining this open-source project <3

Star History Chart

私は、高性能ですから!

S
Description
No description provided
Readme AGPL-3.0 65 MiB
Languages
Python 69.1%
Vue 25.4%
TypeScript 3.4%
JavaScript 1.4%
Shell 0.3%
Other 0.4%