November 7, 2026
opencode run -w: OpenCode runs tasks in a separate working copy of the project

In [OpenCode](/tools/opencode) 2.2.6, released on Nov 6, the `opencode run -w` command starts an AI agent session in a new git worktree, a separate working copy of the repository.