[Upstream #790] docs: add opencode-headroom-plugin to plugins (#419)

* docs: add opencode-headroom-plugin to plugins

* chore: bring the entry up to the current catalog schema

README.md and dist/registry.json are generated from data/ now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EHYZtiXaVB71TSBhHnynk4

---------

Co-authored-by: pietro partescano <[email protected]>
Co-authored-by: John Smith <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
authored and GitHub committed 2026-10-17 16:10:33 -04:00
1 parent a9526608ab
commit 5e558c4db5
1 file changed
+9
@@ -0,0 +1,9 @@
name: opencode-headroom-plugin
repo: https://github.com/goldfix/opencode-headroom-plugin
tagline: OpenCode v2 plugin compressing large tool results via Headroom at the message level
description: "A plugin for OpenCode v2 that transparently compresses large tool results in a session via Headroom, without touching the provider configuration already set up in OpenCode and without any provider-specific limitations (it also works with AWS Bedrock). It doesn't modify opencode.json/opencode.jsonc, doesn't create fake providers, and doesn't route provider HTTP traffic through a proxy: it hooks into session.hook(\"context\", ...), the point where OpenCode assembles the session's messages before translating them into the provider's native format (Anthropic Messages, OpenAI Chat, Bedrock Converse, ...) and before signing the request. Only tool results (role: \"tool\") are sent to Headroom for compression — never user/assistant text, never system messages."
kind: plugin
topics:
- context
- cost
compat: v2