Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
address review (codex): honor a provider.args update-check pin on the direct codex agent path
[._.]/ Adam Eivy2b00268931bb
diff --git a/server/services/agentCliSpawning.js b/server/services/agentCliSpawning.jsindex 4760fd073b..b45a28984e 100644--- a/server/services/agentCliSpawning.js+++ b/server/services/agentCliSpawning.js@@ -267,7 +267,7 @@ export function buildCliSpawnConfig(provider, model, settingsEnv = {}, { systemP// exec run never spends startup time hitting GitHub / kicking off a brew// upgrade it can't complete unattended (the fatal interactive-modal variant// is documented on buildCodexStartupArgs in providerModels.js).- const args = ['exec', '--dangerously-bypass-approvals-and-sandbox', ...buildCodexStartupArgs()];+ const args = ['exec', '--dangerously-bypass-approvals-and-sandbox', ...buildCodexStartupArgs(provider?.args)];if (effectiveModel) {args.push('--model', effectiveModel);}diff --git a/server/services/agentCliSpawning.test.js b/server/services/agentCliSpawning.test.jsindex 7b98cafccb..0ab132c9c0 100644--- a/server/services/agentCliSpawning.test.js+++ b/server/services/agentCliSpawning.test.js@@ -194,6 +194,15 @@ describe('buildCliSpawnConfig', () => {expect(config.args).toEqual(['exec', '--dangerously-bypass-approvals-and-sandbox', '-c', 'check_for_update_on_startup=false', '--model', 'gpt-5.4']);});+ it('does not override a Codex provider that pins the update-check config in its args', () => {+ const config = buildCliSpawnConfig(+ { id: 'codex', command: 'codex', args: ['-c', 'check_for_update_on_startup=true'] },+ 'gpt-5.4',+ );+ // The user's explicit pin wins: no injected `check_for_update_on_startup=false`.+ expect(config.args.filter((a) => a.startsWith('check_for_update_on_startup='))).toEqual([]);+ });+it('uses agy print mode for Antigravity without model flags', () => {const config = buildCliSpawnConfig({ id: 'antigravity-cli', command: 'agy', args: [] }, 'antigravity-configured-default');