@oldsuns/opencode-branch-session: V1 only

Stateless branch guard for OpenCode: blocks file writes and dangerous git on protected branches (main/master), guides agents to work on feature branches, drives merges through the /finish-branch wrap-

Version 0.2.3, 2 weekly downloads, rank 1962. Judged from its declared dependencies.

@opencode-ai/plugin>=1.1.1
@opencode/plugin-

npm · repository

Badge

[![OpenCode V2](https://img.shields.io/endpoint?url=https://rafal-one.github.io/opencode-v2-ready/badges/oldsuns__opencode-branch-session.json)](https://rafal-one.github.io/opencode-v2-ready/p/oldsuns__opencode-branch-session.html)

It depends on the V1 plugin API and will not load in OpenCode 2 until the author ports it. See how to port.