OpenGenerativeUI
OpenGenerativeUI copied to clipboard
Open-Source Generative UI Framework
## Description The `pnpm lint` CI check is failing with 2 errors and 2 warnings. ## Errors ### 1. `react-hooks/set-state-in-effect` in `widget-renderer.tsx:414` ```tsx // apps/app/src/components/generative-ui/widget-renderer.tsx useEffect(() => { if (!active)...
## Description **Severity: P3 — Accessibility** Two components lack proper accessibility attributes: ### Explainer cards (\`explainer-cards.tsx\`) - No semantic landmark, no heading hierarchy - Icon SVGs lack \`aria-hidden="true"\` - Screen...
## Description **Severity: P3 — Style** In `apps/app/src/app/page.tsx`, inline \`style={{}}\` objects are mixed with Tailwind classes and CSS custom property references in the same elements — three different styling approaches...
## Description **Severity: P2 — Consistency** In `apps/app/src/app/globals.css`, there are duplicate design token namespaces: - \`--text-primary\` vs \`--color-text-primary\` - \`--border-default\` vs \`--color-border\` - \`--surface-primary\` vs \`--color-container\` Both sets are used...
## Description **Severity: P2 — Fragility / Performance** In `apps/app/src/components/explainer-cards.tsx:141`, a `MutationObserver` is attached to `document.body` with `{ childList: true, subtree: true }`, which fires on every DOM mutation in...
## Description **Severity: P2 — Fragility** `ExplainerCardsPortal` in `apps/app/src/components/explainer-cards.tsx:108-118` reaches into CopilotKit's internal DOM via `welcomeScreen.children[0]` and `.lastElementChild`. There are no guards for structural changes. ## Failure mode Cards silently...
**Problem** Running the app day to day on your own machine takes three processes (app, agent, MCP), and the existing `apps/mcp/Dockerfile` can't build from the repo: it expects an `apps/mcp/pnpm-lock.yaml`...
**Problem** `build_model` only accepts `claude-*`, `gpt-*` and `chat-latest`. OpenAI-compatible gateways such as OpenRouter use `vendor/model` names (e.g. `deepseek/deepseek-chat`, `anthropic/claude-sonnet-...`), so they're rejected at startup with "LLM_MODEL must name a supported...
### Summary When using a non-Claude OpenAI-compatible model (tested with **GLM-5** via Zhipu coding endpoint `https://open.bigmodel.cn/api/coding/paas/v4`), the agent correctly calls `plan_visualization` on the first LLM turn but **never proceeds to...