Skip to content

Conversation

@luke3butler
Copy link

Summary

Standardizes collapsible behavior across tools with a reusable ToolCollapse component and adds collapse functionality to 4 additional tools.

Changes

  • New ToolCollapse component for consistent collapse behavior and DRY implementation
  • Migrated existing collapsible tools (ReadTool, SearchTool, WebTool, FallbackTool) to use ToolCollapse
  • Added collapse to BashTool, EditTool, WriteTool, and PlanTool with expanded defaults
  • Maintained sensible defaults: collapsed for originally collapsible tools, expanded for newly collapsible ones
  • TodoTool and TaskTool remain unchanged

@luke3butler luke3butler changed the title refact/enh: Unified Tool Collapse Implementation refactor/enhance: Unified Tool Collapse Implementation Aug 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant