docs(discord-control): add runnable examples and smoke script

This commit is contained in:
2026-02-25 22:02:00 +00:00
parent f20728b02d
commit 8097ab7484
5 changed files with 137 additions and 2 deletions

View File

@@ -119,6 +119,18 @@ curl -sS http://127.0.0.1:8790/health
---
## Curl examples
示例文件:`docs/EXAMPLES.discord-control.json`
快速检查脚本:
```bash
./scripts/smoke-discord-control.sh
# with env
# AUTH_TOKEN=xxx CALLER_ID=agent-main GUILD_ID=123 CHANNEL_ID=456 ./scripts/smoke-discord-control.sh
```
## Notes
鉴权与内置风格对齐(简化版):