Skip to content

Commit f5420a2

Browse files
committed
Auto-merge upstream openclaw/openclaw
2 parents b63a688 + 608cfd3 commit f5420a2

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Docs: https://docs.openclaw.ai
4949
- 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.
5050
- fix(config): accept truncateAfterCompaction (#68395). Thanks @MonkeyLeeT
5151
- 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.
52+
- 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.
5253

5354
## 2026.4.21
5455

extensions/qqbot/src/engine/gateway/constants.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ const INTENTS = {
1212
PUBLIC_GUILD_MESSAGES: 1 << 30,
1313
DIRECT_MESSAGE: 1 << 12,
1414
GROUP_AND_C2C: 1 << 25,
15+
INTERACTION: 1 << 26,
1516
} as const;
1617

17-
/** Full intent mask: groups + DMs + channels. */
18+
/** Full intent mask: groups + DMs + channels + interaction. */
1819
export const FULL_INTENTS =
19-
INTENTS.PUBLIC_GUILD_MESSAGES | INTENTS.DIRECT_MESSAGE | INTENTS.GROUP_AND_C2C;
20+
INTENTS.PUBLIC_GUILD_MESSAGES |
21+
INTENTS.DIRECT_MESSAGE |
22+
INTENTS.GROUP_AND_C2C |
23+
INTENTS.INTERACTION;
2024

2125
/** Exponential backoff delays for reconnection attempts (ms). */
2226
export const RECONNECT_DELAYS = [1000, 2000, 5000, 10000, 30000, 60000] as const;

0 commit comments

Comments
 (0)