Skip to content

fix(usage): preserve partial provider receipts - #37

Merged
drewstone merged 1 commit into
mainfrom
feat/partial-usage-20260901
Sep 2, 2026
Merged

fix(usage): preserve partial provider receipts#37
drewstone merged 1 commit into
mainfrom
feat/partial-usage-20260901

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Legacy API-key adapters can report real token and provider-cost fields without a complete budget receipt. Preserve those values and estimate only missing fields. Durable prepaid operations remain strict.

Proof:

  • 439/439 tests pass across 26 files.
  • Focused receipt tests pass 36/36.
  • Typecheck and build pass.
  • Node floor remains >=22.13; CI covers Node 22.13 and 24.18.

@drewstone
drewstone merged commit 5095f58 into main Sep 2, 2026
3 checks passed
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