-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
status/needs-triageIssue needs to be triaged and labeledIssue needs to be triaged and labeledtype/bugSomething isn't working as expectedSomething isn't working as expected
Description
What happened?
When trying to install an extension from a self-hosted git server (e.g., GitLab, Bitbucket, Gitea), the installation fails after confirmation with the error:
Invalid GitHub repository source: https://gitlab.company.com/owner/repo. Expected "owner/repo" or a github repo uri.
Steps to reproduce:
- Run: qwen extensions install https://gitlab.company.com/team/my-extension
- Confirm installation when prompted
- Observe the error
What did you expect to happen?
The extension should install successfully using the git URL as the source.
Client information
Client Information
Qwen Code 0.12.6 (ac30c98a2)
Runtime Node.js v24.14.0 / npm 11.9.0
OS linux x64 (6.6.87.2-microsoft-standard-WSL2)
Login information
No response
Anything else we need to know?
Root cause: The getExtensionId function calls parseGitHubRepoForReleases() which only supports GitHub URLs.
Fix: wrap in try-catch to fall back to source URL for non-GitHub servers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status/needs-triageIssue needs to be triaged and labeledIssue needs to be triaged and labeledtype/bugSomething isn't working as expectedSomething isn't working as expected