Repository navigation
Roller 0.8.0 imports native OpenCode and Pi sessions, runs Codex and OpenCode single-agent task lists in remote sandboxes, and adds roller doctor, JSON output for roller bench report, and diagnostics that say why compaction SFT windows split or fail to align.
uv tool install roller-agent # or: python -m pip install roller-agentAdded
roller import --harness opencodeimports native OpenCode sessions from its SQLite database,opencode.dbunder$OPENCODE_DATA_DIR,$XDG_DATA_HOME/opencodeor~/.local/share/opencode, or from a database or data directory passed on the command line, including the olderstorage/layout. Root sessions become samples with the native record astrace.jsonl, ACTF and usage; subagent sessions are counted and left out. A session without context compaction also exports linear SFT, and running the import again updates changed sessions and skips unchanged ones.examples/cookbook/opencode-local-importgenerates a syntheticopencode.dband walks through the import offline.roller import --harness piimports native Pi v1.6.1 sessions. It preserves the original JSONL and shows the raw history of the reopened branch in the Viewer. Text Chat Completions sessions with matching captured Calls can export verified, per-call SFT segments.- OpenCode task lists can run in a remote sandbox with
--sandbox-provider NAME --sandbox-template NAME. The pinned CLI runs in the sandbox, and Roller collects its native journal, ACTF, task outputs, and optional wire trace, Calls and token IDs. roller doctorreports Python,roller-agent, Docker availability, optional extras, and sandbox providers.roller bench report --jsonand--format jsonprint the benchmark report JSON directly to stdout without summary formatting.- Single-agent Codex task collection supports remote sandboxes through
--sandbox-providerand--sandbox-template. Roller recovers task outputs, the native session, ACTF, wire traces and Calls. Token IDs use the existing--codex-chat-completionstranslation.examples/cookbook/remote-sandbox-codex-opencoderuns one task list with Codex and with OpenCode.
Changed
- Compaction SFT conversion errors now name the Call (ID, request sequence, protocol) and the ACTF main step that failed to align, and say why the Call's output did not match.
- An SFT window that starts because the captured prompt stopped continuing the previous window (
boundary_source: observed_context_change) records why inwindow_breakin the sample'strajectory.sft_segments: the tool list changed, a replayed message differs (with its index, role, and whether its image parts, text, tool calls or reasoning differ), the new prompt holds an assistant message beyond the previous window, or the previous window was a summary request.
Fixed
roller export --format tokenswrites an emptytokens.jsonland reports zero counts for imported runs without recorded token IDs.roller import --harness opencoderetains conversations with non-image user attachments. SFT keeps the saved model-visible text parts when available and reports why an attachment prevents export otherwise.