fix: change default Codex install location from global to project

This commit is contained in:
Davor Racić 2026-02-18 11:22:54 +01:00
parent 1782e97731
commit bfb1e5e23b
1 changed files with 2 additions and 2 deletions

View File

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