v0.5.2 — 免費方案撞牆不連累你的流程 Quota walls stop breaking callers
--soft-fail:後端拒絕你,也不該炸掉你的流程 🚪
「沒有二審不得中斷你的流程」原本只對沒裝/沒登入成立。使用者一撞到額度或方案限制,拿到的是 exit 2 —— 在 set -e 的呼叫鏈裡照樣把上層中斷。
- 新增
--soft-fail:failed_*也回 0,狀態字串仍照印在 stdout(資訊不會被抹掉) - 預設不變(skipped=0、failed=2):沒有後端是預期降級、不該吵;後端拒絕你是真的有事發生
- 額度失敗的引導改寫成三種可能:額度用完/你的方案不含後端預設模型(用
--model指定)/這個後端在你的帳號跑不動(換AI_REVIEW_CMD)
模型刻意不釘死,措辭也收緊了
釘死模型會過期,也猜不到你的方案有哪些模型 —— 所以腳本吃後端 CLI 自己的預設。
同時修正一個先前寫太滿的宣稱:官方 pricing 頁的用量限制表其實不含免費方案(只有 Plus/Pro/Business/API key),而且本專案沒有在免費帳號上實測過。因此文件不再暗示免費方案開箱即用,docs/AI_REVIEW_SOURCES.md 也記下了這次重查的原文與日期。
驗證:5 種 shell × 28 項行為矩陣全過。
Quota walls stop breaking callers 🚪
"No second opinion must never break your flow" only held for not installed / not signed in. Hit a quota or plan limit and you got exit 2, which aborts callers under set -e. v0.5.2 adds --soft-fail so backend refusals stop affecting the exit code (the status string is still printed). Defaults are unchanged, and the quota guidance now names the three distinct causes — including "your plan may not include the backend's default model", fixed with --model.
Also tightened: the official pricing page's usage-limit table does not cover the free plan, and this project has never tested a free account — so the docs no longer imply it works out of the box.
更新 Update: npx skills update