Skip to content

Commit a4fc41a

Browse files
committed
docs(shell-docs): audit v2 package guidance
1 parent 9ad9e73 commit a4fc41a

21 files changed

Lines changed: 92 additions & 32 deletions

File tree

showcase/shell-docs/src/content/docs/agent-spec/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ hideTOC: true
346346
347347
```tsx title="app/layout.tsx"
348348
import { CopilotKit } from "@copilotkit/react-core/v2"; // [!code highlight]
349-
import "@copilotkit/react-ui/v2/styles.css";
349+
import "@copilotkit/react-core/v2/styles.css";
350350
import './globals.css';
351351
352352
// ...

showcase/shell-docs/src/content/docs/agentic-protocols/mcp.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,7 @@ For further reading, check out the [Model Context Protocol](https://modelcontext
200200
```tsx
201201
"use client";
202202

203-
import { CopilotKit } from "@copilotkit/react-core/v2";
204-
import { CopilotChat } from "@copilotkit/react-core/v2";
203+
import { CopilotKit, CopilotChat } from "@copilotkit/react-core/v2";
205204

206205
export default function Page() {
207206
return (

showcase/shell-docs/src/content/docs/integrations/adk/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ Before you begin, you'll need the following:
254254

255255
```tsx title="app/layout.tsx"
256256
import { CopilotKit } from "@copilotkit/react-core/v2"; // [!code highlight]
257-
import "@copilotkit/react-ui/v2/styles.css";
257+
import "@copilotkit/react-core/v2/styles.css";
258258
import './globals.css';
259259

260260
// ...

showcase/shell-docs/src/content/docs/integrations/agent-spec/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ hideTOC: true
346346
347347
```tsx title="app/layout.tsx"
348348
import { CopilotKit } from "@copilotkit/react-core/v2"; // [!code highlight]
349-
import "@copilotkit/react-ui/v2/styles.css";
349+
import "@copilotkit/react-core/v2/styles.css";
350350
import './globals.css';
351351
352352
// ...

showcase/shell-docs/src/content/docs/integrations/agno/quickstart.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ Before you begin, you'll need the following:
220220
Wrap your application with the CopilotKit provider:
221221

222222
```tsx title="app/layout.tsx"
223-
import { CopilotKit } from "@copilotkit/react-core"; // [!code highlight]
224-
import "@copilotkit/react-ui/v2/styles.css";
223+
import { CopilotKit } from "@copilotkit/react-core/v2"; // [!code highlight]
224+
import "@copilotkit/react-core/v2/styles.css";
225225
import './globals.css';
226226

227227
// ...

showcase/shell-docs/src/content/docs/integrations/aws-strands/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ Before you begin, you'll need the following:
309309

310310
```tsx title="app/layout.tsx"
311311
import { CopilotKit } from "@copilotkit/react-core/v2"; // [!code highlight]
312-
import "@copilotkit/react-ui/v2/styles.css";
312+
import "@copilotkit/react-core/v2/styles.css";
313313
import './globals.css';
314314

315315
// ...

showcase/shell-docs/src/content/docs/integrations/built-in-agent/quickstart.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ Before you begin, you'll need the following:
106106
Wrap your application with the CopilotKit provider:
107107

108108
```tsx title="app/layout.tsx"
109-
import { CopilotKit } from "@copilotkit/react-core"; // [!code highlight]
110-
import "@copilotkit/react-ui/v2/styles.css"; // [!code highlight]
109+
import { CopilotKit } from "@copilotkit/react-core/v2"; // [!code highlight]
110+
import "@copilotkit/react-core/v2/styles.css"; // [!code highlight]
111111
import './globals.css';
112112

113113
// ...

showcase/shell-docs/src/content/docs/integrations/built-in-agent/tutorials/ai-powered-textarea/step-2-setup-copilotkit.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ In order to use CopilotKit, we'll need to configure the CopilotKit provider.
5555

5656
import { EmailThread } from "@/components/EmailThread";
5757
import { EmailsProvider } from "@/lib/hooks/use-emails";
58-
import { CopilotKit } from "@copilotkit/react-core"; // [!code highlight]
58+
import { CopilotKit } from "@copilotkit/react-core/v2"; // [!code highlight]
5959
import "@copilotkit/react-textarea/styles.css"; // [!code highlight]
6060

6161
export default function Home() {
@@ -79,7 +79,7 @@ export default function Home() {
7979

8080
Let's break this down:
8181

82-
- First, we imported the `CopilotKit` provider from `@copilotkit/react-core`.
82+
- First, we imported the `CopilotKit` provider from `@copilotkit/react-core/v2`.
8383
- Then, we wrapped the page with the `<CopilotKit>` provider.
8484
- We imported the built-in styles from `@copilotkit/react-textarea`.
8585

showcase/shell-docs/src/content/docs/integrations/built-in-agent/tutorials/ai-todo-app/step-2-setup-copilotkit.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ In this tutorial, we'll use the `<CopilotPopup/>` component to display the chat
7373

7474
import { TasksList } from "@/components/TasksList";
7575
import { TasksProvider } from "@/lib/hooks/use-tasks";
76-
import { CopilotKit } from "@copilotkit/react-core";
76+
import { CopilotKit } from "@copilotkit/react-core/v2";
7777
import { CopilotPopup } from "@copilotkit/react-core/v2"; // [!code highlight]
78-
import "@copilotkit/react-ui/v2/styles.css"; // [!code highlight]
78+
import "@copilotkit/react-core/v2/styles.css"; // [!code highlight]
7979

8080
export default function Home() {
8181
return (

showcase/shell-docs/src/content/docs/integrations/deepagents/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ Before you begin, you'll need the following:
341341

342342
```tsx title="app/layout.tsx"
343343
import { CopilotKit } from "@copilotkit/react-core/v2";
344-
import "@copilotkit/react-ui/v2/styles.css";
344+
import "@copilotkit/react-core/v2/styles.css";
345345

346346
// ...
347347

0 commit comments

Comments
 (0)