Repository navigation
v1.2.0 Codex CLI Compaction Parity
1.2.0 (2026-07-29)
Fixes
- Aligns OpenAI
/responses/compactrequest bodies with the official Codex CLI contract, including tools, parallel tool calls, reasoning, prompt cache keys, text settings, and auth-specific service tier handling. - Preserves compaction item IDs,
internal_chat_message_metadata_passthrough, and other passthrough fields when normalizingcompaction_summaryoutput. - Requires exactly one valid compaction item and rejects malformed compact responses without persisting invalid checkpoints.
- Removes stale developer and system messages from compacted checkpoints.
- Restores checkpoint state before the latest developer and system instructions, preserving the correct context order across repeated compactions.
Maintenance
- Updated the default compact body fields, configuration schema, and documentation to match the Codex compact request contract.
- Updated
@opencode-ai/pluginand@opencode-ai/sdkto1.18.7,@types/nodeto26.1.2, TypeScript to7.0.2, and Vitest to4.1.10. - Added
.editorconfigand.gitattributesto enforce LF line endings. - Added regression coverage for compact request parity, service tier routing, metadata preservation, invalid compact output, persisted checkpoint normalization, and repeated compaction ordering.
Full Changelog: v1.1.4...v1.2.0