valuz-ai/dsh-valuz-genui

dsh-valuz-genui gives the model a generate_ui tool that authors an A2UI v0.9.1 document rendered as an interactive surface inline in chat: charts, KPI cards, tables, forms and dashboards stream component by component as the model writes the call, there is no nested model call so it always costs one turn, the settled surface persists in the tool result and reappears after reload, and a click or submit returns to the model as a ui_action user message.

dsh-valuz-genui gives the model a generate_ui tool so the model itself authors an A2UI v0.9.1 document that the browser renders as an interactive surface inline in the chat - charts, KPI cards, tables, forms and dashboards - streaming as the model writes the call and sending interactions back to the model. There is no nested model call: the UI is the model's own streamed output, so it appears live like a fenced block, costs one model turn and cannot fail with a mid-stream error from a second request. As the model writes the arguments, each tool-call-delta reaches the browser as a transient live chunk before the tool runs and the renderer keeps the last good surface while the tail is still being written, so the surface builds up component by component; when generate_ui executes it only validates and persists the canonical document to meta, the node adopts that authoritative document, and the settled surfaces replay after the turn and on reload. A click or submit returns to the model as an ordinary user message of the form <ui_action surface=... component=... name=...>. A compact authoring guide is always on with the full field-signature catalog loaded on demand via the genui skill.

Web UI Enhancements ★ 3
View on GitHub ↗

Install

dsh plugin --profile web add @valuz/dsh-valuz-genui

Copied verbatim from the README's compatibility install block; the README notes the npm package ships a prebuilt lib/ so no build step or allowBuilds entry is needed, and documents a pinned github:valuz-ai/dsh-valuz-genui#<commit-sha> form.

Compatibility

dsh 0.2 replaced the client Conversation APIs that 0.1.x uses, so 0.1.x fails to load there with 'pending (waiting for service: conversationEvents)'; dsh checks a plugin's declared peer ranges at install and startup, so an incompatible pairing is refused before it loads. The renderer comes from the provider-agnostic valuz-genui core (a 76-component A2UI catalog, streaming sanitizer and React renderer, from @valuz/genui-core and @valuz/a2ui), inlined into the client bundle at build time. No extra configuration is needed - the model authors the UI through whatever model the session is using.

Details

Alternatives

0lidaxiang/dsh-plugin-greet · 147228/dsh-black-whale · 15828148/dsh-portable-launcher

More plugins in Web UI Enhancements

Browse more in Web UI Enhancements

Guides for Web UI Enhancements plugins