Skip to content

poc-demo-a2ui#3

Draft
sonleoracle wants to merge 3 commits intomainfrom
add-a2ui-transportless-demo
Draft

poc-demo-a2ui#3
sonleoracle wants to merge 3 commits intomainfrom
add-a2ui-transportless-demo

Conversation

@sonleoracle
Copy link
Contributor

@sonleoracle sonleoracle commented Feb 10, 2026

depends on this AG-UI PR sonleoracle/ag-ui#3

Instructions: put the ag-ui/ folder and with-agent-spec/ folder under the same directory, e.g., Projects/, because with-agent-spec package.json installs some node packages from source from ag-ui/ (e.g. @ag-ui/agent-spec and @ag-ui/a2ui-middleware among other packages).

Issues encountered on the CopilotKit side:

  • Issue 1: A2UI buttons clipped in chat
    - A2UI surfaces with bottom actions (e.g. calendar card buttons) get clipped because the upstream A2UI renderer wraps the surface in an overflow-hidden container and sets overflow: hidden + height: 100% inline on , preventing scrolling and cutting off button labels. Details: issue-copilotkit-a2ui-clipping.md; workaround patch files: src/app/patches/@copilotkit/a2ui-renderer/dist/
    A2UIMessageRenderer.js (+ .map).
  • Issue 2: React key warning for custom message renderers
    - CopilotKit v2 emits React keys for custom “before/after” renderers as ${message.id}-custom-before/-custom-after, which can collide when message IDs repeat (or during placeholder/rehydration flows), causing noisy duplicate-key warnings; appending message.role to the key avoids collisions. Details: issue-copilotkit-custom-before-key-warning.md; workaround patch files: src/app/patches/@copilotkitnext/react/
    dist/index.mjs (+ .map).

@sonleoracle sonleoracle force-pushed the add-a2ui-transportless-demo branch from efa2c3f to cbb7620 Compare February 10, 2026 15:14
@sonleoracle sonleoracle force-pushed the add-a2ui-transportless-demo branch 2 times, most recently from 0f15690 to 5ed84b3 Compare February 13, 2026 15:33
@sonleoracle sonleoracle force-pushed the add-a2ui-transportless-demo branch from 5ed84b3 to b1269ec Compare February 13, 2026 16:13
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