Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Revert "Dim unhighlighted shell command text"
Maximilian Roos0a13fe467200
diff --git a/src/styling/format.rs b/src/styling/format.rsindex 09699b03c..06975fd26 100644--- a/src/styling/format.rs+++ b/src/styling/format.rs@@ -159,20 +159,18 @@ pub(super) fn wrap_styled_text(styled: &str, max_width: usize) -> Vec<String> {/// Formats bash/shell commands with syntax highlighting and gutter///-/// Similar to `format_with_gutter` but applies bash syntax highlighting using tree-sitter.-/// Long lines are wrapped at word boundaries to fit terminal width.+/// Highlights each original line first (preserving parsing context), then wraps+/// the styled output. Long lines are wrapped at word boundaries to fit terminal width.////// # Example/// ```ignore-/// print!("{}", format_bash_with_gutter("npm install --frozen-lockfile"));+/// print!("{}", format_bash_with_gutter("npm install --frozen-lockfile", ""));/// ```#[cfg(feature = "syntax-highlighting")]pub fn format_bash_with_gutter(content: &str, left_margin: &str) -> String {use tree_sitter_highlight::{HighlightConfiguration, HighlightEvent, Highlighter};let gutter = super::GUTTER;- // Dimmed effect for unhighlighted content (reduces intensity while preserving default color)- let base_style = anstyle::Style::new().dimmed();let reset = anstyle::Reset;let mut output = String::new();@@ -225,12 +223,10 @@ pub fn format_bash_with_gutter(content: &str, left_margin: &str) -> String {for line in content.lines() {// Step 1: Highlight the complete line with tree-sitterlet mut styled_line = String::new();- styled_line.push_str(&format!("{base_style}"));let Ok(highlights) = highlighter.highlight(&config, line.as_bytes(), None, |_| None) else {// Fallback: just use the plain linestyled_line.push_str(line);- styled_line.push_str(&format!("{reset}"));// Wrap and output with gutterfor wrapped in wrap_styled_text(&styled_line, available_width) {@@ -246,13 +242,13 @@ pub fn format_bash_with_gutter(content: &str, left_margin: &str) -> String {for event in highlights {match event.unwrap() {HighlightEvent::Source { start, end } => {- // Output the text for this source region (inherits current style)+ // Output the text for this source regionif let Ok(text) = std::str::from_utf8(&line_bytes[start..end]) {styled_line.push_str(text);}}HighlightEvent::HighlightStart(idx) => {- // Start of a highlighted region - apply style (includes dimmed)+ // Start of a highlighted region - apply styleif let Some(name) = highlight_names.get(idx.0)&& let Some(style) = bash_token_style(name){@@ -260,8 +256,8 @@ pub fn format_bash_with_gutter(content: &str, left_margin: &str) -> String {}}HighlightEvent::HighlightEnd => {- // End of highlighted region - return to base gray style- styled_line.push_str(&format!("{base_style}"));+ // End of highlighted region - reset style+ styled_line.push_str(&format!("{reset}"));}}}@@ -283,27 +279,5 @@ pub fn format_bash_with_gutter(content: &str, left_margin: &str) -> String {/// It provides the same gutter formatting without tree-sitter dependencies.#[cfg(not(feature = "syntax-highlighting"))]pub fn format_bash_with_gutter(content: &str, left_margin: &str) -> String {- let gutter = super::GUTTER;- let dimmed = anstyle::Style::new().dimmed();- let reset = anstyle::Reset;- let mut output = String::new();-- // Calculate available width for content- let term_width = get_terminal_width();- let left_margin_width = left_margin.width();- let available_width = term_width.saturating_sub(3 + left_margin_width);-- for line in content.lines() {- // Apply dimmed style to the entire line- let styled_line = format!("{dimmed}{line}{reset}");-- // Wrap and output with gutter- for wrapped in wrap_styled_text(&styled_line, available_width) {- output.push_str(&format!(- "{left_margin}{gutter} {gutter:#} {wrapped}{reset}\n"- ));- }- }-- output+ format_with_gutter(content, left_margin, None)}diff --git a/src/styling/highlighting.rs b/src/styling/highlighting.rsindex f70f12588..66dda7d1e 100644--- a/src/styling/highlighting.rs+++ b/src/styling/highlighting.rs@@ -24,39 +24,39 @@ use synoptic::{TokOpt, from_extension};/// - "embedded": embedded content#[cfg(feature = "syntax-highlighting")]pub(super) fn bash_token_style(kind: &str) -> Option<Style> {- // All tokens are dimmed for subdued appearance in gutter content.- // Previously unstyled tokens (embedded, unknown) now get dimmed too -- // this ensures the entire gutter block has consistent visual weight.- let base = match kind {+ match kind {// Commands (npm, git, cargo, echo, cd, etc.) - bold blue- "function" => Style::new()- .fg_color(Some(Color::Ansi(AnsiColor::Blue)))- .bold(),+ "function" => Some(+ Style::new()+ .fg_color(Some(Color::Ansi(AnsiColor::Blue)))+ .bold(),+ ),// Keywords (if, then, for, while, do, done, etc.) - bold magenta- "keyword" => Style::new()- .fg_color(Some(Color::Ansi(AnsiColor::Magenta)))- .bold(),+ "keyword" => Some(+ Style::new()+ .fg_color(Some(Color::Ansi(AnsiColor::Magenta)))+ .bold(),+ ),// Strings (quoted values) - green- "string" => Style::new().fg_color(Some(Color::Ansi(AnsiColor::Green))),+ "string" => Some(Style::new().fg_color(Some(Color::Ansi(AnsiColor::Green)))),// Operators (&&, ||, |, $, -, >, <, etc.) - cyan- "operator" => Style::new().fg_color(Some(Color::Ansi(AnsiColor::Cyan))),+ "operator" => Some(Style::new().fg_color(Some(Color::Ansi(AnsiColor::Cyan)))),// Variables ($VAR, ${VAR}) - tree-sitter-bash 0.25 uses "property" not "variable"- "property" => Style::new().fg_color(Some(Color::Ansi(AnsiColor::Yellow))),+ "property" => Some(Style::new().fg_color(Some(Color::Ansi(AnsiColor::Yellow)))),// Numbers - yellow- "number" => Style::new().fg_color(Some(Color::Ansi(AnsiColor::Yellow))),+ "number" => Some(Style::new().fg_color(Some(Color::Ansi(AnsiColor::Yellow)))),// Constants/flags (--flag, -f) - cyan- "constant" => Style::new().fg_color(Some(Color::Ansi(AnsiColor::Cyan))),+ "constant" => Some(Style::new().fg_color(Some(Color::Ansi(AnsiColor::Cyan)))),- // Comments, embedded content, and everything else - no additional styling- _ => Style::new(),- };- Some(base.dimmed())+ // Comments, embedded content, and everything else - no styling+ _ => None,+ }}// ============================================================================diff --git a/src/styling/mod.rs b/src/styling/mod.rsindex 98e0ff503..27ab40ddd 100644--- a/src/styling/mod.rs+++ b/src/styling/mod.rs@@ -452,20 +452,20 @@ command = "npm install"// wrap_styled_text tests#[test]fn test_wrap_styled_text_no_wrapping_needed() {- let result = super::wrap_styled_text("short line", 50);+ let result = wrap_styled_text("short line", 50);assert_eq!(result, vec!["short line"]);}#[test]fn test_wrap_styled_text_zero_width() {- let result = super::wrap_styled_text("some text", 0);+ let result = wrap_styled_text("some text", 0);assert_eq!(result, vec!["some text"]);}#[test]fn test_wrap_styled_text_at_word_boundary() {let text = "This is a very long line that needs wrapping";- let result = super::wrap_styled_text(text, 20);+ let result = wrap_styled_text(text, 20);// Should wrap into multiple linesassert!(result.len() > 1, "Should wrap into multiple lines");@@ -487,7 +487,7 @@ command = "npm install"// Create styled text: bold text that spans multiple wordslet bold = Style::new().bold();let input = format!("{bold}This is bold text that will wrap{bold:#}");- let result = super::wrap_styled_text(&input, 15);+ let result = wrap_styled_text(&input, 15);// Should wrapassert!(result.len() > 1, "Should wrap into multiple lines");@@ -497,52 +497,19 @@ command = "npm install"result[0].contains("\x1b[1m"),"First line should have bold code");-- // Subsequent lines should re-emit the active style- // The style tracking should preserve bold across line breaks- for line in &result[1..] {- // Each continuation should either have the style re-emitted- // or just contain the text (if style was applied to word boundary)- // The key is no garbled output- assert!(!line.is_empty(), "Wrapped lines should have content");- }- }-- #[test]- fn test_wrap_styled_text_handles_reset() {- // Text with style, then reset, then more text- let bold = Style::new().bold();- let input = format!("{bold}Bold{bold:#}\x1b[0m plain \x1b[32mgreen text here\x1b[0m");- let result = super::wrap_styled_text(&input, 10);-- // Should produce valid output without crashes- assert!(!result.is_empty());}#[test]fn test_wrap_styled_text_empty_input() {- let result = super::wrap_styled_text("", 50);+ let result = wrap_styled_text("", 50);assert_eq!(result, vec![""]);}#[test]fn test_wrap_styled_text_single_long_word() {// A single word longer than max_width should still be included- let result = super::wrap_styled_text("verylongwordthatcannotbewrapped", 10);+ let result = wrap_styled_text("verylongwordthatcannotbewrapped", 10);assert_eq!(result.len(), 1);assert_eq!(result[0], "verylongwordthatcannotbewrapped");}-- #[test]- fn test_wrap_styled_text_with_ansi_codes_in_word() {- // Style that starts and ends within a single word- let bold = Style::new().bold();- let input = format!("pre {bold}styled{bold:#} post");- let result = super::wrap_styled_text(&input, 50);-- // Should not wrap (fits)- assert_eq!(result.len(), 1);- // Should contain the style codes- assert!(result[0].contains("\x1b[1m"), "Should contain bold code");- }}diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snapindex 15490a99a..ee03e6a5c 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap@@ -7,11 +7,11 @@ yπ‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m1[0m[33m command:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'test command'[0m[0mπ‘ Allow and remember? [1m[y/N][0mπ [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'test command'[0m[0m[0mtest commandβ [32mCreated new worktree for [1m[32mtest-approve[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO]/test-repo.test-approve[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snapindex c9fa233a5..e2059efae 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap@@ -7,7 +7,7 @@ nπ‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m1[0m[33m command:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'test command'[0m[0mπ‘ Allow and remember? [1m[y/N][0mβͺ Commands declined, continuing worktree creationdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snapindex ecca405af..8b1dab08a 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap@@ -7,20 +7,20 @@ yπ‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m2[0m[33m commands:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'First command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'First command'[0m[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Third command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Third command'[0m[0mπ‘ Allow and remember? [1m[y/N][0mπ [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'First command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'First command'[0m[0m[0mFirst commandπ [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Second command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Second command'[0m[0m[0mSecond commandπ [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Third command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Third command'[0m[0m[0mThird commandβ [32mCreated new worktree for [1m[32mtest-mixed-accept[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO]/test-repo.test-mixed-accept[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snapindex f9dcc9e1d..10eabf0af 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap@@ -7,10 +7,10 @@ nπ‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m2[0m[33m commands:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'First command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'First command'[0m[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Third command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Third command'[0m[0mπ‘ Allow and remember? [1m[y/N][0mβͺ Commands declined, continuing worktree creationdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snapindex 04f7d013b..5eb57d93c 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap@@ -7,23 +7,23 @@ yπ‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m3[0m[33m commands:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'First command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'First command'[0m[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Second command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Second command'[0m[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Third command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Third command'[0m[0mπ‘ Allow and remember? [1m[y/N][0mπ [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'First command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'First command'[0m[0m[0mFirst commandπ [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Second command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Second command'[0m[0m[0mSecond commandπ [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Third command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Third command'[0m[0m[0mThird commandβ [32mCreated new worktree for [1m[32mtest-multi[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO]/test-repo.test-multi[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snapindex 26d309fda..7a61ea5b7 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap@@ -7,23 +7,23 @@ yπ‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m3[0m[33m commands:[0mβͺ post-create [1minstall[0m:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Installing dependencies...'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Installing dependencies...'[0m[0mβͺ post-create [1mbuild[0m:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Building project...'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Building project...'[0m[0mβͺ post-create [1mtest[0m:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Running tests...'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Running tests...'[0m[0mπ‘ Allow and remember? [1m[y/N][0mπ [36mRunning post-create [1minstall[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Installing dependencies...'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Installing dependencies...'[0m[0m[0mInstalling dependencies...π [36mRunning post-create [1mbuild[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Building project...'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Building project...'[0m[0m[0mBuilding project...π [36mRunning post-create [1mtest[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Running tests...'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Running tests...'[0m[0m[0mRunning tests...β [32mCreated new worktree for [1m[32mtest-named[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO]/test-repo.test-named[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snapindex b83286cc6..51ee5a3cf 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap@@ -7,13 +7,13 @@ yπ‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m1[0m[33m command:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'test command'[0m[0mπ‘ Allow and remember? [1m[y/N][0mπ‘ Failed to save command approval: Failed to write config file: Permission denied (os error 13)π‘ [2mYou will be prompted again next time.[0mπ [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'test command'[0m[0m[0mtest commandβ [32mCreated new worktree for [1m[32mtest-permission[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO]/test-repo.test-permission[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snapindex 31673406c..8c354e801 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap@@ -4,7 +4,7 @@ expression: output.normalized()---β [32mCreated new worktree for [1m[32mfish-multiline[0m[32m from [1m[32mmain[0m[32m at [1m[32m[TMPDIR]/test-repo.fish-multiline[0m[0mπ [36mExecuting (--execute):[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'line 1'[2m; [1m[2m[34mecho[2m [2m[32m'line 2'[2m; [1m[2m[34mecho[2m [2m[32m'line 3'[2m[0m+[107m [0m [1m[34mecho[0m [32m'line 1'[0m; [1m[34mecho[0m [32m'line 2'[0m; [1m[34mecho[0m [32m'line 3'[0m[0mline 1line 2line 3diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snapindex e02cd0a29..b009ffcf9 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap@@ -4,4 +4,4 @@ expression: output.normalized()---β [32mCreated new worktree for [1m[32mfish-bg[0m[32m from [1m[32mmain[0m[32m at [1m[32m[TMPDIR]/test-repo.fish-bg[0m[0mπ [36mRunning post-start:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'fish background task'[2m[0m+[107m [0m [1m[34mecho[0m [32m'fish background task'[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_bash.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_bash.snapindex 27a7281bb..cbeb76349 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_bash.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_bash.snap@@ -3,7 +3,7 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---π [36mRunning pre-merge [1mcheck1[0m:[0m-[107m [0m [2m[1m[2m[34m[WORKSPACE]/tests/fixtures/mixed-output.sh[2m check1 3[0m+[107m [0m [1m[34m[WORKSPACE]/tests/fixtures/mixed-output.sh[0m check1 3[0m[check1] stdout line 1[check1] stderr line 1[check1] stdout line 2@@ -13,7 +13,7 @@ expression: output.normalized()[check1] stdout complete[check1] stderr completeπ [36mRunning pre-merge [1mcheck2[0m:[0m-[107m [0m [2m[1m[2m[34m[WORKSPACE]/tests/fixtures/mixed-output.sh[2m check2 3[0m+[107m [0m [1m[34m[WORKSPACE]/tests/fixtures/mixed-output.sh[0m check2 3[0m[check2] stdout line 1[check2] stderr line 1[check2] stdout line 2diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_zsh.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_zsh.snapindex 27a7281bb..cbeb76349 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_zsh.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_mixed_stdout_stderr_zsh.snap@@ -3,7 +3,7 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---π [36mRunning pre-merge [1mcheck1[0m:[0m-[107m [0m [2m[1m[2m[34m[WORKSPACE]/tests/fixtures/mixed-output.sh[2m check1 3[0m+[107m [0m [1m[34m[WORKSPACE]/tests/fixtures/mixed-output.sh[0m check1 3[0m[check1] stdout line 1[check1] stderr line 1[check1] stdout line 2@@ -13,7 +13,7 @@ expression: output.normalized()[check1] stdout complete[check1] stderr completeπ [36mRunning pre-merge [1mcheck2[0m:[0m-[107m [0m [2m[1m[2m[34m[WORKSPACE]/tests/fixtures/mixed-output.sh[2m check2 3[0m+[107m [0m [1m[34m[WORKSPACE]/tests/fixtures/mixed-output.sh[0m check2 3[0m[check2] stdout line 1[check2] stderr line 1[check2] stdout line 2diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_bash.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_bash.snapindex 53eb2112a..12840d713 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_bash.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_bash.snap@@ -3,10 +3,10 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---π [36mRunning pre-merge [1mformat[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'β Code formatting check passed'[2m[0m+[107m [0m [1m[34mecho[0m [32m'β Code formatting check passed'[0m[0mβ Code formatting check passedπ [36mRunning pre-merge [1mtest[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'β Test suite failed: 3 tests failing'[2m [2m[36m&&[2m [1m[2m[34mexit[2m 1[0m+[107m [0m [1m[34mecho[0m [32m'β Test suite failed: 3 tests failing'[0m [36m&&[0m [1m[34mexit[0m 1[0mβ Test suite failed: 3 tests failingβ [31mpre-merge command failed: [1m[31mtest[0m[31m: exit status: 1[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_zsh.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_zsh.snapindex 53eb2112a..12840d713 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_zsh.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_zsh.snap@@ -3,10 +3,10 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---π [36mRunning pre-merge [1mformat[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'β Code formatting check passed'[2m[0m+[107m [0m [1m[34mecho[0m [32m'β Code formatting check passed'[0m[0mβ Code formatting check passedπ [36mRunning pre-merge [1mtest[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'β Test suite failed: 3 tests failing'[2m [2m[36m&&[2m [1m[2m[34mexit[2m 1[0m+[107m [0m [1m[34mecho[0m [32m'β Test suite failed: 3 tests failing'[0m [36m&&[0m [1m[34mexit[0m 1[0mβ Test suite failed: 3 tests failingβ [31mpre-merge command failed: [1m[31mtest[0m[31m: exit status: 1[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snapindex c36f38a20..d9e682c3a 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap@@ -3,13 +3,13 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---π [36mRunning pre-merge [1mformat[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'β Code formatting check passed'[2m[0m+[107m [0m [1m[34mecho[0m [32m'β Code formatting check passed'[0m[0mβ Code formatting check passedπ [36mRunning pre-merge [1mlint[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'β Linting passed - no warnings'[2m[0m+[107m [0m [1m[34mecho[0m [32m'β Linting passed - no warnings'[0m[0mβ Linting passed - no warningsπ [36mRunning pre-merge [1mtest[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'β All 47 tests passed in 2.3s'[2m[0m+[107m [0m [1m[34mecho[0m [32m'β All 47 tests passed in 2.3s'[0m[0mβ All 47 tests passed in 2.3sπ [36mMerging 1 commit to [1m[36mmain[0m[36m @ [2m[36m[HASH][0m[0m (no commit/squash/rebase needed)[107m [0m * [33m[HASH][m Add featurediff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snapindex c36f38a20..d9e682c3a 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap@@ -3,13 +3,13 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---π [36mRunning pre-merge [1mformat[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'β Code formatting check passed'[2m[0m+[107m [0m [1m[34mecho[0m [32m'β Code formatting check passed'[0m[0mβ Code formatting check passedπ [36mRunning pre-merge [1mlint[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'β Linting passed - no warnings'[2m[0m+[107m [0m [1m[34mecho[0m [32m'β Linting passed - no warnings'[0m[0mβ Linting passed - no warningsπ [36mRunning pre-merge [1mtest[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'β All 47 tests passed in 2.3s'[2m[0m+[107m [0m [1m[34mecho[0m [32m'β All 47 tests passed in 2.3s'[0m[0mβ All 47 tests passed in 2.3sπ [36mMerging 1 commit to [1m[36mmain[0m[36m @ [2m[36m[HASH][0m[0m (no commit/squash/rebase needed)[107m [0m * [33m[HASH][m Add featurediff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_post_create.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_post_create.snapindex 01b5ea7fa..7255338ba 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_post_create.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_post_create.snap@@ -3,10 +3,10 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---π [36mRunning post-create [1minstall[0m:[0m-[107m [0m [2m[1m[2m[34muv[2m sync[0m+[107m [0m [1m[34muv[0m sync[0mResolved 24 packages in 145msInstalled 24 packages in 1.2sβ [32mCreated new worktree for [1m[32mfeature-x[0m[32m from [1m[32mmain[0m[32m at [1m[32m[TMPDIR]/test-repo.feature-x[0m[0mπ [36mRunning post-start [1mdev[0m:[0m-[107m [0m [2m[1m[2m[34muv[2m run dev[0m+[107m [0m [1m[34muv[0m run dev[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_pre_merge.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_pre_merge.snapindex 337a78a9d..fa4eb7311 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_pre_merge.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_pre_merge.snap@@ -10,7 +10,7 @@ expression: output.normalized()[107m [0m Includes comprehensive test coverage and input validation.β [32mSquashed @ [2m[32m[HASH][0m[0mπ [36mRunning pre-merge [1mtest[0m:[0m-[107m [0m [2m[1m[2m[34muv[2m run pytest[0m+[107m [0m [1m[34muv[0m run pytest[0m============================= test session starts ==============================collected 3 items@@ -22,7 +22,7 @@ tests/test_auth.py::test_token_validation PASSED [100%]============================== 3 passed in 0.8s ===============================π [36mRunning pre-merge [1mlint[0m:[0m-[107m [0m [2m[1m[2m[34muv[2m run ruff check[0m+[107m [0m [1m[34muv[0m run ruff check[0mAll checks passed!diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snapindex 698989ea3..73d5afa18 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap@@ -4,5 +4,5 @@ expression: output.normalized()---β [32mCreated new worktree for [1m[32mtest-exec[0m[32m from [1m[32mmain[0m[32m at [1m[32m[TMPDIR]/test-repo.test-exec[0m[0mπ [36mExecuting (--execute):[0m-[107m [0m [2m[1m[2m[34mecho[2m executed[0m+[107m [0m [1m[34mecho[0m executed[0mexecuteddiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snapindex 698989ea3..73d5afa18 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap@@ -4,5 +4,5 @@ expression: output.normalized()---β [32mCreated new worktree for [1m[32mtest-exec[0m[32m from [1m[32mmain[0m[32m at [1m[32m[TMPDIR]/test-repo.test-exec[0m[0mπ [36mExecuting (--execute):[0m-[107m [0m [2m[1m[2m[34mecho[2m executed[0m+[107m [0m [1m[34mecho[0m executed[0mexecuteddiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snapindex f490adabe..9edab7e8c 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap@@ -3,13 +3,13 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---π [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Installing dependencies...'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Installing dependencies...'[0m[0mInstalling dependencies...π [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Building project...'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Building project...'[0m[0mBuilding project...β [32mCreated new worktree for [1m[32mfeature-hooks[0m[32m from [1m[32mmain[0m[32m at [1m[32m[TMPDIR]/test-repo.feature-hooks[0m[0mπ [36mRunning post-start [1mserver[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Starting dev server on port 3000'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Starting dev server on port 3000'[0m[0mπ [36mRunning post-start [1mwatch[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Watching for file changes'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Watching for file changes'[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snapindex 68b484037..84553e3c5 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap@@ -4,4 +4,4 @@ expression: output.normalized()---β [32mCreated new worktree for [1m[32mfeature-with-hooks[0m[32m from [1m[32mmain[0m[32m at [1m[32m[TMPDIR]/test-repo.feature-with-hooks[0m[0mπ [36mRunning post-start:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test command executed'[2m[0m+[107m [0m [1m[34mecho[0m [32m'test command executed'[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snapindex 8e6466614..6bdb21ca3 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap@@ -4,4 +4,4 @@ expression: output.normalized()---β [32mCreated new worktree for [1m[32mfeature-bg[0m[32m from [1m[32mmain[0m[32m at [1m[32m[TMPDIR]/test-repo.feature-bg[0m[0mπ [36mRunning post-start:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'background task'[2m[0m+[107m [0m [1m[34mecho[0m [32m'background task'[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap b/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snapindex 77d98c284..7292a29d1 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap@@ -24,7 +24,7 @@ success: trueexit_code: 0----- stdout -----π [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'approved'[2m [2m[36m>[2m output.txt[0m+[107m [0m [1m[34mecho[0m [32m'approved'[0m [36m>[0m output.txt[0mβ [32mCreated new worktree for [1m[32mtest-approved[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].test-approved[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__approval_fails_in_non_tty.snap b/tests/snapshots/integration__integration_tests__approval_ui__approval_fails_in_non_tty.snapindex 780ae150a..bed8e8a21 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__approval_fails_in_non_tty.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__approval_fails_in_non_tty.snap@@ -31,4 +31,4 @@ exit_code: 1π‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m1[0m[33m command:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'test command'[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__approval_mixed_approved_unapproved.snap b/tests/snapshots/integration__integration_tests__approval_ui__approval_mixed_approved_unapproved.snapindex 3a75da57c..fa1327f0d 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__approval_mixed_approved_unapproved.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__approval_mixed_approved_unapproved.snap@@ -12,7 +12,7 @@ exit_code: 1π‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m2[0m[33m commands:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'First command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'First command'[0m[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Third command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Third command'[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__approval_multiple_commands.snap b/tests/snapshots/integration__integration_tests__approval_ui__approval_multiple_commands.snapindex b6774b3fe..c41c8c458 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__approval_multiple_commands.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__approval_multiple_commands.snap@@ -12,13 +12,13 @@ exit_code: 1π‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m4[0m[33m commands:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Branch: test-nested-branch'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Branch: test-nested-branch'[0m[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Worktree: [REPO].test-nested-branch'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Worktree: [REPO].test-nested-branch'[0m[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Repo: test-repo'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Repo: test-repo'[0m[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mcd[2m [REPO].test-nested-branch [2m[36m&&[2m [1m[2m[34mpwd[2m[0m+[107m [0m [1m[34mcd[0m [REPO].test-nested-branch [36m&&[0m [1m[34mpwd[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__approval_named_commands.snap b/tests/snapshots/integration__integration_tests__approval_ui__approval_named_commands.snapindex 103990c80..2de2184f4 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__approval_named_commands.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__approval_named_commands.snap@@ -12,10 +12,10 @@ exit_code: 1π‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m3[0m[33m commands:[0mβͺ post-create [1minstall[0m:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Installing dependencies...'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Installing dependencies...'[0m[0mβͺ post-create [1mbuild[0m:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Building project...'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Building project...'[0m[0mβͺ post-create [1mtest[0m:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Running tests...'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Running tests...'[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__approval_single_command.snap b/tests/snapshots/integration__integration_tests__approval_ui__approval_single_command.snapindex d91f8a923..4f4c26f2b 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__approval_single_command.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__approval_single_command.snap@@ -12,4 +12,4 @@ exit_code: 1π‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m1[0m[33m command:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Worktree path: [REPO].feature-test-approval'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Worktree path: [REPO].feature-test-approval'[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__decline_approval_skips_only_unapproved.snap b/tests/snapshots/integration__integration_tests__approval_ui__decline_approval_skips_only_unapproved.snapindex 3a75da57c..fa1327f0d 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__decline_approval_skips_only_unapproved.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__decline_approval_skips_only_unapproved.snap@@ -12,7 +12,7 @@ exit_code: 1π‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m2[0m[33m commands:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'First command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'First command'[0m[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Third command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Third command'[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap b/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snapindex 7fe7ab47a..37353a094 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap@@ -25,7 +25,7 @@ success: trueexit_code: 0----- stdout -----π [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test command'[2m[0m+[107m [0m [1m[34mecho[0m [32m'test command'[0m[0mβ [32mCreated new worktree for [1m[32mtest-force-tty[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].test-force-tty[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snapindex 8897f7ad0..2014859ed 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap@@ -25,7 +25,7 @@ success: trueexit_code: 0----- stdout -----π [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test command'[2m [2m[36m>[2m output.txt[0m+[107m [0m [1m[34mecho[0m [32m'test command'[0m [36m>[0m output.txt[0mβ [32mCreated new worktree for [1m[32mtest-force[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].test-force[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_second_run.snap b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_second_run.snapindex 1ae69ebbf..70bdb076f 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_second_run.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_second_run.snap@@ -12,4 +12,4 @@ exit_code: 1π‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m1[0m[33m command:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test command'[2m [2m[36m>[2m output.txt[0m+[107m [0m [1m[34mecho[0m [32m'test command'[0m [36m>[0m output.txt[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__run_hook_post_merge_requires_approval.snap b/tests/snapshots/integration__integration_tests__approval_ui__run_hook_post_merge_requires_approval.snapindex 8eb23ac9a..a987a192f 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__run_hook_post_merge_requires_approval.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__run_hook_post_merge_requires_approval.snap@@ -12,4 +12,4 @@ exit_code: 1π‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m1[0m[33m command:[0mβͺ post-merge:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Post-merge cleanup for main'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Post-merge cleanup for main'[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__run_hook_pre_merge_requires_approval.snap b/tests/snapshots/integration__integration_tests__approval_ui__run_hook_pre_merge_requires_approval.snapindex 762814b27..9ec5f231b 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__run_hook_pre_merge_requires_approval.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__run_hook_pre_merge_requires_approval.snap@@ -12,4 +12,4 @@ exit_code: 1π‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m1[0m[33m command:[0mβͺ pre-merge:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Running pre-merge checks on main'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Running pre-merge checks on main'[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approvals__add_approvals_all_none_approved.snap b/tests/snapshots/integration__integration_tests__approvals__add_approvals_all_none_approved.snapindex 35e9dc7b9..7f6f80f8d 100644--- a/tests/snapshots/integration__integration_tests__approvals__add_approvals_all_none_approved.snap+++ b/tests/snapshots/integration__integration_tests__approvals__add_approvals_all_none_approved.snap@@ -32,4 +32,4 @@ exit_code: 1π‘ [33m[1m[33mtest-repo[0m[33m needs approval to execute [1m[33m1[0m[33m command:[0mβͺ post-create:-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test'[2m[0m+[107m [0m [1m[34mecho[0m [32m'test'[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snapindex 267148836..08f28b249 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap@@ -30,7 +30,7 @@ exit_code: 1β [32mMerged to [1m[32mmain[0m[0m (1 commit, 1 file, [32m+1[0m)π [36mRemoving [1m[36mfeature[0m[36m worktree & branch in background[0mπ [36mRunning post-merge:[0m-[107m [0m [2m[1m[2m[34mexit[2m 1[0m+[107m [0m [1m[34mexit[0m 1[0mπ‘ [33mCommand failed: exit status: 1[0mβ [31mpost-merge command failed: exit status: 1[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snapindex 1fc2f33ab..46b91d2b7 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap@@ -30,9 +30,9 @@ exit_code: 0β [32mMerged to [1m[32mmain[0m[0m (1 commit, 1 file, [32m+1[0m)π [36mRemoving [1m[36mfeature[0m[36m worktree & branch in background[0mπ [36mRunning post-merge [1mnotify[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Merge to main complete'[2m [2m[36m>[2m notify.txt[0m+[107m [0m [1m[34mecho[0m [32m'Merge to main complete'[0m [36m>[0m notify.txt[0mπ [36mRunning post-merge [1mdeploy[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Deploying branch feature'[2m [2m[36m>[2m deploy.txt[0m+[107m [0m [1m[34mecho[0m [32m'Deploying branch feature'[0m [36m>[0m deploy.txt[0m----- stderr -----[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snapindex d1b14a693..193d2a6ea 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap@@ -30,7 +30,7 @@ exit_code: 0β [32mMerged to [1m[32mmain[0m[0m (1 commit, 1 file, [32m+1[0m)π [36mRemoving [1m[36mfeature[0m[36m worktree & branch in background[0mπ [36mRunning post-merge:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'merged feature to main'[2m [2m[36m>[2m post-merge-ran.txt[0m+[107m [0m [1m[34mecho[0m [32m'merged feature to main'[0m [36m>[0m post-merge-ran.txt[0m----- stderr -----[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snapindex 13b816ed4..56b970428 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snap@@ -26,7 +26,7 @@ exit_code: 1π‘ [33mAuto-staging 1 untracked file:[0m[107m [0m feature.txtπ [36mRunning pre-commit:[0m-[107m [0m [2m[1m[2m[34mexit[2m 1[0m+[107m [0m [1m[34mexit[0m 1[0mβ [31mpre-commit command failed: exit status: 1[0mπ‘ [2mUse --no-verify to skip pre-commit commands[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snapindex 13a3bce93..e54212780 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap@@ -26,7 +26,7 @@ exit_code: 0π‘ [33mAuto-staging 1 untracked file:[0m[107m [0m feature.txtπ [36mRunning pre-commit:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Pre-commit check passed'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Pre-commit check passed'[0m[0mπ [36mCommitting changes with default message...[0m (1 file, [32m+1[0m, no squashing needed)π‘ [2m[2mUsing fallback commit message. Run 'wt config --help' for LLM setup guide[0m[0m[107m [0m [1mChanges to feature.txt[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_failure.snapindex dba8209d6..096bbf9ec 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_failure.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_failure.snap@@ -24,7 +24,7 @@ success: falseexit_code: 1----- stdout -----π [36mRunning pre-merge:[0m-[107m [0m [2m[1m[2m[34mexit[2m 1[0m+[107m [0m [1m[34mexit[0m 1[0mβ [31mpre-merge command failed: exit status: 1[0mπ‘ [2mUse --no-verify to skip pre-merge commands[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snapindex a009c5acf..e14b0737f 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap@@ -24,11 +24,11 @@ success: trueexit_code: 0----- stdout -----π [36mRunning pre-merge [1mformat[0m:[0m-[107m [0m [2m[1m[2m[34mexit[2m 0[0m+[107m [0m [1m[34mexit[0m 0[0mπ [36mRunning pre-merge [1mlint[0m:[0m-[107m [0m [2m[1m[2m[34mexit[2m 0[0m+[107m [0m [1m[34mexit[0m 0[0mπ [36mRunning pre-merge [1mtest[0m:[0m-[107m [0m [2m[1m[2m[34mexit[2m 0[0m+[107m [0m [1m[34mexit[0m 0[0mπ [36mMerging 1 commit to [1m[36mmain[0m[36m @ [2m[SHA][0m (no commit/squash/rebase needed)[107m [0m * [SHA] Add feature file[107m [0m feature.txt | 1 [32m+[mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snapindex 25a45774d..53a386dfd 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap@@ -24,7 +24,7 @@ success: trueexit_code: 0----- stdout -----π [36mRunning pre-merge:[0m-[107m [0m [2m[1m[2m[34mexit[2m 0[0m+[107m [0m [1m[34mexit[0m 0[0mπ [36mMerging 1 commit to [1m[36mmain[0m[36m @ [2m[SHA][0m (no commit/squash/rebase needed)[107m [0m * [SHA] Add feature file[107m [0m feature.txt | 1 [32m+[mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snapindex 4ca34da32..a303e7d09 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snap@@ -24,7 +24,7 @@ success: falseexit_code: 1----- stdout -----π [36mRunning pre-commit:[0m-[107m [0m [2m[1m[2m[34mexit[2m 1[0m+[107m [0m [1m[34mexit[0m 1[0mβ [31mpre-commit command failed: exit status: 1[0mπ‘ [2mUse --no-verify to skip pre-commit commands[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snapindex 2f34acf04..6c6e6c897 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap@@ -24,7 +24,7 @@ success: trueexit_code: 0----- stdout -----π [36mRunning pre-commit:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Pre-commit check passed'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Pre-commit check passed'[0m[0mπ [36mMerging 1 commit to [1m[36mmain[0m[36m @ [2m[SHA][0m (no commit/squash/rebase needed)[107m [0m * [SHA] Add feature file[107m [0m feature.txt | 1 [32m+[mdiff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snapindex efd4a1648..6a5a3588d 100644--- a/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap@@ -37,9 +37,9 @@ exit_code: 0[107m [0m - Create test suite covering all authentication flowsβ [32mSquashed @ [2m[SHA][0mπ [36mRunning pre-merge [1mtest[0m:[0m-[107m [0m [2m[1m[2m[34mcargo[2m test[0m+[107m [0m [1m[34mcargo[0m test[0mπ [36mRunning pre-merge [1mlint[0m:[0m-[107m [0m [2m[1m[2m[34mcargo[2m clippy[0m+[107m [0m [1m[34mcargo[0m clippy[0mπ [36mMerging 1 commit to [1m[36mmain[0m[36m @ [2m[SHA][0m (no rebase needed)[107m [0m * [SHA] feat(auth): Implement JWT authentication system[107m [0m auth.rs | 8 [32m++++++++[m@@ -49,7 +49,7 @@ exit_code: 0β [32mMerged to [1m[32mmain[0m[0m (1 commit, 3 files, [32m+33[0m)π [36mRemoving [1m[36mfeature-auth[0m[36m worktree & branch in background[0mπ [36mRunning post-merge [1minstall[0m:[0m-[107m [0m [2m[1m[2m[34mcargo[2m install [2m[36m--path[2m .[0m+[107m [0m [1m[34mcargo[0m install [36m--path[0m .[0m----- stderr -----[0m Finished test [unoptimized + debuginfo] target(s) in 0.12sdiff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snapindex 52fd1ab93..f70c57368 100644--- a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap@@ -26,11 +26,11 @@ success: trueexit_code: 0----- stdout -----π [36mRunning post-create [1minstall[0m:[0m-[107m [0m [2m[1m[2m[34muv[2m sync[0m+[107m [0m [1m[34muv[0m sync[0mβ [32mCreated new worktree for [1m[32mfeature-x[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature-x[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mπ [36mRunning post-start [1mdev[0m:[0m-[107m [0m [2m[1m[2m[34muv[2m run dev[0m+[107m [0m [1m[34muv[0m run dev[0m----- stderr -----[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snapindex c5e0e4af2..e930b56f9 100644--- a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snap+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snap@@ -32,9 +32,9 @@ exit_code: 0[107m [0m Includes comprehensive test coverage and input validation.β [32mSquashed @ [2m[SHA][0mπ [36mRunning pre-merge [1mtest[0m:[0m-[107m [0m [2m[1m[2m[34muv[2m run pytest[0m+[107m [0m [1m[34muv[0m run pytest[0mπ [36mRunning pre-merge [1mlint[0m:[0m-[107m [0m [2m[1m[2m[34muv[2m run ruff check[0m+[107m [0m [1m[34muv[0m run ruff check[0mπ [36mMerging 1 commit to [1m[36mmain[0m[36m @ [2m[SHA][0m (no rebase needed)[107m [0m * [SHA] feat(api): Add user authentication endpoints[107m [0m api/auth.py | 31 [32m+++++++++++++++++++++++++++++++[mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap b/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snapindex 37e663449..68715edf7 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap@@ -25,11 +25,11 @@ success: trueexit_code: 0----- stdout -----π [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Setup done'[2m [2m[36m>[2m setup.txt[0m+[107m [0m [1m[34mecho[0m [32m'Setup done'[0m [36m>[0m setup.txt[0mβ [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mπ [36mRunning post-start [1mserver[0m:[0m-[107m [0m [2m[1m[2m[34msleep[2m 0.05 [2m[36m&&[2m [1m[2m[34mecho[2m [2m[32m'Server running'[2m [2m[36m>[2m server.txt[0m+[107m [0m [1m[34msleep[0m 0.05 [36m&&[0m [1m[34mecho[0m [32m'Server running'[0m [36m>[0m server.txt[0m----- stderr -----[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap b/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snapindex 9a05a0e26..150bae26c 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap@@ -28,8 +28,8 @@ exit_code: 0----- stdout -----β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ [36mRunning post-start:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Background task'[2m [2m[36m>[2m background.txt[0m+[107m [0m [1m[34mecho[0m [32m'Background task'[0m [36m>[0m background.txt[0mπ [36mExecuting (--execute):[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Execute flag'[2m [2m[36m>[2m execute.txt[0m+[107m [0m [1m[34mecho[0m [32m'Execute flag'[0m [36m>[0m execute.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snapindex af22c714c..b0711c74f 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap@@ -25,7 +25,7 @@ success: trueexit_code: 0----- stdout -----π [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mexit[2m 1[0m+[107m [0m [1m[34mexit[0m 1[0mπ‘ [33mCommand failed: exit status: 1[0mβ [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snapindex 1277dd0a4..eb0ed47ca 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap@@ -25,11 +25,11 @@ success: trueexit_code: 0----- stdout -----π [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[35mif[2m [ ! -f test.txt ]; [1m[2m[35mthen[2m[1m[2m[35m[2m[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'File does not exist'[2m [2m[36m>[2m result.txt[0m-[107m [0m [2m[1m[2m[34melse[2m[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'File exists'[2m [2m[36m>[2m result.txt[0m-[107m [0m [2m[1m[2m[34mfi[2m[0m+[107m [0m [1m[35mif[0m [ ! -f test.txt ]; [1m[35mthen[0m[1m[35m[0m[0m+[107m [0m [1m[34mecho[0m [32m'File does not exist'[0m [36m>[0m result.txt[0m+[107m [0m [1m[34melse[0m[0m+[107m [0m [1m[34mecho[0m [32m'File exists'[0m [36m>[0m result.txt[0m+[107m [0m [1m[34mfi[0m[0mβ [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snapindex cc258cc2e..4a2f83166 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap@@ -25,9 +25,9 @@ success: trueexit_code: 0----- stdout -----π [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'First'[2m[0m+[107m [0m [1m[34mecho[0m [32m'First'[0m[0mπ [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Second'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Second'[0m[0mβ [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snapindex c1d23bf8c..cd0dce1d8 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap@@ -25,9 +25,9 @@ success: trueexit_code: 0----- stdout -----π [36mRunning post-create [1minstall[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Installing deps'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Installing deps'[0m[0mπ [36mRunning post-create [1msetup[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Running setup'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Running setup'[0m[0mβ [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snapindex 92f543c91..b1f290034 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap@@ -25,7 +25,7 @@ success: trueexit_code: 0----- stdout -----π [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Setup complete'[2m[0m+[107m [0m [1m[34mecho[0m [32m'Setup complete'[0m[0mβ [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snapindex b60980f26..299e311a5 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap@@ -25,13 +25,13 @@ success: trueexit_code: 0----- stdout -----π [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Repo: test-repo'[2m [2m[36m>[2m info.txt[0m+[107m [0m [1m[34mecho[0m [32m'Repo: test-repo'[0m [36m>[0m info.txt[0mπ [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Branch: feature-test'[2m [2m[36m>>[2m info.txt[0m+[107m [0m [1m[34mecho[0m [32m'Branch: feature-test'[0m [36m>>[0m info.txt[0mπ [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Worktree: [REPO].feature-test'[2m [2m[36m>>[2m info.txt[0m+[107m [0m [1m[34mecho[0m [32m'Worktree: [REPO].feature-test'[0m [36m>>[0m info.txt[0mπ [36mRunning post-create:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Root: [REPO]'[2m [2m[36m>>[2m info.txt[0m+[107m [0m [1m[34mecho[0m [32m'Root: [REPO]'[0m [36m>>[0m info.txt[0mβ [32mCreated new worktree for [1m[32mfeature/test[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature-test[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snapindex 8ec1b4fbf..6355d7395 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap@@ -27,8 +27,8 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mπ [36mRunning post-start:[0m-[107m [0m [2m[1m[2m[34mecho[2m 'line1[0m-[107m [0m [2m[1m[2m[34mline2[2m[0m-[107m [0m [2m[1m[2m[34mline3[2m' | grep line2 > filtered.txt[0m+[107m [0m [1m[34mecho[0m 'line1[0m+[107m [0m [1m[34mline2[0m[0m+[107m [0m [1m[34mline3[0m' | grep line2 > filtered.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snapindex 25bf2906a..24e9ab6ae 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap@@ -27,6 +27,6 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mπ [36mRunning post-start:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'POST-START-RAN'[2m [2m[36m>[2m post_start_marker.txt[0m+[107m [0m [1m[34mecho[0m [32m'POST-START-RAN'[0m [36m>[0m post_start_marker.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snapindex 1eb73383e..08efb5edb 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap@@ -27,6 +27,6 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mπ [36mRunning post-start:[0m-[107m [0m [2m[1m[2m[34mecho[2m 'unclosed quote[0m+[107m [0m [1m[34mecho[0m 'unclosed quote[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snapindex 4a3cc6cfc..98e1f9b35 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap@@ -27,6 +27,6 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mπ [36mRunning post-start:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'stdout output'[2m [2m[36m&&[2m [1m[2m[34mecho[2m [2m[32m'stderr output'[2m >&2[0m+[107m [0m [1m[34mecho[0m [32m'stdout output'[0m [36m&&[0m [1m[34mecho[0m [32m'stderr output'[0m >&2[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snapindex 6e7b6bdbe..7565b19a6 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap@@ -27,8 +27,8 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mπ [36mRunning post-start:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'first line'[2m [2m[36m>[2m multiline.txt[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'second line'[2m [2m[36m>>[2m multiline.txt[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'third line'[2m [2m[36m>>[2m multiline.txt[0m+[107m [0m [1m[34mecho[0m [32m'first line'[0m [36m>[0m multiline.txt[0m+[107m [0m [1m[34mecho[0m [32m'second line'[0m [36m>>[0m multiline.txt[0m+[107m [0m [1m[34mecho[0m [32m'third line'[0m [36m>>[0m multiline.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snapindex d64cf8c28..2fb5da61a 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap@@ -27,8 +27,8 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mπ [36mRunning post-start [1mtask1[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Task 1 running'[2m [2m[36m>[2m task1.txt[0m+[107m [0m [1m[34mecho[0m [32m'Task 1 running'[0m [36m>[0m task1.txt[0mπ [36mRunning post-start [1mtask2[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'Task 2 running'[2m [2m[36m>[2m task2.txt[0m+[107m [0m [1m[34mecho[0m [32m'Task 2 running'[0m [36m>[0m task2.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snapindex 5c838afdf..b2535a65e 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap@@ -27,10 +27,10 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mπ [36mRunning post-start [1mtask1[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'TASK1_OUTPUT'[2m[0m+[107m [0m [1m[34mecho[0m [32m'TASK1_OUTPUT'[0m[0mπ [36mRunning post-start [1mtask2[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'TASK2_OUTPUT'[2m[0m+[107m [0m [1m[34mecho[0m [32m'TASK2_OUTPUT'[0m[0mπ [36mRunning post-start [1mtask3[0m:[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'TASK3_OUTPUT'[2m[0m+[107m [0m [1m[34mecho[0m [32m'TASK3_OUTPUT'[0m[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snapindex 7ada29530..a3aadfd75 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap@@ -27,6 +27,6 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘ [2m[2mRun `wt config shell install` to enable automatic cd[0m[0mπ [36mRunning post-start:[0m-[107m [0m [2m[1m[2m[34msleep[2m 0.1 [2m[36m&&[2m [1m[2m[34mecho[2m [2m[32m'Background task done'[2m [2m[36m>[2m background.txt[0m+[107m [0m [1m[34msleep[0m 0.1 [36m&&[0m [1m[34mecho[0m [32m'Background task done'[0m [36m>[0m background.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snapindex 4617ca8ba..781427945 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap@@ -28,6 +28,6 @@ exit_code: 0----- stdout -----β [32mCreated new worktree for [1m[32mfile-test[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].file-test[0m[0mπ [36mExecuting (--execute):[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test content'[2m [2m[36m>[2m test.txt[0m+[107m [0m [1m[34mecho[0m [32m'test content'[0m [36m>[0m test.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snapindex 20731914c..70c432eb0 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap@@ -27,6 +27,6 @@ exit_code: 0----- stdout -----β [32mSwitched to worktree for [1m[32mexisting-exec[0m[32m at [1m[32m[WORKTREE_EXISTING_EXEC][0m[0mπ [36mExecuting (--execute):[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'existing worktree'[2m [2m[36m>[2m existing.txt[0m+[107m [0m [1m[34mecho[0m [32m'existing worktree'[0m [36m>[0m existing.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snapindex 87182a5e1..173833bfc 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap@@ -28,6 +28,6 @@ exit_code: 1----- stdout -----β [32mCreated new worktree for [1m[32mfail-test[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].fail-test[0m[0mπ [36mExecuting (--execute):[0m-[107m [0m [2m[1m[2m[34mexit[2m 1[0m+[107m [0m [1m[34mexit[0m 1[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snapindex 5cc58bdca..af6b19033 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap@@ -28,9 +28,9 @@ exit_code: 0----- stdout -----β [32mCreated new worktree for [1m[32mmultiline-test[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].multiline-test[0m[0mπ [36mExecuting (--execute):[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'line1'[2m[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'line2'[2m[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'line3'[2m[0m+[107m [0m [1m[34mecho[0m [32m'line1'[0m[0m+[107m [0m [1m[34mecho[0m [32m'line2'[0m[0m+[107m [0m [1m[34mecho[0m [32m'line3'[0m[0mline1line2line3diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snapindex 55de5380d..813207e7d 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap@@ -28,7 +28,7 @@ exit_code: 0----- stdout -----β [32mCreated new worktree for [1m[32mexec-test[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].exec-test[0m[0mπ [36mExecuting (--execute):[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'test output'[2m[0m+[107m [0m [1m[34mecho[0m [32m'test output'[0m[0mtest output----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snapindex 7aca97522..8d6d736f4 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap@@ -33,4 +33,4 @@ exit 42----- stderr -----β [32mCreated new worktree for [1m[32mexit-code-test[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].exit-code-test[0m[0mπ [36mExecuting (--execute):[0m-[107m [0m [2m[1m[2m[34mexit[2m 42[0m+[107m [0m [1m[34mexit[0m 42[0mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snapindex f09b5692e..ac6146715 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap@@ -34,5 +34,5 @@ exit 7----- stderr -----β [32mCreated new worktree for [1m[32moutput-exit-test[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].output-exit-test[0m[0mπ [36mExecuting (--execute):[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'doing work'[2m[0m-[107m [0m [2m[1m[2m[34mexit[2m 7[0m+[107m [0m [1m[34mecho[0m [32m'doing work'[0m[0m+[107m [0m [1m[34mexit[0m 7[0mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snapindex 3bab61bad..49124521b 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap@@ -34,5 +34,5 @@ echo 'line2'----- stderr -----β [32mCreated new worktree for [1m[32mexec-internal[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].exec-internal[0m[0mπ [36mExecuting (--execute):[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'line1'[2m[0m-[107m [0m [2m[1m[2m[34mecho[2m [2m[32m'line2'[2m[0m+[107m [0m [1m[34mecho[0m [32m'line1'[0m[0m+[107m [0m [1m[34mecho[0m [32m'line2'[0m[0m