feat(chat): support chat resources, implement chat-based remote discovery via resource messages

This commit is contained in:
Shivering Ocelot committed 2026-09-02 16:34:12 -05:00
1 parent da1420d04b
commit 30afcf2803
10 files changed
+142 -85

No files matched your search

+4
View File
@@ -152,6 +152,10 @@ class ChatMixin:
# Notification order depends on whether the content is a stream
async def notify_agents():
# Not all messages are visible to agents
if message.kind == "resource":
return
# Fetch participant agents
if tmp.is_tmp_id(chat_id):
agent_ids = self.tmp.chats[chat_id].participants