mirror of
https://github.com/openai/codex.git
synced 2026-09-07 15:40:00 +00:00
## What changed - Move the V8 implementation into a dedicated `codex-code-mode-runtime` crate used by `codex-code-mode-host`, removing the embedded runtime fallback from the Codex process. - Resolve the host executable from the active installation layout and check its availability before selecting tools. - Fall back to direct tools with a one-time warning when optional code mode is unavailable. Keep `code_mode_only` and `disable_in_process_fallback` configurations fail-closed. ## Testing - Cover host discovery for standalone and package layouts, including missing hosts and symlinks. - Verify direct-tool fallback, one-time warnings, and fail-closed code-mode-only behavior. GitOrigin-RevId: 5aa3c6f1db148b2231fc24089a2ee0e2b00dbddb
13 lines
301 B
Rust
13 lines
301 B
Rust
mod cell_actor;
|
|
mod runtime;
|
|
mod service;
|
|
mod session_runtime;
|
|
mod v8_init;
|
|
|
|
pub(crate) type TaskFailureHandler = std::sync::Arc<dyn Fn(String) + Send + Sync>;
|
|
|
|
pub use codex_code_mode_protocol::*;
|
|
pub use service::InProcessCodeModeSession;
|
|
pub use v8_init::V8JitMode;
|
|
pub use v8_init::initialize_v8;
|