Repository navigation
chore(contract): regenerate types for ora contract 1.41.0 - #94
Merged
Merged
Conversation
Production now serves 1.41.0, which adds a daily usage limit for partner keys (a `day` period on GET /api/usage and period "day" on the usage_limit_reached 429). Regenerated with pnpm contract:gen to clear the scheduled contract-drift job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NWyUpEjizn6zSU5ewC9Wis
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.
What
This regenerates
src/contract/types.gen.tsandsrc/contract/version.tsfrom production ora.ai, which now serves contract 1.41.0 (BUILT_AGAINSTmoves from 1.40.0 to 1.41.0). The only shape change is that partner keys can now have a daily usage limit as well as the monthly one:GET /api/usagegains adayperiod next tomonth, and theusage_limit_reached429 can carryperiod: "day". CLI users stop getting the stale-contract warning. A daily-limit refusal already renders as "...for the day", becausesrc/api/shared.tsprintsperiodas given, so no code change is needed. The rest of the diff is regenerated description text and thecontractVersionliterals.Why
The scheduled "Contract drift vs production" job has failed on
mainevery day since 2026-11-10, because ora.ai shipped 1.41.0 after #93 regenerated against 1.40.0. Regenerated withpnpm contract:gen. Nothing is hand-edited (AGENTS.md rule 2).Checks
pnpm lint && pnpm typecheck && pnpm testpass locally:pnpm test:ciran 263 tests, all passed, and skipped the 2 live tests.pnpm build,pnpm smokeandpnpm verify:packalso pass.periodis already covered for the monthly case.Generated by Claude Code