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:
2026-12-02 15:44:39 +00:00
parent 3e817a189b
commit c8541f29b7
11 changed files with 195 additions and 47 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// Package chattools is the harness-neutral half of the Pipelines chat tools:
// the MCP server a chat's model calls to show the operator a file, an image or
// an HTML view, or to notify their phone. The tools act on Pipelines itself,
// an HTML view, or to notify them. The tools act on Pipelines itself,
// never on the harness or the workspace.
//
// The server (internal/server) owns tokens, persistence and the tool effects.