fix: preserve slack hook alert content

This commit is contained in:
amsminn
2026-05-02 14:38:07 +09:00
committed by Peter Steinberger
parent d7ab2c4c41
commit 177fb7e84d
4 changed files with 39 additions and 9 deletions

View File

@@ -114,7 +114,7 @@ Each event includes: `type`, `action`, `sessionKey`, `timestamp`, `messages` (pu
**Command events** (`command:new`, `command:reset`): `context.sessionEntry`, `context.previousSessionEntry`, `context.commandSource`, `context.workspaceDir`, `context.cfg`.
**Message events** (`message:received`): `context.from`, `context.content`, `context.channelId`, `context.metadata` (provider-specific data including `senderId`, `senderName`, `guildId`).
**Message events** (`message:received`): `context.from`, `context.content`, `context.channelId`, `context.metadata` (provider-specific data including `senderId`, `senderName`, `guildId`). `context.content` prefers a nonblank command body for command-like messages, then falls back to the raw inbound body and generic body; it does not include agent-only enrichment such as thread history or link summaries.
**Message events** (`message:sent`): `context.to`, `context.content`, `context.success`, `context.channelId`.