Skip to content

Conversation

@doitundoit
Copy link

Summary

This PR corrects the A2UI MIME type constant in Lit client files to match the server-side definition.

Changes

  • Renamed A2AUI_MIME_TYPE to A2UI_MIME_TYPE for consistency with server-side naming
  • Fixed value from application/json+a2aui to application/json+a2ui

Affected files:

  • samples/client/lit/shell/client.ts
  • samples/client/lit/shell/middleware/a2a.ts
  • samples/client/lit/contact/middleware/a2a.ts

Verification

  • TypeScript build passes (npm run build:tsc)

Related

Split from #396 as requested by reviewer to keep commit scope narrow and targeted.

@google-cla
Copy link

google-cla bot commented Jan 3, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

- Rename A2AUI_MIME_TYPE to A2UI_MIME_TYPE for consistency with server-side
- Fix value from 'application/json+a2aui' to 'application/json+a2ui'
- Affects shell/client.ts, shell/middleware/a2a.ts, contact/middleware/a2a.ts
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