Notify: an agent's notify reaches every connected app
The notify tool now records a chat_notify app notification with its own id per call (no dedupe of repeated words) and the tool's priority, so every subscribed client gets it and a reconnecting client replays it. ntfy delivery is unchanged; the tool result names where it went. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -50,6 +50,9 @@ const (
|
||||
NotificationChatQuestion = "chat_question" // a chat asked a question
|
||||
NotificationChatApproval = "chat_approval" // a chat asks for permission/approval
|
||||
NotificationChatReply = "chat_reply" // a chat finished its reply
|
||||
// NotificationChatNotify is an agent's own notify tool call. Its priority
|
||||
// is the tool's: low 2, default 3, high 4.
|
||||
NotificationChatNotify = "chat_notify"
|
||||
)
|
||||
|
||||
// DefaultNotificationPriority is ntfy's default priority, which every ntfy
|
||||
|
||||
Reference in New Issue
Block a user