移除授權檔殘留,固定 agent-task 的 API 版本
你更新 gh 後,安裝內容會少一點不該跟著帶上的授權檔殘留;它們不是你要使用的功能,移除後讓套件更乾淨。另一項調整把 agent-task/CAPI 使用的 API 版本固定下來。API(讓不同程式彼此溝通的介面)若每次自動挑版本,外部服務改動時可能出現難追的差異;固定版本就是先鎖定同一套說法。這版沒有替 agent-task 增加操作功能,而是清掉行李、把溝通規格釘住,像出門前丟掉包包裡多餘的包裝紙,並把轉接頭固定在正確規格。
發布日期:2026-02-20
你更新 gh 後,安裝內容會少一點不該跟著帶上的授權檔殘留;它們不是你要使用的功能,移除後讓套件更乾淨。另一項調整把 agent-task/CAPI 使用的 API 版本固定下來。API(讓不同程式彼此溝通的介面)若每次自動挑版本,外部服務改動時可能出現難追的差異;固定版本就是先鎖定同一套說法。這版沒有替 agent-task 增加操作功能,而是清掉行李、把溝通規格釘住,像出門前丟掉包包裡多餘的包裝紙,並把轉接頭固定在正確規格。
After updating gh, its package will carry less leftover license material that is not part of the feature you use. The release also pins the API version used by agent-task/CAPI. An API is the interface programs use to talk to one another; choosing a version automatically can produce hard-to-trace differences when an outside service changes, while pinning it keeps both sides speaking the same version. This does not add an agent-task feature. It removes packing debris and fixes the connection standard, like throwing spare wrapping paper out of a bag and locking in the right adapter.
Remove license bundling debris by @williammartin in https://github.com/cli/cli/pull/12716
fix(agent-task/capi): use a fixed CAPI API version by @babakks in https://github.com/cli/cli/pull/12731