feat: add Qwen install target

This commit is contained in:
Affaan Mustafa
2026-05-11 11:15:45 -04:00
committed by Affaan Mustafa
parent c7c1e36625
commit e70ef4a2ff
16 changed files with 284 additions and 21 deletions

View File

@@ -4,7 +4,7 @@ const path = require('path');
const { getInstallTargetAdapter, planInstallTargetScaffold } = require('./install-targets/registry');
const DEFAULT_REPO_ROOT = path.join(__dirname, '../..');
const SUPPORTED_INSTALL_TARGETS = ['claude', 'cursor', 'antigravity', 'codex', 'gemini', 'opencode', 'codebuddy', 'joycode'];
const SUPPORTED_INSTALL_TARGETS = ['claude', 'cursor', 'antigravity', 'codex', 'gemini', 'opencode', 'codebuddy', 'joycode', 'qwen'];
const COMPONENT_FAMILY_PREFIXES = {
baseline: 'baseline:',
language: 'lang:',

View File

@@ -10,6 +10,7 @@ const PLATFORM_SOURCE_PATH_OWNERS = Object.freeze({
'.joycode': 'joycode',
'.opencode': 'opencode',
'.codebuddy': 'codebuddy',
'.qwen': 'qwen',
});
function normalizeRelativePath(relativePath) {

View File

@@ -0,0 +1,10 @@
const { createInstallTargetAdapter } = require('./helpers');
module.exports = createInstallTargetAdapter({
id: 'qwen-home',
target: 'qwen',
kind: 'home',
rootSegments: ['.qwen'],
installStatePathSegments: ['ecc-install-state.json'],
nativeRootRelativePath: '.qwen',
});

View File

@@ -6,6 +6,7 @@ const cursorProject = require('./cursor-project');
const geminiProject = require('./gemini-project');
const joycodeProject = require('./joycode-project');
const opencodeHome = require('./opencode-home');
const qwenHome = require('./qwen-home');
const ADAPTERS = Object.freeze([
claudeHome,
@@ -16,6 +17,7 @@ const ADAPTERS = Object.freeze([
opencodeHome,
codebuddyProject,
joycodeProject,
qwenHome,
]);
function listInstallTargetAdapters() {