From fdfa2d43b2387118c6eaf47ecd885979fed647b4 Mon Sep 17 00:00:00 2001 From: Lucas Alvares Gomes Date: Mon, 28 Sep 2026 01:38:17 +0000 Subject: [PATCH] Show working dir in session remove command (#12232) Signed-off-by: Lucas Alvares Gomes --- crates/goose-cli/src/commands/session.rs | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) 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