letr c7d47add23 fix: simplify register_task completion handling (#27)
* fix: simplify register_task completion handling

Remove duplicated cancellation logging in Context.register_task while keeping Future inputs compatible with asyncio.create_task semantics. Add regression coverage for coroutine, Future, cancellation, and failure paths.

* fix: prioritize local src in tests_v4

Ensure tests_v4 always imports the working tree package by moving src to sys.path[0] even when another checkout or installed copy is already present.
2026-03-19 00:22:35 +08:00
2026-03-14 21:09:48 +08:00
2025-11-11 00:23:48 +08:00

AstrBot SDK

AstrBot 插件开发 SDK提供 v4 runtime、worker protocol 和插件工具链。

安装

pip install astrbot-sdk

开发安装

# 克隆仓库后
pip install -e .

# 或使用 uv
uv sync

目录结构

astrbot-sdk/
├── src/
│   └── astrbot_sdk/      # SDK 主包
├── pyproject.toml
└── README.md
Description
No description provided
Readme AGPL-3.0 160 MiB
Languages
Python 61.2%
Vue 19.5%
JavaScript 13.6%
TypeScript 4.8%
HTML 0.3%
Other 0.6%