Repository navigation
Releases
v0.4.3
Improves OpenCode 2.3 compatibility and keeps archived context stable.
- Hides safely identifiable superseded Code Mode catalogs when archives are applied, while leaving new updates visible until the next successful archive.
- Preserves message metadata and failed tool-result details when projecting context.
Existing sessions may see a one-time context prefix change.
Full changelog: v0.4.2...v0.4.3
v0.4.2
Fixes archived context in forks and /btw side questions.
- Preserves archive state and saved originals when forking sessions, and rejects boundaries that cannot be matched safely.
- Applies Lacuna’s context projection and guidance to /btw while preserving OpenCode generation settings.
Previously initialized forks are not repaired.
Full changelog: v0.4.1...v0.4.2
v0.4.1
Fixes archiving sessions that contain images or other media.
- Preserves the host's media types in archive generation requests.
- Avoids incorrectly discarding archive jobs when unchanged media is compared against a snapshot.
Full changelog: v0.4.0...v0.4.1
v0.4.0
The archive agent now chooses ranges without candidate suggestions upfront. If the selected ranges reduce visible context by less than 20%, a follow-up offers candidate hints; valid selections are retained even if the target remains unmet.
- Validation feedback shares the follow-up when needed.
- Accepts empty responses and JSON enclosed entirely in a Markdown code fence.
- Requires OpenTUI 0.8 or newer.
All 51 tests and type checking pass.
Full changelog: v0.3.1...v0.4.0
v0.3.1
Improves archive reliability:
- Validates archive selections and retries malformed or rejected entries with targeted feedback.
- Keeps independently valid summaries when repair fails or times out, leaving rejected material visible.
- Tracks repaired source coverage correctly when replacement ranges split or merge.
- Ensures summaries actually reduce context size.
All 50 tests and type checking pass.
Full changelog: v0.3.0...v0.3.1
v0.3.0
Configure a separate archive model and archive-only generation settings with archiveModel.
Use archiveMode: "blocking" to wait for archiving and cleanup before the next main request—useful for resource-constrained local models. Background execution and main-model inheritance remain the defaults.
Includes safer cancellation handling and a fix for OpenCode reporting an unspecified model variant as default.
All 42 tests and type checking pass.
v0.2.4
Remove the package-level Node engine restriction that caused OpenCode's Bun runtime to resolve the older 0.2.2 release instead of detecting updates. Node.js 26.4.0 remains the development and CI requirement. OpenCode 2.2.0 compatibility and the compiled-TUI packaging workaround are unchanged.
v0.2.3
Update compatibility for OpenCode 2.2.0: fix Media and Message imports and upgrade OpenTUI to 0.7.0. Development and publishing now require Node.js 26.4.0 or newer. The existing compiled-TUI packaging workaround remains in place while the upstream loader fix is pending.
v0.2.2
v0.2.1
Fixed
- Archives remain applied when switching models, even when model-specific messages disappear. Newly revealed messages remain visible.
- Nested archives and restored originals preserve captured membership and transcript order across compaction.
- Unidentified host messages remain visible without blocking archive ranges.
- The archive worker is explicitly instructed to return bare JSON.
Added
- Unresolved archive blocks are shown in the footer and
/lacunastatus.
Existing archive state is not migrated.
Verified with 36 passing tests and TypeScript typechecking.