Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
399 changes: 16 additions & 383 deletions CHANGELOG.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@

</div>

<!-- version-sync:start -->
> **Current release:** v3.0.0 (2026-03-19) · canonical source `VERSION` · fork/upstream mapping in `version-metadata.json`.
> Legacy v2.x release notes are archived under `releases/legacy/v2.x/RELEASE_NOTES.md`.
<!-- version-sync:end -->

---

## 🇺🇸 English
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"format:fix": "prettier --write *.json *.md docs/*.md .github/workflows/*.yml **/*.js",
"audit": "pnpm audit --level=high",
"security:check": "pnpm exec npm audit --audit-level=high || true",
"deps:update": "pnpm up --latest"
"deps:update": "pnpm up --latest",
"version:sync": "node scripts/sync-version.mjs",
"version:check": "node scripts/sync-version.mjs --check"
},
"devDependencies": {
"prettier": "^3.5.3"
Expand All @@ -33,4 +35,3 @@
},
"packageManager": "pnpm@10.29.3+sha512.498e1fb4cca5aa06c1dcf2611e6fafc50972ffe7189998c409e90de74566444298ffe43e6cd2acdc775ba1aa7cc5e092a8b7054c811ba8c5770f84693d33d2dc"
}

3 changes: 1 addition & 2 deletions packages/protocol-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zapabob/codex-protocol-client",
"version": "2.8.2",
"version": "3.0.0",
"description": "TypeScript client for Codex Orchestrator RPC protocol",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -62,4 +62,3 @@
"typescript": "^5.3.3"
}
}

46 changes: 25 additions & 21 deletions releases/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
# v2.13.0 Release Notes
# Codex v3.0.0 Release Notes

## 🌟 Highlights
> **Current release document** for the v3.0.0 line.
> Legacy v2.x release notes are archived at `releases/legacy/v2.x/RELEASE_NOTES.md`.

This release focuses on **GUI enhancements** and **System Integration**, bridging the gap between the web interface and the underlying specific command-line tools.
## Canonical Versioning

- **GUI Dashboard with Real-Time Metrics**: Monitor CPU, RAM, and GPU usage in real-time via the new Node.js backend (`gui/server.js`).
- **Collapsible Sidebar**: Improved screen real estate management with a new collapsible sidebar component.
- **CLI Bridge**: Execute CLI commands directly from the GUI, enabling a seamless workflow between visual and terminal operations.
- **SSR Fixes**: Resolved Next.js Server-Side Rendering issues for a smoother user experience.
- **Canonical source**: root `VERSION`
- **Fork version**: `3.0.0`
- **Upstream base**: `3.0.0`
- **Release date**: 2026-03-19

## 🇯🇵 日本語リリースノート
## What changed in v3.0.0

本リリースでは、GUIの強化とシステム統合に焦点を当てています。
### Version governance

- **リアルタイムメトリクス**: Node.jsバックエンドにより、CPU/メモリ/GPUの使用率をGUI上でリアルタイム監視可能になりました。
- **サイドバー改善**: 折りたたみ可能なサイドバーを実装し、作業領域を広く使えるようになりました。
- **CLI連携**: GUIから直接CLIコマンドを実行できるブリッジ機能を追加しました。
- **SSR修正**: Next.jsのServer-Side Renderingに関する問題を修正し、安定性を向上させました。
- Root `VERSION` is now the single source of truth for release-visible versioning.
- `version-metadata.json` defines `fork_version` and `upstream_base` so tooling can distinguish fork releases from upstream alignment.
- `scripts/sync-version.mjs` regenerates synced version displays and validates drift with `--check`.

## 🛡️ Security
### Repository docs and manifests

- **Updated Dependencies**: Bumped `sysinfo`, `ws`, `cors` and other core dependencies.
- **Pre-commit Checks**: Passed rigorous Clippy and Large File checks.
- Synced the root `package.json`, Rust workspace version, and `packages/protocol-client/package.json` to v3.0.0.
- Rebuilt the root changelog and release notes as **current release** documents for the v3.x line.
- Archived the older v2.x release notes so the latest release is unambiguous.

## 📦 Changes
## Sync procedure

