繁體中文

新功能

Markdown 自訂代理自動注入子代理指引與名冊

在 Markdown 檔案中自訂專案 AI 代理時,現在能讓代理更聰明地分工協作。

當你透過 Markdown 格式定義自訂代理,並在工具清單中列入 invoke_subagent 工具時,這項新增機制會自動在該代理的系統提示詞(給予 AI 底層角色的指令設定)中注入目前可用的子代理名冊與詳細使用指引。自訂代理現在能確實依據名單調度所宣告的子代理,不再因為缺乏使用說明而無法分工。

新功能

背景任務保留原始命名,通知與清單不再顯示通用代號

將耗時較長的繁重指令丟到背景執行時,隨時掌握各項進度變得更加直覺。以前當你把工作指派至背景執行時,系統往往會將任務名稱替換成自動產生的通用代號,讓人難以一眼辨認哪項工作已經跑完。現在系統改進了背景任務命名機制,任務被移至背景時會完整保留當初給定的專屬名稱。不論是終端機跳出的完成通知,或是隨時查詢的背景任務清單,現在都會清楚呈現原本的任務名稱,方便你精準對照各項作業。

問題修復

憑證遭拒時自動登出清除,暫時性網路故障保住工作階段

帳號權限變更或遇上網路波動時,登入狀態的管理現在更加精準可靠。

以前當企業帳號被撤銷或失效等情況發生,登入伺服器明確拒絕身分時,過期的登入憑證仍可能殘留在本機。現在命令列工具會自動將你登出並清除過期 token(授權令牌),讓你能乾淨重新登入。與此同時,若是遇上暫時性的網路連線失敗、伺服器錯誤或請求速率限制,系統也絕不會誤刪你的工作階段(session),確保作業不被中斷。

問題修復

指令遭外部中斷正確標記取消,遠端工作階段同步顯示中斷提示

在終端機執行指令或多端連線操作時,取消與中斷狀態的紀錄現在更加準確。以前當執行中的指令受到外部信號終止(例如整個工作階段在指令運作中途關閉),系統會錯誤將其記錄為結束代碼 0 的成功執行。現在這類指令會正確標記為已取消,並完整保留中斷前所收集到的輸出紀錄。此外,過去只有在本機終端機按下 Esc 鍵時才會跳出 Interrupted 中斷提示,現在只要當前回合確實被取消,包括從已連線的遠端工作階段停止操作,畫面上都會如實顯示中斷提示。

問題修復

終端機視窗縮放自動重新折行,對話思考進度框不再卡死凍結

隨意縮放終端機視窗或重載對話時,畫面排版與狀態呈現變得更加順暢。以前在調整終端機視窗大小後,成品檢視器(展示生成檔案與程式碼的預覽介面)中的 Markdown 文字會卡在原始寬度無法自動換行。此外,對話歷史中進行中的思考進度框有時也會永久凍結,例如畫面永遠停留在 Thinking... (31s) 的狀態,即使縮放視窗或重新載入工作階段也無法恢復。現在這兩項介面顯示問題都已修好,文字內容會自動配合新的視窗尺寸重新折行排版,思考框也能如常更新進度。

English

FEATURE

Automatic Subagent Guidance and Roster Injection for Markdown Custom Agents

When customizing project AI agents in Markdown files, agents can now collaborate and divide work more intelligently.

When you define custom agents in Markdown format and include the invoke_subagent tool in their tool list, this new mechanism automatically injects the currently available subagent roster and detailed usage guidance into that agent's system prompt. Custom agents can now reliably delegate to their declared subagents based on the roster, rather than failing to divide work due to missing instructions.

FEATURE

Background Tasks Retain Original Names in Notifications and Lists Instead of Displaying Generic Identifiers

Keeping track of progress is now much more intuitive when sending long-running, heavy commands to run in the background. Previously, when assigning work to run in the background, the system often replaced the task name with an auto-generated generic identifier, making it hard to tell at a glance which job had finished running. The background task naming mechanism has now been improved so that tasks fully retain their originally given custom names when moved to the background. Whether in completion notifications popping up in the terminal or in queryable background task lists, the original task name is now clearly displayed, allowing you to accurately cross-reference each operation.

BUGFIX

Automatic Sign-Out and Cleanup on Rejected Credentials While Preserving Sessions During Transient Network Failures

Managing sign-in status during account permission changes or network fluctuations is now significantly more accurate and reliable.

Previously, when situations like enterprise account revocations or invalidations occurred and the sign-in server definitively rejected the identity, stale sign-in credentials could still linger locally. The CLI tool now automatically signs you out and clears stale tokens so you can sign in again cleanly. Meanwhile, if transient network connection failures, server errors, or request rate limits occur, the system will never accidentally drop your session, ensuring operations remain uninterrupted.

BUGFIX

Commands Terminated by External Signals Correctly Marked as Canceled with Remote Sessions Syncing Interruption Hints

Recording cancellation and interruption states is now more accurate when running commands in the terminal or operating across connected sessions. Previously, when a running command was terminated by an external signal (such as when the entire session shut down mid-run), the system erroneously recorded it as a successful execution with exit code 0. Such commands are now properly marked as canceled while fully preserving the output logs collected before the interruption. In addition, whereas the Interrupted hint previously only appeared when pressing the Esc key locally in the terminal, it now faithfully displays on screen whenever the current turn is actually canceled, including when stopped from a connected remote session.

BUGFIX

Terminal Resizing Automatically Re-wraps Text and Resolves Frozen In-Progress Thinking Frames

Layout and status presentation are now much smoother when freely resizing the terminal window or reloading conversations. Previously, after resizing the terminal window, Markdown text in the artifact viewer remained stuck at its original width without re-wrapping automatically. Furthermore, in-progress thinking frames in conversation history would sometimes freeze permanently—such as staying stuck forever at Thinking... (31s)—without recovering even after resizing the window or reloading the session. Both interface display issues are now resolved: text content automatically re-wraps to fit the new window dimensions, and thinking frames update progress normally.

原始 CHANGELOG

Original changelogMarkdown 自訂代理自動注入子代理指引與名冊
Added automatic subagent guidance for custom agents defined in Markdown: agents that list `invoke_subagent` in their tools now receive the roster of available subagents and usage instructions in their system prompt, so they can actually delegate to the subagents they declared.
Original changelog背景任務保留原始命名,通知與清單不再顯示通用代號
Improved background task naming so a task keeps the name it was given when sent to the background; completion notifications and task lists now show that name instead of a generic auto-derived one.
Original changelog憑證遭拒時自動登出清除,暫時性網路故障保住工作階段
Fixed stale credentials lingering after the sign-in server definitively rejects them (for example a revoked or invalidated enterprise account); the CLI now signs you out and clears the stale tokens so you can sign in again cleanly, while temporary network failures, server errors, and rate limits never cost you your session.
Original changelog指令遭外部中斷正確標記取消,遠端工作階段同步顯示中斷提示
Fixed commands killed by an outside signal (for example when the whole session shuts down mid-run) being recorded as successful runs with exit code 0; such commands now finish as canceled while keeping the output collected before the interruption.
Fixed the `Interrupted` hint only appearing when Esc was pressed locally in the terminal; it now appears whenever the current turn is actually cancelled, including when it is stopped from a connected remote session.
Original changelog終端機視窗縮放自動重新折行,對話思考進度框不再卡死凍結
Fixed the artifact viewer leaving markdown text stuck at its original width after a terminal resize; content now re-wraps to the new window size.
Fixed in-progress thinking frames occasionally freezing permanently in the conversation history (for example showing `Thinking... (31s)` forever), including after a terminal resize or session reload.