One command reads OpenCode's session database and imports them with dates and tool calls: `idapt chat import --from opencode`.
One global install; the same CLI the quickstarts use.
npm i -g @idapt/clinpm i -g @idapt/cliRun the importer. It signs you in if needed (browser), opens the session database read-only (XDG data dir), and previews what will be imported. Default scope: sessions started in the current directory; use --all for every project on the machine.
idapt chat import --from opencodeidapt chat import --from opencodePoint OpenCode at idapt's endpoint and compare on your real workload before you switch fully.
Quickstart| OpenCode | In idapt | How |
|---|---|---|
| Session history in scope | Chats in the workspace, source dates preserved | Automatic |
| Tool calls + results | History rows; folded into text when a model replays them and never re-executed | Automatic |
| Subagent sessions | Not imported in v1 | No equivalent |