chore/cleanup codegen transforms#14
Merged
Merged
Conversation
The upstream spec PR fixing platform_schema's over-strict `endpoint` requirement on rest/mcp anyOf branches has landed. Apply the script's own removal checklist: delete the transform function and self-destruct error, remove the call site, simplify the resolve.http resolver to fetch service.json directly, drop the T3 entries from the transformsApplied[] list and banner block, and regenerate. The regenerated src/core/generated/*.zod.ts schemas have a banner-only diff — the Zod expressions are byte-identical to what shipped in 0.5.0, because the upstream fix is shape-equivalent to what T3 was patching locally. No runtime behavior change; this is pure code hygiene.
Drop the support for missing payment_handler workaround; align to UCP spec 'required' semantics. If a business wants to offer read-only contract (e.g. only access to catalog), then per spec they should still advertise payment_handlers but can return empty object.
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.
Remove two upstream-spec workarounds in
scripts/codegen-schemas.ts: