-
Notifications
You must be signed in to change notification settings - Fork 2
feat: update SDK from API specifications #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
* feat: enhance AuthOptions type to support proxying and improve environment handling * feat: enhance Options type to support proxying scenarios and make auth optional * feat: add support for additional scopes in authorization and token requests * feat: add lightweight WebSocket proxy client and support for proxy connections * feat: add lightweight WebSocket proxy client and support for proxy connections * feat: expose underlying socket send method for direct access in StreamSocket and TranscribeSocket * feat: update documentation to include security note on Client Credentials and proxying guidance * feat: add comprehensive proxying guide to enhance security for Client Credentials authentication * feat: restore agent-related integration tests and update proxying documentation
hccullen
previously requested changes
Dec 8, 2025
Co-authored-by: Henrik Cullen <hccullen@users.noreply.github.com>
markitosha
previously approved these changes
Dec 17, 2025
markitosha
approved these changes
Dec 17, 2025
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.
Proxying Support and Enhanced Security Features
This release introduces proxying support and scoped tokens to help secure frontend implementations when using Client Credentials authentication.
Major Features
Proxying Support
baseUrloption toCortiClientandCortiAuthfor routing requests through your proxy serverbaseUrlor custom environmentsWebSocket Proxy Client
CortiWebSocketProxyClientfor simplified WebSocket proxying with automatic message parsing and reconnection handlingScoped Tokens
scopesparameter to all authentication methods (getToken,getCodeFlowToken,getPkceFlowToken,getRopcFlowToken)"stream"and"transcribe"to limit token access to specific WebSocket endpointsAPI Updates
AgentsMcpServerAuthorizationType: removed"oauth2.1", added"bearer"and"inherit"send()method inStreamSocketandTranscribeSocketfor advanced use casesDocumentation
Breaking Changes
None - This release is backward compatible.