v0.4.0
·
190 commits
to main
since this release
Summary
Major release featuring TUI rewrite, loop system improvements, sandbox support, and documentation updates.
What Changed Since v0.3.x
TUI Rewrite
- Major rewrite of TUI eventbus and sidebar architecture
- New Plan Viewer with render/edit/execute tabs
- Load Plans dialog for browsing archived plans from disk
- Model selection dialog with execution preferences persistence
- Sidebar auto-save toggle and plan indicator
- Command palette commands:
Forge: View plan,Forge: Load plan
Loop System
- Iterative coding/auditing phases with section advancement and session rotation
- Workspace-backed worktree loop switching via OpenCode workspaces
- Stall detection with configurable timeout and consecutive stall limits
- Session-scoped plan storage and review finding persistence across rotations
- Deferred restart state commit until prompt succeeds
Docker Sandbox
- Optional Docker worktree loop isolation with bind-mounted project files
- Configurable resource limits (memory, CPUs, shared memory)
- Tool redirection into container with host LSP compatibility
Configuration & Infrastructure
- Agent permission model with scope-based tool exclusions
- Config merging with per-agent temperature overrides
- Logging with configurable file path and debug level
Documentation & Cleanup
- Convert PNG screenshots to WebP format
- Update README to reflect TUI changes and add loop flow diagram
- Remove stale images and breaking change notices
Breaking Changes
- TUI plugin now requires
tui.jsonconfiguration for sidebar features - Loop Details dialog removed; replaced by execute tab in Plan Viewer
showLoopsconfig option removed; replaced by Load Plan keybind (loadPlan)- Command palette reduced from three to two Forge commands
Installation
pnpm add opencode-forgeThen add to your opencode.json and optionally to tui.json for TUI features.