You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tools): align Plan tool handler with schema definition
The Plan tool had a critical mismatch between its schema definition and
handler implementation:
- Schema expected: title, description, tasks, agent_analyses (required)
- Handler processed: only 'todos' string parameter
This caused function calls to fail when LLMs generated Plan tool calls
based on the schema but the handler couldn't process the rich parameters.
Changes:
- Updated PlanHandler to properly parse all schema parameters
- Added support for architecture, tech_stack, use_cases, risks,
success_criteria, timeline, and estimated_changes fields
- Convert tasks and agent_analyses to internal formats
- Generate rich markdown output with all plan sections
- Aligned app-server definitions to match engine schema
This ensures consistent Plan tool behavior across the codebase.
description:"Present an implementation plan for user approval before coding. Use this to outline approach, list tasks, and get confirmation.".to_string(),
340
+
description:"Present a comprehensive implementation plan with multi-agent expert analysis for user approval. Include security, architecture, performance, and other expert perspectives.".to_string(),
0 commit comments