繁體中文

新功能

GPT-6-Astra 上架模型挑選器與 Bedrock,官方文件同步補上轉移指引

開發時想嘗試最新一代模型?現在進入模型挑選器(model picker,供切換不同 AI 版本的選單)即可直接選用 GPT-6-Astra。這項更新也同步推送到 Amazon Bedrock 的服務目錄中。若你正打算將既有專案遷移過來,內建的 OpenAI Docs 技能也已全面更新,針對 GPT-6-Astra 提供專門的轉移步驟、相容性說明與提示詞撰寫指引。

無論你透過本機選單還是雲端目錄調用,都能直接對照指引順利切換。

新功能

實驗性工作樹支援登場,獨立簽出目錄支援瀏覽與續接

你想同時處理多條開發分支又不想弄亂現有目錄?Codex 新增了實驗性的工作樹(worktree,Git 讓同一專案平行開多份副本的功能)支援。

現在只要在啟動時加上 --worktree 旗標,或在對話中輸入 /worktree 指令,就能為全新或分支衍生出的工作階段建立彼此隔離的簽出目錄。建立之後,你還能隨心瀏覽所有存在的工作樹,並重新續接先前的工作進度。

新功能

背景執行中直接行內回答提問,提供建議選項且不丟失草稿

請 Codex 寫程式的同時,你不再需要被動等待它停下才能互動。當它在背景持續運作並向你提出疑問時,現在能直接在行內(inline,直接在當前內容中插入顯示)彈出提問並即時作答。

你可以直接點選介面給出的建議選項,也能自行輸入自訂文字回答。更重要的是,這項互動完全不會清空或影響你原本在輸入框中打到一半的主草稿,確保思緒與進度雙軌推進。

新功能

Windows 支援共享背景伺服器,提供守護行程管理指令與自動更新

在 Windows 環境上使用 Codex,多個工作階段現在能共用同一個背景運行的伺服器,不必每個終端機視窗各自啟動一份。這次更新同步引入了守護行程(daemon,在背景持續默默提供服務的常駐程式)生命週期管理指令,讓你能查詢狀態、啟動或終止背景伺服器,同時還納入了託管更新機制,確保背景服務能平順接收後續升級。

新功能

Vim 編輯新增 R 取代模式,支援復原與重複操作並改善退出鍵

習慣 Vim 鍵盤操作的開發者,在編輯草稿時手感將更加俐落。這次更新為 Vim 模式補上了經典的 R 取代模式,讓你可以直接覆蓋游標處的字元。進行文字替換時,你能按鍵復原(undo,回復到修改前的文字),也能利用小數點鍵重複執行上一次的取代動作。針對舊型終端機,更新也改善了 Escape 鍵的訊號處理,讓跳離編輯模式的操作更可靠,避免按鍵延遲或失靈。

新功能

複製回覆保留富文字格式,/copy 指令支援狀態與欄位擷取

將對話產生的程式碼或說明貼到其他文書軟體時,排版不再被打亂成純文字了。現在從 Codex 複製回覆內容,貼入支援富文字(rich-text,包含粗體、標題與程式碼區塊等排版樣式)的應用程式時,會完整保留原本的格式外觀。與此同時,命令列工具的 /copy 指令也迎來功能強化,除了複製回覆本身,現在還能單獨複製狀態輸出,或是擷取工作階段內的特定個別欄位。

這讓整理文件與分享除錯資訊變得更順暢。

新功能

現有工作階段動態辨識外掛工具,升級回捲自動重新整理

當你手邊的工作階段正在進行,外部外掛有了變更也不需要關掉重開。

既有的工作階段現在具備動態感知能力,能在不中斷執行的情況下,即刻辨識剛安裝好的外掛工具。當外掛在外部完成升級或執行版本回捲時,當前視窗會立即重新整理相應的技能。連同內部定義的掛鉤(hook,特定事件發生時被觸發的小程式)也會一併更新,確保所有自動化流程即時生效。

問題修復

MCP 連線協調權杖更新與登入挑戰,舊版伺服器啟動入口退場

透過 MCP(Model Context Protocol,讓 AI 連接外部工具的協定)串接外部服務時,授權憑證的維護現在更安全且井然有序。當多個工具連線需要更新 OAuth 授權權杖(token,用來驗證身分的授權令牌)時,Codex 會統一協調這些連線的更新動作。若更新失敗,介面會主動跳出登入驗證挑戰提示,絕不自動重播先前已被拒絕的工具呼叫。此外,先前已被標記為棄用的 codex mcp-server 啟動入口也在本次更新中正式移除。

新功能

啟動流程阻擋未信任輔助程式,macOS 沙盒嚴防終端機注入

開啟陌生專案目錄或在蘋果電腦上執行終端機,資安防線在開工當下就已全面就位。現在 Codex 在啟動過程中,若尚未與當前工作區建立明確的信任關係,會主動避免執行任何由工作區控制的輔助程式,杜絕惡意腳本趁虛而入。與此同時,macOS 系統下的沙盒(sandbox,隔離程式執行權限的保護層)也經過強化,能確實阻擋未經許可的終端機輸入注入攻擊。

