Skip to content

v0.4.0

Choose a tag to compare

@chriswritescode-dev chriswritescode-dev released this 13 May 22:45
· 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.json configuration for sidebar features
  • Loop Details dialog removed; replaced by execute tab in Plan Viewer
  • showLoops config option removed; replaced by Load Plan keybind (loadPlan)
  • Command palette reduced from three to two Forge commands

Installation

pnpm add opencode-forge

Then add to your opencode.json and optionally to tui.json for TUI features.