Skip to content

fix: align CLI 0.6.2 with the open-source API - #57

Merged
xiongxz merged 2 commits into
mainfrom
codex/cli-oss-compatibility
Nov 25, 2026
Merged

xiongxz merged 2 commits into
mainfrom
codex/cli-oss-compatibility

Conversation

@xiongxz

@xiongxz xiongxz commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

CLI 0.6.0 shipped commands and skill instructions for APIs that do not exist in the public server. Preparing CLI 0.6.2 removes those mismatches and restores the public API's download, export and share behavior.

Area Public-server behavior in this change
Data and records Remove data, collections, records, snapshot, their client methods, and --data-contract/--data-changes/--data-collections. Unsupported arguments fail before connecting or publishing.
Downloads Remove ignored download --file and snapshot=1. Download retained original archives or the server's ZIP fallback.
ZIP export Route CLI export to /export, preserving ZIP output even for RAR/7z/TAR packages, historical version selection, streaming and cancellation.
Shares and rollback Restore share --version-id for view/comment links. Remove rollback's ignored --expected-version rather than claiming concurrency protection the server does not provide.
Bundled references Rebase authentication, publishing, sharing, runtime and comment guidance on public server code/docs. Remove unsupported persistence, snapshot, comment-inheritance and download instructions.
Packaging Clean dist before compilation so deleted commands cannot remain in the npm tarball. Prepare CLI version 0.6.2; v0.6.1 is already the server release tag.

Validation:

  • CLI: 196 tests passed.
  • Server: 2,504 tests passed, 411 environment-gated tests skipped.
  • Public-route acceptance covers historical reads, fixed-version shares, rollback, retained non-ZIP downloads and actual ZIP exports. An API-path / documented-MCP-tool check prevents reintroducing nonexistent public surfaces.
  • CLI library acceptance always exercises a leading-hyphen slug and uses -- before positional arguments; its complete MCP/HTTP compatibility suite passes (55 targeted tests).
  • Root typecheck, lint, README link validation and commit-message checks passed.
  • Packed and installed on Node 24 with --engine-strict; verified bundled skill installation, unsupported-argument rejection, manifest contents and absence of removed command artifacts.

The existing public MCP manifest already matches the server and is retained. This changes the public CLI and its distributed references only; no private repository or server API implementation was modified. After merge, the manual Release workflow can publish CLI 0.6.2 and its skill assets.

Signed-off-by: xiongxz <xiuzhang.xiong@lexmount.com>
Signed-off-by: xiongxz <xiuzhang.xiong@lexmount.com>
@xiongxz
xiongxz merged commit 4a43321 into main Nov 25, 2026
5 checks passed
@xiongxz
xiongxz deleted the codex/cli-oss-compatibility branch November 25, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant