Repository navigation
fix(windows): stop the permanent Claude plugin update chip - #20
Merged
Merged
Conversation
On Windows the fork installs PowerShell hooks whose session_start reports plugin_version 2.2.0, below MINIMUM_PLUGIN_VERSION 2.4.0, so the agent footer always offered "Plugin update instructions". Re-running the installer could not clear it: the installed hooks already match the repo. needs_update() already returned false on Windows; make supports_update() false there too so the version-based chip does not apply to the hook port. Refs warp-w211k Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Refs warp-w211k.
On Windows, Synth Warp installs its own PowerShell hooks for Claude Code (
scripts/claude-warp-hooks). Theiron-session-start.ps1reportsplugin_version = "2.2.0", whileMINIMUM_PLUGIN_VERSIONis2.4.0(raised by an upstream sync). The agent footer therefore always showed Plugin update instructions, and the suggested fix (re-run the installer) could not clear it, because the installed hooks already match the repo.ClaudeCodePluginManager::needs_update()already returnsfalseon Windows. This makessupports_update()returnfalsethere too, so the footer's version-based chip doesn't apply to the hook port. Non-Windows behavior is unchanged.Testing
supports_update_is_false_on_windows/supports_update_is_true_off_windows;cargo nextest run -p warp -E 'test(/plugin_manager::claude/)': 25/25 pass on Windows.cargo clippy -p warp --all-targets --tests -- -D warnings: pass.cargo fmt --checkfails only on the pre-existingclaude.rsline that fix(ci): cargo-deny 0.22 config and rustfmt on master #17 fixes.Needs #17 for CI.
CHANGELOG-BUG-FIX: On Windows, the Claude Code footer no longer asks to update the notification hooks forever.
🤖 Generated with Claude Code