fix: change default Codex install location from global to project (#1698)

This commit is contained in:
Davor Racic 2026-02-19 01:30:22 +01:00 committed by GitHub
parent 1782e97731
commit 5579816ed2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -23,9 +23,9 @@ class CodexSetup extends BaseIdeSetup {
* @returns {Object} Collected configuration * @returns {Object} Collected configuration
*/ */
async collectConfiguration(options = {}) { async collectConfiguration(options = {}) {
// Non-interactive mode: use default (global) // Non-interactive mode: use default (project) - recommended for real work
if (options.skipPrompts) { if (options.skipPrompts) {
return { installLocation: 'global' }; return { installLocation: options.codexLocation || 'project' };
} }
let confirmed = false; let confirmed = false;