mirror of
https://github.com/openai/codex.git
synced 2026-10-30 19:18:49 +00:00
## Why The agent command center previously required a shared background server, preventing embedded sessions from opening it and rejecting `codex agents --no-daemon`. ## What changed - Allow `codex agents --no-daemon` to use an embedded app server and open the command center without a shared server. - Route `codex agents` through the normal daemon startup, eligibility, and compatibility checks, including embedded fallback where applicable. - Return embedded sessions to the command center when canceling directory trust or archived-session confirmation. ## Testing Add CLI coverage for `--no-daemon` before and after `agents`, plus an integration test that verifies embedded mode is used even when a daemon is running. Update archived-session tests to expect cancellation to return to the command center. GitOrigin-RevId: 3bdf18a00456eae2e4d38103d12126e039d44119