Skip to content

genui: import Generative UI from ComicBit with upstream fixes #40 and #45 - #466

Open
mjsz wants to merge 5 commits into
mainfrom
feat/genui
Open

mjsz wants to merge 5 commits into
mainfrom
feat/genui

Conversation

@mjsz

@mjsz mjsz commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Adds genui as plugins/genui. With it, agents answer with charts, diagrams, maps, plans and forms that render inline in chat. It's the base for a Tufte-style visualization pass that follows in a later PR.

What's in it

  • Upstream 0.3.2, imported as a squashed subtree (d8cac8d). Upstream is Apache-2.0, and its LICENSE stays in the plugin directory. To pull later upstream changes, run git subtree pull --squash --prefix plugins/genui https://github.com/ComicBit/bb-plugin-genui.git main.

  • Two open upstream PRs, each applied as its own commit under the original author:

    Upstream hasn't merged anything since 7 Nov, so we carry these two ourselves. Drop them on the next subtree pull after upstream merges them.

  • Repo wiring. This PR adds genui to the CI matrix and the README table. It also adds react, react-dom and @testing-library/dom as dev dependencies. CI installs with --legacy-peer-deps, which skips peer dependencies, so the UI tests and typecheck couldn't resolve them.

Testing

  • npm run typecheck passes.
  • npm test: 1,139 of 1,141 pass. The 2 failures are timing tests: compileStreaming took 104 ms against a 100 ms limit, and one answers test hit its 5 s timeout. Both pass when their files run alone, so a loaded machine is the likely cause. CI will confirm either way.

Review notes

Only the last commit is ours. The import commit is upstream code, and the #40 and #45 commits match those PRs' diffs as they stand today.

🤖 Generated with Claude Code

mjsz and others added 5 commits December 1, 2026 11:59
git-subtree-dir: plugins/genui
git-subtree-split: d8cac8d1781bac336214cc38981aba4a58d9c1c0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t() on BB 0.49) (upstream ComicBit/bb-plugin-genui#40)

Applied from the open upstream pull request at its current head; drop on the
next subtree pull once upstream merges it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pstream ComicBit/bb-plugin-genui#45)

Applied from the open upstream pull request at its current head; drop on the
next subtree pull once upstream merges it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cies

CI installs with --legacy-peer-deps, which skips react, react-dom and
@testing-library/dom; the UI tests and typecheck need them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

3 participants