Skip to content

v1.3.1 OpenCode 1.18.17+ Compaction Fix & Conversation Model/Reasoning Effort Sync

Choose a tag to compare

@partment partment released this 14 Aug 17:29
· 41 commits to main since this release
5177c32

1.3.1 (2026-08-15)

Features

  • Uses the model and reasoning effort from the latest conversation part for automatic and manual compaction when no provider override is configured.
  • Adds providers.<id>.compactReasoningEffort and makes both compaction overrides nullable, with priority given to explicit overrides, then the latest conversation settings, then OpenCode's original compaction request.

Fixes

  • Restores structured OpenCode message history before compaction without depending on serialized summarizer prompt wording.
  • Preserves reasoning items, tool calls and outputs, attachment context, provider metadata, stable instructions, and checkpoint ordering when rebuilding compaction input.
  • Supports legacy and OpenCode 1.18.17 tagged <conversation> prompts as fallbacks when structured history cannot be captured.
  • Passes unknown compaction formats through unchanged and clears failed captures to prevent stale snapshots from affecting later requests.

Maintenance

  • Adds regression coverage for conversation setting inheritance, structured history restoration, prompt-format fallbacks, unknown-format passthrough, and capture cleanup.
  • Updates @opencode-ai/plugin to 1.18.18 and documents tested compatibility with OpenCode 1.18.18.
  • Enforces pnpm's 24-hour package release cooldown and refreshes compliant transitive dependencies.

Full Changelog: v1.3.0...v1.3.1