feat: add gemini install target

This commit is contained in:
Affaan Mustafa
2026-03-31 15:13:20 -07:00
parent f056952e50
commit 1744e1ef0e
8 changed files with 81 additions and 1 deletions

View File

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

View File

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

View File

@@ -3,6 +3,7 @@ const claudeHome = require('./claude-home');
const codebuddyProject = require('./codebuddy-project');
const codexHome = require('./codex-home');
const cursorProject = require('./cursor-project');
const geminiProject = require('./gemini-project');
const opencodeHome = require('./opencode-home');
const ADAPTERS = Object.freeze([
@@ -10,6 +11,7 @@ const ADAPTERS = Object.freeze([
cursorProject,
antigravityProject,
codexHome,
geminiProject,
opencodeHome,
codebuddyProject,
]);