Repository navigation
Conversation
Task tools return data only. The shell builds a narrowed A2UI surface (Column, Row, Card, Text, Title, Badge, Button) and keeps raw HTML inside the MCP Apps iframe. Co-authored-by: carlosvin <carlosvin@gmail.com>
✅ Deploy Preview for fullstack-promptable-app-example ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for fullstack-promptable-prompt-first ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for fullstack-promptable-agentic ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
The overview eval now uses the skill description wording so the Waza spec requirement stays covered. Co-authored-by: carlosvin <carlosvin@gmail.com>
Component ids use a private-use prefix so literals cannot become children. A failed detail view retries that task. Tables use header cells, and a long table says how many rows are shown. Co-authored-by: carlosvin <carlosvin@gmail.com>
The merge replay left the old task-view files in the tree. Task views stay on the A2UI catalog. Co-authored-by: carlosvin <carlosvin@gmail.com>
There was a problem hiding this comment.
🟡 Changes recommended
Component-ID collisions, silent table truncation, missing table semantics, and incorrect detail retries remain unresolved.
4 open findings
What changed in this PR
Replaces task-specific MCP HTML views with host-rendered A2UI surfaces backed by a restricted Mantine catalog, while retaining MCP infrastructure for future raw documents.
Changes:
- Adds deterministic task-list/detail A2UI messages and Mantine adapters.
- Registers task-view tools directly with agentic chat.
- Removes the task MCP route, guest HTML/JavaScript, and related tests/configuration.
| File | Description |
|---|---|
vite.config.ts |
Removes deleted guest-script CORS handling. |
src/services/mcpUi/views/task-view.html |
Removes task MCP HTML shell. |
src/services/mcpUi/taskViewDom.test.ts |
Removes guest DOM tests. |
src/services/mcpUi/mcpUiResources.ts |
Generalizes raw-document registration. |
src/services/mcpUi/mcpUiResource.ts |
Narrows allowlist return type. |
src/services/mcpUi/mcpUiResource.test.ts |
Tests dynamic raw-document registration. |
src/services/ai/taskViewsMcp.server.ts |
Removes task MCP server. |
src/services/ai/taskViewsMcp.server.test.ts |
Removes MCP discovery tests. |
src/services/ai/taskViews.server.ts |
Adds direct task-view tools. |
src/services/ai/taskViews.server.test.ts |
Tests task-view filter handling. |
src/services/a2ui/taskViewMessages.ts |
Builds and validates A2UI task surfaces. |
src/services/a2ui/taskViewMessages.test.ts |
Tests messages, filtering, and actions. |
src/services/a2ui/mantineCatalog.tsx |
Maps the restricted catalog to Mantine. |
src/routeTree.gen.ts |
Removes the MCP API route. |
src/routes/api/mcp.ts |
Deletes the task MCP endpoint. |
src/routes/api/chat.ts |
Registers direct agentic view tools. |
src/components/AgenticShell/AgenticThread.tsx |
Renders A2UI tool results and actions. |
src/components/AgenticShell/AgenticShell.tsx |
Updates shell documentation. |
src/components/AgenticA2ui/AgenticA2uiSurface.tsx |
Adds validated A2UI surface rendering. |
src/components/AgenticA2ui/AgenticA2uiSurface.test.tsx |
Tests rendering and interactions. |
skills/README.md |
Documents the A2UI strategy. |
skills/evals/README.md |
Updates agentic evaluation expectations. |
scripts/skills/skillEvals.ts |
Enforces A2UI skill alignment. |
public/mcp-task-view.js |
Removes the task MCP guest. |
pnpm-lock.yaml |
Locks A2UI dependencies. |
package.json |
Adds A2UI core and React packages. |
netlify.toml |
Removes obsolete guest-script headers. |
evals/agentic-ux/tasks/agentic-unknown-component.yaml |
Adds unknown-component evaluation. |
evals/agentic-ux/tasks/agentic-contract-overview.yaml |
Updates contract wording. |
evals/agentic-ux/tasks/agentic-a2ui-mantine.yaml |
Adds Mantine A2UI evaluation. |
.agents/skills/tanstack-promptable-fullstack-app-template/SKILL.md |
Updates agentic architecture guidance. |
.agents/skills/reference-tech-stack/SKILL.md |
Records A2UI stack choices. |
.agents/skills/promptable-ux/SKILL.md |
Updates companion guidance. |
.agents/skills/observability-and-env/SKILL.md |
Updates companion guidance. |
.agents/skills/agentic-ux/SKILL.md |
Defines the new A2UI contract. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Drop the unused catalog alias and URI re-export. Type task cards as Task, and track task-view call ids in a set. Co-authored-by: carlosvin <carlosvin@gmail.com>
Main widened the conversation and added a table presentation for the HTML guest. Task views stay on the Mantine catalog. A table request draws rows, and the Netlify HUD removal and full-width frame stay. Co-authored-by: carlosvin <carlosvin@gmail.com>
cursor
Bot
force-pushed
the
cursor/agentic-a2ui-mantine-5fac
branch
from
October 11, 2026 08:45
e312ca1 to
e9d650a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Agentic task list and detail views are declarative A2UI surfaces built by the shell from tool data. The model still returns tasks only. The host maps a narrowed catalog onto Mantine 9: Column, Row, Card, Text, Title, Badge, and Button. Unknown component types render nothing.
@a2ui-bridge/react-mantineis not used. That package peers Mantine 8 and Tabler icons, and this app is Mantine 9 with lucide-react.showTasksViewandshowTaskViewreturn{ tasks }or{ task }.buildTaskViewMessagesbuilds the surface. A list row is one card button.open-taskloads the detail without another model turn.back-to-listsends "Show my tasks". Visible text does not include the task id.usageHint: "body", which the A2UI processor treats as child references.AgenticMcpRendererandsandbox_proxy.html). The task-view HTML guest,/api/mcp, andmcp-task-view.jsare removed.agentic-ux0.3.0 records the view strategy. The architecture skill stays vendor-agnostic.Verification
pnpm lint(Biome,tsc, skill check, skill evals) andpnpm test(203 tests).PROMPT_CONCEPT=agentic, seed data): list card, dark theme, detail with "All tasks", and a narrow viewport.Task list card in light mode
Task list card in dark mode
Detail view after opening the card
Task card on a narrow viewport
a2ui-task-views-2.mp4
To show artifacts inline, enable in settings.