Files
linkliti b788eac6b0 feat(plugins): extract notify_user tool into _notify_user plugin
Move the notify_user tool, its prompt, and its framework message out of core tools and prompts, and add the plugin metadata, DOX, and WebUI badge into a dedicated _notify_user plugin so agent notifications ship as a standard plugin. The tool accepts normal and high priority names mapped to the shared notification priority enum, enforces a fixed 30 second toast time instead of an agent-supplied timeout, and logs its message as its own notify_user type with an icon://notifications Notifying user headline rendered through an NTF badge handler. The tool prompt gates notifications to a false or stale user picture: a dropped, replaced, or contradicted strategy, plan, or assumption the user has seen; starts, resumes, continuing, attempts, task end, and goal completion are excluded, and delegated work reports to its parent instead of notifying. The example shows a full request envelope with the title above the message.

Validation: pytest tests/test_notify_user_tool.py tests/test_tool_action_contracts.py tests/test_prompt_catalogs.py
2026-10-21 19:04:33 +03:00
..