Repository navigation
feat(resume): import Codex CLI sessions into /resume - #60
Merged
Merged
Conversation
Sessions from the Codex CLI (~/.codex/sessions rollouts) now appear in /resume and --continue, and load as native Verboo sessions. Conversion maps user/assistant messages, tool_use/tool_result pairs, and compacted replacement_history; it is idempotent and never overwrites a session that was already continued here. Session titles come from ~/.codex/session_index.jsonl (thread_name), falling back to the first user prompt. Users without ~/.codex are unaffected (silent no-op). Co-Authored-By: Verboo Code <noreply@code.verboo.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
~/.codex/sessionsrollouts) now appear in/resume(same repo and all-projects views) and in--continue, with a[codex]title taken from~/.codex/session_index.jsonl(thread_name, fallback: first user prompt)~/.claude/projects/<project>/<sessionId>.jsonl— user/assistant messages,tool_use/tool_resultpairing,compacted→replacement_historysemanticscodex resumekeeps working)~/.codexsee no change (silent no-op); [CC] sessions were already interop by designTest plan
bun test src/utils/codexSessionImport.test.ts(6/6 — conversion, tool pairing, parentUuid chain, compacted, idempotency, log options with names)bun test src/utils/sessionStorage.test.ts src/utils/conversationRecovery.test.ts src/utils/sessionStorage.agentUsage.test.ts(16/16)tsc --noEmit== 1717 errors (identical to baseline on main)loadTranscriptFile~/.codex:getCodexLogOptions()returns[]without throwing🤖 Generated with Verboo Code