feat: add ecc2 dashboard worktree pruning

This commit is contained in:
Affaan Mustafa
2026-04-08 14:33:30 -07:00
parent 689235af16
commit 027d77468e
2 changed files with 131 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ pub async fn run(db: StateStore, cfg: Config) -> Result<()> {
(_, KeyCode::Char('s')) => dashboard.stop_selected().await,
(_, KeyCode::Char('u')) => dashboard.resume_selected().await,
(_, KeyCode::Char('x')) => dashboard.cleanup_selected_worktree().await,
(_, KeyCode::Char('X')) => dashboard.prune_inactive_worktrees().await,
(_, KeyCode::Char('d')) => dashboard.delete_selected_session().await,
(_, KeyCode::Char('r')) => dashboard.refresh(),
(_, KeyCode::Char('?')) => dashboard.toggle_help(),