v0.6.0
Added
-
Cockpit runs on OpenCode 2. Every package now loads on OpenCode 1.18+ and 2.0.15+ from the
same entry: the panels, console, Review, statusline and updater in the interface, and theshell_*
andreview_*tools, system guidance and exit notifications on the agent side. Each bay is written
once against a host (@opencode-cockpit/client/hostand/server) that each version supplies. On
OpenCode 2,/plugins-updatesays to change the version inopencode.json: the updater edits
OpenCode 1's files only. -
One log for everything Cockpit does inside OpenCode. Both halves of every bay write JSON lines
to~/.cache/opencode-cockpit/cockpit.log, beside the daemon'scockpitd.log: which OpenCode
(v1 or v2, and its version) loaded which entry, every error with its stack — including ones that
used to be a toast and nothing else — and every tool that failed.COCKPIT_DEBUG=1 opencodeadds
the detail (console actions, each tool call and how long it took) and turns the daemon's debug
lines on too. The file moves tocockpit.log.1past 5 MB. -
npx opencode-cockpit@latest doctor. Checks a setup and prints the fix for anything wrong,
for the OpenCode you have: its version; every Cockpit entry inopencode.json,tui.jsonand
cli.jsonin either OpenCode's spelling — a bay configured twice, a half missing on OpenCode 1, a
pin older than the newest release, a checkout OpenCode 2 cannot load; what the log says last ran,
and on which OpenCode; recent errors; the daemon;gitandps; settings files and statusline
modules. Runs under Node outside OpenCode, so it works when Cockpit will not load.--jsonfor an
issue; exits 1 when something must be fixed.
Changed
createShellServerandcreateReviewServerreturn a feature fordualServerrather than a v1
plugin function.
Fixed
- Full-screen shell console and the Review pane were see-through on transparent themes. A theme
that leaves its background transparent (OpenCode's "system" theme, which shows the terminal's own)
painted the full-window surface with nothing, and the conversation showed through it. They now use
the first opaque background the theme has, and a solid one when it has none.