OpenProgram Docs

Session import

Claude Code ~/.claude/projects Codex ~/.codex/sessions Credentials removed host context dropped Conversation in its folder's project
FromDo
Web UISettings › Import: one list per agent, Import or Update on each row
CLIopenprogram sessions import--from all|claude-code|codex, default all--since DAYS--dry-run: what would be created or appended, decided as the import decides, nothing imported--list: every conversation found, with its statePATH ...: only these transcript files
HTTPGET /api/sessions/import/candidates, POST /api/sessions/import

Claude Code is read from $CLAUDE_CONFIG_DIR when set, Codex from $CODEX_HOME.

What comes across

PartRule
TitleThe name the agent shows: a renamed title, its generated title, else the first message
MessagesWhat you typed, with each reply's text, thinking and tool calls with their results, at their original times
ModelRecorded on each reply
FolderThe conversation joins the project of the folder it ran in, which is added when missing; the home folder or a folder that is gone means the default project
Rewound Claude Code turnsOnly the branch you last saw
Left outSystem reminders, environment and AGENTS.md context, sub-agent transcripts, conversations with no reply

Credentials

Sign-in files (~/.claude/.credentials.json, ~/.codex/auth.json) are never read. Inside transcripts, provider keys, GitHub, Slack, AWS and Google tokens, JWTs, private keys, Bearer … and password=… values, and tool arguments named like api_key or token become [secret removed], in titles and in the listing's cache as well. The original transcripts are not changed.

Importing again

Since the last importResult
Nothing newSkipped, nothing written
New messagesAppended to the same conversation
Rewound in the other agent, or continued hereA new conversation; nothing already here is rewritten
Imported conversation deleted hereImported again as new

Session export · CLI commands

Last updated · 2026-11-25