Files
Estrella Pan 124b156b7a fix: 修复 4.0 工具链升级审查问题
- ab-plugin new 与示例插件的 requires-python 改为 >=3.14,与 SDK 0.6.0 一致
- 示例插件 ntfy-notifier / webhook-on-event 改用 httpx2
- openai / anthropic / google-genai 下限改为实际需要的大版本
- 插件 MCP 工具的 input_schema 无效时计入熔断
- 复制 RSS 链接在 HTTP 部署下回退到 execCommand(useClipboard legacy)
- CI 步骤名、PLAYWRIGHT_VERSION、README 徽章与 e2e 指南改为 Python 3.14 / Playwright 1.64.1
2026-10-20 12:12:58 +02:00
..
…

事件 Webhook(示例插件)

把选中的事件以 JSON POST 到一个 URL。演示:

  • @subscribe("*") 订阅全部事件,按配置过滤
  • config_model(WebUI 自动生成表单)与 secret_field(密码框、读取时掩码)
  • 用 ab_sdk.testing.create_plugin 在不启动 AutoBangumi 的情况下测试

安装

cp -r examples/plugins/webhook-on-event config/plugins/local/

在「设置 → 插件」中开启「允许未签名插件」,启用并填写地址。

测试

cd examples/plugins/webhook-on-event && uv run pytest