[BUG] Plugin details menu says "show on github" for non-GitHub repository URLs

Resolved 💬 2 comments Opened Mar 6, 2026 by N0zz Closed Apr 3, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report
  • [x] I am using the latest version of Claude Code

What's Wrong?

The /plugin details menu displays a "show on github" action for all plugins, regardless of where the plugin's repository field actually points. For plugins hosted on GitLab (or any other non-GitHub host), the label is misleading.

The link itself works correctly — clicking it opens the correct URL (e.g. GitLab). But the label is hardcoded to say "github".

Example plugin.json:

{
  "name": "my-plugin",
  "repository": "https://gitlab.example.com/team/my-plugin"
}

The menu still shows "show on github" instead of something accurate.

What Should Happen?

The label should either:

  • Be generic: "show source" / "view repository"
  • Dynamically reflect the hostname: "show on gitlab", "show on github", etc.

Steps to Reproduce

  1. Install a plugin whose plugin.json has a repository URL pointing to a non-GitHub host (e.g. GitLab)
  2. Run /plugin
  3. Select the plugin to view details
  4. Observe the "show on github" action label despite the repository being on GitLab

Is this a regression?

I don't know

Claude Code Version

2.1.70 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