Skip to content

v1.2.0 Codex CLI Compaction Parity

Choose a tag to compare

@partment partment released this 29 Jul 09:44
· 59 commits to main since this release
14457a0

1.2.0 (2026-07-29)

Fixes

  • Aligns OpenAI /responses/compact request 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 normalizing compaction_summary output.
  • 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/plugin and @opencode-ai/sdk to 1.18.7, @types/node to 26.1.2, TypeScript to 7.0.2, and Vitest to 4.1.10.
  • Added .editorconfig and .gitattributes to 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