@assistant-ui/mcp-docs-server 0.1.39 → 0.2.1

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 (185) hide show
  1. package/.docs/organized/code-examples/waterfall.md +17 -18
  2. package/.docs/organized/code-examples/with-a2a.md +20 -15
  3. package/.docs/organized/code-examples/with-ag-ui.md +19 -17
  4. package/.docs/organized/code-examples/with-ai-sdk-v7.md +17 -16
  5. package/.docs/organized/code-examples/with-artifacts.md +471 -145
  6. package/.docs/organized/code-examples/with-assistant-transport.md +23 -31
  7. package/.docs/organized/code-examples/with-browser-extension.md +21 -14
  8. package/.docs/organized/code-examples/with-chain-of-thought.md +22 -20
  9. package/.docs/organized/code-examples/with-cloud-standalone.md +13 -14
  10. package/.docs/organized/code-examples/with-cloud.md +22 -17
  11. package/.docs/organized/code-examples/with-custom-thread-list.md +17 -16
  12. package/.docs/organized/code-examples/with-elevenlabs-conversational.md +17 -17
  13. package/.docs/organized/code-examples/with-elevenlabs-scribe.md +21 -19
  14. package/.docs/organized/code-examples/with-eve.md +70 -16
  15. package/.docs/organized/code-examples/with-expo.md +32 -51
  16. package/.docs/organized/code-examples/with-external-store.md +20 -15
  17. package/.docs/organized/code-examples/with-ffmpeg.md +24 -18
  18. package/.docs/organized/code-examples/with-generative-ui.md +20 -21
  19. package/.docs/organized/code-examples/with-google-adk.md +21 -16
  20. package/.docs/organized/code-examples/with-heat-graph.md +10 -11
  21. package/.docs/organized/code-examples/with-image-generation.md +13 -14
  22. package/.docs/organized/code-examples/with-interactables.md +17 -16
  23. package/.docs/organized/code-examples/with-langchain.md +13 -14
  24. package/.docs/organized/code-examples/with-langgraph.md +23 -17
  25. package/.docs/organized/code-examples/with-livekit.md +17 -17
  26. package/.docs/organized/code-examples/with-mcp.md +36 -32
  27. package/.docs/organized/code-examples/with-nuxt.md +2492 -0
  28. package/.docs/organized/code-examples/with-opencode.md +27 -21
  29. package/.docs/organized/code-examples/with-pi.md +69 -67
  30. package/.docs/organized/code-examples/with-react-hook-form.md +18 -17
  31. package/.docs/organized/code-examples/with-react-ink-web.md +10 -11
  32. package/.docs/organized/code-examples/with-react-ink.md +7 -7
  33. package/.docs/organized/code-examples/with-react-router.md +23 -17
  34. package/.docs/organized/code-examples/with-resumable-stream.md +15 -16
  35. package/.docs/organized/code-examples/with-store.md +31 -20
  36. package/.docs/organized/code-examples/with-tanstack.md +22 -16
  37. package/.docs/organized/code-examples/with-tap-runtime.md +19 -19
  38. package/.docs/organized/code-examples/with-virtualized-thread.md +12 -13
  39. package/.docs/organized/code-examples/with-vue.md +408 -0
  40. package/.docs/raw/docs/(docs)/cli.mdx +3 -1
  41. package/.docs/raw/docs/(docs)/devtools.mdx +7 -2
  42. package/.docs/raw/docs/(docs)/index.mdx +9 -76
  43. package/.docs/raw/docs/(docs)/installation.mdx +4 -18
  44. package/.docs/raw/docs/(reference)/api-reference/context-providers/assistant-runtime-provider.mdx +24 -4
  45. package/.docs/raw/docs/(reference)/api-reference/generative-ui/a2ui.mdx +40 -0
  46. package/.docs/raw/docs/(reference)/api-reference/generative-ui/index.mdx +3 -0
  47. package/.docs/raw/docs/(reference)/api-reference/hooks/primitives.mdx +19 -420
  48. package/.docs/raw/docs/(reference)/api-reference/hooks/state.mdx +4 -1
  49. package/.docs/raw/docs/(reference)/api-reference/integrations/eve.mdx +8 -0
  50. package/.docs/raw/docs/(reference)/api-reference/integrations/react-ai-sdk.mdx +21 -0
  51. package/.docs/raw/docs/(reference)/api-reference/model-context/context.mdx +1 -9
  52. package/.docs/raw/docs/(reference)/api-reference/primitives/assistant-if.mdx +1 -18
  53. package/.docs/raw/docs/(reference)/api-reference/utilities/miscellaneous.mdx +24 -1
  54. package/.docs/raw/docs/cloud/ai-sdk-assistant-ui.mdx +1 -1
  55. package/.docs/raw/docs/cloud/ai-sdk.mdx +2 -2
  56. package/.docs/raw/docs/cloud/langgraph.mdx +1 -1
  57. package/.docs/raw/docs/copilots/model-context.mdx +5 -4
  58. package/.docs/raw/docs/copilots/motivation.mdx +5 -5
  59. package/.docs/raw/docs/guides/attachments.mdx +3 -3
  60. package/.docs/raw/docs/guides/branching.mdx +2 -2
  61. package/.docs/raw/docs/guides/chain-of-thought.mdx +1 -1
  62. package/.docs/raw/docs/guides/context-api.mdx +89 -111
  63. package/.docs/raw/docs/guides/editing.mdx +5 -5
  64. package/.docs/raw/docs/guides/electron.mdx +369 -0
  65. package/.docs/raw/docs/guides/index.mdx +10 -0
  66. package/.docs/raw/docs/guides/quoting.mdx +3 -3
  67. package/.docs/raw/docs/guides/resumable-stream-deployment.mdx +2 -2
  68. package/.docs/raw/docs/guides/resumable-streams.mdx +74 -3
  69. package/.docs/raw/docs/guides/suggestions.mdx +9 -9
  70. package/.docs/raw/docs/ink/hooks.mdx +12 -7
  71. package/.docs/raw/docs/ink/primitives.mdx +18 -10
  72. package/.docs/raw/docs/integrations/attachments/custom-adapter.mdx +16 -0
  73. package/.docs/raw/docs/integrations/auth/better-auth.mdx +3 -3
  74. package/.docs/raw/docs/integrations/auth/clerk.mdx +3 -3
  75. package/.docs/raw/docs/integrations/auth/next-auth.mdx +4 -4
  76. package/.docs/raw/docs/integrations/frameworks/cloudflare-agents/overview.mdx +1 -1
  77. package/.docs/raw/docs/integrations/frameworks/mastra/full-stack.mdx +2 -2
  78. package/.docs/raw/docs/integrations/frameworks/mastra/separate-server.mdx +1 -1
  79. package/.docs/raw/docs/integrations/gateways/index.mdx +2 -2
  80. package/.docs/raw/docs/integrations/observability/helicone.mdx +2 -2
  81. package/.docs/raw/docs/integrations/observability/langfuse.mdx +1 -1
  82. package/.docs/raw/docs/integrations/observability/langsmith.mdx +3 -3
  83. package/.docs/raw/docs/integrations/persistence/custom-adapter.mdx +36 -9
  84. package/.docs/raw/docs/migrations/toolkit-tools.mdx +15 -13
  85. package/.docs/raw/docs/migrations/v0-15.mdx +236 -0
  86. package/.docs/raw/docs/primitives/attachment.mdx +2 -2
  87. package/.docs/raw/docs/primitives/composer.mdx +3 -3
  88. package/.docs/raw/docs/primitives/message.mdx +33 -1
  89. package/.docs/raw/docs/primitives/suggestion.mdx +1 -1
  90. package/.docs/raw/docs/primitives/thread-list.mdx +2 -2
  91. package/.docs/raw/docs/react-native/hooks.mdx +17 -7
  92. package/.docs/raw/docs/react-native/index.mdx +3 -3
  93. package/.docs/raw/docs/react-native/primitives.mdx +41 -7
  94. package/.docs/raw/docs/runtimes/ai-sdk/overview.mdx +3 -3
  95. package/.docs/raw/docs/runtimes/ai-sdk/v4-legacy.mdx +5 -5
  96. package/.docs/raw/docs/runtimes/ai-sdk/v5-legacy.mdx +5 -5
  97. package/.docs/raw/docs/runtimes/ai-sdk/v6-legacy.mdx +13 -14
  98. package/.docs/raw/docs/runtimes/ai-sdk/v7.mdx +11 -12
  99. package/.docs/raw/docs/runtimes/concepts/threads.mdx +50 -11
  100. package/.docs/raw/docs/runtimes/custom/assistant-transport.mdx +20 -2
  101. package/.docs/raw/docs/runtimes/custom/external-store.mdx +31 -2
  102. package/.docs/raw/docs/runtimes/custom/local-runtime.mdx +39 -12
  103. package/.docs/raw/docs/runtimes/eve/overview.mdx +51 -0
  104. package/.docs/raw/docs/runtimes/eve/quickstart.mdx +51 -2
  105. package/.docs/raw/docs/runtimes/google-adk/hooks.mdx +9 -12
  106. package/.docs/raw/docs/runtimes/langchain.mdx +2 -2
  107. package/.docs/raw/docs/runtimes/langgraph/overview.mdx +1 -1
  108. package/.docs/raw/docs/runtimes/langgraph/streaming.mdx +1 -1
  109. package/.docs/raw/docs/runtimes/langgraph/tutorial/part-2.mdx +7 -7
  110. package/.docs/raw/docs/runtimes/langgraph/tutorial/part-3.mdx +4 -4
  111. package/.docs/raw/docs/runtimes/opencode/hooks.mdx +4 -1
  112. package/.docs/raw/docs/runtimes/opencode/overview.mdx +10 -0
  113. package/.docs/raw/docs/tools/a2ui.mdx +107 -0
  114. package/.docs/raw/docs/tools/backend.mdx +2 -2
  115. package/.docs/raw/docs/tools/defining-tools.mdx +9 -7
  116. package/.docs/raw/docs/tools/dynamic-tools.mdx +6 -4
  117. package/.docs/raw/docs/tools/interactables-legacy.mdx +28 -15
  118. package/.docs/raw/docs/tools/interactables.mdx +27 -16
  119. package/.docs/raw/docs/tools/mcp-apps.mdx +96 -8
  120. package/.docs/raw/docs/tools/mcp.mdx +9 -7
  121. package/.docs/raw/docs/tools/tool-ui.mdx +26 -22
  122. package/.docs/raw/docs/tools/user-managed-mcp.mdx +64 -14
  123. package/.docs/raw/docs/ui/file.mdx +6 -1
  124. package/.docs/raw/docs/ui/follow-up-suggestions.mdx +2 -0
  125. package/.docs/raw/docs/ui/mcp-config.mdx +8 -3
  126. package/.docs/raw/docs/ui/model-selector.mdx +9 -9
  127. package/.docs/raw/docs/ui/part-grouping.mdx +1 -5
  128. package/.docs/raw/docs/ui/reasoning.mdx +1 -1
  129. package/.docs/raw/docs/ui/thread.mdx +24 -5
  130. package/.docs/raw/docs/utilities/react-o11y.mdx +7 -9
  131. package/dist/constants.js +2 -2
  132. package/dist/constants.js.map +1 -1
  133. package/dist/index.d.ts +1 -1
  134. package/dist/index.js +2 -2
  135. package/dist/index.js.map +1 -1
  136. package/dist/prepare-docs/code-examples.js.map +1 -1
  137. package/dist/prepare-docs/prepare.d.ts +1 -1
  138. package/dist/prepare-docs/prepare.js.map +1 -1
  139. package/dist/stdio.d.ts +1 -1
  140. package/dist/tools/docs.d.ts +6 -10
  141. package/dist/tools/docs.d.ts.map +1 -1
  142. package/dist/tools/docs.js +6 -4
  143. package/dist/tools/docs.js.map +1 -1
  144. package/dist/tools/examples.d.ts +4 -8
  145. package/dist/tools/examples.d.ts.map +1 -1
  146. package/dist/tools/examples.js +4 -3
  147. package/dist/tools/examples.js.map +1 -1
  148. package/dist/tools/resources.d.ts +1 -1
  149. package/dist/tools/resources.d.ts.map +1 -1
  150. package/dist/tools/resources.js +3 -2
  151. package/dist/tools/resources.js.map +1 -1
  152. package/dist/tools/search.d.ts +4 -10
  153. package/dist/tools/search.d.ts.map +1 -1
  154. package/dist/tools/search.js +2 -2
  155. package/dist/tools/search.js.map +1 -1
  156. package/dist/tools/tests/mcp-test-client.d.ts +15 -0
  157. package/dist/tools/tests/mcp-test-client.d.ts.map +1 -0
  158. package/dist/tools/tests/mcp-test-client.js +68 -0
  159. package/dist/tools/tests/mcp-test-client.js.map +1 -0
  160. package/dist/tools/tests/test-setup.d.ts.map +1 -1
  161. package/dist/tools/tests/test-setup.js +2 -1
  162. package/dist/tools/tests/test-setup.js.map +1 -1
  163. package/dist/tools/xulux-templates.d.ts +9 -23
  164. package/dist/tools/xulux-templates.d.ts.map +1 -1
  165. package/dist/tools/xulux-templates.js +8 -6
  166. package/dist/tools/xulux-templates.js.map +1 -1
  167. package/dist/utils/logger.d.ts.map +1 -1
  168. package/dist/utils/mdx.js +2 -1
  169. package/dist/utils/mdx.js.map +1 -1
  170. package/dist/utils/security.js.map +1 -1
  171. package/dist/xulux/catalog-client.js +1 -1
  172. package/dist/xulux/catalog-client.js.map +1 -1
  173. package/package.json +6 -5
  174. package/src/index.ts +2 -2
  175. package/src/tools/docs.ts +2 -2
  176. package/src/tools/examples.ts +2 -2
  177. package/src/tools/resources.ts +1 -4
  178. package/src/tools/search.ts +2 -2
  179. package/src/tools/tests/completions.test.ts +40 -26
  180. package/src/tools/tests/docs.test.ts +2 -2
  181. package/src/tools/tests/integration.test.ts +3 -4
  182. package/src/tools/tests/mcp-protocol.test.ts +160 -175
  183. package/src/tools/tests/mcp-test-client.ts +111 -0
  184. package/src/tools/tests/resources.test.ts +97 -66
  185. package/src/tools/xulux-templates.ts +4 -4
