Repository navigation
feat(accounts): 支持 Codex 本地采集与账户额度、用量合并 - #27
Merged
InfinityPacer merged 5 commits intoOct 2, 2026
Merged
Conversation
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.
本地 Codex 用量尚不能同步到 Meterleaf;同一个订阅从本机和网关分别采集时,也无法在同一账户下查看。本 PR 添加 Codex 本机采集,并允许用户将一个账户的额度和全部用量合并到另一个账户。
验证:完整 Bun 回归 380 项通过,另新增状态栏写入测试 1 项通过;类型检查与前端构建通过。账户合并覆盖跨来源、父账户、连续合并、解除、重启、后续采集、未知/过期额度、缓存和后台重建;升级旧缓存及合并后缓存恢复补充回归 31 项通过。Playwright 在独立示例账本上验证 1440px / 390px / 320px、明暗主题及减少动态效果,使用 18 个示例账户覆盖长列表滚动、确认、错误提示和解除合并,确保弹窗下拉列表不被裁切。未对生产账户执行合并测试。
Codex JSONL 属于客户端内部格式,需要跟随上游维护。状态栏只在 Claude Code 提供额度时更新;没有数据时不猜测重置时间。