mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-04 03:58:09 +00:00
Add matching catalog artwork for A2A Chat, Behavior Adjustment, Notify User, Scheduler, Search Engine, and Wait, completing thumbnail coverage for all 47 bundled plugins. Save each JPEG at 256x256 and below 20,000 bytes, and document the asset ownership in each plugin's DOX. Validation: checked image dimensions, encoding, and file sizes; verified catalog discovery, HTTP delivery, and live WebUI rendering.
2.2 KiB
2.2 KiB
Notify User Plugin DOX
Purpose
- Own the
notify_usertool for notifications while the chat runs on its own for a longer time.
Ownership
tools/notify_user.pyowns argument validation and dispatch to the shared notification manager.- The tool logs its message as type
notify_userwith anicon://notifications Notifying user: <title>headline. extensions/webui/get_message_handler/owns thenotify_usermessage presentation with theNTFbadge.extensions/webui/get_process_step_types/registers thenotify_userprocess step type.extensions/webui/page-head/andwebui/css/own the badge accent styles.prompts/owns the tool prompt and the notification-sent framework message.plugin.yamlandREADME.mdown metadata and docs.webui/thumbnail.jpgowns the 256×256 plugin catalog artwork, kept below 20 KB.
Local Contracts
priorityadvertisesnormalandhighnames and also accepts legacy numeric values10and20, mapping both forms toNotificationPriority; unknown names and types return tool errors instead of raising.- The tool uses the shared
AgentContext.get_notification_manager(); it owns no notification storage of its own. - The WebUI handler registers only for the
notify_usermessage type and reusesdrawMessageToolSimplewith codeNTF. - Agent notifications use the longer 30 second display time so they survive brief chat switches.
prompts/agent.system.tool.notify_user.mdgates sends to a false or stale user picture: a dropped, replaced, or contradicted strategy, plan, or assumption the user has seen; start, resume, continue, attempt, task end, and goal completion are excluded, and delegated work reports to its parent.
Work Guidance
- Keep tool output concise, model-readable, and safe for history persistence.
- Coordinate argument or behavior changes with the tool prompt and the shared notification contract.
- Respect intervention flow before raising user-visible notifications.
Verification
- Import the tool in the framework runtime and run the tool contract tests after changes.
- Run
tests/test_notify_user_tool.pyfor the tool execution regression tests.
Child DOX Index
No child DOX files.