@hacky.software/opencode-autocompact: V2 ready

Claude Code-style autocompact for OpenCode V2 with a per-session threshold: /autocompact 500k compacts a session and its children once the live context reaches that many tokens.

Version 0.1.6, 1,061 weekly downloads, rank 72. Judged from its declared dependencies.

@opencode-ai/plugin-
@opencode/plugin2.0.24

npm · repository

Badge

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

It targets the V2 plugin API.