Skip to content

Commit 93497aa

Browse files
ataibarkaiclaude
andcommitted
feat(showcase): expand feature registry for langgraph-python demo fleet
Adds rows for the demos being built in this branch: - Split `chat-prebuilt` into `prebuilt-chat`, `prebuilt-sidebar`, `prebuilt-popup` (CopilotChat / CopilotSidebar / CopilotPopup). - Reorder `generative-ui` rows and add: `hitl-in-chat` (In-Chat HITL), `gen-ui-interrupt`, `declarative-gen-ui` (Dynamic Schema), `a2ui-fixed-schema` (new), `mcp-apps`, `open-gen-ui`, `gen-ui-agent`, `tool-rendering`. - `constraints.yaml`: expand `constrained-explicit` allowlist so the langgraph-python manifest validates against the new feature ids. - Bump expected langgraph-python feature/demo count in `generate-registry.test.ts` from 10 -> 22 to match the manifest. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 2d55b92 commit 93497aa

3 files changed

Lines changed: 36 additions & 7 deletions

File tree

showcase/scripts/__tests__/generate-registry.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ describe("Registry Generator", () => {
104104
expect(langgraph.name).toBe("LangGraph (Python)");
105105
expect(langgraph.category).toBe("popular");
106106
expect(langgraph.language).toBe("python");
107-
expect(langgraph.features.length).toBe(10);
108-
expect(langgraph.demos.length).toBe(10);
107+
expect(langgraph.features.length).toBe(22);
108+
expect(langgraph.demos.length).toBe(22);
109109
});
110110

111111
it("sorts integrations by sort_order", () => {

showcase/shared/constraints.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,23 @@ generative_ui:
2727
constrained-explicit:
2828
allowed:
2929
- agentic-chat
30+
- agentic-chat-reasoning
31+
- prebuilt-chat
32+
- prebuilt-sidebar
33+
- prebuilt-popup
34+
- chat-slots
35+
- headless-simple
36+
- headless-complete
3037
- frontend-tools
3138
- gen-ui-tool-based
3239
- gen-ui-interrupt
3340
- gen-ui-agent
3441
- hitl-in-chat
3542
- hitl-in-app
43+
- declarative-gen-ui
44+
- a2ui-fixed-schema
45+
- mcp-apps
46+
- open-gen-ui
3647
- tool-rendering
3748
- useComponent
3849
- multi-modal

showcase/shared/feature-registry.json

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,22 @@
5858
"description": "Natural conversation with frontend tool execution"
5959
},
6060
{
61-
"id": "chat-prebuilt",
62-
"name": "Pre-built Chat Components",
61+
"id": "prebuilt-chat",
62+
"name": "Pre-Built: CopilotChat",
6363
"category": "chat-ui",
64-
"description": "Using CopilotKit's pre-built chat components"
64+
"description": "Full-screen/embedded chat via <CopilotChat />"
65+
},
66+
{
67+
"id": "prebuilt-sidebar",
68+
"name": "Pre-Built: Sidebar",
69+
"category": "chat-ui",
70+
"description": "Docked sidebar chat via <CopilotSidebar />"
71+
},
72+
{
73+
"id": "prebuilt-popup",
74+
"name": "Pre-Built: Popup",
75+
"category": "chat-ui",
76+
"description": "Floating popup chat via <CopilotPopup />"
6577
},
6678
{
6779
"id": "chat-slots",
@@ -107,9 +119,15 @@
107119
},
108120
{
109121
"id": "declarative-gen-ui",
110-
"name": "Declarative Generative UI (A2UI)",
122+
"name": "Declarative Generative UI (A2UI — Dynamic Schema)",
123+
"category": "generative-ui",
124+
"description": "A2UI rendering where the agent emits schema at runtime"
125+
},
126+
{
127+
"id": "a2ui-fixed-schema",
128+
"name": "Declarative Generative UI (A2UI — Fixed Schema)",
111129
"category": "generative-ui",
112-
"description": "Declarative mapping of agent state to rendered components"
130+
"description": "A2UI rendering against a known, fixed client-side schema"
113131
},
114132
{
115133
"id": "mcp-apps",

0 commit comments

Comments
 (0)