Skip to content

Position @b4run/ag-ui/view as the reference client-side AG-UI model with conformance fixtures #930

Open

Description

@blove

Why

Every host keeps its view model private: CopilotKit's subagent layout is an internal ɵ helper, assistant-ui's reducer is tied to its message model, TanStack's lives inside chat(). CopilotKit issue #6981 asks for exactly a pure projector that rebuilds activity cards from replayed events. @b4run/ag-ui/view (reduceTurns, groupSteps, stepLabel) is already framework-free and edge-safe (research notes, Part 2 §5 row E).

What

  • Recorded AG-UI 1.0 streams as fixtures: live, replayed and restored (once turnsFromState exists) must reduce to a deep-equal TurnsView; publish the fixtures with the package.
  • A docs page aimed at other hosts (assistant-ui, TanStack AI, CopilotKit Angular, threadplane) showing the reducer driving a non-B4 renderer.
  • Keep the ./view edge claim honest with a bundled purity test (today it is a registry entry only, and view/step.ts imports the SDK root).

Advantage

First published, framework-free AG-UI turn model; it is what makes the React and Angular kits provably identical.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions