Skip to content

feat: simplify setup link API and TypeScript SDK - #556

Merged
alongubkin merged 7 commits into
mainfrom
alon/alien-638-create-a-clean-idempotent-customer-setup-link-api
Sep 1, 2026
Merged

alongubkin merged 7 commits into
mainfrom
alon/alien-638-create-a-clean-idempotent-customer-setup-link-api

Conversation

@alongubkin

Copy link
Copy Markdown
Member

Summary

  • make setup-link targeting explicit while preserving the existing setup-link request fields
  • add idempotent setup-link creation and direct entry points for gateway providers
  • simplify TypeScript SDK request inputs so operation bodies are passed directly and workspace can come from the API key
  • capture bounded provider error responses for internal diagnostics while keeping gateway responses sanitized
  • regenerate the Platform TypeScript SDK from the updated OpenAPI contract

Validation

  • AI Gateway unit tests pass (90 tests)
  • TypeScript SDK was regenerated from the source OpenAPI schema
  • real-provider failure path verified: the upstream 400 body is captured internally while the caller receives the sanitized gateway error

Merge order

Merge this PR before the corresponding Platform PR, which consumes the new AI usage diagnostic fields.

@greptile-apps

greptile-apps Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

Too many files changed for review (1224 files, 100 file limit).

@alongubkin

Copy link
Copy Markdown
Member Author

@greptile

@alongubkin
alongubkin merged commit 8046e67 into main Sep 1, 2026
25 checks passed
@alongubkin
alongubkin deleted the alon/alien-638-create-a-clean-idempotent-customer-setup-link-api branch September 1, 2026 05:57
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