opencode-session-guard: V1 only

OpenCode plugin that enforces hard token thresholds — stops subagents at 70k and prompts the user to start a new session at 80k via system-message injection.

Version 0.1.0, 6 weekly downloads, rank 1505. Judged from its declared dependencies.

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

npm · repository

Badge

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

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