mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
ebad989855
Cross-cutting changes that don't belong with any one demo: manifest + landing-page tags, runtime route adjustments, e2e + QA notes that follow the demo renames, and a few small cleanups. Manifest (manifest.yaml + src/app/page.tsx tag labels): - Naming convention: every demo uses `Thing: Subthing` (Generative UI: Tool Rendering - Default / Custom Default / Specific; Open Generative UI: Default / Advanced; Shared State: Streaming / Read + Write; Reasoning: Default / Custom; Frontend Tools: In-App Actions / Async; Human in the Loop: In-chat / In-App / Interrupt based; Chat Customization: CSS / Slots; Headless UI: Simple / Complete). - Retags: Auth → `platform`; HITL Step Selection + Interrupt-based → `interactivity`; Reasoning Default + Custom → `chat-ui`; Generative UI: Tools → `generative-ui`. - Renames: Readonly State (Agent Context) → Frontend Context Sharing. - HITL slot points at /demos/hitl-in-chat (working useHumanInTheLoop+interrupt path) instead of the previous /demos/hitl that had no backend `interrupt()` calls. - Highlight paths corrected for the rebuilt headless demos (root-level paths replaced with hooks/, chat/, tools/, attachments/ subdirs). - Descriptions rewritten where they had drifted from the implementation (gen-ui-agent: dropped useCoAgentStateRender claim; headless-simple: shadcn primitives, not raw Tailwind; headless-complete: enumerates the actual hooks wired). Runtime / route: - src/app/api/copilotkit/route.ts — 30 agents registered (incl. the reasoning-custom rename from agentic-chat-reasoning). - copilotkit-mcp-apps/route.ts replaced with [[...slug]]/route.ts so v2 subpath POSTs (/v2/agent/run) resolve. - src/app/api/copilotkit-voice/[[...slug]]/route.ts — env var standardized (was `AGENT_URL || LANGGRAPH_DEPLOYMENT_URL`, now matches the rest of the showcase with just LANGGRAPH_DEPLOYMENT_URL); trailing `/` removed from deploymentUrl. Tests / QA: - e2e specs renamed and paths updated for the demo renames. - qa notes for a2ui-fixed-schema (booked-state checklist removed) and byoc-json-render (Wave 4a residue removed). - docs-links.json key renamed for reasoning-custom. Cleanup: - Removed remaining stub agent.py files in demo dirs (real graphs in src/agents/); removed dead beautiful-chat/components/headless-chat.tsx (zero importers); removed [A2UI-DEBUG] / [A2UI-RESPONSE] print statements from beautiful_chat.py; gpt-5.4-mini → gpt-5-mini typo fix in beautiful_chat.py:249 (would have 4xx'd every model call); stripped iframe-restriction LLM-prompt copy bleed from open-gen-ui-advanced suggestion titles. The convention pass that ran across ~28 demos earlier in this branch is already reflected in their per-demo commits — every page.tsx reads as imports + provider + suggestions hook + JSX, with `useConfigureSuggestions` extracted to a sibling suggestions.ts.
138 lines
5.7 KiB
JSON
138 lines
5.7 KiB
JSON
{
|
|
"framework": "langgraph-python",
|
|
"features": {
|
|
"beautiful-chat": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/prebuilt-components",
|
|
"shell_docs_path": "/prebuilt-components"
|
|
},
|
|
"cli-start": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/quickstart",
|
|
"shell_docs_path": "/quickstart"
|
|
},
|
|
"agentic-chat": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/prebuilt-components",
|
|
"shell_docs_path": "/prebuilt-components"
|
|
},
|
|
"prebuilt-sidebar": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/prebuilt-components",
|
|
"shell_docs_path": "/prebuilt-components"
|
|
},
|
|
"prebuilt-popup": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/prebuilt-components",
|
|
"shell_docs_path": "/prebuilt-components"
|
|
},
|
|
"chat-slots": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/custom-look-and-feel/slots",
|
|
"shell_docs_path": "/custom-look-and-feel/slots"
|
|
},
|
|
"chat-customization-css": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/custom-look-and-feel",
|
|
"shell_docs_path": "/custom-look-and-feel/css"
|
|
},
|
|
"headless-simple": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/custom-look-and-feel/headless-ui",
|
|
"shell_docs_path": "/custom-look-and-feel/headless-ui"
|
|
},
|
|
"headless-complete": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/custom-look-and-feel/headless-ui",
|
|
"shell_docs_path": "/custom-look-and-feel/headless-ui"
|
|
},
|
|
"reasoning-custom": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/custom-look-and-feel/reasoning-messages",
|
|
"shell_docs_path": "/custom-look-and-feel/reasoning-messages"
|
|
},
|
|
"reasoning-default-render": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/custom-look-and-feel/reasoning-messages",
|
|
"shell_docs_path": "/custom-look-and-feel/reasoning-messages"
|
|
},
|
|
"frontend-tools": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/frontend-tools",
|
|
"shell_docs_path": "/frontend-tools"
|
|
},
|
|
"frontend-tools-async": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/frontend-tools",
|
|
"shell_docs_path": "/frontend-tools"
|
|
},
|
|
"gen-ui-tool-based": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/generative-ui/your-components/display-only",
|
|
"shell_docs_path": "/generative-ui/your-components/display-only"
|
|
},
|
|
"hitl-in-chat": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/generative-ui/your-components/interactive",
|
|
"shell_docs_path": "/generative-ui/your-components/interactive"
|
|
},
|
|
"hitl-in-app": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/frontend-tools",
|
|
"shell_docs_path": "/frontend-tools"
|
|
},
|
|
"gen-ui-interrupt": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/generative-ui/your-components/interrupt-based",
|
|
"shell_docs_path": "/human-in-the-loop/interrupt-flow"
|
|
},
|
|
"interrupt-headless": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/human-in-the-loop/interrupt-flow",
|
|
"shell_docs_path": "/human-in-the-loop/headless"
|
|
},
|
|
"declarative-gen-ui": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/generative-ui/a2ui/dynamic-schema",
|
|
"shell_docs_path": "/generative-ui/a2ui/dynamic-schema"
|
|
},
|
|
"a2ui-fixed-schema": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/generative-ui/a2ui/fixed-schema",
|
|
"shell_docs_path": "/generative-ui/a2ui/fixed-schema"
|
|
},
|
|
"mcp-apps": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/generative-ui/mcp-apps",
|
|
"shell_docs_path": "/generative-ui/mcp-apps"
|
|
},
|
|
"open-gen-ui": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/generative-ui/open-generative-ui",
|
|
"shell_docs_path": "/generative-ui/open-generative-ui"
|
|
},
|
|
"open-gen-ui-advanced": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/generative-ui/open-generative-ui",
|
|
"shell_docs_path": "/generative-ui/open-generative-ui"
|
|
},
|
|
"gen-ui-agent": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/generative-ui/state-rendering",
|
|
"shell_docs_path": "/generative-ui/state-rendering"
|
|
},
|
|
"tool-rendering-default-catchall": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/generative-ui/tool-rendering",
|
|
"shell_docs_path": "/generative-ui/tool-rendering"
|
|
},
|
|
"tool-rendering-custom-catchall": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/generative-ui/tool-rendering",
|
|
"shell_docs_path": "/generative-ui/tool-rendering"
|
|
},
|
|
"tool-rendering": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/generative-ui/tool-rendering",
|
|
"shell_docs_path": "/generative-ui/tool-rendering"
|
|
},
|
|
"tool-rendering-reasoning-chain": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/generative-ui/tool-rendering",
|
|
"shell_docs_path": "/generative-ui/tool-rendering"
|
|
},
|
|
"shared-state-read-write": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/shared-state/in-app-agent-write",
|
|
"shell_docs_path": "/shared-state/in-app-agent-write"
|
|
},
|
|
"shared-state-streaming": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/shared-state/predictive-state-updates",
|
|
"shell_docs_path": "/shared-state/predictive-state-updates"
|
|
},
|
|
"readonly-state-agent-context": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/agent-app-context",
|
|
"shell_docs_path": "/agent-app-context"
|
|
},
|
|
"subagents": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/multi-agent-flows",
|
|
"shell_docs_path": "/multi-agent-flows"
|
|
},
|
|
"auth": {
|
|
"og_docs_url": "https://docs.copilotkit.ai/langgraph/auth",
|
|
"shell_docs_path": "/auth"
|
|
}
|
|
}
|
|
}
|