feat: Add Qwen Code support#220
Merged
kieranklaassen merged 2 commits intoEveryInc:mainfrom Mar 1, 2026
Merged
Conversation
- Add Qwen Code target for converting Claude Code plugins - Implement claude-to-qwen converter with agent/command/skill mapping - Write qwen-extension.json config with MCP servers and settings - Generate QWEN.md context file with plugin documentation - Support nested commands with colon separator (workflows:plan) - Extract MCP environment placeholders as settings - Add --to qwen and --qwen-home CLI options - Document Qwen installation in README Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Fix P1: Remove dead TOOL_MAP constant (defined but never referenced)
- Fix P1: Replace curl fallback for remote MCP servers with warn-and-skip,
matching the kiro pattern — curl is not an MCP server
- Fix P1: Remove incorrect literal cwd field ("${extensionPath}${/}") from
stdio MCP server config; the value was never interpolated
- Fix P1: Fix plugin.name → plugin.manifest.name in generateContextFile
(plugin.name does not exist on ClaudePlugin; produced "# undefined")
- Fix P1: Wire qwenHome through resolveTargetOutputRoot; previously the
--qwen-home CLI flag was parsed but silently discarded
- Fix P1: Remove hardcoded "compound-engineering" from qwen output path;
now uses plugin.manifest.name via new qwenHome + pluginName params
- Fix P1: Collapse dead-code resolveQwenPaths branches (both returned
identical structures; simplify to a single return)
- Fix P3: Remove rewriting of .opencode/ paths to .qwen/ — Claude plugins
do not reference opencode paths, and rewriting them is incorrect
- Fix P3: inferTemperature now returns undefined for unrecognized agents
instead of 0.3 (matching the explicit doc branch), letting the model
use its default temperature
- Fix P2: Add lookbehind guards to rewriteQwenPaths() matching kiro pattern
to avoid rewriting paths inside compound tokens or URLs
- Update --qwen-home default to ~/.qwen/extensions (plugin name appended)
- Add qwen-converter.test.ts with 16 tests covering all scenarios
Co-Authored-By: Claude <noreply@anthropic.com>
kieranklaassen
added a commit
to TrendpilotAI/compound-engineering-plugin
that referenced
this pull request
Mar 1, 2026
Both openclaw (EveryInc#217) and qwen (EveryInc#220) modified install.ts and targets/index.ts. Combined both targets: openclawHome + qwenHome in resolveTargetOutputRoot, both registered in the targets registry. Co-Authored-By: Claude <noreply@anthropic.com>
kieranklaassen
added a commit
that referenced
this pull request
Mar 1, 2026
CLI CHANGELOG (CHANGELOG.md): - Add OpenClaw target (#217, TrendpilotAI) to 0.11.0 - Add Qwen Code target (#220, rlam3) to 0.11.0 - Add Fixed section: code injection, plugin.manifest.name, remote MCP, CLI flags Plugin CHANGELOG (plugins/compound-engineering/CHANGELOG.md): - Add OpenClaw, Qwen, Windsurf install targets to 2.36.0 - Add Fixed: argument-hint YAML crash (#219, solon) - Add Fixed: resolve-pr-parallel skill name (underscore → hyphen) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR adds support for Qwen Code, Alibaba's AI coding assistant. Users can now convert Claude Code plugins to Qwen Code extension format.
Changes
New Files
src/types/qwen.ts- Type definitions for Qwen extension formatsrc/converters/claude-to-qwen.ts- Converter from Claude to Qwen formatsrc/targets/qwen.ts- Writer for Qwen extension structureModified Files
src/targets/index.ts- Register Qwen target handlersrc/commands/install.ts- Add--to qwenand--qwen-homeoptionsREADME.md- Document Qwen installationFeatures
workflows:plan→commands/workflows/plan.md)Usage
Output Structure
Testing
Tested with the compound-engineering plugin:
Notes
.claude/to.qwen/