Session import
| From | Do |
|---|---|
| Web UI | Settings › Import: one list per agent, Import or Update on each row |
| CLI | openprogram 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 |
| HTTP | GET /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
| Part | Rule |
|---|---|
| Title | The name the agent shows: a renamed title, its generated title, else the first message |
| Messages | What you typed, with each reply's text, thinking and tool calls with their results, at their original times |
| Model | Recorded on each reply |
| Folder | The 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 turns | Only the branch you last saw |
| Left out | System 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 import | Result |
|---|---|
| Nothing new | Skipped, nothing written |
| New messages | Appended to the same conversation |
| Rewound in the other agent, or continued here | A new conversation; nothing already here is rewritten |
| Imported conversation deleted here | Imported again as new |
Last updated · 2026-11-25