mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
091790cc5d
## Summary Six commits, batched into one PR for the May 12 docs cutover. - `2c10c735d` Port upstream CLI walkthrough verbatim onto 8 framework quickstarts (adk, agno, aws-strands, langgraph, llamaindex, mastra, microsoft-agent-framework, pydantic-ai). Initial byte-perfect import from upstream `docs/content/docs/integrations/<fw>/quickstart.mdx`. - `f17c86867` Add `sample-audio-button` region marker on the built-in-agent voice demo. Closes a B-cell snippet gap; the bundler now reports 4 regions on `built-in-agent::voice`. - `cebca9216` Remove AG-UI brand tab from desktop header for visual parity with `docs.copilotkit.ai` (canonical has zero AG-UI elements in the header). - `abeb2792b` Also remove AG-UI link from mobile slide-out menu and drop now-unused helpers (`AgUiIcon`, `AG_UI_LINKS`, `AG_UI_PREFIXES`, `Brand` type, `activeBrandFromPath`, `usePathname`). Net 82-line cleanup of `brand-nav.tsx`. - `99d8ac7a5` Intermediate rewrite of the 8 quickstarts to use `npx copilotkit@latest create --framework <id>` (after CLI accuracy audit found `--intelligence` and `--framework` are mutually exclusive in `copilotkit@2.0.3`). Also applies V2 canonical imports to the same 8 files: `<CopilotKit>` from `@copilotkit/react-core` (root), styles from `@copilotkit/react-core/styles.css`, drop `@copilotkit/react-ui` from npm install. - `59a8a71a6` Final CLI-section shape: each quickstart now leads with the upstream interactive walkthrough (`npx copilotkit@latest create` plus a bulleted explanation of Project name / Enterprise Intelligence Platform with sign-up link / Framework picker), followed by an "Or skip the prompts and pin a framework directly" `--framework <id>` block. LangGraph and Microsoft Agent Framework show both language variants in the flag block. ## Test plan - [ ] Visit each of the 8 framework quickstarts on the dev server. Verify the CLI section shows the interactive walkthrough with the EIP/sign-up bullet AND the `--framework <id>` flag block below it. - [ ] LangGraph quickstart shows both `langgraph-py` and `langgraph-js` flag commands. Microsoft Agent Framework shows both `microsoft-agent-framework-dotnet` and `microsoft-agent-framework-py`. - [ ] All 8 quickstarts: imports show `@copilotkit/react-core` (root), styles from `@copilotkit/react-core/styles.css`. No `/v2` paths. - [ ] Inspect shell-docs header at desktop and mobile (narrow viewport). No AG-UI brand tab anywhere. - [ ] Visit a built-in-agent voice page that consumes the `sample-audio-button` region. The snippet renders.