Repository navigation
feat(managed): add Managed API support for the combined 0.2.0 release - #8
Merged
Merged
Conversation
…elease Add 108 documented operations with typed clients, budget and usage contracts, Session provenance, pagination and SSE. Keep all additions unreleased for the combined Forward and Managed 0.2.0 release. Validate 1,244 SDK tests and 74 independent consumer tests on Java 8, 11, 17, 21 and 25; include opt-in live checks and official documentation fixtures.
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.
Change
Java 0.1.0 exposes Forward only, so Managed users must construct raw requests and cannot rely on typed contracts. Add ManagedClient / AsyncManagedClient and all 108 documented Managed operations, keeping the Forward and Managed additions together in the planned 0.2.0 release.
The change covers Agent versions, Deployments/Runs, Sessions/Threads/SSE/resources, self-hosted Work, resource APIs, OAuth, Memory Stores, Models and Dreams. It preserves decimal Credits, nullable budget updates, runtime Agent patches, Session provenance metadata, opaque cursors and unknown response fields. Add public guides, a coverage inventory and opt-in JAR consumer checks.
The contract baseline is the official Managed API documentation, checked on 2026-10-28. The complete operation mapping is in docs/managed-api-coverage.md. This is a Java-only addition; Go, Python and TypeScript behavior is unchanged. Existing Forward entry points remain compatible.
Validation
make qualitypasses on JDK 17+.Commands:
./mvnw -B -ntp clean install,./mvnw -B -ntp -f examples/pom.xml clean verify,python3 .github/scripts/check_package.py,make quality, andpython3 .github/scripts/check_central_bundle.py.Not covered live: OAuth authorization, OSS mounts, Dream execution, actual self-hosted worker execution, production fault injection or long-duration stability. This local validation does not replace merged-SHA internal integration and QA package acceptance. Keep POM versions unchanged until the combined 0.2.0 version PR.
Local acceptance source:
93c5a6792581033c5d9ee133ba11885f643ac3c2. Local JAR SHA-256:ec1b5b74a2f80c942cf8ae92a54dc152e6a21d3f26682565bb8d5675453f418a. This is a development build, not an internal-pipeline QA artifact; merged-main internal testing and QA approval remain separate gates.