- feat(gui): Implement collapsible sidebar, real metrics server, and CLI integration
- fix(gui): Resolve window is not defined SSR error
- chore: Update workspace versions to v2.13.0
- doc: Rewrite README.md for better recruitment appeal (Bilingual)
```bash
# 1) edit VERSION (and version-metadata.json upstream_base if needed)
node scripts/sync-version.mjs

# 2) verify no drift remains
node scripts/sync-version.mjs --check
```
225 changes: 225 additions & 0 deletions releases/legacy/v2.x/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
# Changelog Archive — v2.x Release Line

This archive preserves the pre-v3 changelog entries that were previously published from the repository root.
For the current release line, see [`../../../CHANGELOG.md`](../../../CHANGELOG.md).

---

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.17.0] - 2026-02-20 - "Upstream Sync & API Refinements"

### 🚀 Major Features

**This release merges the latest upstream commits from openai/codex, incorporating new API changes, bug fixes, and security updates while preserving all custom zapabob extensions.**

### ✨ Added (from upstream)

- **MCP OAuth Support** - Enhanced MCP server authentication with OAuth flow
- **Permissions Proxy** - New permissions proxy layer for fine-grained access control
- **Auth Plan Support** - Session info now includes auth plan for better UX
- **AnimationEnabled API Change** - Frame scheduler replaces direct animations_enabled flag
- **Apps Tools Cache Context** - New cache context parameter for MCP client initialization
- **Model Catalog Integration** - ModelsManager and ThreadManager now accept optional model catalog

### 🔒 Security (from upstream)

- **CVE-2026-24842** - Addressed identified security vulnerability
- Dependency updates across Node.js ecosystem (pnpm audit fixes)

### 🔧 Fixed

- `find_model_info_for_slug` renamed to `model_info_from_slug` (API alignment)
- `CancelErr` struct pattern matching updated (was enum variant, now struct)
- `ToolRouter::from_config` app_tools parameter added
- `UnifiedExecProcessDetails` now includes `recent_chunks` field
- `spinner()` function signature simplified (removed `animations_enabled` parameter)
- History cell module structure aligned with upstream flat layout

### 🛠️ Custom Features Preserved (zapabob)

- Deep Research multi-source module (`codex-rs/deep-research/`)
- Supervisor agent lifecycle management (`codex-rs/supervisor/`)
- Remote image URLs support in UserMessage
- Git4D feature gates maintained
- Web search call animations support

---

## [2.16.0] - 2026-02-13 - "Upstream Sync & Security Hardening"

### 🚀 Major Features

**This release merges 226 upstream commits from openai/codex, incorporating the latest security fixes, bug fixes, and new features while preserving all custom zapabob extensions.**

### ✅ Added (from upstream)

- **Apps MCP Gateway** (`apps_mcp_gateway`) - New gateway for apps integration
- **Shell Tool MCP** - Patched zsh build pipeline for improved shell execution
- **Thread/List CWD** - Added `cwd` as optional field to thread/list API
- **Feature Flags Testing** - Verify enabled-by-default feature flags are stable
- **TurnContextItem Persistence** - Complete state persisted via canonical conversion
- **Approvals Scenarios** - More comprehensive approval workflow testing

### 🔒 Security (from upstream)

- **DNS Rebinding Fix** - Resolved DNS rebinding vulnerability in network proxy
- **Sandbox Bypass Fix** - Fixed sandbox bypass vulnerability
- **Exec Policy Path Confusion** - Resolved path confusion in exec policy
- **Case-Insensitivity Vulnerability** - Fixed case-insensitive matching exploit
- **Git Command Safety** - Removed git commands from dangerous command checks

### 🐛 Fixed (from upstream)

- **NUX Display** - Don't show NUX for upgrade-target models that are hidden
- **App Loading Logic** - Fixed app loading sequence
- **TUI Improvements** - Delta streaming, compaction events, approvals UI

### 📦 Preserved Custom Features (zapabob)

- `codex-gui-x/` - Custom GUI implementation
- `prism-mcp-server/`, `prism-web/` - Prism MCP integrations
- WebXR Git visualization with cyberpunk effects
- AI tool orchestration (task distribution, result integration)
- Bilingual README and GH Pages
- Fast build system and hot reload installation
- CI/CD customizations and release packaging

### 🔧 Technical Details

