Repository navigation
feat: sync ADL schema v0.28.0 and emit a v1.0.1 AgentCard - #452
Conversation
|
Claude finished @edenreich's task in 21m 47s —— View job Done - #451 implemented on this PR
What the schema bump forcedSchema v0.28.0 removed the pre-release mirror fields rather than deprecating them, so Changes
Verification
One gap worth flagging: the generated TypeScript and Rust projects were not compiled here -
|
|
@infer can you review this PR? is it ready for merge? use /ponytail:ponytail /ponytail:ponytail-review |
|
Model: Todos
Pull Request✅ Infer Result: SuccessAll verification done. Let me close out the todos and deliver the review. Verdict: ready to merge. All checks green, the migration logic is correct and tested, and the riskiest claim (generated Go compiles against adk v0.30.0) reproduces on this runner. Two minor non-blocking nits, both with one-click suggestions below. Verified (checks, not vibes)
Findings (non-blocking)
Ponytail-review (over-engineering only)
Out of scope, noticed while verifying (pre-existing, not from this diff)Generated Go projects with tools emit Docs: this changes user-facing manifest authoring and generated card output and the PR body references no docs ticket, so I filed [DOCS] inference-gateway/docs#897. Model: Tokens: 2,347,673 in · 41,221 out · 2,388,894 total (34 requests) Tool calls: 62 total · 100% success rate TracesStatsTriggered by edenreich · Infer Action · OSS |
|
@claude can you address the review comments? |
|
Claude finished @edenreich's task in 50s —— View job Both review comments addressed -
|
|
@claude Can you verify that all examples are building and running? and report back? |
|
Claude finished @edenreich's task in 24m 9s —— View job Verification report - all 22 examples generated, compiled and smoke-run
Results
What this PR touches - all greenThe card change itself verifies cleanly in all three runtimes. Captured from the actual startup logs:
Failures - both pre-existing, neither caused by this PR1.
2. All 6 TypeScript examples fail
Additionally One observation on this PR's own code
VerdictEverything this PR changes works in all three runtimes, including the Rust path the PR body listed as unverified. The two compile failures are pre-existing on Environment notes
|
|
@infer can you fix these? not all the examples compile. |
|
Model: Todos
Pull Request✅ Infer Result: SuccessAll fixed, verified, and pushed as What was broken (found by compiling every generated project)I generated all 22 examples with 1. 2. All TypeScript examples: 3. Also bumped the example's stale stringer pin to Verification
Follow-up filed: [DOCS] tracking issue inference-gateway/docs#903 for the v1.0.1 card / ADK pin docs ripple. Skipped: TypeScript worker type-check via Model: Tokens: 7,410,431 in · 48,323 out · 7,458,754 total (81 requests) Tool calls: 150 total · 100% success rate TracesStatsTriggered by edenreich · Infer Action · OSS |
go.mod: tool devdeps now render only the bare Go 1.24 tool directive; post-generation runs go get pkg@ver to record the owning module root, so go mod tidy no longer fails on a package path and generated projects actually get a go.sum (the go-agent example is the reproducible case). typescript: ADK 0.17.0 renamed the MessageRole members to PascalCase (System, User, Assistant, Tool); all four typescript-agent examples, cloudflare-agent and vercel-agent now build. cloudflare: drop the unused ExecutionContext fetch parameter so tsc passes without @cloudflare/workers-types; the one-time setup note stays as guidance for real Workers wiring. examples: bump the go-agent stringer devdep from x/tools v0.20.0 to v0.49.0, since go get with such an old pin downgrades the whole module graph (drops the ADK entirely).
|
@claude Any follow-up for the cli ? it currently uses the adk A2A client, I think it holds the legacy client. |
|
Claude finished @edenreich's task in 2m 48s —— View job Yes - the follow-up belongs in
|
|
🎉 This PR is included in version 0.65.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Bumps the pinned ADL schema version (
ADL_SCHEMA_VERSION) tov0.28.0, re-fetchesinternal/schema/schema.json, and regeneratesinternal/schema/types.goviatask fetch-schema+task generate-types.Dispatched from
inference-gateway/adl.Follow-up work for #451, which the schema bump unblocks (and which the bump needs:
go buildfailed on the removedspec.card.security).Emit a v1.0.1-shaped AgentCard
.well-known/agent-card.jsonnow matches the A2A v1.0.1AgentCard:supportedInterfaces[](first entry preferred) replacesurl/preferredTransport/protocolVersion,securitybecomessecurityRequirements, and the extended-card flag moves tocapabilities.extendedAgentCard.stateTransitionHistoryis gone from the card, the generated docs, the AI playbooks and the init wizard - the v1.0.1 card dropped it and the ADKs no longer exposeA2A_CAPABILITIES_STATE_TRANSITION_HISTORY. A manifest with nospec.cardstill gets one derivedJSONRPC/1.0interface, since the wire format requires at least one.Deprecated manifest fields are translated, not dropped
Schema v0.28.0 removed the pre-release mirror fields outright, and JSON Schema's
additionalProperties: truewould have silently ignored them.schema.MigrateDeprecatedCardFields(called from bothvalidateandgenerate) foldscard.url/card.preferredTransport/card.protocolVersionintosupportedInterfaces[0], renamescard.security, movescard.supportsExtendedAgentCardontocapabilities.extendedAgentCard, and warns thatcapabilities.stateTransitionHistoryis ignored. An explicit v1.0.1 field always wins over its deprecated mirror, so existing manifests keep generating with a deprecation warning instead of a breaking error.ADK pins moved with the card
All three ADKs shipped their v1.0.1 migration on 2026-10-01 and their
AgentCardnow requiressupportedInterfaces, so the card change and the pins have to land together: Gov0.29.0 -> v0.30.0, TypeScript0.16.2 -> 0.17.0, Rust0.14.0 -> 0.15.0. The Go scaffold overridessupportedInterfaces(noturl) onWithAgentCardFromFile, seeds the extended card's preferred interface fromA2A_AGENT_URL, appends OIDC requirements tocard.SecurityRequirements, and follows the ADK'sAuthConfig.Enable -> Enabledrename; the TypeScript scaffold layers the runtime URL onto the first interface.Every scaffolded example compiles
Follow-up commit
fix(templates): make every scaffolded example compile: tool devdeps now render only the bare Gotooldirective and a post-generationgo get pkg@verrecords the owning module root (sogo mod tidyno longer fails ongolang.org/x/tools/cmd/stringerand thego-agentexample gets ago.sum); TypeScript moved to the PascalCaseMessageRolemembers (System/User/Assistant/Tool) required by ADK0.17.0; the cloudflare worker dropped its unusedExecutionContextfetch parameter sotscpasses without@cloudflare/workers-types; the example stringer pin moved tox/tools v0.49.0.Verification
task ci(fmt, lint, test, build, verify-schema) green;task examples:testandtask examples:generategreen across all 22 examples.internal/schema/card_migration_test.go) and the emitted card shape plus the derived-interface default (internal/templates/registry_agent_card_test.go).go build ./...against adkv0.30.0, includinggo-agentwith the stringer devdep.pnpm install && pnpm buildagainst ADK0.17.0: typescript-agent, typescript-agent-ai, typescript-agent-telemetry, typescript-agent-tools, cloudflare-agent, vercel-agent.cargois unavailable in this runner - so their ADK APIs were verified by reading the published0.15.0sources.🤖 Generated with Claude Code