Skip to content

Commit 82fafb2

Browse files
committed
Merge remote-tracking branch 'upstream/master' into fix/qqofficial-message-length-split
# Conflicts: # astrbot/core/platform/sources/qqofficial/qqofficial_message_event.py
2 parents 2826732 + fe22f75 commit 82fafb2

130 files changed

Lines changed: 4904 additions & 897 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: checkout
1414
uses: actions/checkout@v7
1515
- name: Setup pnpm
16-
uses: pnpm/action-setup@v6.0.9
16+
uses: pnpm/action-setup@v6.0.10
1717
with:
1818
version: 10.28.2
1919
- name: Setup Node.js

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
# Initializes the CodeQL tools for scanning.
6262
- name: Initialize CodeQL
63-
uses: github/codeql-action/init@v4.37.4
63+
uses: github/codeql-action/init@v4.37.6
6464
with:
6565
languages: ${{ matrix.language }}
6666
build-mode: ${{ matrix.build-mode }}
@@ -88,6 +88,6 @@ jobs:
8888
exit 1
8989
9090
- name: Perform CodeQL Analysis
91-
uses: github/codeql-action/analyze@v4.37.4
91+
uses: github/codeql-action/analyze@v4.37.6
9292
with:
9393
category: "/language:${{matrix.language}}"

.github/workflows/dashboard_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v7
1616

1717
- name: Setup pnpm
18-
uses: pnpm/action-setup@v6.0.9
18+
uses: pnpm/action-setup@v6.0.10
1919
with:
2020
version: 10.28.2
2121

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
echo "tag=$tag" >> "$GITHUB_OUTPUT"
5252
5353
- name: Setup pnpm
54-
uses: pnpm/action-setup@v6.0.9
54+
uses: pnpm/action-setup@v6.0.10
5555
with:
5656
version: 10.28.2
5757

README.md

Lines changed: 5 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -54,24 +54,13 @@ AstrBot is an open-source all-in-one Agent chatbot platform that integrates with
5454
8. 🌈 Web ChatUI Support with built-in agent sandbox and web search.
5555
9. 🌐 Internationalization (i18n) Support.
5656

57-
<br>
57+
## Quick Start
5858

59-
<table align="center">
60-
<tr align="center">
61-
<th>💙 Role-playing & Emotional Companionship</th>
62-
<th>✨ Proactive Agent</th>
63-
<th>🚀 General Agentic Capabilities</th>
64-
<th>🧩 1000+ Community Plugins</th>
65-
</tr>
66-
<tr>
67-
<td align="center"><p align="center"><img width="984" height="1746" alt="99b587c5d35eea09d84f33e6cf6cfd4f" src="https://github.com/user-attachments/assets/89196061-3290-458d-b51f-afa178049f84" /></p></td>
68-
<td align="center"><p align="center"><img width="976" height="1612" alt="c449acd838c41d0915cc08a3824025b1" src="https://github.com/user-attachments/assets/f75368b4-e022-41dc-a9e0-131c3e73e32e" /></p></td>
69-
<td align="center"><p align="center"><img width="974" height="1732" alt="image" src="https://github.com/user-attachments/assets/e22a3968-87d7-4708-a7cd-e7f198c7c32e" /></p></td>
70-
<td align="center"><p align="center"><img width="976" height="1734" alt="image" src="https://github.com/user-attachments/assets/0952b395-6b4a-432a-8a50-c294b7f89750" /></p></td>
71-
</tr>
72-
</table>
59+
### One-Click Cloud Deployment (RainYun)
7360