- **Merge Strategy**: `git merge upstream/main` with Python-automated conflict resolution
- **Conflicts Resolved**: 51 files (0 failures)
- **Upstream Commits Merged**: 226
- **Files Changed**: 594 files (+41,384 / -11,057 lines)
- **Module Restructuring**: `codex-rs/common/` merged into `codex-rs/utils/cli/`, hooks module restructured

### 📈 Dependencies

- pnpm 10.28.2, node >=22
- Various Cargo dependency updates (axum, clap, tokio, etc.)

---

## [2.9.0] - 2026-01-04 - "Fast Build & Hot Reload System"

### 🚀 Major Features

**This release introduces a complete build and deployment pipeline overhaul with hot reload capabilities and integrated release packaging.**

### ✅ Added

- **Fast Incremental Build System (`scripts/fast_build.py`)**
- MD5 hash-based change detection for intelligent rebuilds
- Cargo incremental compilation optimization
- Parallel build processing with CPU core utilization
- tqdm-powered progress visualization
- Build cache persistence (`.build_cache.pkl`)

- **Hot Reload Installation System (`scripts/build_and_install.py`)**
- Cross-platform process detection and termination (psutil)
- Atomic binary replacement with safety checks
- Platform-specific installation (Windows/macOS/Linux)
- Installation verification with version checking
- PowerShell integration for Windows deployment

- **Integrated Release Packaging**
- GitHub Actions workflow for cross-platform tgz packages
- All-platform binaries in single downloadable archive
- Automated install script generation (`install.sh`)
- Comprehensive release documentation (`INSTALL.md`)
- Release notes with installation instructions

- **Development Tools Enhancement**
- `just fast-build` - Quick incremental builds
- `just build-install` - Full pipeline execution
- `just install-kill` - Direct binary replacement
- Process-safe deployment with zero-downtime updates

### 🎯 Performance Improvements

- **Build Speed**: Up to 70% faster incremental builds with change detection
- **Deployment Time**: Instant hot reload with process management
- **Release Size**: Optimized binaries with integrated packaging
- **Developer Experience**: One-command build and deploy workflow

### 🔧 Technical Details

- **Incremental Compilation**: Leverages Cargo's incremental features
- **Process Management**: Safe termination with psutil cross-platform support
- **Package Distribution**: Unified tgz format for all target platforms
- **Cache Strategy**: Persistent build state with intelligent invalidation

### 📦 Distribution

- **Release Archive**: Single `codex-2.9.0.tgz` containing all platform binaries
- **Installation**: `./install.sh` for automatic platform detection and setup
- **Verification**: Built-in version checking and integrity validation

## [2.8.3] - 2026-01-03 - "Build System Improvements & Repository Organization"

### 🎯 Interview-Ready Release

**This release transforms Codex from a personal project into enterprise-ready tooling with comprehensive documentation, benchmarks, and security hardening.**

### ✅ Added

- **Interview-Focused Documentation Suite**
- `docs/plan/README.md` - 5-minute Plan Mode quickstart guide
- `docs/benchmarks/` - Performance measurement methodology (Sub-agents: 2.6x speedup, CUDA: 3.7x speedup)
- `examples/` - Production-ready sample projects (Node.js API, React Todo App)
- `SECURITY.md` - Detailed sandbox architecture and audit logging

- **Real-World Examples**
- `examples/node-api/` - REST API with Jest testing (96% quality score)
- `examples/react-todo/` - React + TypeScript app with localStorage persistence
- Sample projects demonstrate Codex's Plan Mode and Sub-agent orchestration

- **Benchmark Infrastructure**
- Sub-agent performance measurement achieving 2.59x average speedup
- CUDA acceleration benchmarks with 3.74x GPU speedup
- Quality metrics: Type safety (100%), Code style (98.2%), Test coverage (96.7%)

- **Security Hardening**
- Process isolation with read-only default sandbox
- Structured audit logging with HMAC signatures
- Approval gates for risky operations (shell, network, package install)

### 🔧 Changed

- **README.md** - Complete rewrite for interview-readiness
- Removed "production-ready" claims, replaced with "stable/experimental" status
- Added "Why Codex?" and "Safety model" sections
- Feature matrix now links to real documentation paths
- Status: CLI + Plan Mode + Sub-agents marked as **stable**

- **Documentation Structure**
- Moved from scattered docs to organized structure
- Added proof links for all feature claims
- Included adoption-focused use cases

### 🐛 Fixed

- Build system compilation errors (22 fixed)
- Type safety improvements throughout codebase
- Repository organization (6,979 files systematically organized)

### 📈 Performance

- **Sub-agent Speedup**: 2.59x average across test cases
- **CUDA Acceleration**: 3.74x speedup on RTX 3080
- **Quality Maintenance**: 97.5% average quality score with parallel execution
- **Build Performance**: sccache integration for faster incremental builds

### 🔒 Security

- Default sandbox: read-only mode
- Explicit approval required for file writes, shell commands, network access
- Comprehensive audit logging with tamper-evident signatures
- Zero-day vulnerability count: 0 (v2.8.3)

## [2.8.0] - 2025-12-15 - "CUDA Acceleration & Quality Assurance"
38 changes: 38 additions & 0 deletions releases/legacy/v2.x/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Release Notes Archive — v2.x Release Line

This archive preserves the prior root release notes for the 2.x line.
For the current release line, see [`../../RELEASE_NOTES.md`](../../RELEASE_NOTES.md).

---

# v2.13.0 Release Notes

## 🌟 Highlights

This release focuses on **GUI enhancements** and **System Integration**, bridging the gap between the web interface and the underlying specific command-line tools.

- **GUI Dashboard with Real-Time Metrics**: Monitor CPU, RAM, and GPU usage in real-time via the new Node.js backend (`gui/server.js`).
- **Collapsible Sidebar**: Improved screen real estate management with a new collapsible sidebar component.
- **CLI Bridge**: Execute CLI commands directly from the GUI, enabling a seamless workflow between visual and terminal operations.
- **SSR Fixes**: Resolved Next.js Server-Side Rendering issues for a smoother user experience.

## 🇯🇵 日本語リリースノート

本リリースでは、GUIの強化とシステム統合に焦点を当てています。

- **リアルタイムメトリクス**: Node.jsバックエンドにより、CPU/メモリ/GPUの使用率をGUI上でリアルタイム監視可能になりました。
- **サイドバー改善**: 折りたたみ可能なサイドバーを実装し、作業領域を広く使えるようになりました。
- **CLI連携**: GUIから直接CLIコマンドを実行できるブリッジ機能を追加しました。
- **SSR修正**: Next.jsのServer-Side Renderingに関する問題を修正し、安定性を向上させました。

## 🛡️ Security

- **Updated Dependencies**: Bumped `sysinfo`, `ws`, `cors` and other core dependencies.
- **Pre-commit Checks**: Passed rigorous Clippy and Large File checks.

## 📦 Changes

- feat(gui): Implement collapsible sidebar, real metrics server, and CLI integration
- fix(gui): Resolve window is not defined SSR error
- chore: Update workspace versions to v2.13.0
- doc: Rewrite README.md for better recruitment appeal (Bilingual)
8 changes: 3 additions & 5 deletions scripts/bump-version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ Set-Content -Path "VERSION" -Value $NewVersion -Encoding UTF8 -NoNewline
Write-Host "✅ Version bumped: $CurrentVersion → $NewVersion" -ForegroundColor Green
Write-Host ""
Write-Host "次のステップ:" -ForegroundColor Cyan
Write-Host " 1. CHANGELOG.md を更新" -ForegroundColor Yellow
Write-Host " 2. codex-rs/Cargo.toml のバージョンを更新" -ForegroundColor Yellow
Write-Host " 3. codex-cli/package.json のバージョンを更新" -ForegroundColor Yellow
Write-Host " 4. git commit -m 'chore: bump version to $NewVersion'" -ForegroundColor Yellow

Write-Host " 1. node scripts/sync-version.mjs を実行" -ForegroundColor Yellow
Write-Host " 2. node scripts/sync-version.mjs --check で整合性確認" -ForegroundColor Yellow
Comment on lines +65 to +66

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include release_date in the new version-bump workflow

The new recommended flow only tells maintainers to update VERSION and run scripts/sync-version.mjs, but sync-version.mjs renders README/changelog/release notes from version-metadata.json.release_date (scripts/sync-version.mjs:54,107-112). That means the next release will silently keep showing the previous release date unless someone remembers to hand-edit version-metadata.json, so the automated sync path now produces stale release metadata by default.

Useful? React with 👍 / 👎.

Write-Host " 3. git commit -m 'chore: bump version to $NewVersion'" -ForegroundColor Yellow
Loading
Loading