繁體中文

新功能

全螢幕介面支援選取即複製與右鍵貼上,並保留排版格式

在全螢幕文字介面(TUI,以純文字排版的終端機操作畫面)瀏覽或整理對話紀錄時,操作方式變得更貼近日常習慣。

現在你可以在設定中開啟選取即複製與右鍵貼上功能。從對話紀錄選取複製的內容,會完整保留 Markdown(用簡單符號標註粗體與標題的純文字排版格式)語法,貼到其他筆記工具時不再失去格式。

新功能

MCP 伺服器支援預先註冊的密鑰驗證

當你想要串接需要特殊身分驗證的外部服務時,現在可以直接提供專屬金鑰完成連線。

Codex 現在支援需要預先註冊 OAuth 客戶端密鑰的 MCP(讓 AI 連接外部工具的協定)伺服器。你可以直接在終端機執行帶有專屬參數的指令來新增伺服器:

codex mcp add --oauth-client-secret

面對要求事先註冊密鑰的驗證機制,也能順利連接並整合至日常工作中。

新功能

執行伺服器 WebSocket 連線加入令牌驗證

在背景執行伺服器與主程式進行即時通訊時,傳輸通道的安全防護再度升級。

Codex 現在使用 bearer token(持有者出示即可驗證身分的授權令牌)來保護直接連向 exec-server 的 WebSocket 連線。這項安全保護也包含經由 app-server 所配置的連線管道。透過令牌驗證機制,連線能防止未授權的外部存取,保障通訊過程的安全性。

新功能

圖片生成支援透明背景,對話圖片可直接編輯

請 AI 製作或修改圖像素材時,產出的圖片能更方便地直接放入簡報與網頁中。

現在你在下達生成或修改圖片的指令時,可以明確要求輸出透明背景。圖片編輯功能也支援直接讀取對話紀錄中已存為檔案的圖像,讓你不用重新匯出上傳就能接續調整畫面。

新功能

權限審核提問不中斷動作,並減少重複確認提示

當你在等待指令審核的過程中想發問或確認狀態時,操作不再會意外中斷。

現在若在待審核狀態下輸入新文字,審核流程會自動重試,詢問狀態不會直接中斷等待執行的操作。針對以提升權限執行的指令,終端機輸入審核預設開啟,僅限執行階段授予的權限也不再引發多餘的審查。在 macOS 上套用修正時,系統能識別既有權限已涵蓋的路徑別名(alias,指向相同位置的替代路徑名稱),避免重複跳出確認提示。

問題修復

修復跨平台沙盒路徑、憑證與寫入權限問題

在不同作業系統中透過沙盒(隔離程式執行的環境)執行指令時,穩定性獲得改善。

在 Windows 上,修復了涉及一般 Windows 10 路徑、已儲存憑證(留存的登入證明)遭拒,以及龐大權限政策時導致沙盒失敗的問題。在 Linux 環境下,修正了包含巢狀可寫入根目錄時沙盒無法啟動的錯誤。跨 Linux 與 macOS 的多個可寫入根目錄時,也確保完整保留 Git 中繼資料(記錄版本控制設定的內部資料)的防護機制。

新功能

Mermaid 流程圖支援引號與符號,未支援圖表附退回說明

請 AI 繪製流程圖或架構圖時,終端機顯示圖表的相容性變得更完整。

Mermaid(用純文字繪製圖表的語法)流程圖現在能正常渲染帶有雙引號的標籤與「&」符號。如果遇到目前尚未支援的圖表類型,畫面會明確說明退回備援(fallback,無法顯示時改用原始文字呈現的後備機制)的原因,不再讓人摸不著頭緒。

新功能

指令完成事件納入前期輸出,行程啟動失敗會回報客戶端

透過客戶端應用程式監看指令執行狀況時,原本可能漏看開頭輸出,也難以得知行程為何沒啟動。

現在指令完成事件中會包含執行最初期產生的前期輸出內容。當啟動行程(process,作業系統中正在運作的程式個體)遭遇失敗時,也會主動將錯誤回報給客戶端,讓排查問題更有效率。

English

FEATURE

Fullscreen interface supports copy-on-select and right-click paste while preserving formatting

Browsing or organizing conversation history in the full-screen terminal interface now aligns more closely with everyday habits.

You can now enable copy-on-select and right-click paste in settings. Content copied from chat history fully preserves Markdown syntax, so it no longer loses formatting when pasted into other note-taking tools.

FEATURE

MCP servers support pre-registered secret authentication

When you want to connect external services that require special authentication, you can now directly provide a dedicated key to establish the connection.

