Repository navigation
Releases
Releases · serkanalgur/opencodev2-slim
v3.2.1
FIXES
- A compression block that removed the head of the history no longer produces a request that starts mid-tool-loop. The summary is injected at its anchor, which can sit well after the removed messages, so when the block covered the original prompt the outgoing history began with an
assistantturn holding atool_useand no user turn before it — Anthropic rejects that withtool_useids were found withouttool_resultblocks immediately after, and the stored block re-applied on every later request, so the session kept failing. The first injected summary is now hoisted to the front whenever the original history started with a user turn; if there is no summary to hoist, the request goes out uncompressed rather than malformed.
Reported and fixed by @leandromqrs in #14.
Verification: 440 tests / 137 suites passing, tsc --noEmit clean. Published to npm as @serkanalgur/opencodev2-slim@3.2.1.
v1.0.1
Initial Release
Features
- TUI Panel with real-time context usage visualization
- Enhanced compress tool with auto/range/topic modes
- Semantic compression with intelligent grouping
- Cost-aware pruning based on token pricing
- Adaptive thresholds that learn from history
- Session persistence across restarts
- Deduplication and error purging
- Topic extraction and smart recommendations
- v2-only plugin (keymap.registerLayer API)
Installation
opencode plugin @serkanalgur/opencodev2-slim@latest --global