@assistant-ui/mcp-docs-server 0.1.35 → 0.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/.docs/organized/code-examples/waterfall.md +1 -1
  2. package/.docs/organized/code-examples/with-a2a.md +2 -2
  3. package/.docs/organized/code-examples/with-ag-ui.md +2 -2
  4. package/.docs/organized/code-examples/with-ai-sdk-v6.md +4 -4
  5. package/.docs/organized/code-examples/with-artifacts.md +4 -4
  6. package/.docs/organized/code-examples/with-assistant-transport.md +70 -54
  7. package/.docs/organized/code-examples/with-browser-extension.md +4 -4
  8. package/.docs/organized/code-examples/with-chain-of-thought.md +40 -89
  9. package/.docs/organized/code-examples/with-cloud-standalone.md +4 -4
  10. package/.docs/organized/code-examples/with-cloud.md +4 -4
  11. package/.docs/organized/code-examples/with-custom-thread-list.md +4 -4
  12. package/.docs/organized/code-examples/with-elevenlabs-conversational.md +7 -7
  13. package/.docs/organized/code-examples/with-elevenlabs-scribe.md +7 -7
  14. package/.docs/organized/code-examples/with-eve.md +343 -0
  15. package/.docs/organized/code-examples/with-expo.md +910 -933
  16. package/.docs/organized/code-examples/with-external-store.md +2 -2
  17. package/.docs/organized/code-examples/with-ffmpeg.md +5 -8
  18. package/.docs/organized/code-examples/with-generative-ui.md +6 -6
  19. package/.docs/organized/code-examples/with-google-adk.md +3 -3
  20. package/.docs/organized/code-examples/with-heat-graph.md +1 -1
  21. package/.docs/organized/code-examples/with-image-generation.md +4 -4
  22. package/.docs/organized/code-examples/with-interactables.md +166 -338
  23. package/.docs/organized/code-examples/with-langchain.md +4 -4
  24. package/.docs/organized/code-examples/with-langgraph.md +20 -157
  25. package/.docs/organized/code-examples/with-livekit.md +8 -8
  26. package/.docs/organized/code-examples/with-mcp.md +19 -10
  27. package/.docs/organized/code-examples/with-opencode.md +3 -3
  28. package/.docs/organized/code-examples/with-pi.md +9 -7
  29. package/.docs/organized/code-examples/with-react-hook-form.md +13 -6
  30. package/.docs/organized/code-examples/with-react-ink-web.md +5 -5
  31. package/.docs/organized/code-examples/with-react-ink.md +1 -1
  32. package/.docs/organized/code-examples/with-react-router.md +11 -11
  33. package/.docs/organized/code-examples/with-resumable-stream.md +5 -5
  34. package/.docs/organized/code-examples/with-store.md +1 -1
  35. package/.docs/organized/code-examples/with-tanstack.md +7 -7
  36. package/.docs/organized/code-examples/with-tap-runtime.md +2 -2
  37. package/.docs/organized/code-examples/with-virtualized-thread.md +44 -24
  38. package/.docs/raw/docs/(docs)/cli.mdx +5 -3
  39. package/.docs/raw/docs/(docs)/devtools.mdx +25 -2
  40. package/.docs/raw/docs/(docs)/index.mdx +5 -2
  41. package/.docs/raw/docs/(docs)/installation.mdx +5 -2
  42. package/.docs/raw/docs/(reference)/api-reference/external-store/message-conversion.mdx +16 -16
  43. package/.docs/raw/docs/(reference)/api-reference/hooks/composer-triggers.mdx +73 -42
  44. package/.docs/raw/docs/(reference)/api-reference/hooks/model-context.mdx +3 -20
  45. package/.docs/raw/docs/(reference)/api-reference/hooks/primitives.mdx +234 -166
  46. package/.docs/raw/docs/(reference)/api-reference/integrations/eve.mdx +51 -0
  47. package/.docs/raw/docs/(reference)/api-reference/integrations/index.mdx +4 -1
  48. package/.docs/raw/docs/(reference)/api-reference/integrations/react-ai-sdk.mdx +70 -38
  49. package/.docs/raw/docs/(reference)/api-reference/primitives/action-bar.mdx +30 -0
  50. package/.docs/raw/docs/(reference)/api-reference/primitives/attachment.mdx +7 -0
  51. package/.docs/raw/docs/(reference)/api-reference/primitives/branch-picker.mdx +26 -0
  52. package/.docs/raw/docs/(reference)/api-reference/primitives/chain-of-thought.mdx +15 -0
  53. package/.docs/raw/docs/(reference)/api-reference/primitives/composer.mdx +103 -0
  54. package/.docs/raw/docs/(reference)/api-reference/primitives/message-part.mdx +16 -0
  55. package/.docs/raw/docs/(reference)/api-reference/primitives/message.mdx +56 -0
  56. package/.docs/raw/docs/(reference)/api-reference/primitives/queue-item.mdx +12 -0
  57. package/.docs/raw/docs/(reference)/api-reference/primitives/selection-toolbar.mdx +12 -0
  58. package/.docs/raw/docs/(reference)/api-reference/primitives/suggestion.mdx +14 -0
  59. package/.docs/raw/docs/(reference)/api-reference/primitives/thread.mdx +57 -1
  60. package/.docs/raw/docs/(reference)/api-reference/tools/index.mdx +6 -0
  61. package/.docs/raw/docs/(reference)/api-reference/tools/interactables-legacy.mdx +55 -0
  62. package/.docs/raw/docs/(reference)/api-reference/tools/interactables.mdx +151 -0
  63. package/.docs/raw/docs/(reference)/api-reference/tools/rendering.mdx +15 -15
  64. package/.docs/raw/docs/(reference)/api-reference/tools/toolkits.mdx +20 -20
  65. package/.docs/raw/docs/(reference)/api-reference/utilities/miscellaneous.mdx +25 -9
  66. package/.docs/raw/docs/cloud/langgraph.mdx +1 -1
  67. package/.docs/raw/docs/guides/headless-composer-input.mdx +113 -0
  68. package/.docs/raw/docs/guides/latex.mdx +28 -22
  69. package/.docs/raw/docs/guides/mentions.mdx +32 -7
  70. package/.docs/raw/docs/guides/slash-commands.mdx +3 -6
  71. package/.docs/raw/docs/guides/speech.mdx +5 -7
  72. package/.docs/raw/docs/guides/virtualization.mdx +77 -7
  73. package/.docs/raw/docs/guides/voice.mdx +3 -2
  74. package/.docs/raw/docs/integrations/attachments/custom-adapter.mdx +4 -12
  75. package/.docs/raw/docs/integrations/auth/better-auth.mdx +7 -10
  76. package/.docs/raw/docs/integrations/auth/clerk.mdx +3 -9
  77. package/.docs/raw/docs/integrations/auth/next-auth.mdx +3 -8
  78. package/.docs/raw/docs/integrations/frameworks/ai-sdk.mdx +11 -8
  79. package/.docs/raw/docs/integrations/index.mdx +6 -13
  80. package/.docs/raw/docs/integrations/observability/helicone.mdx +3 -4
  81. package/.docs/raw/docs/integrations/observability/langfuse.mdx +3 -5
  82. package/.docs/raw/docs/integrations/observability/langsmith.mdx +5 -4
  83. package/.docs/raw/docs/integrations/persistence/custom-adapter.mdx +4 -3
  84. package/.docs/raw/docs/migrations/react-langgraph-v0-7.mdx +2 -2
  85. package/.docs/raw/docs/primitives/composer.mdx +8 -0
  86. package/.docs/raw/docs/primitives/thread-list.mdx +30 -6
  87. package/.docs/raw/docs/primitives/thread.mdx +24 -0
  88. package/.docs/raw/docs/runtimes/a2a/quickstart.mdx +1 -1
  89. package/.docs/raw/docs/runtimes/ag-ui/quickstart.mdx +1 -1
  90. package/.docs/raw/docs/runtimes/ag-ui/runtime-options.mdx +24 -1
  91. package/.docs/raw/docs/runtimes/ai-sdk/v6.mdx +1 -1
  92. package/.docs/raw/docs/runtimes/custom/external-store.mdx +54 -0
  93. package/.docs/raw/docs/runtimes/eve/overview.mdx +100 -0
  94. package/.docs/raw/docs/runtimes/eve/quickstart.mdx +143 -0
  95. package/.docs/raw/docs/runtimes/google-adk/quickstart.mdx +1 -1
  96. package/.docs/raw/docs/runtimes/langchain.mdx +388 -20
  97. package/.docs/raw/docs/runtimes/langgraph/quickstart.mdx +1 -1
  98. package/.docs/raw/docs/runtimes/langgraph/tutorial/part-1.mdx +1 -1
  99. package/.docs/raw/docs/runtimes/opencode/hooks.mdx +1 -1
  100. package/.docs/raw/docs/runtimes/pick-a-runtime.mdx +6 -0
  101. package/.docs/raw/docs/tools/defining-tools.mdx +9 -0
  102. package/.docs/raw/docs/tools/generative-ui.mdx +37 -0
  103. package/.docs/raw/docs/tools/interactables-legacy.mdx +410 -0
  104. package/.docs/raw/docs/tools/interactables.mdx +892 -223
  105. package/.docs/raw/docs/tools/mcp-apps.mdx +12 -3
  106. package/.docs/raw/docs/tools/mcp.mdx +9 -4
  107. package/.docs/raw/docs/tools/multi-agent.mdx +5 -0
  108. package/.docs/raw/docs/tools/user-managed-mcp.mdx +17 -3
  109. package/.docs/raw/docs/ui/composer-trigger-popover.mdx +2 -0
  110. package/.docs/raw/docs/ui/file.mdx +1 -1
  111. package/.docs/raw/docs/ui/follow-up-suggestions.mdx +80 -0
  112. package/.docs/raw/docs/ui/model-selector.mdx +38 -5
  113. package/.docs/raw/docs/ui/part-grouping.mdx +38 -0
  114. package/.docs/raw/docs/utilities/react-o11y.mdx +92 -6
  115. package/README.md +1 -1
  116. package/dist/constants.d.ts +2 -1
  117. package/dist/constants.d.ts.map +1 -1
  118. package/dist/constants.js +2 -1
  119. package/dist/constants.js.map +1 -1
  120. package/dist/index.d.ts.map +1 -1
  121. package/dist/index.js +30 -2
  122. package/dist/index.js.map +1 -1
  123. package/dist/prepare-docs/copy-raw.d.ts.map +1 -1
  124. package/dist/prepare-docs/copy-raw.js +0 -4
  125. package/dist/prepare-docs/copy-raw.js.map +1 -1
  126. package/dist/tools/docs.d.ts.map +1 -1
  127. package/dist/tools/docs.js +18 -6
  128. package/dist/tools/docs.js.map +1 -1
  129. package/dist/tools/examples.d.ts +3 -1
  130. package/dist/tools/examples.d.ts.map +1 -1
  131. package/dist/tools/examples.js +1 -1
  132. package/dist/tools/examples.js.map +1 -1
  133. package/dist/tools/resources.d.ts +7 -0
  134. package/dist/tools/resources.d.ts.map +1 -0
  135. package/dist/tools/resources.js +74 -0
  136. package/dist/tools/resources.js.map +1 -0
  137. package/dist/tools/search.d.ts +33 -0
  138. package/dist/tools/search.d.ts.map +1 -0
  139. package/dist/tools/search.js +39 -0
  140. package/dist/tools/search.js.map +1 -0
  141. package/dist/tools/tests/test-setup.d.ts.map +1 -1
  142. package/dist/tools/tests/test-setup.js +3 -1
  143. package/dist/tools/tests/test-setup.js.map +1 -1
  144. package/dist/utils/mdx.d.ts +2 -1
  145. package/dist/utils/mdx.d.ts.map +1 -1
  146. package/dist/utils/mdx.js +19 -2
  147. package/dist/utils/mdx.js.map +1 -1
  148. package/dist/utils/paths.d.ts +2 -1
  149. package/dist/utils/paths.d.ts.map +1 -1
  150. package/dist/utils/paths.js +18 -1
  151. package/dist/utils/paths.js.map +1 -1
  152. package/dist/utils/search.d.ts +10 -0
  153. package/dist/utils/search.d.ts.map +1 -0
  154. package/dist/utils/search.js +97 -0
  155. package/dist/utils/search.js.map +1 -0
  156. package/package.json +4 -4
  157. package/src/constants.ts +2 -0
  158. package/src/index.ts +28 -6
  159. package/src/prepare-docs/copy-raw.ts +0 -5
  160. package/src/tools/docs.ts +30 -4
  161. package/src/tools/examples.ts +4 -2
  162. package/src/tools/resources.ts +114 -0
  163. package/src/tools/search.ts +46 -0
  164. package/src/tools/tests/completions.test.ts +46 -0
  165. package/src/tools/tests/directory-size-cap.test.ts +50 -0
  166. package/src/tools/tests/mcp-protocol.test.ts +21 -1
  167. package/src/tools/tests/resources.test.ts +102 -0
  168. package/src/tools/tests/search.test.ts +37 -0
  169. package/src/tools/tests/test-setup.ts +2 -0
  170. package/src/utils/mdx.ts +21 -1
  171. package/src/utils/paths.ts +22 -0
  172. package/src/utils/search.ts +131 -0
  173. package/.docs/raw/blog/2024-07-29-hello/index.mdx +0 -64
  174. package/.docs/raw/blog/2024-09-11/index.mdx +0 -10
  175. package/.docs/raw/blog/2024-12-15/index.mdx +0 -10
  176. package/.docs/raw/blog/2025-01-31-changelog/index.mdx +0 -127
  177. package/.docs/raw/blog/2026-03-launch-week/index.mdx +0 -258
