refactor(discord): internalize discord client

This commit is contained in:
Peter Steinberger
2026-04-29 13:22:15 +01:00
parent 20e2117371
commit f0adbd48e8
200 changed files with 16205 additions and 8341 deletions

View File

@@ -1103,11 +1103,11 @@ openclaw logs --follow
- `Slow listener detected ...`
- `stuck session: sessionKey=agent:...:discord:... state=processing ...`
Carbon gateway queue knobs:
Discord gateway queue knobs:
- single-account: `channels.discord.eventQueue.listenerTimeout`
- multi-account: `channels.discord.accounts.<accountId>.eventQueue.listenerTimeout`
- this only controls Carbon gateway listener work, not agent turn lifetime
- this only controls Discord gateway listener work, not agent turn lifetime
Discord does not apply a channel-owned timeout to queued agent turns. Message listeners hand off immediately, and queued Discord runs preserve per-session ordering until the session/tool/runtime lifecycle completes or aborts the work.