這讓你在檢視未知程式碼時能受到更周密的保護。

新功能

遠端續接與分支保留已存權限,新工作階段尊重預設模型

透過遠端環境接續或分流既有進度時,設定與權限將維持一致。當你針對遠端工作階段執行續接(resume,接續先前中斷的進度)或分支操作時,先前已經儲存的授權與權限設定現在會完整延續,省去反覆確認授權的打擾。同時,全新開啟的工作階段以及衍生的分支,除非你在指令中明確指定其他模型,否則一律會嚴格遵守伺服器端配置的預設模型規格。

此舉確保了跨端協同作業的權限延續性與環境規範。

新功能

跨應用程式續接對話防衝突,提供唯讀逐字紀錄且保留草稿

當你想接續處理某個對話,但該對話正巧在另一個應用程式中開啟時,現在不必再擔心進度衝突了。

Codex 會在介面上顯示唯讀的對話轉錄(transcript,完整對話逐字紀錄),讓你能回顧過往脈絡,並附上重新嘗試的按鈕選項。與此同時,你當前輸入框中正在撰寫的文字草稿也會受到完整保護,不會被清空或覆蓋,方便你在另一端釋放鎖定後立刻接手。

新功能

自動核准審查保留壓縮脈絡,遇新指令自動駁回失效授權

面對需要反覆審核權限的操作流程,自動審查機制的判斷現在更加嚴謹周全。在對話歷程經歷壓縮(compaction,精簡長對話以節省記憶體的機制)後,自動核准審查機制能更完善地保留原本的授權脈絡,避免重要授權因紀錄濃縮而遺失。更重要的是,一旦使用者在後續給出了全新的指令或補充回答,只要先前的核准因此失效,審查機制就會果斷駁回該項核准,防止舊授權被錯誤套用到新情境。

English

FEATURE

GPT-6-Astra Arrives in Model Picker and Bedrock with Updated Migration Guides

Looking to try the latest model during development? You can now select GPT-6-Astra directly from the model picker. This update is also available in the Amazon Bedrock service catalog. If you plan to migrate existing projects, the bundled OpenAI Docs skill has been updated with dedicated migration steps, compatibility notes, and prompting guidance for GPT-6-Astra.

Whether you invoke it from the local menu or cloud catalog, you can switch smoothly by following the guides.

FEATURE

Experimental Worktree Support Arrives to Browse and Resume Isolated Checkouts

Want to work on multiple branches simultaneously without cluttering your current directory? Codex now introduces experimental worktree support.

Simply pass the --worktree flag at startup or enter the /worktree command in a conversation to create isolated checkout directories for new or forked sessions. Once created, you can browse all existing worktrees and resume earlier progress at any time.

FEATURE

Answer Questions Inline While Working in Background Without Losing Drafts

You no longer have to wait idly for Codex to stop before interacting while it writes code. When Codex runs in the background and asks a question, it can now surface prompt questions inline for immediate replies.

You can click suggested options provided by the interface or type custom text responses. Best of all, this interaction will not clear or affect your ongoing main draft in the input box, keeping both your thoughts and progress on track.

FEATURE

Windows Adds Shared Background Server with Daemon Lifecycle Commands and Managed Updates

Multiple sessions on Windows can now share a single background server instead of each terminal window starting its own. This update also introduces daemon lifecycle management commands to check status, start, or stop the background server, alongside managed updates to ensure background services receive future upgrades smoothly.

FEATURE

Vim Editing Adds R Replace Mode with Undo, Dot-Repeat, and Reliable Escape Handling

Developers accustomed to Vim keybindings will enjoy a snappier draft editing experience. This update brings the classic R replace mode to Vim mode, allowing you to overwrite characters directly under the cursor. During text replacement, you can undo changes and use the dot key to repeat your previous replacement action. For legacy terminals, the update improves Escape key handling, making exiting edit modes more reliable and avoiding key delays or failures.

FEATURE

Copying Responses Preserves Rich-Text Formatting as /copy Gains Status and Field Extraction

Pasting generated code or explanations into other document apps will no longer scramble formatting into plain text. Copying responses from Codex into rich-text applications now fully preserves the original styling and appearance. Meanwhile, the command-line /copy command has been enhanced to copy status output or extract specific individual fields from a session in addition to the response itself.

This makes organizing documentation and sharing debugging information much smoother.

FEATURE

Existing Sessions Dynamically Detect Plugin Tools and Refresh on Upgrades or Rollbacks

When your current session is running, you no longer need to restart it when external plugins change.

Existing sessions now feature dynamic detection to recognize newly installed plugin tools without interrupting execution. When plugins are upgraded or rolled back externally, the active window immediately refreshes corresponding skills. Internally defined hooks are updated as well, ensuring all automated workflows take effect immediately.

BUGFIX

MCP Connections Coordinate Token Refreshes and Login Challenges as Legacy Entry Point Retires

