mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-30 03:35:47 +00:00
- split monolithic _10_system_prompt.py into focused extensions: main (10), tools (11), mcp (12), skills (13), secrets (13), project (14)
- each extension exposes a build_prompt() function with call_extensions_async hook for plugin extensibility
- move tool prompt collection from VariablesPlugin to _11_tools_prompt using subagents.get_paths for proper directory coverage
- add {{include original}} directive to process_includes allowing prompt inheritance without copy-paste
- add agent.system.main.specifics.md for subagent-specific additions without overriding entire role
- remove redundant plugin prompt extensions (_15_text_editor, _20_code_execution) that duplicated tool collection
- add _09_text_editor_config to register per-file kwargs via agent.data instead of VariablesPlugin in prompts dir
|
||
|---|---|---|
| .. | ||
| __main___init_a0_end | ||
| agent_Agent_handle_exception_end | ||
| agent_init | ||
| banners | ||
| before_main_llm_call | ||
| error_format | ||
| hist_add_before | ||
| hist_add_tool_result | ||
| job_loop | ||
| message_loop_end | ||
| message_loop_prompts_after | ||
| message_loop_prompts_before | ||
| message_loop_start | ||
| monologue_end | ||
| monologue_start | ||
| process_chain_end | ||
| reasoning_stream | ||
| reasoning_stream_chunk | ||
| reasoning_stream_end | ||
| response_stream | ||
| response_stream_chunk | ||
| response_stream_end | ||
| system_prompt | ||
| tool_execute_after | ||
| tool_execute_before | ||
| user_message_ui | ||
| util_model_call_before | ||
| .gitkeep | ||