feat(FN-1949): add send_message and read_messages agent tools

- Add send_message tool factory for executor agents to send messages
- Add read_messages tool factory to retrieve agent inbox messages
- Update heartbeat to process pending messages during agent wake cycles
- Include message tools in executor agent tool context
- Add comprehensive unit tests for message tools
- Add heartbeat message processing tests
- Add end-to-end agent messaging test
- Create changeset for @gsxdsm/fusion package
This commit is contained in:
Fusion
2026-04-16 13:50:10 -07:00
committed by gsxdsm
parent 0bbdb87e55
commit c3e92cdec4
6 changed files with 857 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
"@gsxdsm/fusion": minor
---
Add send_message and read_messages tools for agent-to-agent communication. Heartbeat agents can now send and receive messages, enabling inter-agent messaging. When woken by incoming messages, heartbeat agents automatically process unread messages and can reply using the messaging tools.