MiniMax: quota utilization history and reset-time display#1983
MiniMax: quota utilization history and reset-time display#1983Yuxin-Qiao wants to merge 7 commits into
Conversation
Add token_plan_credit enrichment for cookie-backed refreshes, MiniMax Agent desktop cookie import, API-token web enrichment resolver, and menu credit display. Co-authored-by: Cursor <cursoragent@cursor.com>
Record Session and Weekly quota samples, show subscription utilization charts, and prefer the nearest MiniMax reset window in the menu bar. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Codex review: needs changes before merge. Reviewed July 8, 2026, 9:44 AM ET / 13:44 UTC. Summary Reproducibility: yes. Source inspection at the latest head shows MiniMax token-cost support is enabled while the cost fetcher and provider-snapshot bridge still have no MiniMax path, and the desktop cookie importer can reach Keychain-backed decryption without an opt-out gate. Review metrics: 3 noteworthy metrics.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Copy recommended automerge instructionNext step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: Keep MiniMax token-cost support disabled in this quota split unless the dashboard token-snapshot path lands first, resolve the MiniMax web-session boundary in the prerequisite PR, and keep release notes in the PR body. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection at the latest head shows MiniMax token-cost support is enabled while the cost fetcher and provider-snapshot bridge still have no MiniMax path, and the desktop cookie importer can reach Keychain-backed decryption without an opt-out gate. Is this the best way to solve the issue? No. The quota/history direction is useful, but this split should not enable MiniMax token-cost support or carry unresolved Agent cookie behavior unless the prerequisite dashboard and credit boundaries are already accepted. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against aa401f1d8b74. Label changesLabel changes:
Label justifications:
Evidence reviewedSecurity concerns:
Acceptance criteria:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (4 earlier review cycles)
|
Move menuBarResetTimeWindow into the countdown refresh extension. Co-authored-by: Cursor <cursoragent@cursor.com>
Restore now-parameter signatures, debug button titles, and Codex combined-lane selection while keeping MiniMax-specific reset-time routing. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep menuBarResetTimeWindow for reset-time display while reusing upstream projection-based scheduling for Codex lane transitions. Co-authored-by: Cursor <cursoragent@cursor.com>
Sync browser gate expectations to upstream and drop usage_summary host requests that this PR does not emit. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Closing for now — need to revisit the approach; current changes need more work before merge. |
Summary
Split from #1821 (PR C). Merge after #1981 (can land in parallel with the dashboard PR).
MenuBarMetricWindowResolvernearest-reset helperTest plan
swift buildswift test --filter UsageStorePlanUtilizationswift test --filter MenuBarResetTimeDisplayMerge order
Made with Cursor