Skip to content

v0.2.10

Choose a tag to compare

@github-actions github-actions released this 30 Mar 00:02
· 1200 commits to master since this release

Cache Safety Fixes

  • Persisted reasoning clearing watermarkclearOldReasoning and stripInlineThinking were ephemeral in-memory mutations that reverted on the next defer pass when OpenCode rebuilt messages fresh from its DB. This caused a double cache bust: one from the cleanup, another when the next defer pass sent messages with reasoning blocks restored. A monotonic cleared_reasoning_through_tag watermark is now persisted in session_meta and replayed on every pass.

  • Sticky system prompt date — Midnight local date changes in OpenCode's <env> block no longer trigger a system-prompt-hash flush. The date string is frozen on first sight and only updated on cache-busting passes, eliminating one unnecessary full-prefix cache rebuild per day.

  • ctx_reduce_enabled config wiringctx_reduce_enabled: false was never passed from plugin config to the hook, so the nudger remained active regardless of the setting. Rolling nudges injected into assistant messages caused cache busts even with ctx_reduce disabled.