diff --git a/tools/cli/installers/lib/ide/codex.js b/tools/cli/installers/lib/ide/codex.js index c7f479067..576c66a6c 100644 --- a/tools/cli/installers/lib/ide/codex.js +++ b/tools/cli/installers/lib/ide/codex.js @@ -25,28 +25,28 @@ class CodexSetup extends BaseIdeSetup { * @returns {Object} Collected configuration */ async collectConfiguration(options = {}) { - // Non-interactive mode: use default (global) + // Non-interactive mode: use default (project) if (options.skipPrompts) { - return { installLocation: 'global' }; + return { installLocation: 'project' }; } let confirmed = false; - let installLocation = 'global'; + let installLocation = 'project'; while (!confirmed) { installLocation = await prompts.select({ message: 'Where would you like to install Codex CLI skills?', choices: [ { - name: 'Global - Simple for single project ' + '(~/.agents/skills, but references THIS project only)', - value: 'global', - }, - { - name: 'Project-specific - Recommended for real work (/.agents/skills)', + name: 'Project-specific - Recommended (/.agents/skills)', value: 'project', }, + { + name: 'Global - (~/.agents/skills)', + value: 'global', + }, ], - default: 'global', + default: 'project', }); // Show brief confirmation hint (detailed instructions available via verbose) @@ -82,8 +82,8 @@ class CodexSetup extends BaseIdeSetup { // Always use CLI mode const mode = 'cli'; - // Get installation location from pre-collected config or default to global - const installLocation = options.preCollectedConfig?.installLocation || 'global'; + // Get installation location from pre-collected config or default to project + const installLocation = options.preCollectedConfig?.installLocation || 'project'; const { artifacts, counts } = await this.collectClaudeArtifacts(projectDir, bmadDir, options); diff --git a/tools/cli/installers/lib/ide/platform-codes.yaml b/tools/cli/installers/lib/ide/platform-codes.yaml index 36a2b6a66..7c2dde2cb 100644 --- a/tools/cli/installers/lib/ide/platform-codes.yaml +++ b/tools/cli/installers/lib/ide/platform-codes.yaml @@ -54,7 +54,7 @@ platforms: name: "Codex" preferred: false category: cli - description: "OpenAI Codex skills (agentskills.io format)" + description: "OpenAI Codex integration" # No installer config - uses custom codex.js crush: