mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
This PR does multiple things that are necessary for conversation resume to work from the extension. I wanted to make sure everything worked so these changes wound up in one PR: 1. Generate more ts types 2. Resume rollout history files rather than create a new one every time it is resumed so you don't see a duplicate conversation in history for every resume. Chatted with @aibrahim-oai to verify this 3. Return conversation_id in conversation summaries 4. [Cleanup] Use serde and strong types for a lot of the rollout file parsing
16 lines
359 B
Rust
16 lines
359 B
Rust
//! Rollout module: persistence and discovery of session rollout files.
|
|
|
|
pub(crate) const SESSIONS_SUBDIR: &str = "sessions";
|
|
|
|
pub mod list;
|
|
pub(crate) mod policy;
|
|
pub mod recorder;
|
|
|
|
pub use recorder::RolloutRecorder;
|
|
pub use recorder::RolloutRecorderParams;
|
|
pub use recorder::SessionMeta;
|
|
pub use recorder::SessionStateSnapshot;
|
|
|
|
#[cfg(test)]
|
|
pub mod tests;
|