feat: save session transcripts when using Rust CLI (#845)

This adds support for saving transcripts when using the Rust CLI. Like
the TypeScript CLI, it saves the transcript to `~/.codex/sessions`,
though it uses JSONL for the file format (and `.jsonl` for the file
extension) so that even if Codex crashes, what was written to the
`.jsonl` file should generally still be valid JSONL content.
This commit is contained in:
Michael Bolin
2025-05-07 13:49:15 -07:00
committed by GitHub
parent 9da6ebef3f
commit 42617f8726
5 changed files with 239 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ pub mod mcp_server_config;
mod mcp_tool_call;
mod models;
pub mod protocol;
mod rollout;
mod safety;
mod user_notification;
pub mod util;