Maintaining authorization credentials when connecting to external services via MCP is now safer and more orderly. When multiple tool connections require OAuth token refreshes, Codex coordinates the refresh across those connections. If a refresh fails, the interface surfaces login challenges without automatically replaying previously rejected tool calls. In addition, the previously deprecated codex mcp-server entry point is officially removed in this release.

FEATURE

Startup Blocks Untrusted Workspace Helpers as macOS Sandbox Prevents Terminal Injection

When opening unfamiliar project directories or running terminals on Mac computers, security defenses are active right from the start. During startup, Codex actively avoids running workspace-controlled helpers before establishing trust with the current workspace, preventing malicious scripts from taking advantage. Meanwhile, the macOS sandbox has been strengthened to block unauthorized terminal input injection attacks.

This ensures thorough protection when inspecting unknown code.

FEATURE

Remote Resume and Fork Preserve Saved Permissions While Fresh Sessions Follow Default Models

Configurations and permissions remain consistent when resuming or branching progress in remote environments. When performing resume or fork operations on remote sessions, previously saved authorizations and permission settings are preserved, eliminating repetitive authorization prompts. Furthermore, fresh sessions and derived forks strictly respect server-configured default models unless you explicitly specify another model in your command.

This ensures permission continuity and environmental standards during remote collaboration.

FEATURE

Cross-App Conversation Resume Prevents Conflicts with Read-Only Transcripts and Draft Preservation

You no longer have to worry about progress conflicts when resuming a conversation that happens to be open in another application.

Codex displays a read-only transcript in the interface so you can review past context, accompanied by a retry button option. Meanwhile, your ongoing text draft in the input box remains protected without being cleared or overwritten, allowing you to take over immediately once the lock is released on the other side.

FEATURE

Automatic Approval Reviews Preserve Compaction Context and Reject Invalidated Authorizations

When dealing with workflows that require repeated permission reviews, automatic approval mechanisms are now more rigorous. Following conversation compaction, automatic approval reviews better preserve original authorization context, preventing critical authorizations from being lost due to history condensation. More importantly, once users provide fresh instructions or supplementary answers that invalidate earlier approvals, the review mechanism promptly rejects those approvals to prevent obsolete authorizations from being misapplied in new contexts.

原始 CHANGELOG

Original changelogGPT-6-Astra 上架模型挑選器與 Bedrock,官方文件同步補上轉移指引
GPT-6-Astra is now available in the model picker and Amazon Bedrock catalogs. (#42879, #42619)
Updated the bundled OpenAI Docs skill with GPT-6-Astra migration, compatibility, and prompting guidance. (#42931)
Original changelog實驗性工作樹支援登場,獨立簽出目錄支援瀏覽與續接
Experimental worktree support lets you create isolated checkouts for new or forked sessions using `--worktree` or `/worktree`, then browse and resume them. (#42652, #43069, #43120, #43286)
Original changelog背景執行中直接行內回答提問,提供建議選項且不丟失草稿
Answer questions inline while Codex continues working, using suggested choices or custom text without losing your main draft. (#42891, #42894, #42897)
Original changelogWindows 支援共享背景伺服器,提供守護行程管理指令與自動更新
Windows sessions can now share a background Codex server, with daemon lifecycle commands and managed updates. (#42405, #42392)
Original changelogVim 編輯新增 R 取代模式,支援復原與重複操作並改善退出鍵
Vim editing gains `R` replace mode with undo and dot-repeat, plus more reliable Escape handling in legacy terminals. (#42194, #42584)
Original changelog複製回覆保留富文字格式,/copy 指令支援狀態與欄位擷取
Copying responses preserves formatting in rich-text apps, and `/copy` can copy status output or individual session fields. (#42847, #43055)
Original changelog現有工作階段動態辨識外掛工具,升級回捲自動重新整理
Existing sessions pick up newly installed plugin tools and refresh skills and hooks after external plugin upgrades or rollbacks. (#42284, #42593, #42990)
Original changelogMCP 連線協調權杖更新與登入挑戰,舊版伺服器啟動入口退場
MCP connections coordinate OAuth token refreshes and surface login challenges when refresh fails, without automatically replaying rejected tool calls. (#42413, #42552)
The deprecated `codex mcp-server` entry point is no longer available. (#42993)
Original changelog啟動流程阻擋未信任輔助程式,macOS 沙盒嚴防終端機注入
Startup avoids running workspace-controlled helpers before trust is established, and the macOS sandbox blocks terminal input injection. (#42324, #42590)
Original changelog遠端續接與分支保留已存權限,新工作階段尊重預設模型
Remote resume and fork operations preserve saved permissions; fresh sessions and forks respect server model defaults unless explicitly overridden. (#43330, #43177, #43355)
Original changelog跨應用程式續接對話防衝突,提供唯讀逐字紀錄且保留草稿
Resuming a conversation open in another app now shows a read-only transcript with a retry option while preserving your draft. (#43253)
Original changelog自動核准審查保留壓縮脈絡,遇新指令自動駁回失效授權
Automatic approval reviews better preserve authorization context through compaction and reject approvals invalidated by new user instructions or answers. (#42844, #42852, #43442)