Skip to content

fix(claude): drop --scope from the marketplace remove call - #112

Merged
dacorvo merged 1 commit into
mainfrom
fix/remove_claude_user
Aug 12, 2026
Merged

fix(claude): drop --scope from the marketplace remove call#112
dacorvo merged 1 commit into
mainfrom
fix/remove_claude_user

Conversation

@dacorvo

@dacorvo dacorvo commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

claude plugin marketplace remove accepts no --scope flag (only plugin uninstall does), so funes remove claude aborted with "unknown option '--scope'" after it had already unregistered the MCP server and deleted ~/.funes/integrations/claude-plugin — leaving a marketplace entry pointing at a directory that no longer exists, and no way to reach a clean state without running the CLI by hand.

The tests never caught it because the fake CLI accepts any argument list; it only asserts the args funes passes, so the expected log moves with the fix.

`claude plugin marketplace remove` accepts no --scope flag (only `plugin
uninstall` does), so `funes remove claude` aborted with "unknown option
'--scope'" after it had already unregistered the MCP server and deleted
~/.funes/integrations/claude-plugin — leaving a marketplace entry pointing at
a directory that no longer exists, and no way to reach a clean state without
running the CLI by hand.

The tests never caught it because the fake CLI accepts any argument list; it
only asserts the args funes passes, so the expected log moves with the fix.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@dacorvo
dacorvo requested a lite review from Copilot August 12, 2026 13:28
@dacorvo
dacorvo merged commit 6529bd1 into main Aug 12, 2026
8 checks passed
@dacorvo
dacorvo deleted the fix/remove_claude_user branch August 12, 2026 13:28
Copilot stopped reviewing on behalf of dacorvo due to an error August 12, 2026 13:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the Claude uninstall/remove flow to stop passing an explicit --scope user to plugin marketplace remove, and aligns the expected command log output accordingly.

Changes:

  • Removed --scope user from the claude plugin marketplace remove command arguments.
  • Updated the user-facing removal instructions string to match the unscoped marketplace remove command.
  • Updated the tests/remove.rs expected output to match the new command sequence.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
tests/remove.rs Updates the expected logged command output for the remove flow.
src/claude.rs Removes the --scope user argument from marketplace removal and updates instruction text accordingly.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/claude.rs
Comment on lines +131 to 132
&["plugin", "marketplace", "remove", "huggingface"],
&["Marketplace 'huggingface' not found"],
Comment thread src/claude.rs
Comment on lines 108 to +110
" claude mcp remove funes -s user\n \
claude plugin uninstall funes@huggingface -s user\n \
claude plugin marketplace remove huggingface --scope user"
claude plugin marketplace remove huggingface"
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.

2 participants