Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

feat: show Claude Code plugin status in `wt config show` (#423)

Maximilian Rooscfa0167730e9
diff --git a/src/commands/config.rs b/src/commands/config.rs
index 40e4c0baf..b0d154e34 100644
--- a/src/commands/config.rs
+++ b/src/commands/config.rs
@@ -154,6 +154,42 @@ pub fn handle_config_show(full: bool) -> anyhow::Result<()> {
Ok(())
}
+/// Check if Claude Code CLI is available
+fn is_claude_available() -> bool {
+ use std::process::{Command, Stdio};
+ use worktrunk::shell_exec::run;
+
+ let mut cmd = Command::new("claude");
+ cmd.args(["--version"]);
+ cmd.stdin(Stdio::null());
+
+ run(&mut cmd, None)
+ .map(|o| o.status.success())
+ .unwrap_or(false)
+}
+
+/// Check if the worktrunk plugin is installed in Claude Code
+fn is_plugin_installed() -> bool {
+ // Try HOME/USERPROFILE env vars first (for tests and explicit overrides), then fall back to dirs
+ let home = std::env::var("HOME")
+ .or_else(|_| std::env::var("USERPROFILE"))
+ .ok()
+ .map(PathBuf::from)
+ .or_else(dirs::home_dir);
+
+ let Some(home) = home else {
+ return false;
+ };
+
+ let plugins_file = home.join(".claude/plugins/installed_plugins.json");
+ let Ok(content) = std::fs::read_to_string(&plugins_file) else {
+ return false;
+ };
+
+ // Look for "worktrunk@worktrunk" in the plugins object
+ content.contains("\"worktrunk@worktrunk\"")
+}
+
/// Render runtime information (version, binary name, shell integration status)
fn render_runtime_info(out: &mut String) -> anyhow::Result<()> {
let cmd = crate::binary_name();
@@ -174,6 +210,10 @@ fn render_runtime_info(out: &mut String) -> anyhow::Result<()> {
writeln!(out, "{}", warning_message("Shell integration not active"))?;
}
+ // Cache plugin status for use after debug info
+ let plugin_installed = is_plugin_installed();
+ let claude_available = is_claude_available();
+
// Debug info for shell integration troubleshooting
// Show invocation details that help diagnose issues like https://github.com/max-sixty/worktrunk/pull/387
let invocation = crate::invocation_path();
@@ -194,6 +234,27 @@ fn render_runtime_info(out: &mut String) -> anyhow::Result<()> {
let debug_text = debug_lines.join("\n");
writeln!(out, "{}", format_with_gutter(&debug_text, None))?;
+ // Claude Code plugin status (after debug info)
+ if plugin_installed {
+ writeln!(out, "{}", success_message("Claude Code plugin installed"))?;
+ } else if claude_available {
+ writeln!(
+ out,
+ "{}",
+ hint_message("Claude Code plugin not installed. To install, run:")
+ )?;
+ let install_commands = "claude plugin marketplace add max-sixty/worktrunk\nclaude plugin install worktrunk@worktrunk";
+ writeln!(out, "{}", format_bash_with_gutter(install_commands))?;
+ } else {
+ writeln!(
+ out,
+ "{}",
+ hint_message(cformat!(
+ "Claude Code plugin not installed (<bold>claude</> not found)"
+ ))
+ )?;
+ }
+
// Show hyperlink support status (separate from shell integration)
let hyperlinks_supported =
worktrunk::styling::supports_hyperlinks(worktrunk::styling::Stream::Stderr);
diff --git a/tests/common/mod.rs b/tests/common/mod.rs
index 12098a5e8..88c078cba 100644
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -1546,9 +1546,64 @@ esac
"#,
);
+ // Create mock claude script - not installed (exit 1 on --version)
+ // Tests can override with setup_mock_claude_installed() if needed
+ write_mock_script(
+ &mock_bin,
+ "claude",
+ r#"#!/bin/sh
+# Mock claude: not installed
+exit 1
+"#,
+ );
+
self.mock_bin_path = Some(mock_bin);
}
+ /// Setup mock `claude` CLI as installed
+ ///
+ /// Call this after setup_mock_ci_tools_unauthenticated() to simulate
+ /// Claude Code being available on the system.
+ pub fn setup_mock_claude_installed(&mut self) {
+ use crate::common::mock_commands::write_mock_script;
+
+ let mock_bin = self
+ .mock_bin_path
+ .as_ref()
+ .expect("Call setup_mock_ci_tools_unauthenticated first");
+
+ write_mock_script(
+ mock_bin,
+ "claude",
+ r#"#!/bin/sh
+# Mock claude: installed
+case "$1" in
+ --version)
+ echo "Claude Code 1.0.0 (mock)"
+ exit 0
+ ;;
+ *)
+ exit 0
+ ;;
+esac
+"#,
+ );
+ }
+
+ /// Setup the worktrunk plugin as installed in Claude Code
+ ///
+ /// Creates the installed_plugins.json file in the temp home directory.
+ /// The temp_home must already be set up (via set_temp_home_env on the command).
+ pub fn setup_plugin_installed(temp_home: &std::path::Path) {
+ let plugins_dir = temp_home.join(".claude/plugins");
+ std::fs::create_dir_all(&plugins_dir).unwrap();
+ std::fs::write(
+ plugins_dir.join("installed_plugins.json"),
+ r#"{"version":2,"plugins":{"worktrunk@worktrunk":[{"scope":"user"}]}}"#,
+ )
+ .unwrap();
+ }
+
/// Setup mock `gh` that returns configurable PR/CI data
///
/// Use this for testing CI status parsing code. The mock returns JSON data
diff --git a/tests/integration_tests/config_show.rs b/tests/integration_tests/config_show.rs
index 9833aa1af..cb07b1538 100644
--- a/tests/integration_tests/config_show.rs
+++ b/tests/integration_tests/config_show.rs
@@ -742,3 +742,63 @@ fn test_config_show_shell_integration_active(mut repo: TestRepo, temp_home: Temp
assert_cmd_snapshot!(cmd);
});
}
+
+/// Test `wt config show` when the worktrunk plugin is installed in Claude Code
+#[rstest]
+fn test_config_show_plugin_installed(mut repo: TestRepo, temp_home: TempDir) {
+ // Setup mock gh/glab for deterministic output
+ repo.setup_mock_ci_tools_unauthenticated();
+ // Setup plugin as installed in Claude Code
+ TestRepo::setup_plugin_installed(temp_home.path());
+
+ // Create global config
+ let global_config_dir = temp_home.path().join(".config").join("worktrunk");
+ fs::create_dir_all(&global_config_dir).unwrap();
+ fs::write(
+ global_config_dir.join("config.toml"),
+ r#"worktree-path = "../{{ repo }}.{{ branch }}"
+"#,
+ )
+ .unwrap();
+
+ let settings = setup_snapshot_settings_with_home(&repo, &temp_home);
+ settings.bind(|| {
+ let mut cmd = wt_command();
+ repo.configure_wt_cmd(&mut cmd);
+ repo.configure_mock_commands(&mut cmd);
+ cmd.arg("config").arg("show").current_dir(repo.root_path());
+ set_temp_home_env(&mut cmd, temp_home.path());
+
+ assert_cmd_snapshot!(cmd);
+ });
+}
+
+/// Test `wt config show` when claude CLI is available but plugin is not installed
+#[rstest]
+fn test_config_show_claude_available_plugin_not_installed(mut repo: TestRepo, temp_home: TempDir) {
+ // Setup mock gh/glab for deterministic output
+ repo.setup_mock_ci_tools_unauthenticated();
+ // Setup mock claude as available (but plugin not installed)
+ repo.setup_mock_claude_installed();
+
+ // Create global config
+ let global_config_dir = temp_home.path().join(".config").join("worktrunk");
+ fs::create_dir_all(&global_config_dir).unwrap();
+ fs::write(
+ global_config_dir.join("config.toml"),
+ r#"worktree-path = "../{{ repo }}.{{ branch }}"
+"#,
+ )
+ .unwrap();
+
+ let settings = setup_snapshot_settings_with_home(&repo, &temp_home);
+ settings.bind(|| {
+ let mut cmd = wt_command();
+ repo.configure_wt_cmd(&mut cmd);
+ repo.configure_mock_commands(&mut cmd);
+ cmd.arg("config").arg("show").current_dir(repo.root_path());
+ set_temp_home_env(&mut cmd, temp_home.path());
+
+ assert_cmd_snapshot!(cmd);
+ });
+}
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_claude_available_plugin_not_installed.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_claude_available_plugin_not_installed.snap
new file mode 100644
index 000000000..739ff7baf
--- /dev/null
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_claude_available_plugin_not_installed.snap
@@ -0,0 +1,52 @@
+---
+source: tests/integration_tests/config_show.rs
+info:
+ program: wt
+ args:
+ - config
+ - show
+ env:
+ APPDATA: "[TEST_CONFIG_HOME]"
+ CLICOLOR_FORCE: "1"
+ COLUMNS: "150"
+ GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
+ GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
+ GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
+ GIT_CONFIG_SYSTEM: /dev/null
+ GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
+ HOME: "[TEST_HOME]"
+ LANG: C
+ LC_ALL: C
+ PATH: "[PATH]"
+ RUST_LOG: warn
+ SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
+ USERPROFILE: "[TEST_HOME]"
+ WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
+ WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
+ XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"
+---
+success: true
+exit_code: 0
+----- stdout -----
+
+----- stderr -----
+USER CONFIG ~/.config/worktrunk/config.toml
+  worktree-path = "../{{ repo }}.{{ branch }}"
+
+PROJECT CONFIG _REPO_/.config/wt.toml
+↳ Not found
+
+SHELL INTEGRATION
+○ Skipped bash; ~/.bashrc not found
+○ Skipped zsh; ~/.zshrc not found
+○ Skipped fish; ~/.config/fish/conf.d not found
+
+RUNTIME wt [VERSION]
+▲ Shell integration not active
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed. To install, run:
+  claude plugin marketplace add max-sixty/worktrunk
+  claude plugin install worktrunk@worktrunk
+○ Hyperlinks: inactive
diff --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.snap
index 68b170f26..10fe2b42b 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
@@ -46,4 +46,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index c302e2557..c20a1136f 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
@@ -59,4 +59,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index 43bd59b41..2af9b2386 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
@@ -51,4 +51,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index 8eadf36e7..2d4d47b94 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
@@ -46,4 +46,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index 8eadf36e7..2d4d47b94 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
@@ -46,4 +46,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index 8eadf36e7..2d4d47b94 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
@@ -46,4 +46,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index a634e4041..192976cdc 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
@@ -46,4 +46,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index 55e91eb0b..158ea6edd 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
@@ -38,4 +38,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index 3d2821fce..5cd5c1c8b 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
@@ -50,4 +50,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_plugin_installed.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_plugin_installed.snap
new file mode 100644
index 000000000..4cf2f2589
--- /dev/null
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_plugin_installed.snap
@@ -0,0 +1,50 @@
+---
+source: tests/integration_tests/config_show.rs
+info:
+ program: wt
+ args:
+ - config
+ - show
+ env:
+ APPDATA: "[TEST_CONFIG_HOME]"
+ CLICOLOR_FORCE: "1"
+ COLUMNS: "150"
+ GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
+ GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
+ GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
+ GIT_CONFIG_SYSTEM: /dev/null
+ GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
+ HOME: "[TEST_HOME]"
+ LANG: C
+ LC_ALL: C
+ PATH: "[PATH]"
+ RUST_LOG: warn
+ SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
+ USERPROFILE: "[TEST_HOME]"
+ WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
+ WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
+ XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"
+---
+success: true
+exit_code: 0
+----- stdout -----
+
+----- stderr -----
+USER CONFIG ~/.config/worktrunk/config.toml
+  worktree-path = "../{{ repo }}.{{ branch }}"
+
+PROJECT CONFIG _REPO_/.config/wt.toml
+↳ Not found
+
+SHELL INTEGRATION
+○ Skipped bash; ~/.bashrc not found
+○ Skipped zsh; ~/.zshrc not found
+○ Skipped fish; ~/.config/fish/conf.d not found
+
+RUNTIME wt [VERSION]
+▲ Shell integration not active
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
+✓ Claude Code plugin installed
+○ Hyperlinks: inactive
diff --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.snap
index 1a52749d8..4845196bb 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
@@ -47,4 +47,5 @@ exit_code: 0
RUNTIME wt [VERSION]
○ Shell integration active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index bcc698635..ec924f95a 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
@@ -53,4 +53,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index 9d5c2d4e4..4743daacf 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
@@ -48,4 +48,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index fffde2ef5..daaef3641 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
@@ -50,4 +50,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index 68b170f26..10fe2b42b 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
@@ -46,4 +46,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index eedc1c50e..39c27bdf4 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
@@ -52,4 +52,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index f47885618..bcd8f84a0 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
@@ -48,4 +48,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive
diff --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.snap
index 4f2593ac1..59c39247a 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
@@ -50,4 +50,5 @@ exit_code: 0
RUNTIME wt [VERSION]
▲ Shell integration not active
  Invoked as: [PROJECT_ROOT]/target/debug/wt
+↳ Claude Code plugin not installed (claude not found)
○ Hyperlinks: inactive