mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
## Why `codex exec` and the TypeScript SDK need a way to request a Cyber access program for an individual turn. Resuming with an API key can also leave compaction using a saved program that the current credentials cannot access. ## What changed - Add `--cyber-access-program` with `standard`, `daybreak_blue`, and `daybreak_red`, and expose the equivalent `cyberAccessProgram` turn option and `CyberAccessProgram` type in the TypeScript SDK. - Apply explicit selections to new, resumed, and prompted fork turns. Override automatic Daybreak selection for that turn without changing the saved choice. Reject the flag for review and forks without a prompt. - Filter Cyber programs by the built-in OpenAI provider when starting turns and restoring previous-turn settings for compaction. - Allow previous-model compaction fallback with API-key authentication, comparing both model and program so a program change can trigger a retry with the current pair even when the model is unchanged. ## Testing Add CLI help, argument parsing, exec, and SDK coverage for per-turn selection and unsupported commands. Extend core tests for API-key compaction retries, denied explicit selections, custom-provider filtering, remote compaction, and WebSocket response reuse. GitOrigin-RevId: 586f25b621924f3bc509c9a39b39fe2020ff9cd2
24 lines
500 B
Rust
24 lines
500 B
Rust
// Aggregates all former standalone integration tests as modules.
|
|
mod add_dir;
|
|
mod agents_md;
|
|
mod apply_patch;
|
|
mod approval_policy;
|
|
mod auth_env;
|
|
#[path = "completion_backfill_tests.rs"]
|
|
mod completion_backfill;
|
|
#[path = "cyber_access_program_tests.rs"]
|
|
mod cyber_access_program;
|
|
mod daybreak;
|
|
mod ephemeral;
|
|
mod hooks;
|
|
mod mcp_required_exit;
|
|
mod originator;
|
|
mod output_schema;
|
|
mod prompt_stdin;
|
|
mod resume;
|
|
mod sandbox;
|
|
#[cfg(target_os = "macos")]
|
|
mod seatbelt;
|
|
mod server_error_exit;
|
|
mod worktree;
|