DNA News

Act on this, mostly signal

OpenCode 2.1 changes SDK, HTTP and plugin payloads

What to do

Move SDK, HTTP and plugin code to the tool.native payload and update compaction event handlers before upgrading.

Why

The breaking changes are confirmed, though no database migration is needed.

Read the source at heise.de

What the research found

OpenCode 2.1 is out with breaking integration changes: SDK, HTTP and plugin payloads move to tool.native, compaction events change, and no database migration is needed.

Claims and how well the evidence supports them

  1. OpenCode 2.1 renames providerState and providerResultState to tool.native fields in SDK, HTTP and plugin APIs 90%
  2. OpenCode 2.1 replaces session.compacted with session.compaction.started and session.compaction.ended events 95%
  3. OpenCode 2.1 adds persistent pseudo-terminals on Windows x64 and ARM64 99%
  4. No database migration is required for OpenCode 2.1 98%

Evidence

Actionability rated high.