74-
## Quick Start
61+
For users who want one-click 24-hour-online deployment and do not want to manage servers themselves, we recommend RainYun's one-click cloud deployment service ☁️:
62+
63+
[![Deploy on RainYun](https://rainyun-apps.cn-nb1.rains3.com/materials/deploy-on-rainyun-en.svg)](https://app.rainyun.com/apps/rca/store/5994?ref=NjU1ODg0)
7564

7665
### One-Click Deployment
7766

@@ -93,12 +82,6 @@ Update `astrbot`:
9382
uv tool upgrade astrbot --python 3.12
9483
```
9584

96-
### One-Click Cloud Deployment (RainYun)
97-
98-
For users who want one-click deployment and do not want to manage servers themselves, we recommend RainYun's one-click cloud deployment service ☁️:
99-
100-
[![Deploy on RainYun](https://rainyun-apps.cn-nb1.rains3.com/materials/deploy-on-rainyun-en.svg)](https://app.rainyun.com/apps/rca/store/5994?ref=NjU1ODg0)
101-
10285
### Docker Deployment
10386

10487
For users familiar with containers and looking for a more stable, production-ready deployment method, we recommend deploying AstrBot with Docker / Docker Compose.
@@ -117,22 +100,6 @@ For desktop users who also want fast deployment and isolated multi-instance usag
117100

118101
Visit [AstrBot Launcher](https://github.com/Raven95676/astrbot-launcher) to download and install.
119102

120-
### Deploy on Replit
121-
122-
Replit deployment is maintained by the community and is suitable for online demos and lightweight trials.
123-
124-
[![Run on Repl.it](https://repl.it/badge/github/AstrBotDevs/AstrBot)](https://repl.it/github/AstrBotDevs/AstrBot)
125-
126-
### AUR
127-
128-
AUR deployment targets Arch Linux users who prefer installing AstrBot through the system package workflow.
129-
130-
Run the command below to install `astrbot-git`, then start AstrBot in your local environment.
131-
132-
```bash
133-
yay -S astrbot-git
134-
```
135-
136103
**More deployment methods**
137104

138105
If you need panel-based management or deeper customization, see [BT-Panel Deployment](https://docs.astrbot.app/deploy/astrbot/btpanel.html) for BT Panel app-store setup, [1Panel Deployment](https://docs.astrbot.app/deploy/astrbot/1panel.html) for 1Panel app-market deployment, [CasaOS Deployment](https://docs.astrbot.app/deploy/astrbot/casaos.html) for NAS/home-server visual deployment, and [Manual Deployment](https://docs.astrbot.app/deploy/astrbot/cli.html) for fully custom source-based installation with `uv`.

README_es.md

Lines changed: 22 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<div>
2323
<img src="https://img.shields.io/github/v/release/AstrBotDevs/AstrBot?color=76bad9" href="https://github.com/AstrBotDevs/AstrBot/releases/latest">
24-
<img src="https://img.shields.io/badge/python-3.10+-blue.svg" alt="python">
24+
<img src="https://img.shields.io/badge/python-3.12+-blue.svg" alt="python">
2525
<img src="https://deepwiki.com/badge.svg" href="https://deepwiki.com/AstrBotDevs/AstrBot">
2626
<a href="https://zread.ai/AstrBotDevs/AstrBot" target="_blank"><img src="https://img.shields.io/badge/Ask_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTYxNTYgMS42MDAxSDIuMjQxNTZDMS44ODgxIDEuNjAwMSAxLjYwMTU2IDEuODg2NjQgMS42MDE1NiAyLjI0MDFWNC45NjAxQzEuNjAxNTYgNS4zMTM1NiAxLjg4ODEgNS42MDAxIDIuMjQxNTYgNS42MDAxSDQuOTYxNTZDNS4zMTUwMiA1LjYwMDEgNS42MDE1NiA1LjMxMzU2IDUuNjAxNTYgNC45NjAxVjIuMjQwMUM1LjYwMTU2IDEuODg2NjQgNS4zMTUwMiAxLjYwMDEgNC45NjE1NiAxLjYwMDFaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00Ljk2MTU2IDEwLjM5OTlIMi4yNDE1NkMxLjg4ODEgMTAuMzk5OSAxLjYwMTU2IDEwLjY4NjQgMS42MDE1NiAxMS4wMzk5VjEzLjc1OTlDMS42MDE1NiAxNC4xMTM0IDEuODg4MSAxNC4zOTk5IDIuMjQxNTYgMTQuMzk5OUg0Ljk2MTU2QzUuMzE1MDIgMTQuMzk5OSA1LjYwMTU2IDE0LjExMzQgNS42MDE1NiAxMy43NTk5VjExLjAzOTlDNS42MDE1NiAxMC42ODY0IDUuMzE1MDIgMTAuMzk5OSA0Ljk2MTU2IDEwLjM5OTlaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik0xMy43NTg0IDEuNjAwMUgxMS4wMzg0QzEwLjY4NSAxLjYwMDEgMTAuMzk4NCAxLjg4NjY0IDEwLjM5ODQgMi4yNDAxVjQuOTYwMUMxMC4zOTg0IDUuMzEzNTYgMTAuNjg1IDUuNjAwMSAxMS4wMzg0IDUuNjAwMUgxMy43NTg0QzE0LjExMTkgNS42MDAxIDE0LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff" alt="zread"/></a>
2727
<a href="https://hub.docker.com/r/soulter/astrbot"><img alt="Docker pull" src="https://img.shields.io/docker/pulls/soulter/astrbot.svg?color=76bad9"/></a>
@@ -54,27 +54,20 @@ AstrBot es una plataforma de chatbot Agent todo en uno de código abierto que se
5454
8. 🌈 Soporte de Web ChatUI con Agent Sandbox integrado y búsqueda web.
5555
9. 🌐 Soporte de internacionalización (i18n).
5656

57-
<br>
57+
## Inicio rápido
5858

59-
<table align="center">
60-
<tr align="center">
61-
<th>💙 Juego de roles y compañía emocional</th>
62-
<th>✨ Agent proactivo</th>
63-
<th>🚀 Capacidades Agentic generales</th>
64-
<th>🧩 Más de 1000 plugins de la comunidad</th>
65-
</tr>
66-
<tr>
67-
<td align="center"><p align="center"><img width="984" height="1746" alt="99b587c5d35eea09d84f33e6cf6cfd4f" src="https://github.com/user-attachments/assets/89196061-3290-458d-b51f-afa178049f84" /></p></td>
68-
<td align="center"><p align="center"><img width="976" height="1612" alt="c449acd838c41d0915cc08a3824025b1" src="https://github.com/user-attachments/assets/f75368b4-e022-41dc-a9e0-131c3e73e32e" /></p></td>
69-
<td align="center"><p align="center"><img width="974" height="1732" alt="image" src="https://github.com/user-attachments/assets/e22a3968-87d7-4708-a7cd-e7f198c7c32e" /></p></td>
70-
<td align="center"><p align="center"><img width="976" height="1734" alt="image" src="https://github.com/user-attachments/assets/0952b395-6b4a-432a-8a50-c294b7f89750" /></p></td>
71-
</tr>
72-
</table>
59+
### Despliegue en la nube con un clic (RainYun)
7360

74-
## Inicio rápido
61+
Para usuarios que desean desplegar AstrBot con un clic, mantenerlo en línea las 24 horas y no quieren administrar servidores por sí mismos, recomendamos el servicio de despliegue en la nube con un clic de RainYun ☁️:
62+
63+
[![Desplegar en RainYun](https://rainyun-apps.cn-nb1.rains3.com/materials/deploy-on-rainyun-en.svg)](https://app.rainyun.com/apps/rca/store/5994?ref=NjU1ODg0)
7564

7665
### Despliegue en un clic
7766

67+
> [!NOTE]
68+
> Requiere tener [uv](https://docs.astral.sh/uv/) instalado.
69+
> Para usuarios de macOS: debido a las comprobaciones de seguridad de macOS, la primera ejecución del comando `astrbot` puede tardar más (aproximadamente 10-20s).
70+
7871
Para los usuarios que quieran experimentar AstrBot rápidamente, estén familiarizados con el uso de la línea de comandos y puedan instalar un entorno `uv` por su cuenta, recomendamos el método de despliegue en un clic con `uv` ⚡️:
7972

8073
```bash
@@ -83,33 +76,18 @@ astrbot init # Ejecuta este comando solo la primera vez para inicializar el ento
8376
astrbot run
8477
```
8578

86-
> Requiere tener [uv](https://docs.astral.sh/uv/) instalado.
87-
> AstrBot requiere Python 3.12 o superior. La opción `--python 3.12` asegura que `uv` cree el entorno de la herramienta con Python 3.12.
88-
89-
> [!NOTE]
90-
> Para usuarios de macOS: debido a las comprobaciones de seguridad de macOS, la primera ejecución del comando `astrbot` puede tardar más (aproximadamente 10-20s).
91-
9279
Actualizar `astrbot`:
9380

9481
```bash
9582
uv tool upgrade astrbot --python 3.12
9683
```
9784

98-
> [!WARNING]
99-
> AstrBot desplegado mediante `uv` **no soporta la actualización a través de la WebUI**. Para actualizar, ejecuta el comando anterior desde la línea de comandos.
100-
10185
### Despliegue con Docker
10286

10387
Para usuarios familiarizados con contenedores y que buscan un método de despliegue más estable y listo para producción, recomendamos desplegar AstrBot con Docker / Docker Compose.
10488

10589
Consulta la documentación oficial: [Desplegar AstrBot con Docker](https://docs.astrbot.app/deploy/astrbot/docker.html#%E4%BD%BF%E7%94%A8-docker-%E9%83%A8%E7%BD%B2-astrbot).
10690

107-
### Desplegar en RainYun
108-
109-
Para usuarios que desean un despliegue en un clic y no quieren administrar servidores por sí mismos, recomendamos el servicio de despliegue en la nube en un clic de RainYun ☁️:
110-
111-
[![Desplegar en RainYun](https://rainyun-apps.cn-nb1.rains3.com/materials/deploy-on-rainyun-en.svg)](https://app.rainyun.com/apps/rca/store/5994?ref=NjU1ODg0)
112-
11391
### Despliegue como aplicación de escritorio
11492

11593
Para usuarios que quieran usar AstrBot en el escritorio y principalmente usen ChatUI, recomendamos AstrBot App.
@@ -122,25 +100,19 @@ Para usuarios de escritorio que también desean un despliegue rápido y uso aisl
122100

123101
Visita [AstrBot Launcher](https://github.com/Raven95676/astrbot-launcher) para descargar e instalar.
124102

125-
### Desplegar en Replit
126-
127-
El despliegue en Replit es mantenido por la comunidad y es adecuado para demostraciones en línea y pruebas ligeras.
128-
129-
[![Ejecutar en Repl.it](https://repl.it/badge/github/AstrBotDevs/AstrBot)](https://repl.it/github/AstrBotDevs/AstrBot)
130-
131-
### AUR
132-
133-
El despliegue mediante AUR está dirigido a usuarios de Arch Linux que prefieren instalar AstrBot a través del flujo de trabajo de paquetes del sistema.
103+
**Más métodos de despliegue**
134104

135-
Ejecuta el siguiente comando para instalar `astrbot-git`, luego inicia AstrBot en tu entorno local.
105+
Si necesitas gestión basada en panel o una personalización más profunda, consulta [Despliegue con BT-Panel](https://docs.astrbot.app/deploy/astrbot/btpanel.html) para la configuración desde la tienda de aplicaciones de BT Panel, [Despliegue con 1Panel](https://docs.astrbot.app/deploy/astrbot/1panel.html) para el despliegue desde el mercado de aplicaciones de 1Panel, [Despliegue con CasaOS](https://docs.astrbot.app/deploy/astrbot/casaos.html) para despliegue visual en NAS/servidor doméstico, y [Despliegue manual](https://docs.astrbot.app/deploy/astrbot/cli.html) para una instalación completamente personalizada desde el código fuente con `uv`.
136106

137-
```bash
138-
yay -S astrbot-git
139-
```
107+
## ❤️ Patrocinadores
140108

141-
**Más métodos de despliegue**
109+
Puedes patrocinarnos a través de [Afdian](https://afdian.com/a/astrbot_team) o [contactarnos por correo](mailto:community@astrbot.app).
142110

143-
Si necesitas gestión basada en panel o una personalización más profunda, consulta [Despliegue con BT-Panel](https://docs.astrbot.app/deploy/astrbot/btpanel.html) para la configuración desde la tienda de aplicaciones de BT Panel, [Despliegue con 1Panel](https://docs.astrbot.app/deploy/astrbot/1panel.html) para el despliegue desde el mercado de aplicaciones de 1Panel, [Despliegue con CasaOS](https://docs.astrbot.app/deploy/astrbot/casaos.html) para despliegue visual en NAS/servidor doméstico, y [Despliegue manual](https://docs.astrbot.app/deploy/astrbot/cli.html) para una instalación completamente personalizada desde el código fuente con `uv`.
111+
<p align="center">
112+
<a target="_blank" href="https://astrbot.app/#/sponsors">
113+
<img alt="sponsors" src="https://sponsors.astrbot.app/?v=1">
114+
</a>
115+
</p>
144116

145117
## Plataformas de mensajería soportadas
146118

@@ -205,13 +177,6 @@ Conecta AstrBot a tu plataforma de chat favorita.
205177
| Xiaomi MiMo TTS | Servicios de texto a voz |
206178
| Volcano Engine TTS | Servicios de texto a voz |
207179

208-
## ❤️ Patrocinadores
209-
210-
<p align="center">
211-
<img alt="sponsors" src="https://sponsors.astrbot.app/?v=1">
212-
</p>
213-
214-
215180
## ❤️ Contribuir
216181

217182
¡Issues y Pull Requests son siempre bienvenidos! No dudes en enviar tus cambios a este proyecto :)
@@ -235,22 +200,7 @@ pre-commit install
235200

236201
### Grupos de QQ
237202

238-
- Grupo 1: 322154837 (Lleno)
239-
- Grupo 3: 630166526 (Lleno)
240-
- Grupo 4: 1077826412 (Lleno)
241-
- Grupo 5: 822130018 (Lleno)
242-
- Grupo 6: 753075035 (Lleno)
243-
- Grupo 7: 743746109 (Lleno)
244-
- Grupo 8: 1030353265 (Lleno)
245-
- Grupo 9: 1076659624 (Lleno)
246-
- Grupo 10: 1078079676 (Lleno)
247-
- Grupo 11: 704659519 (Lleno)
248-
- Grupo 12: 916228568 (Lleno)
249-
- Grupo 13: 1092185289
250-
- Grupo 14: 1103419483
251-
252-
- Grupo de desarrolladores (Charla): 975206796
253-
- Grupo de desarrolladores (Formal): 1039761811
203+
Tenemos más de 15 grupos de chat; consulta la [comunidad](https://docs.astrbot.app/community.html) para obtener más información.
254204

255205
### Servidor de Discord
256206

@@ -264,9 +214,10 @@ Un agradecimiento especial a todos los contribuidores y desarrolladores de plugi
264214
<img src="https://contrib.rocks/image?repo=AstrBotDevs/AstrBot&max=300&columns=15" />
265215
</a>
266216

267-
Además, el nacimiento de este proyecto no habría sido posible sin la ayuda de los siguientes proyectos de código abierto:
217+
Amigos del código abierto ❤️
268218

269219
- [NapNeko/NapCatQQ](https://github.com/NapNeko/NapCatQQ) - El increíble framework felino
220+
- [Mai-with-u/MaiBot](https://github.com/Mai-with-u/MaiBot) - ¡La poderosa «vida digital» en QQ!
270221

271222
## ⭐ Historial de estrellas
272223

0 commit comments

Comments
 (0)