Skip to content

feat(pricing): expose async input token bounds - #39

Merged
drewstone merged 2 commits into
mainfrom
fix/thread-input-bound-context-20260902
Sep 2, 2026
Merged

feat(pricing): expose async input token bounds#39
drewstone merged 2 commits into
mainfrom
fix/thread-input-bound-context-20260902

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Summary

  • Allow inputTokenBound to load retained thread history asynchronously.
  • Pass the generated request ID and validated thread ID before payment verification.
  • Re-export maximumBillableInputTokens from the package root.
  • Add regression coverage for async context forwarding and the root export.

Verification

  • pnpm test — 26 files, 440 tests passed.
  • pnpm run typecheck — passed.
  • pnpm run build — passed.

@drewstone
drewstone merged commit 23d9f8a into main Sep 2, 2026
3 checks passed
@drewstone
drewstone deleted the fix/thread-input-bound-context-20260902 branch September 2, 2026 05:17
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