Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

codex

Native Codex rollout JSONL, as written to ~/.codex/sessions/. The whole file is the transcript string.

The adapter decodes session_meta (cwd, git branch, session id), turn_context (model), event_msg reasoning, and response_item payloads: message, function_call, custom_tool_call, web_search_call, tool_search_call, and their outputs. Results link to calls by native call_id.

Codex rollout lines carry no per-record id, so identity anchors to the append-only byte offset (kind byte), which stays stable across chunked uploads via sourceContext.baseByteOffset. Canonical normalization requires a resolved session id: include the session_meta row or pass sourceContext.groupId.

System-injected user content (<environment_context>, <user_instructions>, <permissions instructions>, <turn_context>) is dropped with an injected_context_dropped diagnostic.

Listing

listTrajectories({ source: "codex" }) walks ~/.codex/sessions/ recursively for rollout .jsonl files; each item's path is the transcript file.