Skip to content

feat(sdk)!: align Forward and Managed capability contracts - #17

Merged
moonyue-w merged 3 commits into
mainfrom
codex/capability-parity-20261121
Nov 24, 2026
Merged

moonyue-w merged 3 commits into
mainfrom
codex/capability-parity-20261121

Conversation

@moonyue-w

@moonyue-w moonyue-w commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Change

Add Forward Session auto-title and multiagent updates, typed OSS storage, Template A2A publication configuration and synchronous/asynchronous Agent Card discovery. Multiagent entries preserve string references as well as objects.
Add Managed Thread event-delta selectors preserved across reconnects, top-level MCP policies and OAuth resource/expiry/redacted refresh accessors.

Fix client closure during active Skill/File download reads: cancel the call immediately, then defer response-body closure until in-flight reads exit, avoiding concurrent Okio source access and Unbalanced enter/exit.

Keep capability-test SDK version expectations aligned with the actual request version so the disposable 0.0.0 Central signing rehearsal can run the same tests without release-specific fixtures.

These capabilities accompany the Go/Python/TypeScript changes on the same branch. Contract sources and coverage inventories are documented in the updated Forward/Managed coverage guides.

Migration: Session updates now use SessionUpdateConfig; creation continues using SessionConfig. MultiagentEntry implements JsonSerializable rather than extending JsonObject.

Validation

  • SDK build, tests and Javadoc: JAVA_HOME=<JDK17> make quality test passed on Microsoft JDK 17.0.17.
  • SDK tests: 1275 passed, no skips or failures.
  • Independent examples/packaged consumer: 77 passed.
  • Package check: main/sources/Javadoc JARs and Java 8 bytecode (major 52) verified.
  • Actual JDK 8u452: 3 focused close/timeout tests passed.
  • JDK 17 python3 .github/scripts/check_central_bundle.py: full tests at disposable version 0.0.0, reproducible SDK/POM/sources/Javadoc and four valid signatures passed; no upload.
  • Both direct Skill and two-hop File close-during-read regressions failed before the fix on JDK 17 and passed afterward.
  • Documentation, changelog and migration notes updated; make quality passed.
  • Commit 2055bce: push CI and PR CI both passed all six jobs (quality plus full Java 8/11/17/21/25 matrix), 12 successful jobs total. Java 8 downloaded and installed Zulu successfully in both runs.
  • Account-backed live scenarios (not run).

No version change or publication is included. Offline tests and local candidate JARs are not live-service or Maven Central validation.

CI download repair: repeated push-event runs failed to install Temurin 8.0.514+1 (gzip: stdin: not in gzip format) before compilation/tests, while the identical URL downloaded successfully in the PR run. CI now uses the maintained actions/setup-java@v5, Azul Zulu's download source for Java 8, and Temurin for Java 11/17/21/25. All SDK, consumer, package and quality checks remain required; no installation failure is ignored. Maintenance documentation records the runtime distributions. The original failed setup job is retained as failure evidence.

Companion PRs

Add Forward session, A2A and OSS capabilities and Managed streaming, MCP and OAuth accessors. Prevent concurrent response closure during active download reads.
@moonyue-w
moonyue-w merged commit 3ebc361 into main Nov 24, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant