Repository navigation
Releases
Releases · agy-codex/antigravity-codex
v1.4.0 - Interactive Codex Console, Native .jsonl.zst History & Auto Queue
中文更新摘要
核心新功能
- 全新右侧可视化配置工作台(
Codex 控制台):告别繁琐的左侧多步问答卡片,敲/codex直接在右侧点选「独立对话(不归属项目)」与全部 Codex 项目/历史对话、一键切换「Codex 协同」与「仅继承上下文 · 纯 Antigravity(零 Codex 额度)」、分代选择 GPT 模型与思考深度/响应速度。 - 原生
.jsonl.zst压缩历史秒解(~30ms):侧栏与 CLI 均原生支持解压 Codex 桌面端 Zstandard 压缩归档,完整解锁 100% 本地历史对话(即使 Codex 限额或会员过期也可零额度转交 Antigravity 继续)。 - 零工具极速绑定(18s → ~2s)与
[P0 / P1 / P2]分层交接:点击「应用配置」毫秒级写入绑定并渲染右侧监控,超长对话转纯 Antigravity 时自动生成三层结构化上下文摘要。 - 写锁冲突自动队列投递(
codex queue --thread):续聊 Codex 桌面端正打开的会话时,优先自动投递至桌面端当前会话队列并等待完成——无需关闭桌面端、无需切换对话(旧版 CLI 自动回退至三选一安全弹窗)。 - 右侧折叠式着色 Git Diff 预览:任务完成后直接在右侧
Codex 控制台展开查看改动文件、状态徽标、+新增 / -删除行数与着色补丁(支持新建未追踪文件与手动刷新)。 - 实时控制与富文本渲染:支持运行中一键
■ 停止、行内✎会话改名(同步写回state_5.sqlite)、零依赖 Markdown + 离线原生 MathML LaTeX 公式渲染、附件胶囊与可点击本地文件路径芯片,并全面跟随 Antigravity 宿主配色与字体大小。
稳定性与体验优化
- 从
.codex-global-state.sqlite读取 Codex 官方权威项目归属,精准过滤guardian_review、远程子代理与无头exec噪音。 - 修复跨目录子任务在右侧控制台的实时合并、LRU 淘汰保护
conv-*活跃绑定与优雅退出恢复,优先展示 Codex 项目别名。 - 刷新
v1.4.0高清预览图,补充社区高频 FAQ(Q11–Q15);全量回归测试增至 241 项(macOS / Linux / Windows CI 全绿)。
English Highlights
- Interactive Sidecar Config Workbench (
Codex 控制台): Pick standalone threads or any Codex project/history, toggle between Codex Collaboration and Context-Only · Pure Antigravity (zero Codex quota), and select GPT models grouped by generation with reasoning effort & speed tier in one live panel. - Native
.jsonl.zstRollout Decompression (~30ms): Full local Codex Desktop history support across sidecar and CLI with zero cloud dependency. - Zero-Tool Fast-Path Binding &
[P0 / P1 / P2]Tiered Handoff: Sub-2-second binding with structured 3-tier context handoff for long threads handed over to pure Antigravity. - Automatic
codex queue --threadWrite-Lock Fallback: Resuming a thread open in Codex Desktop now queues directly into the open Desktop session and awaits rollouttask_complete— no app restart or thread switching needed (falls back gracefully to the 3-option prompt when unsupported). - Collapsible Colored Git Diff Preview (
GET /api/diff): Inspect modified/untracked files,+/-counts, and syntax-colored unified patches directly inside the side console. - Live Controls & Rich Rendering: Added
■ Stoprun cancellation, inline✎session rename (synced tostate_5.sqlite), XSS-safe Markdown + offline MathML LaTeX rendering, live Antigravity theme/typography sync, cross-directory child run merging, and 241 passing regression tests.
Full Changelog: v1.3.5...v1.4.0
v1.3.5 — Context-Only Antigravity, Sidecar Fixes & Full Paginated History Picker
✨ Highlights (v1.3.0 → v1.3.5)
1. 仅继承上下文 · 纯 Antigravity 模式(零 Codex 额度消耗)
- 在
/codex第 2 题新增仅继承上下文 · 纯 Antigravity选项:拉取 Codex 老项目与历史对话上下文后,后续全程由 Antigravity 独立开发,不再调用 Codex CLI。 - 运行器(
run-codex.sh/run-codex.ps1)增加exit 5硬拦截,确保零 Codex 推理调用;右侧控制台同步展示已导入 N 条历史 · 纯 Antigravity/未导入历史 · 纯 Antigravity。
2. 直接选全部历史对话(含项目外)+ 分页浏览
- 在
/codex第 1 题新增直接选历史对话 · 含项目外,无需先选项目即可直接浏览并续聊本机 Codex 全部活跃对话(覆盖不属于已注册项目的独立会话)。 list-sessions新增--all(Windows-All)与--offset(Windows-Offset)分页支持,卡片严格保持 9 个选项内并自动提供更多对话(还有 N 条)翻页,支持翻到任意历史对话。
3. 右侧「Codex 控制台」深度修复与体验优化
- 修复 Antigravity
sidecar_sdk参数解析:适配app.api()扁平参数对象{ workspace, key, conv },解决真实环境下控制台无法打开/空白的问题。 - 跨工作区会话绑定:在工作区 A 发起对话并选择 Codex 项目 B 时,精准按
conv-<UUID>绑定并自动展开右侧控制台。 - 单对话专注与加速:精简为 1 对话对应 1 控制台,移除跨项目切换器;非阻塞登录检查实现秒开;支持
MM-DD HH:mm日期时间戳与show-session --sync-run-id一步同步;升级安装时自动清理旧控制台进程。
✅ Verification
tests/test-run-codex.sh: 223 passed, 0 failedtests/check-docs.py: passed (version=1.3.5)- Full macOS / Linux / Windows parity
v1.2.0 — Live Codex Conversation Monitor & Reliability Hardening
✨ 新增功能
- 右侧「Codex 控制台」只读实时对话监控:直接读取当前绑定 Codex 线程的历史记录与实时执行进度,采用清爽的左右对话气泡(浅蓝色用户指令 + 左侧 Codex 回复),连续命令/文件/工具操作默认折叠打包(点击展开细节),支持
POST /api/exit瞬间退出收起。 - 项目选单 9 项分页:严格控制
ask_question每页最多 9 个选项,确保每项保留1–9快捷键徽章。
🛡️ 安全与可靠性加固
- 只读
review输出文件防误删保护:Bash 与 PowerShell 执行器均拒绝覆盖显式传入的非插件已有文件,确保用户文件在只读审查下绝对安全。 - 同仓库并行任务按
run_id隔离 + 零跨项目泄漏:同一项目并行执行多个任务互不覆盖;当前工作区无任务时默认显示干净空态,绝不自动展示其他项目的对话记录;独立 HTTP 调试模式需显式开启CODEX_CONSOLE_STANDALONE=1。 - Windows 终态状态对齐:
run-codex.ps1在失败、fork 缺 ID 或异常中断时统一写入error终态。 - 原子暂存安装与备份保留:
plugin/install.sh与plugin/install.ps1现于暂存目录校验后整目录替换(回滚不留废弃文件),恢复失败时明确保留备份路径。 - SQLite 字段校验统一、相对路径解析与 worktree exclude 修复:
doctor/list-sessions/show-session共用动态列校验;相对输入/输出路径在切换目录前解析;init-shared --exclude-state兼容 linked worktree;终审覆盖git status --short && git diff HEAD。 - 清理旧版内嵌安装指南 & 162 项三平台 CI 回归:更新
docs/INSTALL_WITH_ANTIGRAVITY.md统一指向官方安装器,Ubuntu / macOS / Windows CI 全绿通过。
Full Changelog: v1.1.0...v1.2.0
v1.1.0 — Codex Console Sidecar, Doctor Diagnostics & Compatibility Guide
What's New in v1.1.0
Highlights
- Optional
Codex 控制台Native Sidecar Panel: Opt-in Antigravity right-hand auxiliary pane built with officialsidecar_sdk(zero MCP, zero external npm dependencies). Displays live/codexlock status & config, bound project & friendly thread title, real-time run timer / telemetry /git diff --stat, CLI & Codex Desktop lock status, plus 1-click 「退出/codex」 and 「切换配置 (/codex)」 actions. - Immediate Status Sync (
set-status): Selected project, friendly thread title, and exit state sync immediately to the console panel after Phase 0 selection and are preserved acrossexecute/resumeruns. doctorVersion & SQLite Schema Diagnostics:run-codex doctornow prints installed plugin version & platform, and validatesstate_5.sqlitetables/columns (projects,project_roots,threads) to clearly distinguish healthy, missing-helper, and schema-incompatible states — degrading cleanly to current workspace mode if Codex changes its internal DB schema.- Compatibility, Upgrade & Rollback Guide: Added docs/COMPATIBILITY.md distinguishing real-device E2E verification from CI verification, plus upgrade & rollback commands.
- Landing Page & Docs CI: Self-hosted 1080p demo video, 390px mobile layout verified (zero horizontal overflow), WCAG AA contrast, PowerShell 7+ clarity, and automated
tests/check-docs.pyin CI.
Upgrade
cd antigravity-codex
git fetch --tags && git pull --ff-only
./install.sh # or .\install.ps1 on Windows (PowerShell 7+)Project Homepage: https://19zbhy.github.io/antigravity-codex/
v1.0.0 — "/codex" is all you need.
Highlights
/codex is all you need. — Native Google Antigravity × OpenAI Codex on-demand dual-agent plugin (macOS / Linux / Windows).
Core Capabilities
- 1-Turn Instant Picker & Session Lock: Type
/codexto pick project, Codex Desktop thread, model, bilingual reasoning depth, and speed tier in one turn. Subsequent messages in the same chat stay locked without retyping/codex(say退出 /codexorexit /codexanytime). - Seamless Codex Desktop Thread Handoff: Read-only SQLite lookup of Codex Desktop projects and sidebar thread titles (
state_5.sqlitewith WALimmutable=1fallback),show-sessioncontext extraction, in-placeresume, and fail-closed opt-in desktop lock release (--quit-app-on-lock). - Fast Path & Full Plan Gate: Single-feature tweaks and quick checks go straight to Codex in 1 turn (
--prompt); complex cross-module work uses interactiveimplementation_plan.md+ Proceed approval. - Safe Sandbox & Red-Team Review:
workspace-writeexecution with fail-closed--worktree/cleanup-worktreeprotection, strictread-onlycode review (--adversarial&--base <branch>), plus automatic telemetry (duration, tokens,git diff --stat) andrun-codex doctor. - Cross-Platform Tested: 132 Bash regression assertions + PowerShell test suite verified across Ubuntu, macOS, and Windows CI.
Quick Install
git clone https://github.com/19zbhy/antigravity-codex.git
cd antigravity-codex
./install.sh # or .\install.ps1 on WindowsProject Homepage: https://19zbhy.github.io/antigravity-codex/