diff --git a/crates/goose-cli/src/commands/session.rs b/crates/goose-cli/src/commands/session.rs index 31e8715dd..acc22c363 100644 --- a/crates/goose-cli/src/commands/session.rs +++ b/crates/goose-cli/src/commands/session.rs @@ -32,7 +32,12 @@ fn display_path_with_tilde(path: &Path) -> String { async fn remove_sessions(session_manager: &SessionManager, sessions: Vec) -> Result<()> { println!("The following sessions will be removed:"); for session in &sessions { - println!("- {} {}", session.id, session.name); + println!( + "- {} {} ({})", + session.id, + session.name, + display_path_with_tilde(&session.working_dir) + ); } let should_delete = confirm("Are you sure you want to delete these sessions?") @@ -70,8 +75,13 @@ fn prompt_interactive_session_removal(sessions: &[Session]) -> Result