Skip to content

feat(sample-catalog): map invocations_ws protocol to 'Invocations (WebSocket)'#514

Merged
Yimin-Jin merged 1 commit into
template/devfrom
yimin/protocol-invocations-ws-displayname
Jul 7, 2026
Merged

feat(sample-catalog): map invocations_ws protocol to 'Invocations (WebSocket)'#514
Yimin-Jin merged 1 commit into
template/devfrom
yimin/protocol-invocations-ws-displayname

Conversation

@Yimin-Jin

Copy link
Copy Markdown
Collaborator

What

Adds a displayName mapping for the invocations_ws protocol id in the sample-catalog generator so the template picker shows Invocations (WebSocket) instead of the raw id invocations_ws.

Why

The protocol dimension in DIMENSION_DEFAULTS only mapped responses and invocations. Any other discovered protocol id (like invocations_ws) fell back to rendering the raw id, which looked unpolished in the UI.

Changes

  • .github/scripts/generate_sample_catalog.mjs: added invocations_ws: 'Invocations (WebSocket)' to the protocol options.

Notes

The generated samples/hosted-agent/sample-catalog.json is intentionally left untouched — it is regenerated by the CI sync workflow, which will pick up the new displayName on its next run.

@Yimin-Jin
Yimin-Jin requested a review from huimiu as a code owner July 7, 2026 02:56
@Yimin-Jin
Yimin-Jin merged commit b3d1a46 into template/dev Jul 7, 2026
3 checks passed
@Yimin-Jin
Yimin-Jin deleted the yimin/protocol-invocations-ws-displayname branch July 7, 2026 02:58
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