Skip to content

feat(registry): source transport from card supportedInterfaces - #129

Merged
edenreich merged 1 commit into
mainfrom
feat/issue-127-20261003-1557
Oct 3, 2026
Merged

edenreich merged 1 commit into
mainfrom
feat/issue-127-20261003-1557

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Follow-up on the ADL card/capabilities A2A v1.0.1 alignment (inference-gateway/adl#200, PR inference-gateway/adl#201).

Two of the three acceptance criteria were already satisfied before this PR:

  • .vitepress/types/adl.ts is already regenerated against the aligned schema - it carries spec.card.supportedInterfaces[] / AgentInterface, spec.card.securityRequirements and spec.capabilities.extendedAgentCard, and no longer has capabilities.stateTransitionHistory. The upstream schema commit landed 2026-10-01 and the last successful CI run on main (2026-10-02) includes the codegen-fresh check, so the committed types match adl@main. Running codegen again produces no diff.
  • Registry validation has nothing to loosen: agentService.ts only asserts apiVersion === "adl.inference-gateway.com/v1", so manifests using the new fields and omitting stateTransitionHistory already load.

What this PR adds is the third criterion - transport info sourced from supportedInterfaces:

  • deriveTransport() in .vitepress/lib/adl.ts reads spec.card.supportedInterfaces[0].protocolBinding and falls back to the pre-release spec.card.preferredTransport for older catalog entries (one entry in the live catalog still carries it; none declare supportedInterfaces yet).
  • AgentCard.vue renders it as an accent pill next to Streaming/Push.

Note that upstream did not keep the deprecated card fields as deprecated - the final commit on adl#201 dropped url, preferredTransport, protocolVersion, supportsExtendedAgentCard and security from the schema entirely, so the fallback is typed locally rather than coming from the generated types.

No endpoint URL is displayed: the registry card never showed one, and AgentInterface.url is a per-deployment address while the CLI resolves endpoints from spec.server. Say the word if you want an endpoint row too.

Verification

bun run build could not be run in this environment - bun is not on the runner's allow-list, so every bun invocation was rejected before executing. CI on this PR runs the build, Prettier check, markdownlint and the codegen-fresh check; the diff is two small files and was hand-formatted to Prettier's defaults.

Closes #127

@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner October 3, 2026 16:00
@edenreich
edenreich merged commit f41e2f7 into main Oct 3, 2026
1 check passed
@edenreich
edenreich deleted the feat/issue-127-20261003-1557 branch October 3, 2026 16:05
inference-gateway-releaser Bot added a commit that referenced this pull request Oct 4, 2026
## [0.7.0](v0.6.5...v0.7.0) (2026-10-04)

### ✨ Features

* **registry:** show preferred protocol binding on cards ([#129](#129)) ([f41e2f7](f41e2f7))

### ♻️ Improvements

* **registry:** drop install command cli workaround ([#122](#122)) ([1b5bc88](1b5bc88))

### 🐛 Bug Fixes

* **registry:** render working add command for all agents ([#118](#118)) ([4cd4f29](4cd4f29))

### 👷 CI

* **claude:** centralize claude.yml via reusable workflow ([#107](#107)) ([e7e0ad8](e7e0ad8))
* **deps-dev:** bump vue from 3.5.42 to 3.5.43 in the npm group ([#108](#108)) ([f206e7d](f206e7d))

### 📚 Documentation

* **agents:** add code readability guidelines ([#123](#123)) ([d84306b](d84306b))
* **agents:** add code readability guidelines ([#133](#133)) ([a3544dc](a3544dc))
* **enterprise:** fix kubectl path and CRD list ([#117](#117)) ([20d8bc4](20d8bc4))
* fix stale deploy and layout info in readme ([#134](#134)) ([4141e37](4141e37))
* **how-to:** fix card pills and search scope ([#136](#136)) ([6271f31](6271f31))
* **how-to:** use infer version subcommand ([#135](#135)) ([b86fee8](b86fee8))
* **readme:** fix deploy description and layout tree ([#116](#116)) ([dc3706c](dc3706c))
* **registry:** correct catalog [@latest](https://github.com/latest) and workflow docs ([#119](#119)) ([7e3dddd](7e3dddd))
* **registry:** correct skill submission, loading, card labels ([#120](#120)) ([7a1e4ef](7a1e4ef))
* **registry:** refresh agents.md ([#104](#104)) ([1d1842b](1d1842b))

### 🔧 Miscellaneous

* **deps:** bump claude-code 2.1.266 -> 2.1.278 ([#105](#105)) ([4355673](4355673))
* **deps:** bump claude-code 2.1.278 -> 2.1.280 ([#109](#109)) ([bedf2cc](bedf2cc))
* **deps:** bump claude-code 2.1.280 -> 2.1.283 ([#124](#124)) ([4a275e7](4a275e7))
* **deps:** bump claude-code 2.1.283 -> 2.1.285 ([#128](#128)) ([15c100e](15c100e))
* **deps:** bump infer CLI v0.192.0 -> v0.205.3 ([#106](#106)) ([bb708ed](bb708ed))
* **deps:** bump infer CLI v0.205.3 -> v0.208.0 ([#110](#110)) ([f343e60](f343e60))
* **deps:** bump infer CLI v0.208.0 -> v0.218.0 ([#125](#125)) ([40addb1](40addb1))
* **deps:** bump infer CLI v0.218.0 -> v0.221.1 ([#126](#126)) ([51d990e](51d990e))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Regenerate registry types after the ADL card and capabilities v1.0.1 alignment

1 participant