Release SDK updates - #157
Merged
Merged
Conversation
Stainless-Generated-From: f726e3683e448853773ff4d4b80c3c4a6923fd51
Stainless-Generated-From: dc92ffe81ea63e5db991bab3b3350ff53f00df26
Stainless-Generated-From: 6e370a57405066ad44066d88f375704812affb83
rgarcia
approved these changes
Aug 8, 2026
rgarcia
left a comment
Contributor
There was a problem hiding this comment.
generated SDK changes are validated and ready for promotion.
3 tasks
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.
ccf8448 feat: Expose authenticated request context
b6b6518 feat: Add audit logs plan paywall to the dashboard
bb67ffa feat: Expose profile save behavior in browser responses
Note
Medium Risk
New auth introspection and audit export destination APIs touch compliance-sensitive flows; audit module path change is mitigated by re-exports but deep imports may need updating.
Overview
OpenAPI/Stainless SDK release that wires up three API surface changes and reorganizes audit logs into a subpackage.
Auth: New
client.auth.context.retrieve()(GET /auth/context) returnsAuthContext(principal, organization, authentication method/source, credential vs effective project scope) without secrets.Audit logs:
AuditLogsmoves fromsrc/resources/audit-logs.tstosrc/resources/audit-logs/with a barrel re-export so existingaudit-logsimport paths still work.client.auditLogs.exportDestinationsadds create/retrieve/update/list/delete plustestfor Enterprise S3 continuous export (role assumption,jsonl.gz, active/paused status).Browsers: Browser-related response shapes gain optional
profile_save_changes(whether session changes persist to the attached profile on teardown), including invocations and browser-pool types.Generated API docs and skipped mock-server tests cover the new resources; endpoint count rises 127 → 134.
Reviewed by Cursor Bugbot for commit ccf8448. Bugbot is set up for automated code reviews on this repo. Configure here.