Collapse Codex rollout husk
This commit is contained in:
parent
f72393d3b1
commit
6e8b27613e
5 changed files with 14 additions and 12 deletions
|
|
@ -610,6 +610,9 @@ The Codex-core re-export husks for `epiphany_distillation`, `epiphany_promotion`
|
|||
`codex-core` now re-exports those native types/functions directly from
|
||||
`epiphany-core`, and `CodexThread` calls `epiphany_core::retrieve_workspace` /
|
||||
`index_workspace` / `retrieval_state_for_workspace` directly.
|
||||
The `epiphany_rollout` husk is gone too; `codex-core::lib` keeps only the
|
||||
one host-boundary function that passes Codex's turn-boundary predicate into
|
||||
`epiphany-core`.
|
||||
|
||||
The runtime-spine job-opening mechanism for heartbeat/specialist launches has
|
||||
also been pulled into `epiphany-core` as `open_runtime_spine_heartbeat_job`.
|
||||
|
|
|
|||
Binary file not shown.
File diff suppressed because one or more lines are too long
|
|
@ -1,9 +0,0 @@
|
|||
use crate::context_manager::is_user_turn_boundary;
|
||||
use codex_protocol::protocol::EpiphanyThreadState;
|
||||
use codex_protocol::protocol::RolloutItem;
|
||||
|
||||
pub fn latest_epiphany_state_from_rollout_items(
|
||||
rollout_items: &[RolloutItem],
|
||||
) -> Option<EpiphanyThreadState> {
|
||||
epiphany_core::latest_epiphany_state_from_rollout_items(rollout_items, is_user_turn_boundary)
|
||||
}
|
||||
12
vendor/codex/codex-rs/core/src/lib.rs
vendored
12
vendor/codex/codex-rs/core/src/lib.rs
vendored
|
|
@ -17,7 +17,6 @@ pub(crate) mod session;
|
|||
pub use session::SteerInputError;
|
||||
mod codex_thread;
|
||||
mod compact_remote;
|
||||
mod epiphany_rollout;
|
||||
pub use codex_thread::CodexThread;
|
||||
pub use codex_thread::CodexThreadTurnContextOverrides;
|
||||
pub use codex_thread::EpiphanyJobInterruptRequest;
|
||||
|
|
@ -39,8 +38,17 @@ pub use epiphany_core::EpiphanyStateUpdate;
|
|||
pub use epiphany_core::distill_observation;
|
||||
pub use epiphany_core::evaluate_promotion;
|
||||
pub use epiphany_core::propose_map_update;
|
||||
pub use epiphany_rollout::latest_epiphany_state_from_rollout_items;
|
||||
mod agent;
|
||||
|
||||
pub fn latest_epiphany_state_from_rollout_items(
|
||||
rollout_items: &[codex_protocol::protocol::RolloutItem],
|
||||
) -> Option<codex_protocol::protocol::EpiphanyThreadState> {
|
||||
epiphany_core::latest_epiphany_state_from_rollout_items(
|
||||
rollout_items,
|
||||
context_manager::is_user_turn_boundary,
|
||||
)
|
||||
}
|
||||
|
||||
mod codex_delegate;
|
||||
mod command_canonicalization;
|
||||
mod commit_attribution;
|
||||
|
|
|
|||
Reference in a new issue