Repository navigation
v1.3.0 OpenAI Responses Compaction v2
1.3.0 (2026-08-13)
Features
- Replaces
/responses/compactcalls with streamed/responsesrequests that append a finalcompaction_triggerinput item. - Builds compaction requests with
tool_choice: "auto",store: false,stream: true, and encrypted reasoning content enabled. - Stores retained user messages followed by the encrypted
compactionitem returned through Responses SSE events. - Restores structured OpenCode history before compaction, preserving reasoning items, tool calls, attachments, provider metadata, and stable instructions.
Fixes
- Rejects malformed, failed, incomplete, or ambiguous compaction streams instead of storing invalid checkpoints.
- Refuses to send the OpenAI OAuth dummy API key when OAuth credentials are unavailable.
- Reuses the authenticated OpenAI fetch wrapper when provider configuration is reapplied.
- Shares refreshed OAuth credentials across concurrent OpenAI requests.
- Keeps existing configuration files valid while deprecating
responses.compactEndpointPath; compaction now usesresponses.endpointPath.
Maintenance
- Adds regression coverage for compaction v2 request construction, SSE validation, structured input restoration, OAuth routing, credential refresh, and unavailable credentials.
- Updates pnpm to
11.21.0,@opencode-ai/pluginto1.18.16, and@types/nodeto26.2.0. - Updates CI and release Actions to Node.js 24-based versions.
- Splits pnpm and Node.js setup in the release workflow and verifies GitHub OIDC availability before publishing.
Full Changelog: v1.2.1...v1.3.0