Release Notes
New Agent Support
- Crush (
crush) — by Charmbracelet, the original project OpenCode was forked from. Interactive TUI with --continue for session resume and --yolo for auto-approve.
- Nanocoder (
nanocoder) — local-first coding agent with positional prompt passing.
Quality of Life
--agent flag on foundry start overrides the configured agent for a single workspace (e.g., foundry start my-feature --agent claude to use Claude instead of your default agent). In multi-agent setups, overrides only the primary agent pane.
Fixes
- Add
~/.gnupg and source repo .git directory to Claude sandbox allowWrite — fixes GPG commit signing and fsmonitor errors from pre-commit hooks (lint-staged etc.) running inside the sandbox
Install foundry 0.4.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/xiphux/foundry/releases/download/v0.4.0/foundry-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/xiphux/foundry/releases/download/v0.4.0/foundry-installer.ps1 | iex"
Install prebuilt binaries via Homebrew
brew install xiphux/tap/foundry
Install prebuilt binaries via Scoop (Windows)
scoop bucket add xiphux https://github.com/xiphux/scoop-bucket
scoop install foundry
Download foundry 0.4.0