Repository navigation
Commit 8046e67
authored
feat: simplify setup link API and TypeScript SDK (#556)
## 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.1 parent 27580f7 commit 8046e67
1,224 files changed
Lines changed: 16299 additions & 8820 deletions
File tree
- client-sdks/platform
- rust
- scripts
- typescript
- .speakeasy
- docs
- models
- operations
- sdks
- agentsessions
- alien
- apikeys
- auth
- billing
- cloudregions
- commands
- containerregistry
- debugsessions
- deploymentgroups
- deployments
- deployment
- domains
- events
- gateways
- machines
- managers
- operations
- operatormanifests
- packages
- projects
- releasechannels
- releases
- remotebindings
- resolve
- resources
- setuplinks
- slackintegration
- sync
- workspaces
- src
- funcs
- lib
- models
- operations
- sdk
- crates
- alien-ai-gateway/src
- router
- alien-cli/src/commands
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
Large diffs are not rendered by default.
Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 15 deletions
This file was deleted.
0 commit comments