@@ -0,0 +1,343 @@
1
+ # Example: with-eve
2
+
3
+ ## agent/agent.ts
4
+
5
+ ```typescript
6
+ import { defineAgent } from "eve";
7
+
8
+ export default defineAgent({
9
+ model: "anthropic/claude-sonnet-4.6",
10
+ });
11
+
12
+ ```
13
+
14
+ ## agent/instructions.md
15
+
16
+ ```markdown
17
+ You are a concise product engineer helping someone explore an Eve-powered assistant-ui app.
18
+
19
+ Prefer concrete answers. When asked about this project, explain that the Next.js app uses `withEve()` from `eve/next` to mount the Eve HTTP channel on the same origin, and the React page uses `useEveAgentRuntime()` from `@assistant-ui/eve` to adapt Eve's `useEveAgent()` state into an assistant-ui runtime.
20
+
21
+ ```
22
+
23
+ ## app/globals.css
24
+
25
+ ```css
26
+ @import "tailwindcss";
27
+ @import "tw-animate-css";
28
+
29
+ @source "../../../packages/ui/src";
30
+
31
+ @custom-variant dark (&:is(.dark *));
32
+
33
+ @theme inline {
34
+ --radius-sm: calc(var(--radius) - 4px);
35
+ --radius-md: calc(var(--radius) - 2px);
36
+ --radius-lg: var(--radius);
37
+ --radius-xl: calc(var(--radius) + 4px);
38
+ --color-background: var(--background);
39
+ --color-foreground: var(--foreground);
40
+ --color-card: var(--card);
41
+ --color-card-foreground: var(--card-foreground);
42
+ --color-popover: var(--popover);
43
+ --color-popover-foreground: var(--popover-foreground);
44
+ --color-primary: var(--primary);
45
+ --color-primary-foreground: var(--primary-foreground);
46
+ --color-secondary: var(--secondary);
47
+ --color-secondary-foreground: var(--secondary-foreground);
48
+ --color-muted: var(--muted);
49
+ --color-muted-foreground: var(--muted-foreground);
50
+ --color-accent: var(--accent);
51
+ --color-accent-foreground: var(--accent-foreground);
52
+ --color-destructive: var(--destructive);
53
+ --color-border: var(--border);
54
+ --color-input: var(--input);
55
+ --color-ring: var(--ring);
56
+ --color-chart-1: var(--chart-1);
57
+ --color-chart-2: var(--chart-2);
58
+ --color-chart-3: var(--chart-3);
59
+ --color-chart-4: var(--chart-4);
60
+ --color-chart-5: var(--chart-5);
61
+ --color-sidebar: var(--sidebar);
62
+ --color-sidebar-foreground: var(--sidebar-foreground);
63
+ --color-sidebar-primary: var(--sidebar-primary);
64
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
65
+ --color-sidebar-accent: var(--sidebar-accent);
66
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
67
+ --color-sidebar-border: var(--sidebar-border);
68
+ --color-sidebar-ring: var(--sidebar-ring);
69
+ }
70
+
71
+ :root {
72
+ --radius: 0.625rem;
73
+ --background: oklch(1 0 0);
74
+ --foreground: oklch(0.141 0.005 285.823);
75
+ --card: oklch(1 0 0);
76
+ --card-foreground: oklch(0.141 0.005 285.823);
77
+ --popover: oklch(1 0 0);
78
+ --popover-foreground: oklch(0.141 0.005 285.823);
79
+ --primary: oklch(0.21 0.006 285.885);
80
+ --primary-foreground: oklch(0.985 0 0);
81
+ --secondary: oklch(0.967 0.001 286.375);
82
+ --secondary-foreground: oklch(0.21 0.006 285.885);
83
+ --muted: oklch(0.967 0.001 286.375);
84
+ --muted-foreground: oklch(0.552 0.016 285.938);
85
+ --accent: oklch(0.967 0.001 286.375);
86
+ --accent-foreground: oklch(0.21 0.006 285.885);
87
+ --destructive: oklch(0.577 0.245 27.325);
88
+ --border: oklch(0.92 0.004 286.32);
89
+ --input: oklch(0.92 0.004 286.32);
90
+ --ring: oklch(0.705 0.015 286.067);
91
+ --chart-1: oklch(0.646 0.222 41.116);
92
+ --chart-2: oklch(0.6 0.118 184.704);
93
+ --chart-3: oklch(0.398 0.07 227.392);
94
+ --chart-4: oklch(0.828 0.189 84.429);
95
+ --chart-5: oklch(0.769 0.188 70.08);
96
+ --sidebar: oklch(0.985 0 0);
97
+ --sidebar-foreground: oklch(0.141 0.005 285.823);
98
+ --sidebar-primary: oklch(0.21 0.006 285.885);
99
+ --sidebar-primary-foreground: oklch(0.985 0 0);
100
+ --sidebar-accent: oklch(0.967 0.001 286.375);
101
+ --sidebar-accent-foreground: oklch(0.21 0.006 285.885);
102
+ --sidebar-border: oklch(0.92 0.004 286.32);
103
+ --sidebar-ring: oklch(0.705 0.015 286.067);
104
+ }
105
+
106
+ .dark {
107
+ --background: oklch(0.141 0.005 285.823);
108
+ --foreground: oklch(0.985 0 0);
109
+ --card: oklch(0.21 0.006 285.885);
110
+ --card-foreground: oklch(0.985 0 0);
111
+ --popover: oklch(0.21 0.006 285.885);
112
+ --popover-foreground: oklch(0.985 0 0);
113
+ --primary: oklch(0.92 0.004 286.32);
114
+ --primary-foreground: oklch(0.21 0.006 285.885);
115
+ --secondary: oklch(0.274 0.006 286.033);
116
+ --secondary-foreground: oklch(0.985 0 0);
117
+ --muted: oklch(0.274 0.006 286.033);
118
+ --muted-foreground: oklch(0.705 0.015 286.067);
119
+ --accent: oklch(0.274 0.006 286.033);
120
+ --accent-foreground: oklch(0.985 0 0);
121
+ --destructive: oklch(0.704 0.191 22.216);
122
+ --border: oklch(1 0 0 / 10%);
123
+ --input: oklch(1 0 0 / 15%);
124
+ --ring: oklch(0.552 0.016 285.938);
125
+ --chart-1: oklch(0.488 0.243 264.376);
126
+ --chart-2: oklch(0.696 0.17 162.48);
127
+ --chart-3: oklch(0.769 0.188 70.08);
128
+ --chart-4: oklch(0.627 0.265 303.9);
129
+ --chart-5: oklch(0.645 0.246 16.439);
130
+ --sidebar: oklch(0.21 0.006 285.885);
131
+ --sidebar-foreground: oklch(0.985 0 0);
132
+ --sidebar-primary: oklch(0.488 0.243 264.376);
133
+ --sidebar-primary-foreground: oklch(0.985 0 0);
134
+ --sidebar-accent: oklch(0.274 0.006 286.033);
135
+ --sidebar-accent-foreground: oklch(0.985 0 0);
136
+ --sidebar-border: oklch(1 0 0 / 10%);
137
+ --sidebar-ring: oklch(0.552 0.016 285.938);
138
+ }
139
+
140
+ @layer base {
141
+ * {
142
+ @apply border-border outline-ring/50;
143
+ }
144
+ body {
145
+ @apply bg-background text-foreground;
146
+ }
147
+ }
148
+
149
+ ```
150
+
151
+ ## app/layout.tsx
152
+
153
+ ```tsx
154
+ import type { Metadata } from "next";
155
+ import "./globals.css";
156
+
157
+ export const metadata: Metadata = {
158
+ title: "Eve Example",
159
+ description: "Example using @assistant-ui/eve with the eve/next plugin",
160
+ };
161
+
162
+ export default function RootLayout({
163
+ children,
164
+ }: Readonly<{
165
+ children: React.ReactNode;
166
+ }>) {
167
+ return (
168
+ <html lang="en">
169
+ <body className="h-dvh">{children}</body>
170
+ </html>
171
+ );
172
+ }
173
+
174
+ ```
175
+
176
+ ## app/page.tsx
177
+
178
+ ```tsx
179
+ "use client";
180
+
181
+ import { Thread } from "@/components/assistant-ui/thread";
182
+ import {
183
+ AssistantRuntimeProvider,
184
+ Suggestions,
185
+ useAui,
186
+ } from "@assistant-ui/react";
187
+ import { useEveAgentRuntime } from "@assistant-ui/eve";
188
+
189
+ export default function Home() {
190
+ const runtime = useEveAgentRuntime();
191
+ const aui = useAui({
192
+ suggestions: Suggestions([
193
+ {
194
+ title: "Explain Eve",
195
+ label: "and the Next.js plugin",
196
+ prompt:
197
+ "Explain how an Eve agent is mounted into this Next.js app in two short paragraphs.",
198
+ },
199
+ {
200
+ title: "Draft an agent",
201
+ label: "for product support",
202
+ prompt:
203
+ "Draft a concise set of instructions for an Eve agent that helps with product support.",
204
+ },
205
+ ]),
206
+ });
207
+
208
+ return (
209
+ <AssistantRuntimeProvider runtime={runtime} aui={aui}>
210
+ <div className="h-full">
211
+ <Thread />
212
+ </div>
213
+ </AssistantRuntimeProvider>
214
+ );
215
+ }
216
+
217
+ ```
218
+
219
+ ## components.json
220
+
221
+ ```json
222
+ {
223
+ "$schema": "https://ui.shadcn.com/schema.json",
224
+ "style": "new-york",
225
+ "rsc": true,
226
+ "tsx": true,
227
+ "tailwind": {
228
+ "config": "",
229
+ "css": "app/globals.css",
230
+ "baseColor": "zinc",
231
+ "cssVariables": true,
232
+ "prefix": ""
233
+ },
234
+ "aliases": {
235
+ "components": "@/components",
236
+ "utils": "@/lib/utils",
237
+ "ui": "@/components/ui",
238
+ "lib": "@/lib",
239
+ "hooks": "@/hooks"
240
+ },
241
+ "iconLibrary": "lucide",
242
+ "registries": {
243
+ "@assistant-ui": "https://r.assistant-ui.com/{name}.json"
244
+ }
245
+ }
246
+
247
+ ```
248
+
249
+ ## next.config.ts
250
+
251
+ ```typescript
252
+ import { withAui } from "@assistant-ui/next";
253
+ import type { NextConfig } from "next";
254
+ import { withEve } from "eve/next";
255
+
256
+ const nextConfig: NextConfig = {
257
+ transpilePackages: ["@assistant-ui/eve", "@assistant-ui/react"],
258
+ };
259
+
260
+ export default withEve(withAui(nextConfig));
261
+
262
+ ```
263
+
264
+ ## package.json
265
+
266
+ ```json
267
+ {
268
+ "name": "with-eve",
269
+ "version": "0.0.0",
270
+ "private": true,
271
+ "type": "module",
272
+ "scripts": {
273
+ "dev": "next dev",
274
+ "build": "next build",
275
+ "start": "next start"
276
+ },
277
+ "dependencies": {
278
+ "@assistant-ui/eve": "workspace:*",
279
+ "@assistant-ui/react": "workspace:*",
280
+ "@assistant-ui/react-markdown": "workspace:*",
281
+ "@assistant-ui/ui": "workspace:*",
282
+ "class-variance-authority": "^0.7.1",
283
+ "clsx": "^2.1.1",
284
+ "eve": "^0.13.8",
285
+ "lucide-react": "^1.21.0",
286
+ "next": "^16.2.9",
287
+ "react": "^19.2.7",
288
+ "react-dom": "^19.2.7",
289
+ "tailwind-merge": "^3.6.0"
290
+ },
291
+ "devDependencies": {
292
+ "@assistant-ui/next": "workspace:*",
293
+ "@assistant-ui/x-buildutils": "workspace:*",
294
+ "@tailwindcss/postcss": "^4.3.1",
295
+ "@types/node": "^26.0.0",
296
+ "@types/react": "^19.2.17",
297
+ "@types/react-dom": "^19.2.3",
298
+ "postcss": "^8.5.15",
299
+ "tailwindcss": "^4.3.1",
300
+ "tw-animate-css": "^1.4.0",
301
+ "typescript": "^6.0.3"
302
+ }
303
+ }
304
+
305
+ ```
306
+
307
+ ## README.md
308
+
309
+ ```markdown
310
+ # assistant-ui + Eve
311
+
312
+ This example mounts an Eve agent into a Next.js app with `withEve()` from `eve/next`, then adapts Eve's React hook into assistant-ui with `useEveAgentRuntime()`.
313
+
314
+ ```bash
315
+ pnpm --filter with-eve dev
316
+ ```
317
+
318
+ The Eve channel is served on the same origin as the Next app, so the browser UI does not need a separate agent URL.
319
+
320
+ ```
321
+
322
+ ## tsconfig.json
323
+
324
+ ```json
325
+ {
326
+ "extends": "@assistant-ui/x-buildutils/ts/next",
327
+ "compilerOptions": {
328
+ "paths": {
329
+ "@/*": ["./*"],
330
+ "@/components/assistant-ui/*": [
331
+ "../../packages/ui/src/components/assistant-ui/*"
332
+ ],
333
+ "@/components/ui/*": ["../../packages/ui/src/components/ui/*"],
334
+ "@/lib/utils": ["../../packages/ui/src/lib/utils"],
335
+ "@assistant-ui/ui/*": ["../../packages/ui/src/*"]
336
+ }
337
+ },
338
+ "include": ["**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
339
+ "exclude": ["node_modules"]
340
+ }
341
+
342
+ ```
343
+