Releases: JackDrogon/opencode-context-cache
Releases · JackDrogon/opencode-context-cache
v0.2.0
v0.1.0 - OpenCode Context Cache
Highlights
- Introduces
opencode-context-cacheas an OpenCode plugin for stable context cache identity across providers. - Uses deterministic cache key precedence with SHA256 hashing before sending keys upstream.
- Applies the same hashed key to
promptCacheKeyand session headers for sticky routing consistency. - Renames plugin artifact to
plugins/opencode-context-cache.mjsand unifies debug namespace toOPENCODE_CONTEXT_CACHE_DEBUG.
Practical Result
- In a real usage sample, input cache hit improved from near zero baseline to 97.99% (
164736 / 168112).
Quick Start
mkdir -p .opencode/plugins
cp plugins/opencode-context-cache.mjs .opencode/plugins/opencode-context-cache.mjs
export OPENCODE_CONTEXT_CACHE_DEBUG=1Documentation
- Setup and usage:
README.md - License:
LICENSE(MIT)