Skip to content

Roller 0.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 23:24
· 10 commits to main since this release
a527ed8

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-agent

Added

  • roller import --harness opencode imports native OpenCode sessions from its SQLite database, opencode.db under $OPENCODE_DATA_DIR, $XDG_DATA_HOME/opencode or ~/.local/share/opencode, or from a database or data directory passed on the command line, including the older storage/ layout. Root sessions become samples with the native record as trace.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-import generates a synthetic opencode.db and walks through the import offline.
  • roller import --harness pi imports 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 doctor reports Python, roller-agent, Docker availability, optional extras, and sandbox providers.
  • roller bench report --json and --format json print the benchmark report JSON directly to stdout without summary formatting.
  • Single-agent Codex task collection supports remote sandboxes through --sandbox-provider and --sandbox-template. Roller recovers task outputs, the native session, ACTF, wire traces and Calls. Token IDs use the existing --codex-chat-completions translation. examples/cookbook/remote-sandbox-codex-opencode runs 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 in window_break in the sample's trajectory.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 tokens writes an empty tokens.jsonl and reports zero counts for imported runs without recorded token IDs.
  • roller import --harness opencode retains conversations with non-image user attachments. SFT keeps the saved model-visible text parts when available and reports why an attachment prevents export otherwise.