Skip to content

Conversation

@piekstra
Copy link
Contributor

[#6]

Adds ability to move installed plugins between scopes (user, project, local) without manual uninstall/reinstall.

Changes

  • New operation type: Added OpMigrate to represent moving a plugin from one scope to another
  • Automatic migration detection: When pressing l or p on an already installed plugin at a different scope, creates a migrate operation instead of a plain install
  • Visual indicators:
    • Shows transition in list view (e.g., [USER → LOCAL])
    • Details pane shows "Will be moved from user to local"
    • Confirmation dialog shows "Move (user → local):"
  • Tab cycling support: Tab now cycles through migration states for installed plugins
  • Atomic execution: Migration executes as uninstall from original scope followed by install to new scope

Usage

  1. Select an installed plugin (shows current scope like [USER])
  2. Press l to move to local scope or p to move to project scope
  3. Plugin now shows transition indicator [USER → LOCAL]
  4. Press Enter to apply, or Esc to cancel

Closes #6

Allow moving plugins between scopes without manual uninstall/reinstall:
- Add OpMigrate operation type for scope changes
- Pressing l/p on installed plugin creates migrate operation
- Shows transition indicator (e.g., "[USER → LOCAL]") in list
- Migration executes as atomic uninstall + install
- Tab cycling now includes migration states for installed plugins

[#6]
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: Scope migration (move plugins between scopes)

2 participants