- Added `createCheckOffTodoListTool` and `createUpdateClarificationsFileTool` to enhance planning capabilities.
- Refactored existing tools to utilize the new planning tools, improving code organization and maintainability.
- Updated tests to reflect changes in tool creation and execution, ensuring robust functionality.
These changes streamline the management of todo lists and clarification questions, enhancing overall tool usability.
- Introduced the `createWebSearchTool` function to streamline web search capabilities.
- Updated various metrics tools to improve type handling and input processing.
- Refactored metrics delta and finish functions to utilize `ToolCallOptions` for better integration.
- Removed deprecated report creation and editing tools to clean up the codebase.
These changes enhance functionality and maintainability across the tools.
- Added the `GPT5` import to the analyst agent for enhanced functionality.
- Updated the `createModifyDashboardsStart` function to utilize `ToolCallOptions` for better input handling.
- Refactored dashboard and metrics tools to use helper functions for descriptions, improving maintainability.
- Ensured consistent type handling and removed redundant code in metrics delta processing.
These changes streamline the tools and improve the overall code quality.
- Disabled specific TypeScript ESLint rules to allow for more flexibility in type definitions.
- Removed unused socket query files and related types to streamline the codebase.
- Enhanced various components and layouts for better performance and readability.
These changes improve code maintainability and reduce clutter in the project.
- Add conditional check for isDirty before adding event listeners
- Ensure cleanup always runs to prevent memory leaks
- Address greptile-apps[bot] feedback about breaking intended behavior
- Maintain original logic where listeners are only active when there are unsaved changes
Co-Authored-By: nate@buster.so <nate@buster.so>
- Fix PreventNavigation event listener accumulation by changing useEffect dependency from [isDirty] to [handleClick, handlePopState, handleBeforeUnload]
- Improve RoutePrefetcher cleanup by adding proper load event listener cleanup
- Simplify Chart tooltip cleanup to use direct DOM removal instead of complex cloning
- Enhance canvas cleanup in getTextWidth with try/finally pattern
- Add canvas cleanup in DotPattern useEffect return function
These fixes prevent memory leaks during page navigation loops by ensuring proper cleanup of event listeners, timers, observers, and DOM elements.
Co-Authored-By: nate@buster.so <nate@buster.so>