feat: add qwen-extension.json for Qwen Code compatibility #87
+16
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds
qwen-extension.jsonto enable installation via Qwen Code CLI while maintaining full backward compatibility with Gemini CLI.Problem
When installing this extension using Qwen Code CLI:
The installation fails with:
This occurs because Qwen Code (a fork of Gemini CLI) expects
qwen-extension.jsonas the extension manifest filename, whereas this repo only providesgemini-extension.json.Solution
Added
qwen-extension.jsonwith identical content togemini-extension.json. This change:✅ Enables installation via Qwen Code CLI
✅ Maintains full backward compatibility with Gemini CLI (which continues to use
gemini-extension.json)✅ Introduces zero breaking changes — purely additive
Verification
✅ Tested locally on Windows:
qwen extensions install . qwen extensions listOutput:
✅ No impact on existing functionality — Gemini CLI users remain unaffected and can continue using
gemini extensions installas before.Compatibility Note
Qwen Code and Gemini CLI share nearly identical extension schemas and loading logic. This change simply adds the filename variant (
qwen-extension.json) expected by Qwen Code's extension loader, without modifying any behavior or configuration structure.Fixes: QwenLM/qwen-code#1621