feat: enhance worktree listing by scanning external directories

- Implemented a new function to scan the .worktrees directory for worktrees that may exist outside of git's management, allowing for better detection of externally created or corrupted worktrees.
- Updated the /list endpoint to include discovered worktrees in the response, improving the accuracy of the worktree listing.
- Added logging for discovered worktrees to aid in debugging and tracking.
- Cleaned up and organized imports in the list.ts file for better maintainability.
This commit is contained in:
webdevcody
2026-01-10 15:41:35 -05:00
parent 555523df38
commit fa8ae149d3
15 changed files with 294 additions and 46 deletions

View File

@@ -25,7 +25,7 @@ export function BoardControls({
return (
<TooltipProvider>
<div className="flex items-center gap-2 ml-4">
<div className="flex items-center gap-2">
{/* View Mode Toggle - Kanban / Graph */}
<div
className="flex items-center rounded-lg bg-secondary border border-border"