Codex now supports MCP servers that require a pre-registered OAuth client secret. You can add a server directly by running a command with dedicated flags in the terminal:

codex mcp add --oauth-client-secret

This allows you to smoothly connect and integrate authentication mechanisms that require pre-registered secrets into your daily workflow.

FEATURE

WebSocket connections to execution server add token authentication

When the background execution server communicates in real time with the main program, security protection for the transmission channel is upgraded once again.

Codex now uses a bearer token to protect direct WebSocket connections to exec-server. This security protection also covers connection channels configured through app-server. Through token authentication, connections prevent unauthorized external access and ensure communication security.

FEATURE

Image generation supports transparent backgrounds and direct editing of conversation images

When asking AI to create or modify image assets, generated images can be placed directly into presentations and webpages more conveniently.

You can now explicitly request a transparent background when issuing prompts to generate or modify images. The image editing feature also supports reading images saved as files directly from the conversation history, allowing you to continue adjusting visuals without re-exporting and uploading.

FEATURE

Permission review queries no longer interrupt actions and reduce repeated confirmation prompts

Asking questions or checking status while waiting for command review no longer accidentally interrupts the operation.

If new text is entered while in a pending review state, the review process automatically retries, ensuring status inquiries do not directly interrupt operations awaiting execution. For commands executed with elevated permissions, terminal input review is enabled by default, and runtime-only permissions no longer trigger redundant audits. When applying fixes on macOS, the system recognizes path aliases covered by existing permissions, avoiding duplicate confirmation prompts.

BUGFIX

Fixes cross-platform sandbox path, credential, and write permission issues

Stability is improved when running commands inside sandboxes across different operating systems.

On Windows, issues causing sandbox failures with standard Windows 10 paths, rejected saved credentials, and oversized permission policies have been fixed. On Linux, an error where sandboxes failed to start when containing nested writable roots has been resolved. Across multiple writable roots on Linux and macOS, protection mechanisms for Git metadata are also fully preserved.

FEATURE

Mermaid flowcharts support quotes and symbols, with fallback explanations for unsupported charts

Terminal chart compatibility is now more comprehensive when asking AI to generate flowcharts or architecture diagrams.

Mermaid flowcharts now properly render labels containing double quotes and "&" symbols. When encountering currently unsupported chart types, the screen clearly explains the reason for the fallback, preventing any confusion.

FEATURE

Command completion events include early output, and process launch failures report to clients

When monitoring command execution through a client application, initial output could previously be missed, and diagnosing why a process failed to launch was difficult.

Command completion events now include early output generated at the very beginning of execution. When launching a process fails, the error is actively reported to the client, making troubleshooting much more efficient.

原始 CHANGELOG

Original changelog全螢幕介面支援選取即複製與右鍵貼上,並保留排版格式
Configure copy-on-select and right-click paste in the fullscreen TUI. Copied transcript selections now preserve Markdown formatting. (#47639, #47896, #48118)
Original changelogMCP 伺服器支援預先註冊的密鑰驗證
Connect to MCP servers that require pre-registered OAuth client secrets, including through `codex mcp add --oauth-client-secret`. (#47891)
Original changelog執行伺服器 WebSocket 連線加入令牌驗證
Secure direct exec-server WebSocket connections with bearer tokens, including connections configured through app-server. (#47601, #47648)
Original changelog圖片生成支援透明背景,對話圖片可直接編輯
Image generation and editing can explicitly request transparent backgrounds, and edits now accept file-backed conversation images. (#47484, #47956)
Original changelog權限審核提問不中斷動作,並減少重複確認提示
Terminal input approval is enabled by default for commands running with elevated permissions; runtime-only grants no longer cause unnecessary reviews. (#47799, #48073)
macOS patch operations now recognize system path aliases covered by existing permissions, avoiding unnecessary approval prompts. (#47879)
Approval reviews now retry when new user input arrives, so a status question does not automatically abort a pending action. (#47819)
Original changelog修復跨平台沙盒路徑、憑證與寫入權限問題
Fixed Windows sandbox failures involving ordinary Windows 10 paths, rejected stored credentials, and large permission policies. (#47672, #47695, #47919)
Fixed Linux sandbox startup with nested writable roots and preserved Git metadata protections across writable roots on Linux and macOS. (#47623, #47974)
Original changelogMermaid 流程圖支援引號與符號,未支援圖表附退回說明
Mermaid flowcharts now render quoted labels and ampersands; unsupported diagrams explain why they fall back to source. (#47572, #47678)
Original changelog指令完成事件納入前期輸出,行程啟動失敗會回報客戶端
Command completion events now include early output and report process-launch failures to clients. (#47529, #47665)