@assistant-ui/mcp-docs-server 0.2.2 → 0.2.3
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 +2 -2
- package/.docs/organized/code-examples/with-a2a.md +4 -3
- package/.docs/organized/code-examples/with-ag-ui.md +5 -4
- package/.docs/organized/code-examples/with-ai-sdk-v7.md +12 -11
- package/.docs/organized/code-examples/with-artifacts.md +10 -9
- package/.docs/organized/code-examples/with-assistant-transport.md +4 -3
- package/.docs/organized/code-examples/with-browser-extension.md +3 -3
- package/.docs/organized/code-examples/with-chain-of-thought.md +14 -12
- package/.docs/organized/code-examples/with-cloud-standalone.md +5 -5
- package/.docs/organized/code-examples/with-cloud.md +9 -8
- package/.docs/organized/code-examples/with-custom-thread-list.md +8 -7
- package/.docs/organized/code-examples/with-elevenlabs-conversational.md +12 -11
- package/.docs/organized/code-examples/with-elevenlabs-scribe.md +12 -11
- package/.docs/organized/code-examples/with-eve.md +5 -4
- package/.docs/organized/code-examples/with-expo.md +214 -31
- package/.docs/organized/code-examples/with-external-store.md +4 -3
- package/.docs/organized/code-examples/with-ffmpeg.md +9 -8
- package/.docs/organized/code-examples/with-generative-ui.md +13 -15
- package/.docs/organized/code-examples/with-google-adk.md +4 -3
- package/.docs/organized/code-examples/with-heat-graph.md +2 -2
- package/.docs/organized/code-examples/with-image-generation.md +7 -6
- package/.docs/organized/code-examples/with-interactables.md +9 -8
- package/.docs/organized/code-examples/with-langchain.md +6 -5
- package/.docs/organized/code-examples/with-langgraph.md +6 -5
- package/.docs/organized/code-examples/with-livekit.md +13 -12
- package/.docs/organized/code-examples/with-mcp.md +11 -9
- package/.docs/organized/code-examples/with-nuxt.md +502 -502
- package/.docs/organized/code-examples/with-opencode.md +3 -3
- package/.docs/organized/code-examples/with-openui.md +14 -13
- package/.docs/organized/code-examples/with-pi.md +5 -4
- package/.docs/organized/code-examples/with-react-hook-form.md +13 -10
- package/.docs/organized/code-examples/with-react-ink-web.md +64 -14
- package/.docs/organized/code-examples/with-react-ink.md +3 -2
- package/.docs/organized/code-examples/with-react-router.md +6 -5
- package/.docs/organized/code-examples/with-resumable-stream.md +10 -9
- package/.docs/organized/code-examples/with-store.md +2 -2
- package/.docs/organized/code-examples/with-svelte.md +3 -3
- package/.docs/organized/code-examples/with-sveltekit.md +9 -9
- package/.docs/organized/code-examples/with-tanstack.md +8 -7
- package/.docs/organized/code-examples/with-tap-runtime.md +4 -3
- package/.docs/organized/code-examples/with-virtualized-thread.md +5 -4
- package/.docs/organized/code-examples/with-vue.md +2 -2
- package/.docs/raw/docs/{(docs) → (getting-started)}/devtools.mdx +1 -1
- package/.docs/raw/docs/{(docs) → (getting-started)}/index.mdx +4 -2
- package/.docs/raw/docs/{(docs) → (getting-started)}/installation.mdx +24 -24
- package/.docs/raw/docs/(reference)/api-reference/adapters/suggestions.mdx +6 -0
- package/.docs/raw/docs/(reference)/api-reference/context-providers/assistant-runtime-provider.mdx +1 -1
- package/.docs/raw/docs/(reference)/api-reference/external-store/message-conversion.mdx +6 -1
- package/.docs/raw/docs/(reference)/api-reference/integrations/{react-ai-sdk.mdx → ai-sdk.mdx} +19 -19
- package/.docs/raw/docs/(reference)/api-reference/integrations/eve.mdx +22 -1
- package/.docs/raw/docs/(reference)/api-reference/integrations/index.mdx +3 -3
- package/.docs/raw/docs/(reference)/api-reference/overview.mdx +2 -2
- package/.docs/raw/docs/(reference)/api-reference/primitives/composer.mdx +20 -2
- package/.docs/raw/docs/(reference)/api-reference/tools/interactables.mdx +1 -1
- package/.docs/raw/docs/(reference)/api-reference/transport/frame.mdx +1 -1
- package/.docs/raw/docs/(reference)/api-reference/utilities/miscellaneous.mdx +3 -0
- package/.docs/raw/docs/cloud/ai-sdk-assistant-ui.mdx +10 -10
- package/.docs/raw/docs/cloud/ai-sdk.mdx +2 -0
- package/.docs/raw/docs/copilots/assistant-frame.mdx +19 -8
- package/.docs/raw/docs/guides/attachments.mdx +2 -2
- package/.docs/raw/docs/guides/branching.mdx +1 -1
- package/.docs/raw/docs/guides/chatgpt-subscription.mdx +1 -1
- package/.docs/raw/docs/guides/dictation.mdx +1 -1
- package/.docs/raw/docs/guides/electron.mdx +1 -1
- package/.docs/raw/docs/guides/latex.mdx +1 -1
- package/.docs/raw/docs/guides/message-timing.mdx +11 -5
- package/.docs/raw/docs/guides/quoting.mdx +1 -1
- package/.docs/raw/docs/guides/resumable-streams.mdx +3 -3
- package/.docs/raw/docs/guides/speech.mdx +1 -1
- package/.docs/raw/docs/guides/suggestions.mdx +2 -2
- package/.docs/raw/docs/guides/voice.mdx +1 -1
- package/.docs/raw/docs/ink/hooks.mdx +1 -1
- package/.docs/raw/docs/ink/index.mdx +3 -2
- package/.docs/raw/docs/ink/migration.mdx +1 -1
- package/.docs/raw/docs/integrations/attachments/custom-adapter.mdx +3 -3
- package/.docs/raw/docs/integrations/frameworks/ai-sdk.mdx +3 -3
- package/.docs/raw/docs/integrations/frameworks/{cloudflare-agents/overview.mdx → cloudflare-agents.mdx} +4 -3
- package/.docs/raw/docs/integrations/frameworks/mastra/overview.mdx +1 -1
- package/.docs/raw/docs/integrations/frameworks/mastra/separate-server.mdx +1 -1
- package/.docs/raw/docs/integrations/index.mdx +2 -2
- package/.docs/raw/docs/integrations/persistence/custom-adapter.mdx +3 -3
- package/.docs/raw/docs/migrations/toolkit-tools.mdx +2 -2
- package/.docs/raw/docs/primitives/action-bar.mdx +1 -1
- package/.docs/raw/docs/primitives/assistant-modal.mdx +1 -1
- package/.docs/raw/docs/primitives/attachment.mdx +1 -1
- package/.docs/raw/docs/primitives/branch-picker.mdx +1 -1
- package/.docs/raw/docs/primitives/chain-of-thought.mdx +3 -3
- package/.docs/raw/docs/primitives/composer.mdx +1 -1
- package/.docs/raw/docs/primitives/error.mdx +1 -1
- package/.docs/raw/docs/primitives/message.mdx +1 -1
- package/.docs/raw/docs/primitives/selection-toolbar.mdx +1 -1
- package/.docs/raw/docs/primitives/suggestion.mdx +1 -1
- package/.docs/raw/docs/primitives/thread-list.mdx +1 -1
- package/.docs/raw/docs/primitives/thread.mdx +1 -1
- package/.docs/raw/docs/react-native/adapters.mdx +1 -1
- package/.docs/raw/docs/react-native/index.mdx +2 -2
- package/.docs/raw/docs/react-native/migration.mdx +2 -2
- package/.docs/raw/docs/react-native/primitives.mdx +142 -5
- package/.docs/raw/docs/runtimes/ag-ui/runtime-options.mdx +13 -1
- package/.docs/raw/docs/runtimes/ai-sdk/overview.mdx +3 -3
- package/.docs/raw/docs/runtimes/ai-sdk/v4-legacy.mdx +4 -4
- package/.docs/raw/docs/runtimes/ai-sdk/v7.mdx +31 -16
- package/.docs/raw/docs/runtimes/concepts/adapters.mdx +3 -3
- package/.docs/raw/docs/runtimes/concepts/architecture.mdx +3 -3
- package/.docs/raw/docs/runtimes/concepts/threads.mdx +5 -5
- package/.docs/raw/docs/runtimes/langchain.mdx +1 -1
- package/.docs/raw/docs/runtimes/opencode/quickstart.mdx +1 -1
- package/.docs/raw/docs/runtimes/pick-a-runtime.mdx +1 -1
- package/.docs/raw/docs/tools/backend.mdx +4 -4
- package/.docs/raw/docs/tools/defining-tools.mdx +2 -2
- package/.docs/raw/docs/tools/generative-ui.mdx +2 -2
- package/.docs/raw/docs/tools/interactables.mdx +3 -3
- package/.docs/raw/docs/tools/mcp-apps.mdx +18 -1
- package/.docs/raw/docs/tools/mcp.mdx +2 -2
- package/.docs/raw/docs/tools/openui.mdx +2 -2
- package/.docs/raw/docs/tools/tool-ui.mdx +17 -5
- package/.docs/raw/docs/tools/user-managed-mcp.mdx +2 -2
- package/.docs/raw/docs/ui/assistant-modal.mdx +3 -3
- package/.docs/raw/docs/ui/assistant-sidebar.mdx +1 -1
- package/.docs/raw/docs/ui/attachment.mdx +30 -10
- package/.docs/raw/docs/ui/composer-trigger-popover.mdx +36 -1
- package/.docs/raw/docs/ui/context-display.mdx +1 -1
- package/.docs/raw/docs/ui/directive-text.mdx +1 -1
- package/.docs/raw/docs/ui/file.mdx +1 -1
- package/.docs/raw/docs/ui/follow-up-suggestions.mdx +1 -1
- package/.docs/raw/docs/ui/image.mdx +1 -1
- package/.docs/raw/docs/ui/markdown.mdx +40 -1
- package/.docs/raw/docs/ui/mermaid.mdx +1 -1
- package/.docs/raw/docs/ui/message-timing.mdx +1 -1
- package/.docs/raw/docs/ui/model-selector.mdx +4 -4
- package/.docs/raw/docs/ui/part-grouping.mdx +1 -1
- package/.docs/raw/docs/ui/quote.mdx +3 -3
- package/.docs/raw/docs/ui/reasoning.mdx +31 -3
- package/.docs/raw/docs/ui/scrollbar.mdx +1 -1
- package/.docs/raw/docs/ui/sources.mdx +10 -1
- package/.docs/raw/docs/ui/streamdown.mdx +2 -2
- package/.docs/raw/docs/ui/syntax-highlighting.mdx +1 -1
- package/.docs/raw/docs/ui/thread-list.mdx +40 -1
- package/.docs/raw/docs/ui/thread.mdx +49 -2
- package/.docs/raw/docs/ui/tool-fallback.mdx +23 -9
- package/.docs/raw/docs/ui/tool-group.mdx +1 -1
- package/.docs/raw/docs/ui/voice.mdx +1 -1
- package/.docs/raw/docs/utilities/react-o11y.mdx +2 -2
- package/dist/xulux/catalog-client.d.ts.map +1 -1
- package/dist/xulux/catalog-client.js +51 -6
- package/dist/xulux/catalog-client.js.map +1 -1
- package/dist/xulux/types.d.ts +7 -7
- package/dist/xulux/types.d.ts.map +1 -1
- package/dist/xulux/types.js.map +1 -1
- package/package.json +3 -3
- package/src/tools/tests/docs.test.ts +10 -7
- package/src/tools/tests/path-traversal.test.ts +5 -2
- package/src/tools/tests/xulux-templates.test.ts +63 -0
- package/src/xulux/catalog-client.ts +68 -23
- package/src/xulux/types.ts +17 -13
- package/.docs/raw/docs/ui/accordion.mdx +0 -266
- package/.docs/raw/docs/ui/badge.mdx +0 -150
- package/.docs/raw/docs/ui/diff-viewer.mdx +0 -280
- package/.docs/raw/docs/ui/dot-matrix.mdx +0 -133
- package/.docs/raw/docs/ui/number-roll.mdx +0 -154
- package/.docs/raw/docs/ui/select.mdx +0 -254
- package/.docs/raw/docs/ui/tabs.mdx +0 -271
- /package/.docs/raw/docs/{(docs) → (getting-started)}/architecture.mdx +0 -0
- /package/.docs/raw/docs/{(docs) → (getting-started)}/base-ui.mdx +0 -0
- /package/.docs/raw/docs/{(docs) → (getting-started)}/cli.mdx +0 -0
- /package/.docs/raw/docs/{(docs) → (getting-started)}/llm.mdx +0 -0
- /package/.docs/raw/docs/{(docs) → (getting-started)}/rtl.mdx +0 -0
|
@@ -359,7 +359,7 @@ export default function Home() {
|
|
|
359
359
|
import { withAui } from "@assistant-ui/next";
|
|
360
360
|
/** @type {import('next').NextConfig} */
|
|
361
361
|
const nextConfig = {
|
|
362
|
-
transpilePackages: ["@assistant-ui/react", "@assistant-ui/
|
|
362
|
+
transpilePackages: ["@assistant-ui/react", "@assistant-ui/ai-sdk"],
|
|
363
363
|
};
|
|
364
364
|
|
|
365
365
|
export default withAui(nextConfig);
|
|
@@ -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.46",
|
|
384
384
|
"@assistant-ui/react": "workspace:*",
|
|
385
385
|
"@assistant-ui/ui": "workspace:*",
|
|
386
|
-
"ai": "^7.0.
|
|
386
|
+
"ai": "^7.0.77",
|
|
387
387
|
"class-variance-authority": "^0.7.1",
|
|
388
388
|
"clsx": "^2.1.1",
|
|
389
|
-
"lucide-react": "^1.
|
|
390
|
-
"next": "^16.3.
|
|
389
|
+
"lucide-react": "^1.33.0",
|
|
390
|
+
"next": "^16.3.2",
|
|
391
391
|
"react": "^19.2.8",
|
|
392
392
|
"react-dom": "^19.2.8",
|
|
393
393
|
"tailwind-merge": "^3.6.0"
|
|
@@ -398,7 +398,7 @@ export default withAui(nextConfig);
|
|
|
398
398
|
"@tailwindcss/postcss": "^4.3.3",
|
|
399
399
|
"@types/node": "^26.2.0",
|
|
400
400
|
"@types/react": "^19.2.18",
|
|
401
|
-
"@types/react-dom": "^19.2.
|
|
401
|
+
"@types/react-dom": "^19.2.5",
|
|
402
402
|
"postcss": "^8.5.26",
|
|
403
403
|
"tailwindcss": "^4.3.3",
|
|
404
404
|
"tw-animate-css": "^1.4.0",
|
|
@@ -443,6 +443,7 @@ Then open `http://localhost:3000`.
|
|
|
443
443
|
"@/components/assistant-ui/*": [
|
|
444
444
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
445
445
|
],
|
|
446
|
+
"@/hooks/*": ["../../packages/ui/src/hooks/*"],
|
|
446
447
|
"@/components/ui/*": [
|
|
447
448
|
"../../packages/ui/src/components/ui/base/*",
|
|
448
449
|
"../../packages/ui/src/components/ui/radix/*"
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
frontendTools,
|
|
11
11
|
type FrontendTools,
|
|
12
12
|
unstable_injectInteractableContext,
|
|
13
|
-
} from "@assistant-ui/
|
|
13
|
+
} from "@assistant-ui/ai-sdk";
|
|
14
14
|
|
|
15
15
|
export const maxDuration = 30;
|
|
16
16
|
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
useAui,
|
|
213
213
|
unstable_useInteractable,
|
|
214
214
|
} from "@assistant-ui/react";
|
|
215
|
-
import { useChatRuntime } from "@assistant-ui/
|
|
215
|
+
import { useChatRuntime } from "@assistant-ui/ai-sdk";
|
|
216
216
|
import { lastAssistantMessageIsCompleteWithToolCalls } from "ai";
|
|
217
217
|
import {
|
|
218
218
|
CheckCircle2Icon,
|
|
@@ -626,15 +626,15 @@ export default nextConfig;
|
|
|
626
626
|
"start": "next start"
|
|
627
627
|
},
|
|
628
628
|
"dependencies": {
|
|
629
|
-
"@ai-sdk/openai": "^4.0.
|
|
629
|
+
"@ai-sdk/openai": "^4.0.46",
|
|
630
|
+
"@assistant-ui/ai-sdk": "workspace:*",
|
|
630
631
|
"@assistant-ui/react": "workspace:*",
|
|
631
|
-
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
632
632
|
"@assistant-ui/ui": "workspace:*",
|
|
633
|
-
"ai": "^7.0.
|
|
633
|
+
"ai": "^7.0.77",
|
|
634
634
|
"class-variance-authority": "^0.7.1",
|
|
635
635
|
"clsx": "^2.1.1",
|
|
636
|
-
"lucide-react": "^1.
|
|
637
|
-
"next": "^16.3.
|
|
636
|
+
"lucide-react": "^1.33.0",
|
|
637
|
+
"next": "^16.3.2",
|
|
638
638
|
"react": "^19.2.8",
|
|
639
639
|
"react-dom": "^19.2.8",
|
|
640
640
|
"tailwind-merge": "^3.6.0",
|
|
@@ -645,7 +645,7 @@ export default nextConfig;
|
|
|
645
645
|
"@tailwindcss/postcss": "^4.3.3",
|
|
646
646
|
"@types/node": "^26.2.0",
|
|
647
647
|
"@types/react": "^19.2.18",
|
|
648
|
-
"@types/react-dom": "^19.2.
|
|
648
|
+
"@types/react-dom": "^19.2.5",
|
|
649
649
|
"postcss": "^8.5.26",
|
|
650
650
|
"tailwindcss": "^4.3.3",
|
|
651
651
|
"tw-animate-css": "^1.4.0",
|
|
@@ -713,6 +713,7 @@ Open [http://localhost:3000](http://localhost:3000) to see the example.
|
|
|
713
713
|
"@/components/assistant-ui/*": [
|
|
714
714
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
715
715
|
],
|
|
716
|
+
"@/hooks/*": ["../../packages/ui/src/hooks/*"],
|
|
716
717
|
"@/components/ui/*": [
|
|
717
718
|
"../../packages/ui/src/components/ui/base/*",
|
|
718
719
|
"../../packages/ui/src/components/ui/radix/*"
|
|
@@ -336,12 +336,12 @@ export default withAui(nextConfig);
|
|
|
336
336
|
"@assistant-ui/react-langchain": "workspace:*",
|
|
337
337
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
338
338
|
"@assistant-ui/ui": "workspace:*",
|
|
339
|
-
"@langchain/langgraph-sdk": "^1.9.
|
|
340
|
-
"@langchain/react": "^1.0.
|
|
339
|
+
"@langchain/langgraph-sdk": "^1.9.31",
|
|
340
|
+
"@langchain/react": "^1.0.32",
|
|
341
341
|
"class-variance-authority": "^0.7.1",
|
|
342
342
|
"clsx": "^2.1.1",
|
|
343
|
-
"lucide-react": "^1.
|
|
344
|
-
"next": "^16.3.
|
|
343
|
+
"lucide-react": "^1.33.0",
|
|
344
|
+
"next": "^16.3.2",
|
|
345
345
|
"react": "^19.2.8",
|
|
346
346
|
"react-dom": "^19.2.8",
|
|
347
347
|
"tailwind-merge": "^3.6.0"
|
|
@@ -352,7 +352,7 @@ export default withAui(nextConfig);
|
|
|
352
352
|
"@tailwindcss/postcss": "^4.3.3",
|
|
353
353
|
"@types/node": "^26.2.0",
|
|
354
354
|
"@types/react": "^19.2.18",
|
|
355
|
-
"@types/react-dom": "^19.2.
|
|
355
|
+
"@types/react-dom": "^19.2.5",
|
|
356
356
|
"postcss": "^8.5.26",
|
|
357
357
|
"tailwindcss": "^4.3.3",
|
|
358
358
|
"tw-animate-css": "^1.4.0",
|
|
@@ -426,6 +426,7 @@ Open [http://localhost:3000](http://localhost:3000).
|
|
|
426
426
|
"@/components/assistant-ui/*": [
|
|
427
427
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
428
428
|
],
|
|
429
|
+
"@/hooks/*": ["../../packages/ui/src/hooks/*"],
|
|
429
430
|
"@/components/ui/*": [
|
|
430
431
|
"../../packages/ui/src/components/ui/base/*",
|
|
431
432
|
"../../packages/ui/src/components/ui/radix/*"
|
|
@@ -747,12 +747,12 @@ export default withAui(nextConfig);
|
|
|
747
747
|
"@assistant-ui/react-langchain": "workspace:*",
|
|
748
748
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
749
749
|
"@assistant-ui/ui": "workspace:*",
|
|
750
|
-
"@langchain/langgraph-sdk": "^1.9.
|
|
751
|
-
"@langchain/react": "^1.0.
|
|
750
|
+
"@langchain/langgraph-sdk": "^1.9.31",
|
|
751
|
+
"@langchain/react": "^1.0.32",
|
|
752
752
|
"class-variance-authority": "^0.7.1",
|
|
753
753
|
"clsx": "^2.1.1",
|
|
754
|
-
"lucide-react": "^1.
|
|
755
|
-
"next": "^16.3.
|
|
754
|
+
"lucide-react": "^1.33.0",
|
|
755
|
+
"next": "^16.3.2",
|
|
756
756
|
"react": "^19.2.8",
|
|
757
757
|
"react-dom": "^19.2.8",
|
|
758
758
|
"tailwind-merge": "^3.6.0"
|
|
@@ -763,7 +763,7 @@ export default withAui(nextConfig);
|
|
|
763
763
|
"@tailwindcss/postcss": "^4.3.3",
|
|
764
764
|
"@types/node": "^26.2.0",
|
|
765
765
|
"@types/react": "^19.2.18",
|
|
766
|
-
"@types/react-dom": "^19.2.
|
|
766
|
+
"@types/react-dom": "^19.2.5",
|
|
767
767
|
"postcss": "^8.5.26",
|
|
768
768
|
"tailwindcss": "^4.3.3",
|
|
769
769
|
"tw-animate-css": "^1.4.0",
|
|
@@ -835,6 +835,7 @@ npm run dev
|
|
|
835
835
|
"@/components/assistant-ui/*": [
|
|
836
836
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
837
837
|
],
|
|
838
|
+
"@/hooks/*": ["../../packages/ui/src/hooks/*"],
|
|
838
839
|
"@/components/ui/*": [
|
|
839
840
|
"../../packages/ui/src/components/ui/base/*",
|
|
840
841
|
"../../packages/ui/src/components/ui/radix/*"
|
|
@@ -164,7 +164,7 @@ export default function RootLayout({
|
|
|
164
164
|
"use client";
|
|
165
165
|
|
|
166
166
|
import { AssistantRuntimeProvider } from "@assistant-ui/react";
|
|
167
|
-
import { useChatRuntime } from "@assistant-ui/
|
|
167
|
+
import { useChatRuntime } from "@assistant-ui/ai-sdk";
|
|
168
168
|
import { LiveKitVoiceAdapter } from "@/lib/livekit-voice-adapter";
|
|
169
169
|
import { VoiceThread } from "./voice-thread";
|
|
170
170
|
|
|
@@ -538,7 +538,7 @@ export class LiveKitVoiceAdapter implements RealtimeVoiceAdapter {
|
|
|
538
538
|
import { withAui } from "@assistant-ui/next";
|
|
539
539
|
/** @type {import('next').NextConfig} */
|
|
540
540
|
const nextConfig = {
|
|
541
|
-
transpilePackages: ["@assistant-ui/react", "@assistant-ui/
|
|
541
|
+
transpilePackages: ["@assistant-ui/react", "@assistant-ui/ai-sdk"],
|
|
542
542
|
};
|
|
543
543
|
|
|
544
544
|
export default withAui(nextConfig);
|
|
@@ -554,21 +554,21 @@ 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.46",
|
|
558
|
+
"@ai-sdk/react": "^4.0.80",
|
|
559
|
+
"@assistant-ui/ai-sdk": "workspace:*",
|
|
559
560
|
"@assistant-ui/react": "workspace:^",
|
|
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.77",
|
|
565
565
|
"class-variance-authority": "^0.7.1",
|
|
566
566
|
"clsx": "^2.1.1",
|
|
567
|
-
"livekit-client": "^2.
|
|
568
|
-
"livekit-server-sdk": "^2.
|
|
569
|
-
"lucide-react": "^1.
|
|
570
|
-
"motion": "^13.1.
|
|
571
|
-
"next": "^16.3.
|
|
567
|
+
"livekit-client": "^2.22.0",
|
|
568
|
+
"livekit-server-sdk": "^2.18.0",
|
|
569
|
+
"lucide-react": "^1.33.0",
|
|
570
|
+
"motion": "^13.1.1",
|
|
571
|
+
"next": "^16.3.2",
|
|
572
572
|
"postcss": "^8.5.26",
|
|
573
573
|
"react": "^19.2.8",
|
|
574
574
|
"react-dom": "^19.2.8",
|
|
@@ -581,7 +581,7 @@ export default withAui(nextConfig);
|
|
|
581
581
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
582
582
|
"@types/node": "^26.2.0",
|
|
583
583
|
"@types/react": "^19.2.18",
|
|
584
|
-
"@types/react-dom": "^19.2.
|
|
584
|
+
"@types/react-dom": "^19.2.5",
|
|
585
585
|
"tw-animate-css": "^1.4.0",
|
|
586
586
|
"typescript": "^7.0.2"
|
|
587
587
|
},
|
|
@@ -616,6 +616,7 @@ export default withAui(nextConfig);
|
|
|
616
616
|
"@/components/assistant-ui/*": [
|
|
617
617
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
618
618
|
],
|
|
619
|
+
"@/hooks/*": ["../../packages/ui/src/hooks/*"],
|
|
619
620
|
"@/components/ui/*": [
|
|
620
621
|
"../../packages/ui/src/components/ui/base/*",
|
|
621
622
|
"../../packages/ui/src/components/ui/radix/*"
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
```typescript
|
|
6
6
|
import { openai } from "@ai-sdk/openai";
|
|
7
|
-
import { frontendTools } from "@assistant-ui/
|
|
7
|
+
import { frontendTools } from "@assistant-ui/ai-sdk";
|
|
8
8
|
import { convertToModelMessages, streamText } from "ai";
|
|
9
9
|
|
|
10
10
|
export const maxDuration = 30;
|
|
@@ -252,7 +252,7 @@ export default function Home() {
|
|
|
252
252
|
|
|
253
253
|
import type { ReactNode } from "react";
|
|
254
254
|
import { AssistantRuntimeProvider, AuiConfig } from "@assistant-ui/react";
|
|
255
|
-
import { useChatRuntime } from "@assistant-ui/
|
|
255
|
+
import { useChatRuntime } from "@assistant-ui/ai-sdk";
|
|
256
256
|
import { McpManagerResource, defineConnector } from "@assistant-ui/react-mcp";
|
|
257
257
|
|
|
258
258
|
const connectors = [
|
|
@@ -312,6 +312,7 @@ export default nextConfig;
|
|
|
312
312
|
"@/components/assistant-ui/*": [
|
|
313
313
|
"../../../packages/ui/src/components/assistant-ui/*"
|
|
314
314
|
],
|
|
315
|
+
"@/hooks/*": ["../../../packages/ui/src/hooks/*"],
|
|
315
316
|
"@/components/ui/*": [
|
|
316
317
|
"../../../packages/ui/src/components/ui/base/*",
|
|
317
318
|
"../../../packages/ui/src/components/ui/radix/*"
|
|
@@ -382,9 +383,9 @@ export default nextConfig;
|
|
|
382
383
|
"start:server": "tsx server/server.ts"
|
|
383
384
|
},
|
|
384
385
|
"dependencies": {
|
|
385
|
-
"@ai-sdk/openai": "^4.0.
|
|
386
|
+
"@ai-sdk/openai": "^4.0.46",
|
|
387
|
+
"@assistant-ui/ai-sdk": "workspace:*",
|
|
386
388
|
"@assistant-ui/react": "workspace:*",
|
|
387
|
-
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
388
389
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
389
390
|
"@assistant-ui/react-mcp": "workspace:*",
|
|
390
391
|
"@assistant-ui/store": "workspace:*",
|
|
@@ -394,14 +395,14 @@ export default nextConfig;
|
|
|
394
395
|
"@modelcontextprotocol/node": "^2.0.0",
|
|
395
396
|
"@modelcontextprotocol/server": "^2.0.0",
|
|
396
397
|
"@modelcontextprotocol/server-legacy": "^2.0.0",
|
|
397
|
-
"ai": "^7.0.
|
|
398
|
+
"ai": "^7.0.77",
|
|
398
399
|
"assistant-stream": "workspace:*",
|
|
399
400
|
"class-variance-authority": "^0.7.1",
|
|
400
401
|
"clsx": "^2.1.1",
|
|
401
402
|
"cors": "^2.8.6",
|
|
402
403
|
"express": "^5.2.1",
|
|
403
|
-
"lucide-react": "^1.
|
|
404
|
-
"next": "^16.3.
|
|
404
|
+
"lucide-react": "^1.33.0",
|
|
405
|
+
"next": "^16.3.2",
|
|
405
406
|
"react": "^19.2.8",
|
|
406
407
|
"react-dom": "^19.2.8",
|
|
407
408
|
"tailwind-merge": "^3.6.0",
|
|
@@ -414,8 +415,8 @@ export default nextConfig;
|
|
|
414
415
|
"@types/express": "^5.0.6",
|
|
415
416
|
"@types/node": "^26.2.0",
|
|
416
417
|
"@types/react": "^19.2.18",
|
|
417
|
-
"@types/react-dom": "^19.2.
|
|
418
|
-
"concurrently": "^10.0.
|
|
418
|
+
"@types/react-dom": "^19.2.5",
|
|
419
|
+
"concurrently": "^10.0.5",
|
|
419
420
|
"postcss": "^8.5.26",
|
|
420
421
|
"tailwindcss": "^4.3.3",
|
|
421
422
|
"tsx": "^4.23.12",
|
|
@@ -754,6 +755,7 @@ main().catch((err) => {
|
|
|
754
755
|
"@/components/assistant-ui/*": [
|
|
755
756
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
756
757
|
],
|
|
758
|
+
"@/hooks/*": ["../../packages/ui/src/hooks/*"],
|
|
757
759
|
"@/components/ui/*": [
|
|
758
760
|
"../../packages/ui/src/components/ui/base/*",
|
|
759
761
|
"../../packages/ui/src/components/ui/radix/*"
|