add top-level remote-control command#21424
Merged
Merged
Conversation
49d574c to
1db31fe
Compare
b9a7186 to
9cd26d6
Compare
ddr-oai
approved these changes
May 6, 2026
| codex_config::LoaderOverrides::default(), | ||
| /*default_analytics_enabled*/ false, | ||
| codex_app_server::AppServerTransport::Off, | ||
| codex_protocol::protocol::SessionSource::VSCode, |
apanasenko-oai
approved these changes
May 7, 2026
apanasenko-oai
approved these changes
May 7, 2026
8e9fa72 to
1f0db80
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
codex --enable remote_control app-server --listen offis the current way to start a headless, remote-controllable app-server, but it is hard to remember and exposes implementation details.This adds
codex remote-controlas a friendly top-level wrapper for that flow. The command starts a foreground app-server with local transports disabled and enablesremote_controlonly for that invocation.Changes
codex remote-controlCLI subcommand.AppServerTransport::Off.features.remote_control=trueafter root feature toggles so the explicit command wins over--disable remote_control.--remote/--remote-auth-token-env, matching other non-TUI subcommands.Verification
cargo test -p codex-clijust fix -p codex-cli