Skip to content

Render honest quota preflight - #40

Merged
facundofarias merged 1 commit into
mainfrom
feat/usage-contract
Nov 16, 2026
Merged

facundofarias merged 1 commit into
mainfrom
feat/usage-contract

Conversation

@facundofarias

Copy link
Copy Markdown
Member

Summary

  • type and render the structured bandwidth measurement without treating unknown as zero
  • distinguish unavailable, numeric zero/delayed, and unlimited states
  • include editing and video enrichment quota lines already returned by the API

Verification

  • npm run typecheck
  • npm test -- --run tests/commands/usage-keys.test.ts (22 tests)
  • npm run build
  • npm pack --dry-run

@facundofarias
facundofarias merged commit dcd1744 into main Nov 16, 2026
2 checks passed
@facundofarias
facundofarias deleted the feat/usage-contract branch November 16, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant