Files
gitea/pi-extension
pi-bot-01 1d85ab86ba feat: auto-detect pi-bot vs openclaw runtime for event delivery
- pi-bot: uses ctx.sendUserMessage (persistent session, followUp mode)
- openclaw: POSTs to /hooks/agent endpoint (request/response model)
- Detection: checks if ctx.sendUserMessage exists on session_start
- openclaw env vars: OPENCLAW_HOOKS_URL, OPENCLAW_HOOKS_PATH, OPENCLAW_HOOKS_TOKEN
- Same extension, tools, poller, and @mention routing work in both runtimes
2026-03-13 18:19:00 -07:00
..