ZER

Session manager for OpenCode. Every session has mass.
Nothing you start here is ever lost.

You crossed the event horizon

Inside, every session is preserved. Even light can't leave — neither can your work.

ZERO sits beside opencode and treats sessions like matter: indexed, branchable, restorable. One binary, zero config, keyboard all the way down.

Sessionsls

Everything, indexed

Every OpenCode conversation captured the moment it starts. Search, rename, resume — straight from the terminal, in milliseconds.

Branchfork

Fork at any message

Split a session mid-thought and chase two fixes in parallel. Both timelines stay live; merge back the one that worked.

Restorerewind

Rewind state, not just chat

Roll back to any point in a session. File snapshots and model context travel together, so "before it broke" is one command away.

Burn ratetok/s

Token gravity, visible

Live accounting per session, per model. See cost accumulating before it collapses your rate limit — alerts when you near the horizon.

Install
# one binary, no runtime deps
bun install -g zero-sessions
# attach to your OpenCode workspace
zero attach .