feat(showcase): byoc-hashbrown demo for langgraph-python (Wave 4a) by AlemTuzlak · Pull Request #4229 · CopilotKit/CopilotKit · GitHub
Skip to content

feat(showcase): byoc-hashbrown demo for langgraph-python (Wave 4a)#4229

Open
AlemTuzlak wants to merge 1 commit intomainfrom
feat/wave4a-byoc-hashbrown-demo
Open

feat(showcase): byoc-hashbrown demo for langgraph-python (Wave 4a)#4229
AlemTuzlak wants to merge 1 commit intomainfrom
feat/wave4a-byoc-hashbrown-demo

Conversation

@AlemTuzlak
Copy link
Copy Markdown
Contributor

Summary

Wave 4a — port the starter's hashbrown renderer into a dedicated single-mode langgraph-python demo at `/demos/byoc-hashbrown`.

  • @hashbrownai/core + @hashbrownai/react added to the package
  • Dedicated `/api/copilotkit-byoc-hashbrown` route with `byoc_hashbrown_agent`
  • Ported MetricCard + bar-chart + pie-chart + hashbrown renderer from `showcase/starters/template/frontend/components/`
  • QA checklist + Playwright E2E authored (not run — pending deploy) covering 3 suggestion flows

Out of scope (per spec): renderer-selector UI, interactive hashbrown output, custom catalog.

Test plan

  • `nx run showcase-scripts:test` passes
  • typecheck passes
  • Playwright byoc-hashbrown.spec.ts green 3x against Railway (post-deploy)
  • Dashboard walk (post-deploy)

Concerns

  • E2E stabilization deferred to post-deploy.

Spec + Plan: under docs/superpowers/ (not committed).

Wave 4a. Port the starter's hashbrown renderer into a dedicated
single-mode langgraph-python demo at /demos/byoc-hashbrown so the
byoc-hashbrown row goes green on the dashboard.

- @hashbrownai/core + @hashbrownai/react + recharts deps added.
- Dedicated /api/copilotkit-byoc-hashbrown route with byoc_hashbrown
  graph (ChatOpenAI + CopilotKitMiddleware) and a catalog-aware
  system prompt coaching the LLM to emit a <ui>...</ui> envelope.
- Ported MetricCard + bar-chart + pie-chart + chart-config from
  showcase/starters/template/frontend with data-testid hooks on
  chart roots for E2E coverage.
- Ported hashbrown renderer with local RenderMessageProps /
  AssistantMessage types so @copilotkit/react-ui and @ag-ui/core
  do not become direct deps of this package.
- Updated hashbrown schema calls to @0.5.0-beta.4 surface:
  enumeration for SalesStage; description-first streaming.array +
  object; dropped the non-existent .optional() chain.
- v2 CopilotChat uses messageView.assistantMessage slot and
  useConfigureSuggestions for 3 canned prompts (sales dashboard /
  revenue by category / expense trend).
- QA checklist + Playwright E2E authored (not run pre-deploy).
- Manifest / constraints / docs-links updated and derived registry +
  demo-content + docs-status bundles regenerated.
- Extend scripts/hooks/check-binaries.sh whitelist to include the
  shell-docs and shell-dojo demo-content bundles so the pre-commit
  hook does not reject the regenerated 1.5 MB files it produced.
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 23, 2026

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.

1 participant