feat(messages): add sender-side wake recipient override
Senders can now force the recipient agent to wake on receipt regardless of the recipient's `messageResponseMode`. Surfaced as a "Wake recipient immediately" checkbox in MessageComposer and as a `wake_recipient` boolean param on the `fn_send_message` agent tool. Carried as `metadata.wakeRecipient: true` on the message; the heartbeat hook treats forced wakes as `message_received_urgent` in the wake delta so agents can distinguish them from normal `messageResponseMode: immediate` wakes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
10
.changeset/wake-recipient-on-send.md
Normal file
10
.changeset/wake-recipient-on-send.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
"@runfusion/fusion": minor
|
||||
---
|
||||
|
||||
Add a sender-side "wake recipient immediately" override for messages. The
|
||||
message composer now offers a checkbox (when sending to an agent) and the
|
||||
`fn_send_message` agent tool gains a `wake_recipient` boolean parameter.
|
||||
When set, the recipient agent is woken on receipt regardless of their own
|
||||
`messageResponseMode` setting. Carried as `metadata.wakeRecipient: true` on
|
||||
the message; ignored when the recipient is a user.
|
||||
Reference in New Issue
Block a user