diff --git a/codex-rs/session/src/lib.rs b/codex-rs/session/src/lib.rs index 027da4aedd..6ebacae0b0 100644 --- a/codex-rs/session/src/lib.rs +++ b/codex-rs/session/src/lib.rs @@ -6,10 +6,10 @@ //! the binary can stay small and unit tests can call into pure Rust APIs. pub mod build; -pub mod cli; // public so main.rs can access it. -pub mod meta; // richer on-disk metadata envelope -mod spawn; // process creation helpers -pub mod store; // on-disk bookkeeping (public for tests) // build-time information helpers +pub mod cli; +pub mod meta; +mod spawn; +pub mod store; pub use cli::Cli; diff --git a/codex-rs/session/src/meta.rs b/codex-rs/session/src/meta.rs index 95ae50c823..1522b543cb 100644 --- a/codex-rs/session/src/meta.rs +++ b/codex-rs/session/src/meta.rs @@ -17,7 +17,7 @@ use crate::store::SessionKind; /// JSON envelope version. Bump when the structure changes in a /// backwards-incompatible way. -pub const CURRENT_VERSION: u8 = 2; +pub const CURRENT_VERSION: u8 = 1; /// Persisted session metadata. #[derive(Debug, Serialize, Deserialize)]