Files
hapi/docs/api
weishu 961f2fd0b2 fix(hub): stop pushing notifications for agent-internal task completions
Claude Code emits `system/task_notification` and injects
`<task-notification>` user messages when a background task finishes.
These are fed back to the model so it can continue; they are not
user-facing turn boundaries. The hub treated them as events and sent an
extra "Task completed / Task failed" notification on every channel
(Web Push/toast, FCM, APNs, Telegram, ServerChan) on top of the Ready
notification that follows once the agent finishes reacting.

Remove the task notification pipeline from the hub: parsing, dispatch,
the TaskNotification type, each channel's sendTaskNotification, and the
native composer's composeTask. Narrow the composed native type/severity
to what the hub emits. Chat timeline display of task summaries and the
background task count are unchanged.

Update the native contract, PWA, and ServerChan docs to match.
2026-11-10 17:11:28 +08:00
..