Skip to content

Conversation

@piekstra
Copy link
Contributor

[#2]

Add the ability to see and apply plugin updates from the TUI.

Changes

  • Track update availability: Added AvailableVersion and HasUpdate fields to PluginState to detect when newer versions are available
  • 'U' key binding: Press U (shift+u) to mark an installed plugin with an available update for updating
  • Visual indicators:
    • Shows indicator in list view for plugins with updates
    • Shows version transition in details pane (e.g., "1.0 → 2.0 available")
    • Shows [→ UPDATE] when plugin is staged for update
  • Execution: Updates are implemented as reinstall at the same scope

Usage

  1. Browse plugins - those with updates show next to their scope
  2. Select a plugin with an update available
  3. Press U to stage the update
  4. Press Enter to apply, or Esc to cancel

Closes #2

Add ability to update plugins when newer versions are available:
- Track AvailableVersion and HasUpdate fields in PluginState
- Add 'U' key binding to select plugins for update
- Show "↑" indicator in list for plugins with available updates
- Show version transition in details (e.g., "1.0 → 2.0 available")
- Add OpUpdate operation type and handle in execution flow
- Updates are implemented as reinstall at same scope

[#2]
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.

feat: Show and apply plugin updates

2 participants