Repository navigation
feat(quota): track the Fable weekly quota and price Opus 4.8 - #6
Merged
Merged
Conversation
Collect Claude Code's separately counted Fable weekly limit as the seven-day-fable window, with cost and estimate limited to claude-fable-* requests. Add Opus 4.8 standard and fast-mode rates. Unify quota windows into one shared component. Desktop account rows now stack 5h / 7d / Fable as aligned one-line rows; mobile keeps cards. Also: abbreviated tooltip numbers, centered overview tabs, clearer waiting copy, a Claude demo account, and a viewport fix for stuck zoom. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
变化
seven-day-fable窗口上报。周期费用和预估只统计claude-fable-*请求。升级顺序为先服务端后采集器,见docs/collector.md。2026-09-25.4。minimum-scale=1.0,切换设备模式后页面不再停留在错误比例。验证
bun run build通过,bun test tests326 pass,所改文件 Prettier 与git diff --check通过。bun run test:browser通过。其中几处断言早于本次改动已经失效(总览 API 账户已改为累计用量、账户详情不再出现 N/A),一并按当前行为更新,演示数据计数同步调整。tests/quota-pwa-layout.browser.ts48 种状态通过,tests/global-layout.browser.ts在 1440、1200、768、390、320px 通过。tests/overview-account-usage.browser.ts需要带真实数据的后端,本次未运行。~/.claude.json上解析出seven-day-fable窗口。🤖 Generated with Claude Code