feat: add plan mode with enter/exit tools (#8281)

This commit is contained in:
Dax
2026-01-13 15:55:48 -05:00
committed by GitHub
parent 66b7a4991e
commit 0a3c72d678
16 changed files with 824 additions and 46 deletions

View File

@@ -0,0 +1,14 @@
Use this tool to suggest switching to plan agent when the user's request would benefit from planning before implementation.
If they explicitly mention wanting to create a plan ALWAYS call this tool first.
This tool will ask the user if they want to switch to plan agent.
Call this tool when:
- The user's request is complex and would benefit from planning first
- You want to research and design before making changes
- The task involves multiple files or significant architectural decisions
Do NOT call this tool:
- For simple, straightforward tasks
- When the user explicitly wants immediate implementation