@@ -108,6 +108,7 @@ import { useState } from "react";
108
108
  import {
109
109
  useAui,
110
110
  AuiProvider,
111
+ AuiConfig,
111
112
  useAuiState,
112
113
  useAuiEvent,
113
114
  } from "@assistant-ui/store";
@@ -256,13 +257,13 @@ const EventLog = () => {
256
257
  * Note: The fooList scope is also registered in foo-scope.ts as a default,
257
258
  * but we're explicitly passing it here for clarity in the example.
258
259
  */
259
- export const ExampleApp = () => {
260
- const aui = useAui({
261
- fooList: FooListResource({ initialValues: true }),
262
- });
260
+ const config = AuiConfig({
261
+ fooList: FooListResource({ initialValues: true }),
262
+ });
263
263
 
264
+ export const ExampleApp = () => {
264
265
  return (
265
- <AuiProvider value={aui}>
266
+ <AuiProvider config={config}>
266
267
  <div className="space-y-6">
267
268
  <div className="rounded-lg border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-700 dark:bg-gray-800">
268
269
  <div className="flex items-center justify-between">
@@ -345,6 +346,7 @@ import {
345
346
  useAui,
346
347
  useAuiState,
347
348
  AuiProvider,
349
+ AuiConfig,
348
350
  useClientList,
349
351
  Derived,
350
352
  useAssistantEmit,
@@ -425,7 +427,8 @@ const FooProvider = ({
425
427
  index: number;
426
428
  children: ReactNode;
427
429
  }) => {
428
- const aui = useAui({
430
+ const aui = useAui();
431
+ const config = AuiConfig({
429
432
  foo: Derived({
430
433
  source: "fooList",
431
434
  query: { index },
@@ -433,7 +436,11 @@ const FooProvider = ({
433
436
  }),
434
437
  });
435
438
 
436
- return <AuiProvider value={aui}>{children}</AuiProvider>;
439
+ return (
440
+ <AuiProvider extends={aui} config={config}>
441
+ {children}
442
+ </AuiProvider>
443
+ );
437
444
  };
438
445
 
439
446
  export const FooList = ({
@@ -494,22 +501,21 @@ export default withAui(nextConfig);
494
501
  "dependencies": {
495
502
  "@assistant-ui/store": "workspace:*",
496
503
  "@assistant-ui/tap": "workspace:*",
497
- "next": "^16.2.10",
498
- "react": "^19.2.7",
499
- "react-dom": "^19.2.7"
504
+ "next": "^16.3.0",
505
+ "react": "^19.2.8",
506
+ "react-dom": "^19.2.8"
500
507
  },
501
508
  "devDependencies": {
502
509
  "@assistant-ui/next": "workspace:*",
503
510
  "@assistant-ui/x-buildutils": "workspace:*",
504
- "@tailwindcss/postcss": "^4.3.2",
505
- "@types/node": "^26.1.1",
506
- "@types/react": "^19.2.17",
507
- "@types/react-dom": "^19.2.3",
508
- "postcss": "^8.5.19",
509
- "tailwindcss": "^4.3.2",
511
+ "@tailwindcss/postcss": "^4.3.3",
512
+ "@types/node": "^26.1.2",
513
+ "@types/react": "^19.2.18",
514
+ "@types/react-dom": "^19.2.4",
515
+ "postcss": "^8.5.26",
516
+ "tailwindcss": "^4.3.3",
510
517
  "tw-animate-css": "^1.4.0",
511
- "typescript": "npm:@typescript/typescript6@^6.0.2",
512
- "typescript-7": "npm:typescript@^7.0.2"
518
+ "typescript": "^7.0.2"
513
519
  }
514
520
  }
515
521
 
@@ -615,14 +621,19 @@ const FooListResource = resource(
615
621
 
616
622
  ```typescript
617
623
  const FooProvider = ({ index, children }) => {
618
- const aui = useAui({
624
+ const aui = useAui();
625
+ const config = AuiConfig({
619
626
  foo: Derived({
620
627
  source: "fooList",
621
628
  query: { index },
622
629
  get: (aui) => aui.fooList().foo({ index }),
623
630
  }),
624
631
  });
625
- return <AuiProvider value={aui}>{children}</AuiProvider>;
632
+ return (
633
+ <AuiProvider extends={aui} config={config}>
634
+ {children}
635
+ </AuiProvider>
636
+ );
626
637
  };
627
638
  ```
628
639
 
@@ -64,29 +64,29 @@
64
64
  "dependencies": {
65
65
  "@assistant-ui/react": "workspace:*",
66
66
  "@assistant-ui/react-markdown": "workspace:*",
67
- "@tailwindcss/vite": "^4.3.2",
68
- "@tanstack/react-router": "^1.170.18",
69
- "@tanstack/react-start": "^1.168.28",
67
+ "@tailwindcss/vite": "^4.3.3",
68
+ "@tanstack/react-router": "^1.170.21",
69
+ "@tanstack/react-start": "^1.168.38",
70
70
  "class-variance-authority": "^0.7.1",
71
71
  "clsx": "^2.1.1",
72
- "lucide-react": "^1.24.0",
72
+ "lucide-react": "^1.29.0",
73
73
  "nitro": "^3.0.260311-beta",
74
- "openai": "^6.47.0",
75
- "react": "^19.2.7",
76
- "react-dom": "^19.2.7",
74
+ "openai": "^7.4.0",
75
+ "react": "^19.2.8",
76
+ "react-dom": "^19.2.8",
77
77
  "remark-gfm": "^4.0.1",
78
78
  "tailwind-merge": "^3.6.0",
79
- "tailwindcss": "^4.3.2",
79
+ "tailwindcss": "^4.3.3",
80
80
  "vite-tsconfig-paths": "^6.1.1"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@assistant-ui/x-buildutils": "workspace:*",
84
- "@types/node": "^26.1.1",
85
- "@types/react": "^19.2.17",
86
- "@types/react-dom": "^19.2.3",
87
- "@vitejs/plugin-react": "^6.0.3",
84
+ "@types/node": "^26.1.2",
85
+ "@types/react": "^19.2.18",
86
+ "@types/react-dom": "^19.2.4",
87
+ "@vitejs/plugin-react": "^6.0.5",
88
88
  "typescript": "^7.0.2",
89
- "vite": "^8.1.4"
89
+ "vite": "^8.2.1"
90
90
  }
91
91
  }
92
92
 
@@ -321,13 +321,19 @@ function RootDocument({ children }: { children: React.ReactNode }) {
321
321
  ```tsx
322
322
  import { createFileRoute } from "@tanstack/react-router";
323
323
  import { Thread } from "@/components/assistant-ui/thread";
324
- import { useAui, AuiProvider, Suggestions } from "@assistant-ui/react";
324
+ import {
325
+ useAui,
326
+ AuiProvider,
327
+ AuiConfig,
328
+ Suggestions,
329
+ } from "@assistant-ui/react";
325
330
  import { MyRuntimeProvider } from "@/components/MyRuntimeProvider";
326
331
 
327
332
  export const Route = createFileRoute("/")({ component: App });
328
333
 
329
334
  function ThreadWithSuggestions() {
330
- const aui = useAui({
335
+ const aui = useAui();
336
+ const config = AuiConfig({
331
337
  suggestions: Suggestions([
332
338
  {
333
339
  title: "Hello!",
@@ -342,7 +348,7 @@ function ThreadWithSuggestions() {
342
348
  ]),
343
349
  });
344
350
  return (
345
- <AuiProvider value={aui}>
351
+ <AuiProvider extends={aui} config={config}>
346
352
  <Thread />
347
353
  </AuiProvider>
348
354
  );
@@ -165,8 +165,8 @@ export default function RootLayout({
165
165
 
166
166
  import { useState } from "react";
167
167
  import {
168
- useAui,
169
168
  AuiProvider,
169
+ AuiConfig,
170
170
  useAuiState,
171
171
  ExternalThread,
172
172
  InMemoryThreadList,
@@ -214,7 +214,7 @@ const SIMPLE_MESSAGES: SimpleMessage[] = [
214
214
  id: "4",
215
215
  role: "assistant",
216
216
  content:
217
- 'Sure! Here\'s how to use the tap-native runtime:\n\n```typescript\nconst messages = [\n { id: "1", role: "user", content: [{ type: "text", text: "Hello!" }] }\n];\n\nconst aui = useAui({\n threads: InMemoryThreadList({\n thread: (threadId) => ExternalThread({ messages, isRunning: false })\n }),\n onSwitchToThread: (threadId) => console.log("Switched to", threadId)\n});\n```\n\nTry using the thread list on the left to create and switch between threads!',
217
+ 'Sure! Here\'s how to use the tap-native runtime:\n\n```typescript\nconst messages = [\n { id: "1", role: "user", content: [{ type: "text", text: "Hello!" }] }\n];\n\nconst config = AuiConfig({\n threads: InMemoryThreadList({\n thread: (threadId) => ExternalThread({ messages, isRunning: false })\n })\n});\n\n<AuiProvider config={config}>{children}</AuiProvider>\n```\n\nTry using the thread list on the left to create and switch between threads!',
218
218
  status: { type: "complete", reason: "stop" },
219
219
  },
220
220
  ];
@@ -255,7 +255,7 @@ export function MyRuntimeProvider({ children }: { children: React.ReactNode }) {
255
255
  isRunning,
256
256
  }) as ExternalThreadMessage[];
257
257
 
258
- const aui = useAui({
258
+ const config = AuiConfig({
259
259
  threads: InMemoryThreadList({
260
260
  thread: (threadId) =>
261
261
  ExternalThread({
@@ -353,7 +353,7 @@ export function MyRuntimeProvider({ children }: { children: React.ReactNode }) {
353
353
  });
354
354
 
355
355
  return (
356
- <AuiProvider value={aui}>
356
+ <AuiProvider config={config}>
357
357
  <div className="flex h-full">
358
358
  {/* Thread List Sidebar */}
359
359
  <ThreadListSidebar />
@@ -600,24 +600,23 @@ export default withAui(nextConfig);
600
600
  "@assistant-ui/ui": "workspace:*",
601
601
  "class-variance-authority": "^0.7.1",
602
602
  "clsx": "^2.1.1",
603
- "lucide-react": "^1.24.0",
604
- "next": "^16.2.10",
605
- "react": "^19.2.7",
606
- "react-dom": "^19.2.7",
603
+ "lucide-react": "^1.29.0",
604
+ "next": "^16.3.0",
605
+ "react": "^19.2.8",
606
+ "react-dom": "^19.2.8",
607
607
  "tailwind-merge": "^3.6.0"
608
608
  },
609
609
  "devDependencies": {
610
610
  "@assistant-ui/next": "workspace:*",
611
611
  "@assistant-ui/x-buildutils": "workspace:*",
612
- "@tailwindcss/postcss": "^4.3.2",
613
- "@types/node": "^26.1.1",
614
- "@types/react": "^19.2.17",
615
- "@types/react-dom": "^19.2.3",
616
- "postcss": "^8.5.19",
617
- "tailwindcss": "^4.3.2",
612
+ "@tailwindcss/postcss": "^4.3.3",
613
+ "@types/node": "^26.1.2",
614
+ "@types/react": "^19.2.18",
615
+ "@types/react-dom": "^19.2.4",
616
+ "postcss": "^8.5.26",
617
+ "tailwindcss": "^4.3.3",
618
618
  "tw-animate-css": "^1.4.0",
619
- "typescript": "npm:@typescript/typescript6@^6.0.2",
620
- "typescript-7": "npm:typescript@^7.0.2"
619
+ "typescript": "^7.0.2"
621
620
  }
622
621
  }
623
622
 
@@ -672,10 +671,10 @@ const messages: ExternalThreadMessage[] = [
672
671
  ];
673
672
  ```
674
673
 
675
- ### 2. Create Runtime
674
+ ### 2. Create Config
676
675
 
677
676
  ```typescript
678
- const aui = useAui({
677
+ const config = AuiConfig({
679
678
  threads: InMemoryThreadList({
680
679
  thread: () => ExternalThread({ messages, isRunning: false }),
681
680
  }),
@@ -685,7 +684,7 @@ const aui = useAui({
685
684
  ### 3. Provide to App
686
685
 
687
686
  ```typescript
688
- <AuiProvider value={aui}>
687
+ <AuiProvider config={config}>
689
688
  <Thread.Root>
690
689
  <Thread.Messages />
691
690
  </Thread.Root>
@@ -795,6 +794,7 @@ You can extend this example to:
795
794
  ],
796
795
  "@/lib/utils": ["../../packages/ui/src/lib/utils"],
797
796
  "@assistant-ui/ui/*": ["../../packages/ui/src/*"],
797
+ "@assistant-ui/store/client": ["../../packages/store/src/client"],
798
798
  "@assistant-ui/*": ["../../packages/*/src"],
799
799
  "@assistant-ui/core/*": ["../../packages/core/src/*"],
800
800
  "@assistant-ui/react/*": ["../../packages/react/src/*"],
@@ -597,27 +597,26 @@ export default withAui(nextConfig);
597
597
  "@assistant-ui/react": "workspace:*",
598
598
  "@assistant-ui/react-markdown": "workspace:*",
599
599
  "@assistant-ui/ui": "workspace:*",
600
- "@tanstack/react-virtual": "^3.14.6",
600
+ "@tanstack/react-virtual": "^3.14.9",
601
601
  "class-variance-authority": "^0.7.1",
602
602
  "clsx": "^2.1.1",
603
- "lucide-react": "^1.24.0",
604
- "next": "^16.2.10",
605
- "react": "^19.2.7",
606
- "react-dom": "^19.2.7",
603
+ "lucide-react": "^1.29.0",
604
+ "next": "^16.3.0",
605
+ "react": "^19.2.8",
606
+ "react-dom": "^19.2.8",
607
607
  "tailwind-merge": "^3.6.0"
608
608
  },
609
609
  "devDependencies": {
610
610
  "@assistant-ui/next": "workspace:*",
611
611
  "@assistant-ui/x-buildutils": "workspace:*",
612
- "@tailwindcss/postcss": "^4.3.2",
613
- "@types/node": "^26.1.1",
614
- "@types/react": "^19.2.17",
615
- "@types/react-dom": "^19.2.3",
616
- "postcss": "^8.5.19",
617
- "tailwindcss": "^4.3.2",
612
+ "@tailwindcss/postcss": "^4.3.3",
613
+ "@types/node": "^26.1.2",
614
+ "@types/react": "^19.2.18",
615
+ "@types/react-dom": "^19.2.4",
616
+ "postcss": "^8.5.26",
617
+ "tailwindcss": "^4.3.3",
618
618
  "tw-animate-css": "^1.4.0",
619
- "typescript": "npm:@typescript/typescript6@^6.0.2",
620
- "typescript-7": "npm:typescript@^7.0.2"
619
+ "typescript": "^7.0.2"
621
620
  }
622
621
  }
623
622