Stream ntfy notifications to app clients over /connect
Record every notification published to ntfy (run outbox, stage notify hooks, chat question/approval/reply) in a persisted app_notifications outbox and stream it to subscribe_notifications clients with an after cursor; clear_notifications and ack_attention clear across devices, as do runs leaving waiting, deleted runs and answered chat questions. Add the notify.ntfy_enabled setting (default on) to stop only the ntfy publish.
This commit is contained in:
+6
-1
@@ -319,7 +319,12 @@ and matched field. `list_runs` also returns all-history `usage`
|
||||
aggregates. `attention_acks` reads and `ack_attention` adds to the operator's
|
||||
shared in-app acknowledgements (dismissed Needs-you entries and chat read
|
||||
watermarks; see [ntfy.md](ntfy.md#clearing-notifications-across-devices)); other
|
||||
connections receive an `attention_acks_changed` push.
|
||||
connections receive an `attention_acks_changed` push. `subscribe_notifications`
|
||||
(optional `after` cursor) streams the same notifications the server publishes to
|
||||
ntfy as `notification` pushes, `clear_notifications` (`ids`) clears them on every
|
||||
device, and `notifications_cleared` reports clears; `ntfy_enabled` in the
|
||||
notification settings turns the ntfy publish off without stopping the stream (see
|
||||
[ntfy.md](ntfy.md#app-notification-stream-no-ntfy-app-needed)).
|
||||
|
||||
Every run summary (`list_runs` rows, `get_run`, subscribe snapshots and terminal
|
||||
`run_event` frames) carries `size_bytes`: bytes on disk for the run (artifact tree
|
||||
|
||||
Reference in New Issue
Block a user