Files
copilotkit__copilotkit/docs/lib/integration-features.ts
Martha Schumann c63e04c16a docs(CPK-7187): add core feature pages to DeepAgents integration
Adds generative-ui, frontend-tools, shared-state, and human-in-the-loop
sections to the DeepAgents integration docs by porting from the LangGraph
integration (same underlying mechanism). Also updates the integration
feature generator script to include deepagents and regenerates
integration-features.ts so DeepAgents appears in per-feature grids.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:09:11 -07:00

131 lines
2.6 KiB
TypeScript

// Auto-generated by scripts/generate-integration-features.mjs
// Do not edit manually - run: node scripts/generate-integration-features.mjs
import { IntegrationId } from './integrations';
/**
* Maps feature names to the list of integration IDs that have that feature.
* This is auto-generated at build time by scanning the content/docs/integrations directory.
*/
export const INTEGRATION_FEATURES: Record<string, IntegrationId[]> = {
"shared-state": [
"adk",
"ag2",
"agent-spec",
"aws-strands",
"crewai-flows",
"deepagents",
"langgraph",
"llamaindex",
"mastra",
"microsoft-agent-framework",
"pydantic-ai"
],
"generative-ui": [
"a2a",
"adk",
"ag2",
"agent-spec",
"agno",
"aws-strands",
"crewai-flows",
"deepagents",
"langgraph",
"llamaindex",
"mastra",
"microsoft-agent-framework",
"pydantic-ai"
],
"generative-ui/render-only": [],
"generative-ui/tool-rendering": [
"adk",
"ag2",
"agent-spec",
"agno",
"aws-strands",
"crewai-flows",
"deepagents",
"langgraph",
"llamaindex",
"mastra",
"microsoft-agent-framework",
"pydantic-ai"
],
"generative-ui/state-rendering": [
"adk",
"ag2",
"aws-strands",
"crewai-flows",
"deepagents",
"langgraph",
"llamaindex",
"mastra",
"microsoft-agent-framework",
"pydantic-ai"
],
"generative-ui/mcp-apps": [
"adk",
"ag2",
"agent-spec",
"agno",
"aws-strands",
"crewai-flows",
"deepagents",
"langgraph",
"llamaindex",
"mastra",
"microsoft-agent-framework",
"pydantic-ai"
],
"generative-ui/a2ui": [
"adk",
"ag2",
"agent-spec",
"agno",
"aws-strands",
"crewai-flows",
"deepagents",
"langgraph",
"llamaindex",
"mastra",
"microsoft-agent-framework",
"pydantic-ai"
],
"frontend-actions": [],
"human-in-the-loop": [
"adk",
"ag2",
"agent-spec",
"agno",
"crewai-flows",
"deepagents",
"langgraph",
"llamaindex",
"mastra",
"microsoft-agent-framework",
"pydantic-ai"
],
"agentic-chat-ui": [],
"custom-look-and-feel": [
"a2a",
"adk",
"ag2",
"agent-spec",
"agno",
"aws-strands",
"crewai-flows",
"langgraph",
"llamaindex",
"mastra",
"microsoft-agent-framework",
"pydantic-ai"
]
};
/**
* Check if an integration has a specific feature page.
*/
export function hasIntegrationFeature(integrationId: IntegrationId, feature: string): boolean {
return INTEGRATION_FEATURES[feature]?.includes(integrationId) ?? false;
}