Skip to content

fix(windows): stop the permanent Claude plugin update chip - #20

Merged
synthet merged 2 commits into
masterfrom
af/warp-w211k-windows-stop-the-permanent-claud
Nov 28, 2026
Merged

synthet merged 2 commits into
masterfrom
af/warp-w211k-windows-stop-the-permanent-claud

Conversation

@synthet

@synthet synthet commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Description

Refs warp-w211k.

On Windows, Synth Warp installs its own PowerShell hooks for Claude Code (scripts/claude-warp-hooks). Their on-session-start.ps1 reports plugin_version = "2.2.0", while MINIMUM_PLUGIN_VERSION is 2.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 returns false on Windows. This makes supports_update() return false there too, so the footer's version-based chip doesn't apply to the hook port. Non-Windows behavior is unchanged.

Testing

  • New tests 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 --check fails only on the pre-existing claude.rs line 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

synthet and others added 2 commits November 20, 2026 00:14
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>
@synthet
synthet merged commit 2ac3c0d into master Nov 28, 2026
10 checks passed
@synthet
synthet deleted the af/warp-w211k-windows-stop-the-permanent-claud branch November 28, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant