Docs / GuidesView markdown
Import OpenCode sessions
If you used OpenCode in a project folder before Admiral, those sessions are still there. Admiral offers them for import, per project.
What import does
- Admiral lists the OpenCode sessions that belong to the project folder and are not in Admiral yet. The sidebar shows a count per project.
- You pick the sessions you want.
- Import copies each transcript to your machine: the newest 200 messages, with text, tool use, and attachment records.
Import copies. It does not move or change anything in OpenCode.
Import steps
- Open the project, or create one on the folder that holds your OpenCode work.
- Open the offered-sessions list for the project.
- Pick the sessions to import.
A session that is already in Admiral is not added twice.
Continue an imported session
After import, the session keeps its link to the original OpenCode session. Send a prompt, and Admiral resumes that same OpenCode session where it left off. Your agent sees the prior context, because the context lives in OpenCode on the host device.
Deleting an imported session
When you delete a session in Admiral, Admiral deletes it in OpenCode too, by default. If you want to keep the OpenCode original, remove the session from Admiral by archiving it instead.
Next steps
- Start a session: new work in the same project.
- Agents and models: how OpenCode relates to the other agents.