diff --git a/CHANGELOG.md b/CHANGELOG.md index f09f69b709e..80fd6a5f996 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,7 @@ Docs: https://docs.openclaw.ai - CLI sessions: keep provider-owned CLI sessions through implicit daily expiry while preserving explicit reset behavior, and retain Claude CLI binding metadata across gateway agent requests. (#70106) Thanks @obviyus. - fix(config): accept truncateAfterCompaction (#68395). Thanks @MonkeyLeeT - CLI/Claude: keep Claude CLI session bindings stable across OAuth access-token refreshes, so gateway restarts continue the same Claude conversation instead of minting a fresh one. (#70132) Thanks @obviyus. +- QQBot: add `INTERACTION` intent (`1 << 26`) to the gateway constants and include it in the `FULL_INTENTS` mask so interaction events are received. (#70143) Thanks @cxyhhhhh. ## 2026.4.21 diff --git a/extensions/qqbot/src/engine/gateway/constants.ts b/extensions/qqbot/src/engine/gateway/constants.ts index e2f669fb9e4..3d1620eda5a 100644 --- a/extensions/qqbot/src/engine/gateway/constants.ts +++ b/extensions/qqbot/src/engine/gateway/constants.ts @@ -12,11 +12,15 @@ const INTENTS = { PUBLIC_GUILD_MESSAGES: 1 << 30, DIRECT_MESSAGE: 1 << 12, GROUP_AND_C2C: 1 << 25, + INTERACTION: 1 << 26, } as const; -/** Full intent mask: groups + DMs + channels. */ +/** Full intent mask: groups + DMs + channels + interaction. */ export const FULL_INTENTS = - INTENTS.PUBLIC_GUILD_MESSAGES | INTENTS.DIRECT_MESSAGE | INTENTS.GROUP_AND_C2C; + INTENTS.PUBLIC_GUILD_MESSAGES | + INTENTS.DIRECT_MESSAGE | + INTENTS.GROUP_AND_C2C | + INTENTS.INTERACTION; /** Exponential backoff delays for reconnection attempts (ms). */ export const RECONNECT_DELAYS = [1000, 2000, 5000, 10000, 30000, 60000] as const;