You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add message_react tool for AI-chosen emoji reactions
- Add `message_react` tool so agents can choose their own reaction emoji
instead of hardcoded lifecycle emojis
- Add `send_channel_reaction()` to KernelHandle trait and implement in kernel
- Inject [channel_context] header into messages so agents know channel,
recipient, and message_id for the react tool
- Remove hardcoded "done" reaction — agent chooses via tool call
- Keep hardcoded "error" reaction (agent can't react on failure)
- Update bridge integration tests for channel_context header in messages
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
description:"Add an emoji reaction to the incoming message on the current channel (Telegram, Discord, etc). Use this to react to user messages with a contextually appropriate emoji. The channel, recipient, and message_id are provided in the [channel_context] header of the incoming message.".to_string(),
1023
+
input_schema: serde_json::json!({
1024
+
"type":"object",
1025
+
"properties":{
1026
+
"channel":{"type":"string","description":"Channel name (e.g. 'telegram')"},
1027
+
"recipient":{"type":"string","description":"User/chat ID on the platform"},
1028
+
"message_id":{"type":"string","description":"Platform message ID to react to"},
1029
+
"emoji":{"type":"string","description":"Single emoji to react with (e.g. '❤️', '🎉', '👀'). For Telegram, must be from the supported set."}
0 commit comments