Repository navigation
feat: add stable Forward and Managed API operations - #7
Merged
Merged
Conversation
Add Forward credential rotation and hourly Usage aggregation, plus Managed Session cancellation and deployment-scoped Run queries. Include typed public exports, contract fixtures, live scenarios, generated API documentation, and changelog entries.
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.
Summary
SDK callers currently lack typed methods for Forward credential rotation and hourly Usage aggregation, Managed Session cancellation, and deployment-scoped Run queries. Add these six operations with matching resource exports, models, contract fixtures, and live scenarios across the Go, Python, and TypeScript SDKs.
start_at/end_atbounds in Asia/Shanghai, fractionalactive_seconds, multi-ID filters, and pagination. Only the new parameter contract is exposed.Why
Expose the documented stable API operations through the public SDKs so callers can use typed resource methods instead of issuing their own HTTP requests. Keep the three language implementations consistent.
Verification
make lintmake buildmake testmake docs-checkgo build ./examples/...Offline unit/contract tests and live-tag cleanup tests passed. Live-tag compilation also passed. Changelog validation and all 19 release automation tests passed.
Targeted account-backed scenarios for the retained APIs passed on CN and Global during this task: Usage, credential merge patches/redaction, idle/active Session cancellation, and deployment-scoped Run queries. Those runs used the task working trees before final scope cleanup; the final committed trees received the offline checks above. Empty Usage pages verify the collection envelope; fixtures cover item types and cursor/filter replay. Cancellation tests record HTTP 200/202 because completion may race cancellation.
Impact
CHANGELOG.mdunderUnreleased.env.live, logs, or generated test output committedNo migration is required for existing Go callers.