@assistant-ui/mcp-docs-server 0.2.0 → 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.
- package/.docs/organized/code-examples/waterfall.md +12 -13
- package/.docs/organized/code-examples/with-a2a.md +16 -11
- package/.docs/organized/code-examples/with-ag-ui.md +14 -12
- package/.docs/organized/code-examples/with-ai-sdk-v7.md +13 -12
- package/.docs/organized/code-examples/with-artifacts.md +13 -12
- package/.docs/organized/code-examples/with-assistant-transport.md +19 -27
- package/.docs/organized/code-examples/with-browser-extension.md +17 -10
- package/.docs/organized/code-examples/with-chain-of-thought.md +16 -14
- package/.docs/organized/code-examples/with-cloud-standalone.md +9 -10
- package/.docs/organized/code-examples/with-cloud.md +18 -13
- package/.docs/organized/code-examples/with-custom-thread-list.md +13 -12
- package/.docs/organized/code-examples/with-elevenlabs-conversational.md +13 -13
- package/.docs/organized/code-examples/with-elevenlabs-scribe.md +17 -15
- package/.docs/organized/code-examples/with-eve.md +65 -11
- package/.docs/organized/code-examples/with-expo.md +20 -19
- package/.docs/organized/code-examples/with-external-store.md +16 -11
- package/.docs/organized/code-examples/with-ffmpeg.md +20 -14
- package/.docs/organized/code-examples/with-generative-ui.md +16 -17
- package/.docs/organized/code-examples/with-google-adk.md +17 -12
- package/.docs/organized/code-examples/with-heat-graph.md +6 -7
- package/.docs/organized/code-examples/with-image-generation.md +9 -10
- package/.docs/organized/code-examples/with-interactables.md +13 -12
- package/.docs/organized/code-examples/with-langchain.md +7 -8
- package/.docs/organized/code-examples/with-langgraph.md +17 -11
- package/.docs/organized/code-examples/with-livekit.md +12 -12
- package/.docs/organized/code-examples/with-mcp.md +13 -14
- package/.docs/organized/code-examples/with-nuxt.md +2492 -0
- package/.docs/organized/code-examples/with-opencode.md +23 -14
- package/.docs/organized/code-examples/with-pi.md +59 -57
- package/.docs/organized/code-examples/with-react-hook-form.md +14 -13
- package/.docs/organized/code-examples/with-react-ink-web.md +7 -8
- package/.docs/organized/code-examples/with-react-ink.md +5 -5
- package/.docs/organized/code-examples/with-react-router.md +15 -9
- package/.docs/organized/code-examples/with-resumable-stream.md +11 -12
- package/.docs/organized/code-examples/with-store.md +27 -16
- package/.docs/organized/code-examples/with-tanstack.md +18 -12
- package/.docs/organized/code-examples/with-tap-runtime.md +15 -15
- package/.docs/organized/code-examples/with-virtualized-thread.md +8 -9
- package/.docs/organized/code-examples/with-vue.md +408 -0
- package/.docs/raw/docs/(docs)/cli.mdx +1 -1
- package/.docs/raw/docs/(docs)/index.mdx +9 -76
- package/.docs/raw/docs/(docs)/installation.mdx +4 -18
- package/.docs/raw/docs/(reference)/api-reference/context-providers/assistant-runtime-provider.mdx +24 -4
- package/.docs/raw/docs/(reference)/api-reference/integrations/eve.mdx +8 -0
- package/.docs/raw/docs/(reference)/api-reference/utilities/miscellaneous.mdx +24 -1
- package/.docs/raw/docs/cloud/ai-sdk-assistant-ui.mdx +1 -1
- package/.docs/raw/docs/cloud/ai-sdk.mdx +2 -2
- package/.docs/raw/docs/copilots/model-context.mdx +4 -3
- package/.docs/raw/docs/copilots/motivation.mdx +4 -4
- package/.docs/raw/docs/guides/chain-of-thought.mdx +1 -1
- package/.docs/raw/docs/guides/electron.mdx +1 -1
- package/.docs/raw/docs/guides/resumable-streams.mdx +74 -3
- package/.docs/raw/docs/guides/suggestions.mdx +9 -9
- package/.docs/raw/docs/ink/hooks.mdx +9 -4
- package/.docs/raw/docs/ink/primitives.mdx +4 -3
- package/.docs/raw/docs/integrations/attachments/custom-adapter.mdx +16 -0
- package/.docs/raw/docs/integrations/auth/better-auth.mdx +1 -1
- package/.docs/raw/docs/integrations/auth/clerk.mdx +1 -1
- package/.docs/raw/docs/integrations/auth/next-auth.mdx +1 -1
- package/.docs/raw/docs/integrations/frameworks/cloudflare-agents/overview.mdx +1 -1
- package/.docs/raw/docs/integrations/frameworks/mastra/full-stack.mdx +2 -2
- package/.docs/raw/docs/integrations/frameworks/mastra/separate-server.mdx +1 -1
- package/.docs/raw/docs/integrations/gateways/index.mdx +2 -2
- package/.docs/raw/docs/integrations/observability/helicone.mdx +2 -2
- package/.docs/raw/docs/integrations/observability/langfuse.mdx +1 -1
- package/.docs/raw/docs/integrations/observability/langsmith.mdx +2 -2
- package/.docs/raw/docs/migrations/toolkit-tools.mdx +15 -13
- package/.docs/raw/docs/migrations/v0-15.mdx +84 -4
- package/.docs/raw/docs/primitives/attachment.mdx +2 -2
- package/.docs/raw/docs/primitives/composer.mdx +2 -2
- package/.docs/raw/docs/primitives/message.mdx +33 -1
- package/.docs/raw/docs/primitives/suggestion.mdx +1 -1
- package/.docs/raw/docs/react-native/hooks.mdx +14 -4
- package/.docs/raw/docs/react-native/index.mdx +1 -1
- package/.docs/raw/docs/react-native/primitives.mdx +2 -2
- package/.docs/raw/docs/runtimes/ai-sdk/v4-legacy.mdx +1 -1
- package/.docs/raw/docs/runtimes/ai-sdk/v5-legacy.mdx +1 -1
- package/.docs/raw/docs/runtimes/ai-sdk/v6-legacy.mdx +9 -10
- package/.docs/raw/docs/runtimes/ai-sdk/v7.mdx +9 -10
- package/.docs/raw/docs/runtimes/concepts/threads.mdx +40 -1
- package/.docs/raw/docs/runtimes/custom/assistant-transport.mdx +18 -0
- package/.docs/raw/docs/runtimes/custom/external-store.mdx +30 -1
- package/.docs/raw/docs/runtimes/custom/local-runtime.mdx +36 -9
- package/.docs/raw/docs/runtimes/eve/overview.mdx +51 -0
- package/.docs/raw/docs/runtimes/eve/quickstart.mdx +51 -2
- package/.docs/raw/docs/runtimes/google-adk/hooks.mdx +9 -12
- package/.docs/raw/docs/runtimes/langgraph/streaming.mdx +1 -1
- package/.docs/raw/docs/runtimes/langgraph/tutorial/part-2.mdx +7 -7
- package/.docs/raw/docs/runtimes/langgraph/tutorial/part-3.mdx +4 -4
- package/.docs/raw/docs/runtimes/opencode/hooks.mdx +1 -0
- package/.docs/raw/docs/runtimes/opencode/overview.mdx +10 -0
- package/.docs/raw/docs/tools/backend.mdx +2 -2
- package/.docs/raw/docs/tools/defining-tools.mdx +9 -7
- package/.docs/raw/docs/tools/dynamic-tools.mdx +6 -4
- package/.docs/raw/docs/tools/interactables-legacy.mdx +24 -11
- package/.docs/raw/docs/tools/interactables.mdx +24 -13
- package/.docs/raw/docs/tools/mcp-apps.mdx +35 -6
- package/.docs/raw/docs/tools/mcp.mdx +9 -7
- package/.docs/raw/docs/tools/tool-ui.mdx +26 -22
- package/.docs/raw/docs/tools/user-managed-mcp.mdx +12 -7
- package/.docs/raw/docs/ui/file.mdx +6 -1
- package/.docs/raw/docs/ui/mcp-config.mdx +8 -3
- package/.docs/raw/docs/ui/model-selector.mdx +8 -8
- package/.docs/raw/docs/ui/part-grouping.mdx +1 -1
- package/.docs/raw/docs/ui/thread.mdx +24 -5
- package/.docs/raw/docs/utilities/react-o11y.mdx +7 -9
- package/dist/constants.js +2 -2
- package/dist/constants.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/prepare-docs/prepare.js.map +1 -1
- package/dist/tools/docs.js +4 -2
- package/dist/tools/docs.js.map +1 -1
- package/dist/tools/examples.js +2 -1
- package/dist/tools/examples.js.map +1 -1
- package/dist/tools/resources.js +2 -1
- package/dist/tools/resources.js.map +1 -1
- package/dist/tools/tests/test-setup.js +2 -1
- package/dist/tools/tests/test-setup.js.map +1 -1
- package/dist/tools/xulux-templates.js +4 -2
- package/dist/tools/xulux-templates.js.map +1 -1
- package/dist/utils/mdx.js +2 -1
- package/dist/utils/mdx.js.map +1 -1
- package/dist/xulux/catalog-client.js +1 -1
- package/dist/xulux/catalog-client.js.map +1 -1
- package/package.json +4 -4
- package/src/tools/tests/docs.test.ts +2 -2
|
@@ -253,9 +253,9 @@ import {
|
|
|
253
253
|
} from "@/components/assistant-ui/thread";
|
|
254
254
|
import {
|
|
255
255
|
AssistantRuntimeProvider,
|
|
256
|
+
AuiConfig,
|
|
256
257
|
Suggestions,
|
|
257
258
|
useAssistantInstructions,
|
|
258
|
-
useAui,
|
|
259
259
|
} from "@assistant-ui/react";
|
|
260
260
|
import { useChatRuntime } from "@assistant-ui/react-ai-sdk";
|
|
261
261
|
import { lastAssistantMessageIsCompleteWithToolCalls } from "ai";
|
|
@@ -289,7 +289,7 @@ export default function GuiChatPage() {
|
|
|
289
289
|
sendAutomaticallyWhen: lastAssistantMessageIsCompleteWithToolCalls,
|
|
290
290
|
});
|
|
291
291
|
|
|
292
|
-
const
|
|
292
|
+
const config = AuiConfig({
|
|
293
293
|
suggestions: Suggestions([
|
|
294
294
|
{
|
|
295
295
|
title: "Welcome card",
|
|
@@ -307,7 +307,7 @@ export default function GuiChatPage() {
|
|
|
307
307
|
});
|
|
308
308
|
|
|
309
309
|
return (
|
|
310
|
-
<AssistantRuntimeProvider
|
|
310
|
+
<AssistantRuntimeProvider config={config} runtime={runtime}>
|
|
311
311
|
<GuiChatInstructions />
|
|
312
312
|
<div className="flex h-full flex-col">
|
|
313
313
|
<ExampleNav />
|
|
@@ -355,9 +355,9 @@ export default function RootLayout({
|
|
|
355
355
|
import { Thread } from "@/components/assistant-ui/thread";
|
|
356
356
|
import {
|
|
357
357
|
AssistantRuntimeProvider,
|
|
358
|
+
AuiConfig,
|
|
358
359
|
Suggestions,
|
|
359
360
|
Tools,
|
|
360
|
-
useAui,
|
|
361
361
|
} from "@assistant-ui/react";
|
|
362
362
|
import { useChatRuntime } from "@assistant-ui/react-ai-sdk";
|
|
363
363
|
import { lastAssistantMessageIsCompleteWithToolCalls } from "ai";
|
|
@@ -369,7 +369,7 @@ export default function Home() {
|
|
|
369
369
|
sendAutomaticallyWhen: lastAssistantMessageIsCompleteWithToolCalls,
|
|
370
370
|
});
|
|
371
371
|
|
|
372
|
-
const
|
|
372
|
+
const config = AuiConfig({
|
|
373
373
|
tools: Tools({ toolkit }),
|
|
374
374
|
suggestions: Suggestions([
|
|
375
375
|
{
|
|
@@ -398,7 +398,7 @@ export default function Home() {
|
|
|
398
398
|
});
|
|
399
399
|
|
|
400
400
|
return (
|
|
401
|
-
<AssistantRuntimeProvider
|
|
401
|
+
<AssistantRuntimeProvider config={config} runtime={runtime}>
|
|
402
402
|
<div className="flex h-full flex-col">
|
|
403
403
|
<ExampleNav />
|
|
404
404
|
<main className="min-h-0 flex-1">
|
|
@@ -1500,18 +1500,18 @@ export default withAui(nextConfig);
|
|
|
1500
1500
|
"test": "vitest run"
|
|
1501
1501
|
},
|
|
1502
1502
|
"dependencies": {
|
|
1503
|
-
"@ai-sdk/openai": "^4.0.
|
|
1503
|
+
"@ai-sdk/openai": "^4.0.34",
|
|
1504
1504
|
"@assistant-ui/react": "workspace:*",
|
|
1505
1505
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
1506
1506
|
"@assistant-ui/ui": "workspace:*",
|
|
1507
|
-
"ai": "^7.0.
|
|
1507
|
+
"ai": "^7.0.56",
|
|
1508
1508
|
"class-variance-authority": "^0.7.1",
|
|
1509
1509
|
"clsx": "^2.1.1",
|
|
1510
|
-
"lucide-react": "^1.
|
|
1511
|
-
"next": "^16.
|
|
1510
|
+
"lucide-react": "^1.29.0",
|
|
1511
|
+
"next": "^16.3.0",
|
|
1512
1512
|
"react": "^19.2.8",
|
|
1513
1513
|
"react-dom": "^19.2.8",
|
|
1514
|
-
"recharts": "^3.10.
|
|
1514
|
+
"recharts": "^3.10.1",
|
|
1515
1515
|
"tailwind-merge": "^3.6.0",
|
|
1516
1516
|
"zod": "^4.4.3"
|
|
1517
1517
|
},
|
|
@@ -1519,14 +1519,13 @@ export default withAui(nextConfig);
|
|
|
1519
1519
|
"@assistant-ui/next": "workspace:*",
|
|
1520
1520
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
1521
1521
|
"@tailwindcss/postcss": "^4.3.3",
|
|
1522
|
-
"@types/node": "^26.1.
|
|
1523
|
-
"@types/react": "^19.2.
|
|
1524
|
-
"@types/react-dom": "^19.2.
|
|
1525
|
-
"postcss": "^8.5.
|
|
1522
|
+
"@types/node": "^26.1.2",
|
|
1523
|
+
"@types/react": "^19.2.18",
|
|
1524
|
+
"@types/react-dom": "^19.2.4",
|
|
1525
|
+
"postcss": "^8.5.26",
|
|
1526
1526
|
"tailwindcss": "^4.3.3",
|
|
1527
1527
|
"tw-animate-css": "^1.4.0",
|
|
1528
|
-
"typescript": "
|
|
1529
|
-
"typescript-7": "npm:typescript@^7.0.2",
|
|
1528
|
+
"typescript": "^7.0.2",
|
|
1530
1529
|
"vitest": "^4.1.10"
|
|
1531
1530
|
}
|
|
1532
1531
|
}
|
|
@@ -240,10 +240,16 @@ export function MyRuntimeProvider({ children }: { children: React.ReactNode }) {
|
|
|
240
240
|
"use client";
|
|
241
241
|
|
|
242
242
|
import { Thread } from "@/components/assistant-ui/thread";
|
|
243
|
-
import {
|
|
243
|
+
import {
|
|
244
|
+
useAui,
|
|
245
|
+
AuiProvider,
|
|
246
|
+
AuiConfig,
|
|
247
|
+
Suggestions,
|
|
248
|
+
} from "@assistant-ui/react";
|
|
244
249
|
|
|
245
250
|
function ThreadWithSuggestions() {
|
|
246
|
-
const aui = useAui(
|
|
251
|
+
const aui = useAui();
|
|
252
|
+
const config = AuiConfig({
|
|
247
253
|
suggestions: Suggestions([
|
|
248
254
|
{
|
|
249
255
|
title: "What can you do",
|
|
@@ -258,7 +264,7 @@ function ThreadWithSuggestions() {
|
|
|
258
264
|
]),
|
|
259
265
|
});
|
|
260
266
|
return (
|
|
261
|
-
<AuiProvider
|
|
267
|
+
<AuiProvider extends={aui} config={config}>
|
|
262
268
|
<Thread />
|
|
263
269
|
</AuiProvider>
|
|
264
270
|
);
|
|
@@ -305,11 +311,11 @@ export default withAui(nextConfig);
|
|
|
305
311
|
"@assistant-ui/react-google-adk": "workspace:*",
|
|
306
312
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
307
313
|
"@assistant-ui/ui": "workspace:*",
|
|
308
|
-
"@google/adk": "^1.
|
|
314
|
+
"@google/adk": "^1.6.0",
|
|
309
315
|
"class-variance-authority": "^0.7.1",
|
|
310
316
|
"clsx": "^2.1.1",
|
|
311
|
-
"lucide-react": "^1.
|
|
312
|
-
"next": "^16.
|
|
317
|
+
"lucide-react": "^1.29.0",
|
|
318
|
+
"next": "^16.3.0",
|
|
313
319
|
"react": "^19.2.8",
|
|
314
320
|
"react-dom": "^19.2.8",
|
|
315
321
|
"tailwind-merge": "^3.6.0",
|
|
@@ -319,14 +325,13 @@ export default withAui(nextConfig);
|
|
|
319
325
|
"@assistant-ui/next": "workspace:*",
|
|
320
326
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
321
327
|
"@tailwindcss/postcss": "^4.3.3",
|
|
322
|
-
"@types/node": "^26.1.
|
|
323
|
-
"@types/react": "^19.2.
|
|
324
|
-
"@types/react-dom": "^19.2.
|
|
325
|
-
"postcss": "^8.5.
|
|
328
|
+
"@types/node": "^26.1.2",
|
|
329
|
+
"@types/react": "^19.2.18",
|
|
330
|
+
"@types/react-dom": "^19.2.4",
|
|
331
|
+
"postcss": "^8.5.26",
|
|
326
332
|
"tailwindcss": "^4.3.3",
|
|
327
333
|
"tw-animate-css": "^1.4.0",
|
|
328
|
-
"typescript": "
|
|
329
|
-
"typescript-7": "npm:typescript@^7.0.2"
|
|
334
|
+
"typescript": "^7.0.2"
|
|
330
335
|
}
|
|
331
336
|
}
|
|
332
337
|
|
|
@@ -269,7 +269,7 @@ export default withAui(nextConfig);
|
|
|
269
269
|
},
|
|
270
270
|
"dependencies": {
|
|
271
271
|
"heat-graph": "workspace:*",
|
|
272
|
-
"next": "^16.
|
|
272
|
+
"next": "^16.3.0",
|
|
273
273
|
"react": "^19.2.8",
|
|
274
274
|
"react-dom": "^19.2.8"
|
|
275
275
|
},
|
|
@@ -277,13 +277,12 @@ export default withAui(nextConfig);
|
|
|
277
277
|
"@assistant-ui/next": "workspace:*",
|
|
278
278
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
279
279
|
"@tailwindcss/postcss": "^4.3.3",
|
|
280
|
-
"@types/node": "^26.1.
|
|
281
|
-
"@types/react": "^19.2.
|
|
282
|
-
"@types/react-dom": "^19.2.
|
|
283
|
-
"postcss": "^8.5.
|
|
280
|
+
"@types/node": "^26.1.2",
|
|
281
|
+
"@types/react": "^19.2.18",
|
|
282
|
+
"@types/react-dom": "^19.2.4",
|
|
283
|
+
"postcss": "^8.5.26",
|
|
284
284
|
"tailwindcss": "^4.3.3",
|
|
285
|
-
"typescript": "
|
|
286
|
-
"typescript-7": "npm:typescript@^7.0.2"
|
|
285
|
+
"typescript": "^7.0.2"
|
|
287
286
|
}
|
|
288
287
|
}
|
|
289
288
|
|
|
@@ -380,14 +380,14 @@ export default withAui(nextConfig);
|
|
|
380
380
|
"start": "next start"
|
|
381
381
|
},
|
|
382
382
|
"dependencies": {
|
|
383
|
-
"@ai-sdk/openai": "^4.0.
|
|
383
|
+
"@ai-sdk/openai": "^4.0.34",
|
|
384
384
|
"@assistant-ui/react": "workspace:*",
|
|
385
385
|
"@assistant-ui/ui": "workspace:*",
|
|
386
|
-
"ai": "^7.0.
|
|
386
|
+
"ai": "^7.0.56",
|
|
387
387
|
"class-variance-authority": "^0.7.1",
|
|
388
388
|
"clsx": "^2.1.1",
|
|
389
|
-
"lucide-react": "^1.
|
|
390
|
-
"next": "^16.
|
|
389
|
+
"lucide-react": "^1.29.0",
|
|
390
|
+
"next": "^16.3.0",
|
|
391
391
|
"react": "^19.2.8",
|
|
392
392
|
"react-dom": "^19.2.8",
|
|
393
393
|
"tailwind-merge": "^3.6.0"
|
|
@@ -396,14 +396,13 @@ export default withAui(nextConfig);
|
|
|
396
396
|
"@assistant-ui/next": "workspace:*",
|
|
397
397
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
398
398
|
"@tailwindcss/postcss": "^4.3.3",
|
|
399
|
-
"@types/node": "^26.1.
|
|
400
|
-
"@types/react": "^19.2.
|
|
401
|
-
"@types/react-dom": "^19.2.
|
|
402
|
-
"postcss": "^8.5.
|
|
399
|
+
"@types/node": "^26.1.2",
|
|
400
|
+
"@types/react": "^19.2.18",
|
|
401
|
+
"@types/react-dom": "^19.2.4",
|
|
402
|
+
"postcss": "^8.5.26",
|
|
403
403
|
"tailwindcss": "^4.3.3",
|
|
404
404
|
"tw-animate-css": "^1.4.0",
|
|
405
|
-
"typescript": "
|
|
406
|
-
"typescript-7": "npm:typescript@^7.0.2"
|
|
405
|
+
"typescript": "^7.0.2"
|
|
407
406
|
}
|
|
408
407
|
}
|
|
409
408
|
|
|
@@ -206,6 +206,7 @@ import { Thread } from "@/components/assistant-ui/thread";
|
|
|
206
206
|
import {
|
|
207
207
|
AssistantRuntimeProvider,
|
|
208
208
|
AuiProvider,
|
|
209
|
+
AuiConfig,
|
|
209
210
|
unstable_Interactables,
|
|
210
211
|
Suggestions,
|
|
211
212
|
useAui,
|
|
@@ -461,7 +462,8 @@ const persistenceAdapter = {
|
|
|
461
462
|
};
|
|
462
463
|
|
|
463
464
|
function InteractablesExample() {
|
|
464
|
-
const aui = useAui(
|
|
465
|
+
const aui = useAui();
|
|
466
|
+
const config = AuiConfig({
|
|
465
467
|
unstable_interactables: unstable_Interactables({
|
|
466
468
|
persistence: persistenceAdapter,
|
|
467
469
|
}),
|
|
@@ -486,7 +488,7 @@ function InteractablesExample() {
|
|
|
486
488
|
});
|
|
487
489
|
|
|
488
490
|
return (
|
|
489
|
-
<AuiProvider
|
|
491
|
+
<AuiProvider extends={aui} config={config}>
|
|
490
492
|
<main className="flex h-full min-h-0">
|
|
491
493
|
<div className="min-w-0 flex-1">
|
|
492
494
|
<Thread />
|
|
@@ -624,15 +626,15 @@ export default nextConfig;
|
|
|
624
626
|
"start": "next start"
|
|
625
627
|
},
|
|
626
628
|
"dependencies": {
|
|
627
|
-
"@ai-sdk/openai": "^4.0.
|
|
629
|
+
"@ai-sdk/openai": "^4.0.34",
|
|
628
630
|
"@assistant-ui/react": "workspace:*",
|
|
629
631
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
630
632
|
"@assistant-ui/ui": "workspace:*",
|
|
631
|
-
"ai": "^7.0.
|
|
633
|
+
"ai": "^7.0.56",
|
|
632
634
|
"class-variance-authority": "^0.7.1",
|
|
633
635
|
"clsx": "^2.1.1",
|
|
634
|
-
"lucide-react": "^1.
|
|
635
|
-
"next": "^16.
|
|
636
|
+
"lucide-react": "^1.29.0",
|
|
637
|
+
"next": "^16.3.0",
|
|
636
638
|
"react": "^19.2.8",
|
|
637
639
|
"react-dom": "^19.2.8",
|
|
638
640
|
"tailwind-merge": "^3.6.0",
|
|
@@ -641,14 +643,13 @@ export default nextConfig;
|
|
|
641
643
|
"devDependencies": {
|
|
642
644
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
643
645
|
"@tailwindcss/postcss": "^4.3.3",
|
|
644
|
-
"@types/node": "^26.1.
|
|
645
|
-
"@types/react": "^19.2.
|
|
646
|
-
"@types/react-dom": "^19.2.
|
|
647
|
-
"postcss": "^8.5.
|
|
646
|
+
"@types/node": "^26.1.2",
|
|
647
|
+
"@types/react": "^19.2.18",
|
|
648
|
+
"@types/react-dom": "^19.2.4",
|
|
649
|
+
"postcss": "^8.5.26",
|
|
648
650
|
"tailwindcss": "^4.3.3",
|
|
649
651
|
"tw-animate-css": "^1.4.0",
|
|
650
|
-
"typescript": "
|
|
651
|
-
"typescript-7": "npm:typescript@^7.0.2"
|
|
652
|
+
"typescript": "^7.0.2"
|
|
652
653
|
}
|
|
653
654
|
}
|
|
654
655
|
|
|
@@ -340,8 +340,8 @@ export default withAui(nextConfig);
|
|
|
340
340
|
"@langchain/react": "^1.0.29",
|
|
341
341
|
"class-variance-authority": "^0.7.1",
|
|
342
342
|
"clsx": "^2.1.1",
|
|
343
|
-
"lucide-react": "^1.
|
|
344
|
-
"next": "^16.
|
|
343
|
+
"lucide-react": "^1.29.0",
|
|
344
|
+
"next": "^16.3.0",
|
|
345
345
|
"react": "^19.2.8",
|
|
346
346
|
"react-dom": "^19.2.8",
|
|
347
347
|
"tailwind-merge": "^3.6.0"
|
|
@@ -350,14 +350,13 @@ export default withAui(nextConfig);
|
|
|
350
350
|
"@assistant-ui/next": "workspace:*",
|
|
351
351
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
352
352
|
"@tailwindcss/postcss": "^4.3.3",
|
|
353
|
-
"@types/node": "^26.1.
|
|
354
|
-
"@types/react": "^19.2.
|
|
355
|
-
"@types/react-dom": "^19.2.
|
|
356
|
-
"postcss": "^8.5.
|
|
353
|
+
"@types/node": "^26.1.2",
|
|
354
|
+
"@types/react": "^19.2.18",
|
|
355
|
+
"@types/react-dom": "^19.2.4",
|
|
356
|
+
"postcss": "^8.5.26",
|
|
357
357
|
"tailwindcss": "^4.3.3",
|
|
358
358
|
"tw-animate-css": "^1.4.0",
|
|
359
|
-
"typescript": "
|
|
360
|
-
"typescript-7": "npm:typescript@^7.0.2"
|
|
359
|
+
"typescript": "^7.0.2"
|
|
361
360
|
}
|
|
362
361
|
}
|
|
363
362
|
|
|
@@ -284,11 +284,18 @@ export function MyRuntimeProvider({
|
|
|
284
284
|
|
|
285
285
|
import { Thread } from "@/components/assistant-ui/thread";
|
|
286
286
|
import { ThreadList } from "@/components/assistant-ui/thread-list";
|
|
287
|
-
import {
|
|
287
|
+
import {
|
|
288
|
+
useAui,
|
|
289
|
+
AuiProvider,
|
|
290
|
+
AuiConfig,
|
|
291
|
+
Suggestions,
|
|
292
|
+
Tools,
|
|
293
|
+
} from "@assistant-ui/react";
|
|
288
294
|
import toolkit from "./toolkit";
|
|
289
295
|
|
|
290
296
|
function ThreadWithSuggestions() {
|
|
291
|
-
const aui = useAui(
|
|
297
|
+
const aui = useAui();
|
|
298
|
+
const config = AuiConfig({
|
|
292
299
|
tools: Tools({ toolkit }),
|
|
293
300
|
suggestions: Suggestions([
|
|
294
301
|
{
|
|
@@ -304,7 +311,7 @@ function ThreadWithSuggestions() {
|
|
|
304
311
|
]),
|
|
305
312
|
});
|
|
306
313
|
return (
|
|
307
|
-
<AuiProvider
|
|
314
|
+
<AuiProvider extends={aui} config={config}>
|
|
308
315
|
<Thread />
|
|
309
316
|
</AuiProvider>
|
|
310
317
|
);
|
|
@@ -744,8 +751,8 @@ export default withAui(nextConfig);
|
|
|
744
751
|
"@langchain/react": "^1.0.29",
|
|
745
752
|
"class-variance-authority": "^0.7.1",
|
|
746
753
|
"clsx": "^2.1.1",
|
|
747
|
-
"lucide-react": "^1.
|
|
748
|
-
"next": "^16.
|
|
754
|
+
"lucide-react": "^1.29.0",
|
|
755
|
+
"next": "^16.3.0",
|
|
749
756
|
"react": "^19.2.8",
|
|
750
757
|
"react-dom": "^19.2.8",
|
|
751
758
|
"tailwind-merge": "^3.6.0"
|
|
@@ -754,14 +761,13 @@ export default withAui(nextConfig);
|
|
|
754
761
|
"@assistant-ui/next": "workspace:*",
|
|
755
762
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
756
763
|
"@tailwindcss/postcss": "^4.3.3",
|
|
757
|
-
"@types/node": "^26.1.
|
|
758
|
-
"@types/react": "^19.2.
|
|
759
|
-
"@types/react-dom": "^19.2.
|
|
760
|
-
"postcss": "^8.5.
|
|
764
|
+
"@types/node": "^26.1.2",
|
|
765
|
+
"@types/react": "^19.2.18",
|
|
766
|
+
"@types/react-dom": "^19.2.4",
|
|
767
|
+
"postcss": "^8.5.26",
|
|
761
768
|
"tailwindcss": "^4.3.3",
|
|
762
769
|
"tw-animate-css": "^1.4.0",
|
|
763
|
-
"typescript": "
|
|
764
|
-
"typescript-7": "npm:typescript@^7.0.2"
|
|
770
|
+
"typescript": "^7.0.2"
|
|
765
771
|
}
|
|
766
772
|
}
|
|
767
773
|
|
|
@@ -554,22 +554,22 @@ export default withAui(nextConfig);
|
|
|
554
554
|
"version": "0.0.0",
|
|
555
555
|
"type": "module",
|
|
556
556
|
"dependencies": {
|
|
557
|
-
"@ai-sdk/openai": "^4.0.
|
|
558
|
-
"@ai-sdk/react": "^4.0.
|
|
557
|
+
"@ai-sdk/openai": "^4.0.34",
|
|
558
|
+
"@ai-sdk/react": "^4.0.59",
|
|
559
559
|
"@assistant-ui/react": "workspace:^",
|
|
560
560
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
561
561
|
"@assistant-ui/react-markdown": "workspace:^",
|
|
562
562
|
"@assistant-ui/ui": "workspace:*",
|
|
563
563
|
"@tailwindcss/postcss": "^4.3.3",
|
|
564
|
-
"ai": "^7.0.
|
|
564
|
+
"ai": "^7.0.56",
|
|
565
565
|
"class-variance-authority": "^0.7.1",
|
|
566
566
|
"clsx": "^2.1.1",
|
|
567
567
|
"livekit-client": "^2.21.0",
|
|
568
568
|
"livekit-server-sdk": "^2.17.0",
|
|
569
|
-
"lucide-react": "^1.
|
|
570
|
-
"motion": "^
|
|
571
|
-
"next": "^16.
|
|
572
|
-
"postcss": "^8.5.
|
|
569
|
+
"lucide-react": "^1.29.0",
|
|
570
|
+
"motion": "^13.0.0",
|
|
571
|
+
"next": "^16.3.0",
|
|
572
|
+
"postcss": "^8.5.26",
|
|
573
573
|
"react": "^19.2.8",
|
|
574
574
|
"react-dom": "^19.2.8",
|
|
575
575
|
"tailwind-merge": "^3.6.0",
|
|
@@ -579,12 +579,11 @@ export default withAui(nextConfig);
|
|
|
579
579
|
"devDependencies": {
|
|
580
580
|
"@assistant-ui/next": "workspace:*",
|
|
581
581
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
582
|
-
"@types/node": "^26.1.
|
|
583
|
-
"@types/react": "^19.2.
|
|
584
|
-
"@types/react-dom": "^19.2.
|
|
582
|
+
"@types/node": "^26.1.2",
|
|
583
|
+
"@types/react": "^19.2.18",
|
|
584
|
+
"@types/react-dom": "^19.2.4",
|
|
585
585
|
"tw-animate-css": "^1.4.0",
|
|
586
|
-
"typescript": "
|
|
587
|
-
"typescript-7": "npm:typescript@^7.0.2"
|
|
586
|
+
"typescript": "^7.0.2"
|
|
588
587
|
},
|
|
589
588
|
"scripts": {
|
|
590
589
|
"dev": "next dev",
|
|
@@ -626,6 +625,7 @@ export default withAui(nextConfig);
|
|
|
626
625
|
],
|
|
627
626
|
"@/lib/utils": ["../../packages/ui/src/lib/utils"],
|
|
628
627
|
"@assistant-ui/ui/*": ["../../packages/ui/src/*"],
|
|
628
|
+
"@assistant-ui/store/client": ["../../packages/store/src/client"],
|
|
629
629
|
"@assistant-ui/*": ["../../packages/*/src"],
|
|
630
630
|
"@assistant-ui/core/*": ["../../packages/core/src/*"],
|
|
631
631
|
"@assistant-ui/react/*": ["../../packages/react/src/*"],
|
|
@@ -251,7 +251,7 @@ export default function Home() {
|
|
|
251
251
|
"use client";
|
|
252
252
|
|
|
253
253
|
import type { ReactNode } from "react";
|
|
254
|
-
import { AssistantRuntimeProvider,
|
|
254
|
+
import { AssistantRuntimeProvider, AuiConfig } from "@assistant-ui/react";
|
|
255
255
|
import { useChatRuntime } from "@assistant-ui/react-ai-sdk";
|
|
256
256
|
import { McpManagerResource, defineConnector } from "@assistant-ui/react-mcp";
|
|
257
257
|
|
|
@@ -265,10 +265,10 @@ const connectors = [
|
|
|
265
265
|
];
|
|
266
266
|
|
|
267
267
|
export function Providers({ children }: { children: ReactNode }) {
|
|
268
|
-
const
|
|
268
|
+
const config = AuiConfig({ mcp: McpManagerResource({ connectors }) });
|
|
269
269
|
const runtime = useChatRuntime();
|
|
270
270
|
return (
|
|
271
|
-
<AssistantRuntimeProvider runtime={runtime}
|
|
271
|
+
<AssistantRuntimeProvider runtime={runtime} config={config}>
|
|
272
272
|
{children}
|
|
273
273
|
</AssistantRuntimeProvider>
|
|
274
274
|
);
|
|
@@ -382,7 +382,7 @@ export default nextConfig;
|
|
|
382
382
|
"start:server": "tsx server/server.ts"
|
|
383
383
|
},
|
|
384
384
|
"dependencies": {
|
|
385
|
-
"@ai-sdk/openai": "^4.0.
|
|
385
|
+
"@ai-sdk/openai": "^4.0.34",
|
|
386
386
|
"@assistant-ui/react": "workspace:*",
|
|
387
387
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
388
388
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
@@ -394,14 +394,14 @@ export default nextConfig;
|
|
|
394
394
|
"@modelcontextprotocol/node": "^2.0.0",
|
|
395
395
|
"@modelcontextprotocol/server": "^2.0.0",
|
|
396
396
|
"@modelcontextprotocol/server-legacy": "^2.0.0",
|
|
397
|
-
"ai": "^7.0.
|
|
397
|
+
"ai": "^7.0.56",
|
|
398
398
|
"assistant-stream": "workspace:*",
|
|
399
399
|
"class-variance-authority": "^0.7.1",
|
|
400
400
|
"clsx": "^2.1.1",
|
|
401
401
|
"cors": "^2.8.6",
|
|
402
402
|
"express": "^5.2.1",
|
|
403
|
-
"lucide-react": "^1.
|
|
404
|
-
"next": "^16.
|
|
403
|
+
"lucide-react": "^1.29.0",
|
|
404
|
+
"next": "^16.3.0",
|
|
405
405
|
"react": "^19.2.8",
|
|
406
406
|
"react-dom": "^19.2.8",
|
|
407
407
|
"tailwind-merge": "^3.6.0",
|
|
@@ -412,16 +412,15 @@ export default nextConfig;
|
|
|
412
412
|
"@tailwindcss/postcss": "^4.3.3",
|
|
413
413
|
"@types/cors": "^2.8.19",
|
|
414
414
|
"@types/express": "^5.0.6",
|
|
415
|
-
"@types/node": "^26.1.
|
|
416
|
-
"@types/react": "^19.2.
|
|
417
|
-
"@types/react-dom": "^19.2.
|
|
415
|
+
"@types/node": "^26.1.2",
|
|
416
|
+
"@types/react": "^19.2.18",
|
|
417
|
+
"@types/react-dom": "^19.2.4",
|
|
418
418
|
"concurrently": "^10.0.4",
|
|
419
|
-
"postcss": "^8.5.
|
|
419
|
+
"postcss": "^8.5.26",
|
|
420
420
|
"tailwindcss": "^4.3.3",
|
|
421
|
-
"tsx": "^4.23.
|
|
421
|
+
"tsx": "^4.23.10",
|
|
422
422
|
"tw-animate-css": "^1.4.0",
|
|
423
|
-
"typescript": "
|
|
424
|
-
"typescript-7": "npm:typescript@^7.0.2"
|
|
423
|
+
"typescript": "^7.0.2"
|
|
425
424
|
}
|
|
426
425
|
}
|
|
427
426
|
|