OK Code v0.22.1
OK Code v0.22.1
Date: 2026-04-10
Tag: v0.22.1
Summary
Ship the 0.22.x patch follow-up with sidebar density controls, richer diagnostics, decision workspace groundwork, stronger OpenClaw plumbing, and desktop and SME workflow polish.
Highlights
- Add sidebar density settings and refresh the default typography and theme tokens across the web app.
- Surface expandable notification diagnostics, copy support, and connection test controls so failures are easier to inspect before retrying.
- Lay the groundwork for decision workspaces with new contracts, persistence, projections, and WebSocket wiring.
- Strengthen provider integrations by extracting the OpenClaw gateway client, adding auth fallback handling, and switching SME Claude flows to Claude Code CLI.
- Polish desktop and chat flows with route-preserving pop-out windows, wider preview viewport inputs, markdown SME replies, and safer diff handling.
Breaking changes
- None.
Upgrade and install
- CLI:
npm install -g okcodes@0.22.1after the package is published to npm. - Desktop: Download from GitHub Releases. Filenames are listed in assets.md.
- iOS: Available via TestFlight when the coordinated release workflow completes successfully.
Detailed changes
UI density, typography, and navigation polish
- Added sidebar density settings so operators can tighten or relax the navigation layout without changing the existing flow.
- Switched the default web typography to Oxanium and Space Grotesk and refreshed theme tokens to keep the updated chat shell visually consistent.
- Widened preview viewport inputs, preserved the active thread route in desktop pop-out windows, and opened GitHub links from the preview popout in the external browser.
- Replaced the draft upload icon with a close action and kept SME replies rendering as markdown for clearer thread reading.
Diagnostics and action handling
- Added expandable notification details with copy-ready diagnostics so runtime and connection failures can be inspected and shared without digging through logs.
- Added connection test controls in the UI to make provider and transport troubleshooting faster during setup and recovery.
- Added stop support for pending git actions to keep long-running operations interruptible from the existing flow.
- Ignored expected redacted auth shutdown noise in Codex logs and deferred an empty diff guard until after hook setup to avoid false-positive failures.
Decision workspace and companion groundwork
- Added new decision workspace contracts plus server-side persistence layers, migrations, projection services, and WebSocket wiring needed for future consultation workflows.
- Added pending user input projections and thread overview and detail queries so orchestration state can expose richer action context.
- Added companion pairing contracts and mobile pairing stubs, with supporting test updates, to prepare the mobile companion flow for broader session coordination.
Provider and integration updates
- Extracted the OpenClaw gateway client into a dedicated layer with auth fallback support and updated the handshake test to the modern connect flow.
- Switched SME Claude integrations to Claude Code CLI while keeping the provider-auth flow aligned with the current SME experience.
- Normalized React language ids for syntax highlighting so editor and diff rendering stay predictable across React-related file associations.
Release readiness and compatibility fixes
- Restored orchestration snapshot and thread detail compatibility across shared contracts and WebSocket methods so the current server and web builds agree on the runtime payload shape.
- Added a pending user input projection backfill migration so already-upgraded state directories do not fail startup or tests with a missing projection table.
- Improved OpenClaw gateway handshake diagnostics to report websocket-stage versus handshake-stage failures clearly, including pairing-required responses.
- Isolated CLI test state directories to avoid SQLite lock contention during the full local release validation suite.
- Tuned long user-message timeline height estimation so the browser chat layout stays aligned with the validated rendering path.
Maintainer tooling
- Added OpenClaw maintainer workflow skills to support faster GHSA, review, prep, merge, and PR operations.
- Regenerated VS Code icon manifests so shipped file associations and icon metadata stay aligned with the repo sources.
- Added planning docs for sidebar and LM Studio follow-up work without changing the current release behavior.
Release verification references
- Review the asset manifest to confirm every expected GitHub Release attachment is present.
- Use the rollout checklist to walk the coordinated release from preflight through post-release verification.
- Use the soak test plan to validate the highest-risk surfaces after the tag is live.
Known limitations
OK Code remains early work in progress. Expect rough edges around session recovery, streaming edge cases, and platform-specific desktop behavior. Report issues on GitHub.