Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
feat: hide CLAUDE CODE section when claude CLI unavailable (#1827)
Maximilian Roos282b024279db
diff --git a/src/commands/config/show.rs b/src/commands/config/show.rsindex 68b121ca2..4a1bc6086 100644--- a/src/commands/config/show.rs+++ b/src/commands/config/show.rs@@ -52,9 +52,11 @@ pub fn handle_config_show(full: bool) -> anyhow::Result<()> {// Render shell integration statusrender_shell_status(&mut show_output)?;- // Render Claude Code status- show_output.push('\n');- render_claude_code_status(&mut show_output)?;+ // Render Claude Code status (only when claude CLI is available)+ if is_claude_available() {+ show_output.push('\n');+ render_claude_code_status(&mut show_output)?;+ }// Run full diagnostic checks if requested (includes slow network calls)if full {@@ -181,21 +183,11 @@ fn check_zsh_compinit_missing() -> bool {// ==================== Render Functions ====================-/// Render CLAUDE CODE section (plugin and statusline status)+/// Render CLAUDE CODE section (plugin and statusline status).+/// Caller must check `is_claude_available()` first.fn render_claude_code_status(out: &mut String) -> anyhow::Result<()> {- let claude_available = is_claude_available();-writeln!(out, "{}", format_heading("CLAUDE CODE", None))?;- if !claude_available {- writeln!(- out,- "{}",- info_message(cformat!("<bold>claude</> CLI not installed"))- )?;- return Ok(());- }-// Plugin statuslet plugin_installed = is_plugin_installed();if plugin_installed {diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_always_regenerates_migration_file.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_always_regenerates_migration_file.snapindex c403c54c2..78a8585ed 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_always_regenerates_migration_file.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_always_regenerates_migration_file.snap@@ -69,9 +69,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snapindex 5814868d2..425bca063 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snap@@ -73,9 +73,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snapindex 7c3fc7669..518c0c9db 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snap@@ -75,9 +75,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_empty_project_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_empty_project_config.snapindex c6e0b2de6..bfa462b63 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_empty_project_config.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_empty_project_config.snap@@ -58,9 +58,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_empty_system_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_empty_system_config.snapindex 1527fe394..a7d0663b4 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_empty_system_config.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_empty_system_config.snap@@ -60,9 +60,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_fish_outdated_wrapper.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_fish_outdated_wrapper.snapindex 6c5478325..531ee03ef 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_fish_outdated_wrapper.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_fish_outdated_wrapper.snap@@ -1,6 +1,5 @@---source: tests/integration_tests/config_show.rs-assertion_line: 768info:program: wtargs:@@ -60,9 +59,6 @@ exit_code: 0[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m[2m↳[22m [2mTo configure, run [4mwt config shell install[24m[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_fish_with_completions.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_fish_with_completions.snapindex 9d61a995c..699d3c1ed 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_fish_with_completions.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_fish_with_completions.snap@@ -60,9 +60,6 @@ exit_code: 0[2m○[22m [2mzsh: Skipped; ~/.zshrc not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_fish_without_completions.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_fish_without_completions.snapindex 5bb576758..ab393aca9 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_fish_without_completions.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_fish_without_completions.snap@@ -61,9 +61,6 @@ exit_code: 0[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m[2m↳[22m [2mTo configure, run [4mwt config shell install[24m[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_from_linked_worktree_shows_main_worktree_hint.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_from_linked_worktree_shows_main_worktree_hint.snapindex 6db1ed05e..aa225d37f 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_from_linked_worktree_shows_main_worktree_hint.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_from_linked_worktree_shows_main_worktree_hint.snap@@ -62,9 +62,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snapindex 27ebd5080..3840d1a74 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap@@ -33,7 +33,7 @@ info:WORKTRUNK_TEST_CLAUDE_INSTALLED: "0"WORKTRUNK_TEST_DELAYED_STREAM_MS: "-1"WORKTRUNK_TEST_EPOCH: "1735776000"- WORKTRUNK_TEST_LATEST_VERSION: 0.28.2+ WORKTRUNK_TEST_LATEST_VERSION: 0.33.0WORKTRUNK_TEST_NUSHELL_ENV: "0"WORKTRUNK_TEST_POWERSHELL_ENV: "0"WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"@@ -63,9 +63,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mDIAGNOSTICS[39m[2m↳[22m [2mCI status requires GitHub or GitLab remote[22m[32m✓[39m [32mUp to date ([1m[VERSION][22m)[39mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snapindex bb3dd3594..90b965436 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap@@ -33,7 +33,7 @@ info:WORKTRUNK_TEST_CLAUDE_INSTALLED: "0"WORKTRUNK_TEST_DELAYED_STREAM_MS: "-1"WORKTRUNK_TEST_EPOCH: "1735776000"- WORKTRUNK_TEST_LATEST_VERSION: 0.28.2+ WORKTRUNK_TEST_LATEST_VERSION: 0.33.0WORKTRUNK_TEST_NUSHELL_ENV: "0"WORKTRUNK_TEST_POWERSHELL_ENV: "0"WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"@@ -60,9 +60,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mDIAGNOSTICS[39m[2m↳[22m [2mCI status requires GitHub or GitLab remote[22m[32m✓[39m [32mUp to date ([1m[VERSION][22m)[39mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_full_update_available.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_full_update_available.snapindex d4f03a7dd..98965ea03 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_full_update_available.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_full_update_available.snap@@ -60,9 +60,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mDIAGNOSTICS[39m[2m↳[22m [2mCI status requires GitHub or GitLab remote[22m[2m○[22m Update available: [1m99.0.0[22m (current: [VERSION])diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_full_version_check_unavailable.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_full_version_check_unavailable.snapindex 6f87c2e26..fc1a3741b 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_full_version_check_unavailable.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_full_version_check_unavailable.snap@@ -60,9 +60,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mDIAGNOSTICS[39m[2m↳[22m [2mCI status requires GitHub or GitLab remote[22m[2m↳[22m [2mVersion check unavailable[22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snapindex 01641d8d7..15286d9ae 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap@@ -58,9 +58,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snapindex 01641d8d7..15286d9ae 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap@@ -58,9 +58,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_project_toml.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_project_toml.snapindex 53387f919..fa22ef2f3 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_project_toml.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_project_toml.snap@@ -64,9 +64,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_system_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_system_config.snapindex ff191a717..772740671 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_system_config.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_system_config.snap@@ -66,9 +66,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_user_toml.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_user_toml.snapindex 4184b6874..5f9c8d8c6 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_user_toml.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_user_toml.snap@@ -64,9 +64,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snapindex 01641d8d7..15286d9ae 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap@@ -58,9 +58,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_no_user_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_no_user_config.snapindex 2495784d0..f550992d0 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_no_user_config.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_no_user_config.snap@@ -57,9 +57,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_nushell_outdated_wrapper.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_nushell_outdated_wrapper.snapindex 74ec867d2..3c9781b70 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_nushell_outdated_wrapper.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_nushell_outdated_wrapper.snap@@ -1,6 +1,5 @@---source: tests/integration_tests/config_show.rs-assertion_line: 799info:program: wtargs:@@ -60,9 +59,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m↳[22m [2mTo configure, run [4mwt config shell install[24m[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snapindex 4b29de1a1..d373dc5f3 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snap@@ -52,9 +52,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snapindex a77fdae33..91e7e908c 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap@@ -61,9 +61,6 @@ exit_code: 0[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m[2m↳[22m [2mTo configure, run [4mwt config shell install[24m[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_powershell_detected_via_psmodulepath.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_powershell_detected_via_psmodulepath.snapindex 789578283..425525499 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_powershell_detected_via_psmodulepath.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_powershell_detected_via_psmodulepath.snap@@ -60,9 +60,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_shell_integration_active.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_shell_integration_active.snapindex 1b2b96dae..4d5c679ab 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_shell_integration_active.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_shell_integration_active.snap@@ -58,9 +58,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_project_config_for_ci.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_project_config_for_ci.snapindex 0498ffb5d..81d23b1bc 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_project_config_for_ci.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_project_config_for_ci.snap@@ -62,9 +62,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snapindex 0bb794901..d5051e9f3 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snap@@ -74,9 +74,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_not_suppressed_by_wrapper.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_not_suppressed_by_wrapper.snapindex 7dbb4bafd..b70e10792 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_not_suppressed_by_wrapper.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_not_suppressed_by_wrapper.snap@@ -63,9 +63,6 @@ exit_code: 0[107m [0m [2m[0m[2m[34malias[0m[2m wt=[0m[2m[32m"git worktree"[0m[2m[2m↳[22m [2mIf `alias wt="git worktree"` is shell integration, report a false negative: https://github.com/max-sixty/worktrunk/issues/new?title=Shell%20integration%20detection%20false%20negative&body=Shell%20integration%20not%20detected%20despite%20config%20containing%20%60wt%60.%0A%0A%2A%2AUnmatched%20lines%3A%2A%2A%0A%60%60%60%0Aalias%20wt%3D%22git%20worktree%22%0A%60%60%60%0A%0A%2A%2AExpected%20behavior%3A%2A%2A%20These%20lines%20should%20be%20detected%20as%20shell%20integration.[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_warning.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_warning.snapindex 6a72115d0..d81c8a937 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_warning.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_warning.snap@@ -62,9 +62,6 @@ exit_code: 0[107m [0m [2m[0m[2m[34malias[0m[2m wt=[0m[2m[32m"git worktree"[0m[2m[2m↳[22m [2mIf `alias wt="git worktree"` is shell integration, report a false negative: https://github.com/max-sixty/worktrunk/issues/new?title=Shell%20integration%20detection%20false%20negative&body=Shell%20integration%20not%20detected%20despite%20config%20containing%20%60wt%60.%0A%0A%2A%2AUnmatched%20lines%3A%2A%2A%0A%60%60%60%0Aalias%20wt%3D%22git%20worktree%22%0A%60%60%60%0A%0A%2A%2AExpected%20behavior%3A%2A%2A%20These%20lines%20should%20be%20detected%20as%20shell%20integration.[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snapindex 335850e38..5411dd6f8 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap@@ -60,9 +60,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snapindex 205553e39..7e729c2ee 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap@@ -62,9 +62,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_whitespace_only_project_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_whitespace_only_project_config.snapindex c6e0b2de6..bfa462b63 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_whitespace_only_project_config.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_whitespace_only_project_config.snap@@ -58,9 +58,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snapindex 5d2b12d34..366c8e78c 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap@@ -75,9 +75,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_with_system_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_with_system_config.snapindex ff1d66133..7de60a75e 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_with_system_config.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_with_system_config.snap@@ -65,9 +65,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snapindex 3b65c8d3a..676a0e005 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap@@ -60,9 +60,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snapindex 4b163f1f6..e5488d82d 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap@@ -62,9 +62,6 @@ exit_code: 0[2m○[22m [2mfish: Skipped; ~/.config/fish/functions not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__configure_shell__config_show_detects_fish_legacy_conf_d.snap b/tests/snapshots/integration__integration_tests__configure_shell__config_show_detects_fish_legacy_conf_d.snapindex 300d1c019..535ad204c 100644--- a/tests/snapshots/integration__integration_tests__configure_shell__config_show_detects_fish_legacy_conf_d.snap+++ b/tests/snapshots/integration__integration_tests__configure_shell__config_show_detects_fish_legacy_conf_d.snap@@ -59,9 +59,6 @@ exit_code: 0[2m↳[22m [2mTo migrate to [4m~/.config/fish/functions/wt.fish[24m, run [4mwt config shell install fish[24m[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22mdiff --git a/tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snap b/tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snapindex cbf3b0c13..80b5d24f1 100644--- a/tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snap+++ b/tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snap@@ -59,9 +59,6 @@ exit_code: 0[2m○[22m [2mzsh: Skipped; ~/.zshrc not found[22m[2m○[22m [2mnu: Skipped; ~/.config/nushell/vendor/autoload not found[22m-[36mCLAUDE CODE[39m-[2m○[22m [1mclaude[22m CLI not installed-[36mOTHER[39m[2m○[22m wt: [1m[VERSION][22m[2m○[22m git: [1m[VERSION][22m