Add delete script hook for worktree deletion (#171) (#178)
Add a deleteScript repository setting that runs in a dedicated terminal
tab before worktree deletion, mirroring the existing archive script
flow. Archived worktrees with a running delete script are temporarily
shown in the sidebar so the terminal tab stays accessible.
Also refactors WorktreeRowModel from separate boolean flags into a
Status enum and adds log + alert on guard failures in
archiveWorktreeApply and deleteWorktreeApply.
authored by