OpenCode Improves Git Worktree Management with Pluggable Strategies for AI Agents
Key Info
OpenCode is adding better Git worktree support: plugins can register different worktree management strategies (e.g. rift, lane), and a built-in tool will help AI agents manage worktrees the way users want. The announcement notes the featured example was powered by lane.
Highlights
- Worktree management in OpenCode is becoming pluggable, so different tools and strategies can handle it.
- A first-party tool is planned to let agents manage worktrees according to user preferences.
- The demo used lane, showing third-party strategies can now participate in the workflow.