@assistant-ui/mcp-docs-server 0.1.38 → 0.1.39
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 +8 -9
- package/.docs/organized/code-examples/with-a2a.md +16 -11
- package/.docs/organized/code-examples/with-ag-ui.md +16 -11
- package/.docs/organized/code-examples/{with-ai-sdk-v6.md → with-ai-sdk-v7.md} +32 -21
- package/.docs/organized/code-examples/with-artifacts.md +17 -10
- package/.docs/organized/code-examples/with-assistant-transport.md +15 -8
- package/.docs/organized/code-examples/with-browser-extension.md +15 -8
- package/.docs/organized/code-examples/with-chain-of-thought.md +17 -10
- package/.docs/organized/code-examples/with-cloud-standalone.md +10 -9
- package/.docs/organized/code-examples/with-cloud.md +18 -13
- package/.docs/organized/code-examples/with-custom-thread-list.md +17 -10
- package/.docs/organized/code-examples/with-elevenlabs-conversational.md +20 -13
- package/.docs/organized/code-examples/with-elevenlabs-scribe.md +20 -13
- package/.docs/organized/code-examples/with-eve.md +16 -9
- package/.docs/organized/code-examples/with-expo.md +27 -24
- package/.docs/organized/code-examples/with-external-store.md +16 -11
- package/.docs/organized/code-examples/with-ffmpeg.md +18 -13
- package/.docs/organized/code-examples/with-generative-ui.md +20 -15
- package/.docs/organized/code-examples/with-google-adk.md +15 -8
- package/.docs/organized/code-examples/with-heat-graph.md +8 -9
- package/.docs/organized/code-examples/with-image-generation.md +17 -10
- package/.docs/organized/code-examples/with-interactables.md +19 -15
- package/.docs/organized/code-examples/with-langchain.md +17 -10
- package/.docs/organized/code-examples/with-langgraph.md +17 -10
- package/.docs/organized/code-examples/with-livekit.md +21 -14
- package/.docs/organized/code-examples/with-mcp.md +25 -12
- package/.docs/organized/code-examples/with-opencode.md +22 -17
- package/.docs/organized/code-examples/with-pi.md +47 -12
- package/.docs/organized/code-examples/with-react-hook-form.md +19 -14
- package/.docs/organized/code-examples/with-react-ink-web.md +6 -6
- package/.docs/organized/code-examples/with-react-ink.md +2 -2
- package/.docs/organized/code-examples/with-react-router.md +20 -15
- package/.docs/organized/code-examples/with-resumable-stream.md +19 -12
- package/.docs/organized/code-examples/with-store.md +8 -9
- package/.docs/organized/code-examples/with-tanstack.md +16 -10
- package/.docs/organized/code-examples/with-tap-runtime.md +16 -11
- package/.docs/organized/code-examples/with-virtualized-thread.md +17 -12
- package/.docs/raw/docs/(docs)/base-ui.mdx +39 -0
- package/.docs/raw/docs/(docs)/cli.mdx +17 -1
- package/.docs/raw/docs/(docs)/installation.mdx +15 -1
- package/.docs/raw/docs/(docs)/rtl.mdx +2 -4
- package/.docs/raw/docs/(reference)/api-reference/generative-ui/actions.mdx +56 -0
- package/.docs/raw/docs/(reference)/api-reference/generative-ui/components.mdx +86 -0
- package/.docs/raw/docs/(reference)/api-reference/generative-ui/index.mdx +19 -1
- package/.docs/raw/docs/(reference)/api-reference/generative-ui/json-generative-ui.mdx +42 -0
- package/.docs/raw/docs/(reference)/api-reference/generative-ui/rendering.mdx +53 -2
- package/.docs/raw/docs/(reference)/api-reference/generative-ui/slack.mdx +81 -0
- package/.docs/raw/docs/(reference)/api-reference/generative-ui/teams.mdx +86 -0
- package/.docs/raw/docs/(reference)/api-reference/generative-ui/tokens.mdx +62 -0
- package/.docs/raw/docs/(reference)/api-reference/integrations/index.mdx +4 -1
- package/.docs/raw/docs/(reference)/api-reference/integrations/react-ai-sdk.mdx +4 -2
- package/.docs/raw/docs/(reference)/api-reference/integrations/react-data-stream.mdx +37 -0
- package/.docs/raw/docs/(reference)/api-reference/overview.mdx +1 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/assistant-if.mdx +29 -29
- package/.docs/raw/docs/(reference)/api-reference/primitives/composition.mdx +1 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/index.mdx +3 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/selection-toolbar.mdx +2 -0
- package/.docs/raw/docs/(reference)/api-reference/tools/status.mdx +0 -2
- package/.docs/raw/docs/(reference)/api-reference/tools/toolkits.mdx +12 -9
- package/.docs/raw/docs/(reference)/api-reference/utilities/miscellaneous.mdx +4 -0
- package/.docs/raw/docs/cloud/ai-sdk-assistant-ui.mdx +7 -1
- package/.docs/raw/docs/cloud/langgraph.mdx +3 -1
- package/.docs/raw/docs/guides/chatgpt-subscription.mdx +108 -0
- package/.docs/raw/docs/guides/dictation.mdx +185 -257
- package/.docs/raw/docs/guides/index.mdx +10 -0
- package/.docs/raw/docs/guides/mentions.mdx +31 -3
- package/.docs/raw/docs/guides/resumable-streams.mdx +12 -1
- package/.docs/raw/docs/guides/speech.mdx +47 -29
- package/.docs/raw/docs/guides/suggestions.mdx +70 -1
- package/.docs/raw/docs/guides/voice.mdx +197 -267
- package/.docs/raw/docs/ink/primitives.mdx +35 -1
- package/.docs/raw/docs/integrations/frameworks/ai-sdk.mdx +10 -4
- package/.docs/raw/docs/integrations/frameworks/cloudflare-agents/overview.mdx +3 -3
- package/.docs/raw/docs/integrations/frameworks/mastra/full-stack.mdx +1 -1
- package/.docs/raw/docs/integrations/frameworks/mastra/overview.mdx +3 -3
- 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 +1 -1
- package/.docs/raw/docs/integrations/observability/langfuse.mdx +1 -1
- package/.docs/raw/docs/integrations/observability/langsmith.mdx +1 -1
- package/.docs/raw/docs/migrations/index.mdx +50 -0
- package/.docs/raw/docs/migrations/toolkit-tools.mdx +4 -2
- package/.docs/raw/docs/primitives/chain-of-thought.mdx +6 -1
- package/.docs/raw/docs/primitives/composer.mdx +16 -0
- package/.docs/raw/docs/primitives/selection-toolbar.mdx +25 -0
- package/.docs/raw/docs/react-native/primitives.mdx +23 -0
- package/.docs/raw/docs/runtimes/ag-ui/agent-state.mdx +124 -0
- package/.docs/raw/docs/runtimes/ag-ui/runtime-options.mdx +10 -1
- package/.docs/raw/docs/runtimes/ai-sdk/overview.mdx +13 -4
- package/.docs/raw/docs/runtimes/ai-sdk/v4-legacy.mdx +11 -11
- package/.docs/raw/docs/runtimes/ai-sdk/v5-legacy.mdx +5 -5
- package/.docs/raw/docs/runtimes/ai-sdk/{v6.mdx → v6-legacy.mdx} +8 -6
- package/.docs/raw/docs/runtimes/ai-sdk/v7.mdx +717 -0
- package/.docs/raw/docs/runtimes/concepts/adapters.mdx +1 -1
- package/.docs/raw/docs/runtimes/concepts/architecture.mdx +1 -1
- package/.docs/raw/docs/runtimes/custom/data-stream.mdx +10 -19
- package/.docs/raw/docs/runtimes/custom/external-store.mdx +1 -1
- package/.docs/raw/docs/runtimes/custom/local-runtime.mdx +2 -0
- package/.docs/raw/docs/runtimes/eve/overview.mdx +1 -1
- package/.docs/raw/docs/runtimes/langgraph/agent-state.mdx +181 -0
- package/.docs/raw/docs/tools/backend.mdx +6 -3
- package/.docs/raw/docs/tools/defining-tools.mdx +7 -1
- package/.docs/raw/docs/tools/generative-ui.mdx +60 -2
- package/.docs/raw/docs/tools/mcp-apps.mdx +29 -11
- package/.docs/raw/docs/tools/mcp.mdx +100 -3
- package/.docs/raw/docs/tools/tool-ui.mdx +6 -4
- package/.docs/raw/docs/tools/user-managed-mcp.mdx +26 -3
- package/.docs/raw/docs/ui/accordion.mdx +16 -10
- package/.docs/raw/docs/ui/assistant-modal.mdx +8 -4
- package/.docs/raw/docs/ui/attachment.mdx +5 -1
- package/.docs/raw/docs/ui/badge.mdx +23 -12
- package/.docs/raw/docs/ui/follow-up-suggestions.mdx +2 -2
- package/.docs/raw/docs/ui/model-selector.mdx +32 -2
- package/.docs/raw/docs/ui/select.mdx +22 -14
- package/.docs/raw/docs/ui/sources.mdx +1 -1
- package/.docs/raw/docs/ui/tabs.mdx +25 -14
- package/.docs/raw/docs/utilities/heat-graph.mdx +2 -2
- package/dist/constants.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +39 -0
- package/dist/index.js.map +1 -1
- package/dist/prepare-docs/code-examples.d.ts.map +1 -1
- package/dist/prepare-docs/copy-raw.d.ts.map +1 -1
- package/dist/prompts/xulux-playground.d.ts +12 -0
- package/dist/prompts/xulux-playground.d.ts.map +1 -0
- package/dist/prompts/xulux-playground.js +33 -0
- package/dist/prompts/xulux-playground.js.map +1 -0
- package/dist/tools/docs.d.ts +2 -4
- package/dist/tools/docs.d.ts.map +1 -1
- package/dist/tools/docs.js +24 -8
- package/dist/tools/docs.js.map +1 -1
- package/dist/tools/examples.d.ts +2 -4
- package/dist/tools/examples.d.ts.map +1 -1
- package/dist/tools/examples.js +9 -6
- package/dist/tools/examples.js.map +1 -1
- package/dist/tools/resources.d.ts +0 -1
- package/dist/tools/resources.d.ts.map +1 -1
- package/dist/tools/search.d.ts +2 -5
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/tests/test-setup.d.ts.map +1 -1
- package/dist/tools/tests/test-setup.js +5 -1
- package/dist/tools/tests/test-setup.js.map +1 -1
- package/dist/tools/xulux-templates.d.ts +72 -0
- package/dist/tools/xulux-templates.d.ts.map +1 -0
- package/dist/tools/xulux-templates.js +82 -0
- package/dist/tools/xulux-templates.js.map +1 -0
- package/dist/utils/cache.d.ts +5 -0
- package/dist/utils/cache.d.ts.map +1 -0
- package/dist/utils/cache.js +18 -0
- package/dist/utils/cache.js.map +1 -0
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/mcp-format.d.ts +1 -0
- package/dist/utils/mcp-format.d.ts.map +1 -1
- package/dist/utils/mcp-format.js +7 -4
- package/dist/utils/mcp-format.js.map +1 -1
- package/dist/utils/mdx.d.ts.map +1 -1
- package/dist/utils/paths.d.ts +1 -1
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +3 -1
- package/dist/utils/paths.js.map +1 -1
- package/dist/utils/search.d.ts.map +1 -1
- package/dist/utils/security.d.ts.map +1 -1
- package/dist/xulux/catalog-client.d.ts +14 -0
- package/dist/xulux/catalog-client.d.ts.map +1 -0
- package/dist/xulux/catalog-client.js +67 -0
- package/dist/xulux/catalog-client.js.map +1 -0
- package/dist/xulux/fallback-catalog.d.ts +7 -0
- package/dist/xulux/fallback-catalog.d.ts.map +1 -0
- package/dist/xulux/fallback-catalog.js +47 -0
- package/dist/xulux/fallback-catalog.js.map +1 -0
- package/dist/xulux/fetch-sandbox.d.ts +5 -0
- package/dist/xulux/fetch-sandbox.d.ts.map +1 -0
- package/dist/xulux/fetch-sandbox.js +40 -0
- package/dist/xulux/fetch-sandbox.js.map +1 -0
- package/dist/xulux/template-service.d.ts +84 -0
- package/dist/xulux/template-service.d.ts.map +1 -0
- package/dist/xulux/template-service.js +223 -0
- package/dist/xulux/template-service.js.map +1 -0
- package/dist/xulux/types.d.ts +55 -0
- package/dist/xulux/types.d.ts.map +1 -0
- package/dist/xulux/types.js +6 -0
- package/dist/xulux/types.js.map +1 -0
- package/package.json +5 -5
- package/src/index.ts +53 -0
- package/src/prompts/xulux-playground.ts +36 -0
- package/src/tools/docs.ts +25 -3
- package/src/tools/examples.ts +15 -10
- package/src/tools/tests/docs.test.ts +20 -0
- package/src/tools/tests/examples.test.ts +5 -5
- package/src/tools/tests/listings-cache.test.ts +19 -0
- package/src/tools/tests/mcp-protocol.test.ts +81 -1
- package/src/tools/tests/test-setup.ts +8 -0
- package/src/tools/tests/xulux-templates.test.ts +262 -0
- package/src/tools/xulux-templates.ts +141 -0
- package/src/utils/cache.ts +20 -0
- package/src/utils/mcp-format.ts +8 -6
- package/src/utils/paths.ts +4 -1
- package/src/utils/tests/cache.test.ts +51 -0
- package/src/utils/tests/mcp-format.test.ts +22 -0
- package/src/utils/tests/security.test.ts +1 -1
- package/src/xulux/catalog-client.ts +105 -0
- package/src/xulux/fallback-catalog.ts +63 -0
- package/src/xulux/fetch-sandbox.ts +56 -0
- package/src/xulux/template-service.ts +406 -0
- package/src/xulux/types.ts +60 -0
- package/.docs/raw/docs/(reference)/api-reference/hooks/utilities.mdx +0 -464
|
@@ -749,9 +749,7 @@ export function WaterfallTimeline() {
|
|
|
749
749
|
import { withAui } from "@assistant-ui/next";
|
|
750
750
|
import type { NextConfig } from "next";
|
|
751
751
|
|
|
752
|
-
const nextConfig: NextConfig = {
|
|
753
|
-
/* config options here */
|
|
754
|
-
};
|
|
752
|
+
const nextConfig: NextConfig = {/* config options here */};
|
|
755
753
|
|
|
756
754
|
export default withAui(nextConfig);
|
|
757
755
|
|
|
@@ -774,20 +772,21 @@ export default withAui(nextConfig);
|
|
|
774
772
|
"@assistant-ui/react-o11y": "workspace:*",
|
|
775
773
|
"@assistant-ui/store": "workspace:*",
|
|
776
774
|
"@assistant-ui/tap": "workspace:*",
|
|
777
|
-
"next": "^16.2.
|
|
775
|
+
"next": "^16.2.10",
|
|
778
776
|
"react": "^19.2.7",
|
|
779
777
|
"react-dom": "^19.2.7"
|
|
780
778
|
},
|
|
781
779
|
"devDependencies": {
|
|
782
780
|
"@assistant-ui/next": "workspace:*",
|
|
783
781
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
784
|
-
"@tailwindcss/postcss": "^4.3.
|
|
785
|
-
"@types/node": "^26.
|
|
782
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
783
|
+
"@types/node": "^26.1.1",
|
|
786
784
|
"@types/react": "^19.2.17",
|
|
787
785
|
"@types/react-dom": "^19.2.3",
|
|
788
|
-
"postcss": "^8.5.
|
|
789
|
-
"tailwindcss": "^4.3.
|
|
790
|
-
"typescript": "
|
|
786
|
+
"postcss": "^8.5.19",
|
|
787
|
+
"tailwindcss": "^4.3.2",
|
|
788
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
789
|
+
"typescript-7": "npm:typescript@^7.0.2"
|
|
791
790
|
}
|
|
792
791
|
}
|
|
793
792
|
|
|
@@ -527,9 +527,7 @@ export default function Home() {
|
|
|
527
527
|
import { withAui } from "@assistant-ui/next";
|
|
528
528
|
import type { NextConfig } from "next";
|
|
529
529
|
|
|
530
|
-
const nextConfig: NextConfig = {
|
|
531
|
-
/* config options here */
|
|
532
|
-
};
|
|
530
|
+
const nextConfig: NextConfig = {/* config options here */};
|
|
533
531
|
|
|
534
532
|
export default withAui(nextConfig);
|
|
535
533
|
|
|
@@ -555,8 +553,8 @@ export default withAui(nextConfig);
|
|
|
555
553
|
"@assistant-ui/ui": "workspace:*",
|
|
556
554
|
"class-variance-authority": "^0.7.1",
|
|
557
555
|
"clsx": "^2.1.1",
|
|
558
|
-
"lucide-react": "^1.
|
|
559
|
-
"next": "^16.2.
|
|
556
|
+
"lucide-react": "^1.24.0",
|
|
557
|
+
"next": "^16.2.10",
|
|
560
558
|
"react": "^19.2.7",
|
|
561
559
|
"react-dom": "^19.2.7",
|
|
562
560
|
"tailwind-merge": "^3.6.0"
|
|
@@ -564,14 +562,15 @@ export default withAui(nextConfig);
|
|
|
564
562
|
"devDependencies": {
|
|
565
563
|
"@assistant-ui/next": "workspace:*",
|
|
566
564
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
567
|
-
"@tailwindcss/postcss": "^4.3.
|
|
568
|
-
"@types/node": "^26.
|
|
565
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
566
|
+
"@types/node": "^26.1.1",
|
|
569
567
|
"@types/react": "^19.2.17",
|
|
570
568
|
"@types/react-dom": "^19.2.3",
|
|
571
|
-
"postcss": "^8.5.
|
|
572
|
-
"tailwindcss": "^4.3.
|
|
569
|
+
"postcss": "^8.5.19",
|
|
570
|
+
"tailwindcss": "^4.3.2",
|
|
573
571
|
"tw-animate-css": "^1.4.0",
|
|
574
|
-
"typescript": "
|
|
572
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
573
|
+
"typescript-7": "npm:typescript@^7.0.2"
|
|
575
574
|
}
|
|
576
575
|
}
|
|
577
576
|
|
|
@@ -651,7 +650,13 @@ No proxy backend needed. `@assistant-ui/react-a2a` handles the full A2A protocol
|
|
|
651
650
|
"@/components/assistant-ui/*": [
|
|
652
651
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
653
652
|
],
|
|
654
|
-
"@/components/ui/*": [
|
|
653
|
+
"@/components/ui/*": [
|
|
654
|
+
"../../packages/ui/src/components/ui/base/*",
|
|
655
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
656
|
+
],
|
|
657
|
+
"@/components/ui/radix/*": [
|
|
658
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
659
|
+
],
|
|
655
660
|
"@/lib/utils": ["../../packages/ui/src/lib/utils"],
|
|
656
661
|
"@assistant-ui/ui/*": ["../../packages/ui/src/*"]
|
|
657
662
|
}
|
|
@@ -398,9 +398,7 @@ export default function Home() {
|
|
|
398
398
|
import { withAui } from "@assistant-ui/next";
|
|
399
399
|
import type { NextConfig } from "next";
|
|
400
400
|
|
|
401
|
-
const nextConfig: NextConfig = {
|
|
402
|
-
/* config options here */
|
|
403
|
-
};
|
|
401
|
+
const nextConfig: NextConfig = {/* config options here */};
|
|
404
402
|
|
|
405
403
|
export default withAui(nextConfig);
|
|
406
404
|
|
|
@@ -427,8 +425,8 @@ export default withAui(nextConfig);
|
|
|
427
425
|
"@assistant-ui/ui": "workspace:*",
|
|
428
426
|
"class-variance-authority": "^0.7.1",
|
|
429
427
|
"clsx": "^2.1.1",
|
|
430
|
-
"lucide-react": "^1.
|
|
431
|
-
"next": "^16.2.
|
|
428
|
+
"lucide-react": "^1.24.0",
|
|
429
|
+
"next": "^16.2.10",
|
|
432
430
|
"react": "^19.2.7",
|
|
433
431
|
"react-dom": "^19.2.7",
|
|
434
432
|
"tailwind-merge": "^3.6.0"
|
|
@@ -436,14 +434,15 @@ export default withAui(nextConfig);
|
|
|
436
434
|
"devDependencies": {
|
|
437
435
|
"@assistant-ui/next": "workspace:*",
|
|
438
436
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
439
|
-
"@tailwindcss/postcss": "^4.3.
|
|
440
|
-
"@types/node": "^26.
|
|
437
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
438
|
+
"@types/node": "^26.1.1",
|
|
441
439
|
"@types/react": "^19.2.17",
|
|
442
440
|
"@types/react-dom": "^19.2.3",
|
|
443
|
-
"postcss": "^8.5.
|
|
444
|
-
"tailwindcss": "^4.3.
|
|
441
|
+
"postcss": "^8.5.19",
|
|
442
|
+
"tailwindcss": "^4.3.2",
|
|
445
443
|
"tw-animate-css": "^1.4.0",
|
|
446
|
-
"typescript": "
|
|
444
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
445
|
+
"typescript-7": "npm:typescript@^7.0.2"
|
|
447
446
|
}
|
|
448
447
|
}
|
|
449
448
|
|
|
@@ -532,7 +531,13 @@ The included `server/agent.py` provides:
|
|
|
532
531
|
"@/components/assistant-ui/*": [
|
|
533
532
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
534
533
|
],
|
|
535
|
-
"@/components/ui/*": [
|
|
534
|
+
"@/components/ui/*": [
|
|
535
|
+
"../../packages/ui/src/components/ui/base/*",
|
|
536
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
537
|
+
],
|
|
538
|
+
"@/components/ui/radix/*": [
|
|
539
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
540
|
+
],
|
|
536
541
|
"@/lib/utils": ["../../packages/ui/src/lib/utils"],
|
|
537
542
|
"@assistant-ui/ui/*": ["../../packages/ui/src/*"]
|
|
538
543
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Example: with-ai-sdk-
|
|
1
|
+
# Example: with-ai-sdk-v7
|
|
2
2
|
|
|
3
3
|
## app/api/chat/route.ts
|
|
4
4
|
|
|
@@ -13,6 +13,8 @@ import {
|
|
|
13
13
|
tool,
|
|
14
14
|
stepCountIs,
|
|
15
15
|
zodSchema,
|
|
16
|
+
createUIMessageStreamResponse,
|
|
17
|
+
toUIMessageStream,
|
|
16
18
|
} from "ai";
|
|
17
19
|
import { z } from "zod";
|
|
18
20
|
|
|
@@ -51,7 +53,9 @@ export async function POST(req: Request) {
|
|
|
51
53
|
},
|
|
52
54
|
});
|
|
53
55
|
|
|
54
|
-
return
|
|
56
|
+
return createUIMessageStreamResponse({
|
|
57
|
+
stream: toUIMessageStream({ stream: result.stream }),
|
|
58
|
+
});
|
|
55
59
|
}
|
|
56
60
|
|
|
57
61
|
```
|
|
@@ -191,8 +195,8 @@ import type { Metadata } from "next";
|
|
|
191
195
|
import "./globals.css";
|
|
192
196
|
|
|
193
197
|
export const metadata: Metadata = {
|
|
194
|
-
title: "AI SDK
|
|
195
|
-
description: "Example using @assistant-ui/react with AI SDK
|
|
198
|
+
title: "AI SDK v7 Example",
|
|
199
|
+
description: "Example using @assistant-ui/react with AI SDK v7",
|
|
196
200
|
};
|
|
197
201
|
|
|
198
202
|
export default function RootLayout({
|
|
@@ -306,7 +310,7 @@ export default withAui(nextConfig);
|
|
|
306
310
|
|
|
307
311
|
```json
|
|
308
312
|
{
|
|
309
|
-
"name": "with-ai-sdk-
|
|
313
|
+
"name": "with-ai-sdk-v7",
|
|
310
314
|
"version": "0.0.0",
|
|
311
315
|
"private": true,
|
|
312
316
|
"type": "module",
|
|
@@ -316,16 +320,16 @@ export default withAui(nextConfig);
|
|
|
316
320
|
"start": "next start"
|
|
317
321
|
},
|
|
318
322
|
"dependencies": {
|
|
319
|
-
"@ai-sdk/openai": "^
|
|
323
|
+
"@ai-sdk/openai": "^4.0.14",
|
|
320
324
|
"@assistant-ui/react": "workspace:*",
|
|
321
325
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
322
326
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
323
327
|
"@assistant-ui/ui": "workspace:*",
|
|
324
|
-
"ai": "^
|
|
328
|
+
"ai": "^7.0.28",
|
|
325
329
|
"class-variance-authority": "^0.7.1",
|
|
326
330
|
"clsx": "^2.1.1",
|
|
327
|
-
"lucide-react": "^1.
|
|
328
|
-
"next": "^16.2.
|
|
331
|
+
"lucide-react": "^1.24.0",
|
|
332
|
+
"next": "^16.2.10",
|
|
329
333
|
"react": "^19.2.7",
|
|
330
334
|
"react-dom": "^19.2.7",
|
|
331
335
|
"tailwind-merge": "^3.6.0",
|
|
@@ -334,14 +338,15 @@ export default withAui(nextConfig);
|
|
|
334
338
|
"devDependencies": {
|
|
335
339
|
"@assistant-ui/next": "workspace:*",
|
|
336
340
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
337
|
-
"@tailwindcss/postcss": "^4.3.
|
|
338
|
-
"@types/node": "^26.
|
|
341
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
342
|
+
"@types/node": "^26.1.1",
|
|
339
343
|
"@types/react": "^19.2.17",
|
|
340
344
|
"@types/react-dom": "^19.2.3",
|
|
341
|
-
"postcss": "^8.5.
|
|
342
|
-
"tailwindcss": "^4.3.
|
|
345
|
+
"postcss": "^8.5.19",
|
|
346
|
+
"tailwindcss": "^4.3.2",
|
|
343
347
|
"tw-animate-css": "^1.4.0",
|
|
344
|
-
"typescript": "
|
|
348
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
349
|
+
"typescript-7": "npm:typescript@^7.0.2"
|
|
345
350
|
}
|
|
346
351
|
}
|
|
347
352
|
|
|
@@ -350,16 +355,16 @@ export default withAui(nextConfig);
|
|
|
350
355
|
## README.md
|
|
351
356
|
|
|
352
357
|
```markdown
|
|
353
|
-
# AI SDK
|
|
358
|
+
# AI SDK v7 Example
|
|
354
359
|
|
|
355
|
-
This example demonstrates how to use `@assistant-ui/react-ai-sdk` with the Vercel AI SDK
|
|
360
|
+
This example demonstrates how to use `@assistant-ui/react-ai-sdk` with the Vercel AI SDK v7.
|
|
356
361
|
|
|
357
362
|
## Quick Start
|
|
358
363
|
|
|
359
364
|
### Using CLI (Recommended)
|
|
360
365
|
|
|
361
366
|
```bash
|
|
362
|
-
npx assistant-ui@latest create my-app --example with-ai-sdk-
|
|
367
|
+
npx assistant-ui@latest create my-app --example with-ai-sdk-v7
|
|
363
368
|
cd my-app
|
|
364
369
|
```
|
|
365
370
|
|
|
@@ -382,10 +387,10 @@ Open [http://localhost:3000](http://localhost:3000) to see the result.
|
|
|
382
387
|
|
|
383
388
|
## Key Features
|
|
384
389
|
|
|
385
|
-
- Uses the new AI SDK
|
|
390
|
+
- Uses the new AI SDK v7 with `@ai-sdk/openai`
|
|
386
391
|
- Integrates with `@assistant-ui/react` using the new `useChatRuntime` hook
|
|
387
392
|
- No RSC support (client-side only)
|
|
388
|
-
- Simplified integration with the `useChatRuntime` hook that wraps AI SDK
|
|
393
|
+
- Simplified integration with the `useChatRuntime` hook that wraps AI SDK v7's `useChat`
|
|
389
394
|
- Uses `AssistantChatTransport` to pass system messages and frontend tools to the backend
|
|
390
395
|
|
|
391
396
|
## Custom Transport Configuration
|
|
@@ -420,7 +425,7 @@ const runtime = useChatRuntime({
|
|
|
420
425
|
|
|
421
426
|
## API Route
|
|
422
427
|
|
|
423
|
-
The API route at `/api/chat` uses AI SDK
|
|
428
|
+
The API route at `/api/chat` uses AI SDK v7 `streamText`, forwards `system` and frontend `tools`, and merges them with a server-defined weather tool.
|
|
424
429
|
|
|
425
430
|
## Related Documentation
|
|
426
431
|
|
|
@@ -440,7 +445,13 @@ The API route at `/api/chat` uses AI SDK v6 `streamText`, forwards `system` and
|
|
|
440
445
|
"@/components/assistant-ui/*": [
|
|
441
446
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
442
447
|
],
|
|
443
|
-
"@/components/ui/*": [
|
|
448
|
+
"@/components/ui/*": [
|
|
449
|
+
"../../packages/ui/src/components/ui/base/*",
|
|
450
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
451
|
+
],
|
|
452
|
+
"@/components/ui/radix/*": [
|
|
453
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
454
|
+
],
|
|
444
455
|
"@/lib/utils": ["../../packages/ui/src/lib/utils"],
|
|
445
456
|
"@assistant-ui/ui/*": ["../../packages/ui/src/*"]
|
|
446
457
|
}
|
|
@@ -426,16 +426,16 @@ export default withAui(nextConfig);
|
|
|
426
426
|
"start": "next start"
|
|
427
427
|
},
|
|
428
428
|
"dependencies": {
|
|
429
|
-
"@ai-sdk/openai": "^
|
|
429
|
+
"@ai-sdk/openai": "^4.0.14",
|
|
430
430
|
"@assistant-ui/react": "workspace:*",
|
|
431
431
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
432
432
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
433
433
|
"@assistant-ui/ui": "workspace:*",
|
|
434
|
-
"ai": "^
|
|
434
|
+
"ai": "^7.0.28",
|
|
435
435
|
"class-variance-authority": "^0.7.1",
|
|
436
436
|
"clsx": "^2.1.1",
|
|
437
|
-
"lucide-react": "^1.
|
|
438
|
-
"next": "^16.2.
|
|
437
|
+
"lucide-react": "^1.24.0",
|
|
438
|
+
"next": "^16.2.10",
|
|
439
439
|
"react": "^19.2.7",
|
|
440
440
|
"react-dom": "^19.2.7",
|
|
441
441
|
"tailwind-merge": "^3.6.0",
|
|
@@ -444,14 +444,15 @@ export default withAui(nextConfig);
|
|
|
444
444
|
"devDependencies": {
|
|
445
445
|
"@assistant-ui/next": "workspace:*",
|
|
446
446
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
447
|
-
"@tailwindcss/postcss": "^4.3.
|
|
448
|
-
"@types/node": "^26.
|
|
447
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
448
|
+
"@types/node": "^26.1.1",
|
|
449
449
|
"@types/react": "^19.2.17",
|
|
450
450
|
"@types/react-dom": "^19.2.3",
|
|
451
|
-
"postcss": "^8.5.
|
|
452
|
-
"tailwindcss": "^4.3.
|
|
451
|
+
"postcss": "^8.5.19",
|
|
452
|
+
"tailwindcss": "^4.3.2",
|
|
453
453
|
"tw-animate-css": "^1.4.0",
|
|
454
|
-
"typescript": "
|
|
454
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
455
|
+
"typescript-7": "npm:typescript@^7.0.2"
|
|
455
456
|
}
|
|
456
457
|
}
|
|
457
458
|
|
|
@@ -468,7 +469,13 @@ export default withAui(nextConfig);
|
|
|
468
469
|
"@/components/assistant-ui/*": [
|
|
469
470
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
470
471
|
],
|
|
471
|
-
"@/components/ui/*": [
|
|
472
|
+
"@/components/ui/*": [
|
|
473
|
+
"../../packages/ui/src/components/ui/base/*",
|
|
474
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
475
|
+
],
|
|
476
|
+
"@/components/ui/radix/*": [
|
|
477
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
478
|
+
],
|
|
472
479
|
"@/lib/utils": ["../../packages/ui/src/lib/utils"],
|
|
473
480
|
"@assistant-ui/ui/*": ["../../packages/ui/src/*"]
|
|
474
481
|
}
|
|
@@ -449,8 +449,8 @@ export default withAui(nextConfig);
|
|
|
449
449
|
"@assistant-ui/ui": "workspace:*",
|
|
450
450
|
"class-variance-authority": "^0.7.1",
|
|
451
451
|
"clsx": "^2.1.1",
|
|
452
|
-
"lucide-react": "^1.
|
|
453
|
-
"next": "^16.2.
|
|
452
|
+
"lucide-react": "^1.24.0",
|
|
453
|
+
"next": "^16.2.10",
|
|
454
454
|
"react": "^19.2.7",
|
|
455
455
|
"react-dom": "^19.2.7",
|
|
456
456
|
"tailwind-merge": "^3.6.0",
|
|
@@ -459,14 +459,15 @@ export default withAui(nextConfig);
|
|
|
459
459
|
"devDependencies": {
|
|
460
460
|
"@assistant-ui/next": "workspace:*",
|
|
461
461
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
462
|
-
"@tailwindcss/postcss": "^4.3.
|
|
463
|
-
"@types/node": "^26.
|
|
462
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
463
|
+
"@types/node": "^26.1.1",
|
|
464
464
|
"@types/react": "^19.2.17",
|
|
465
465
|
"@types/react-dom": "^19.2.3",
|
|
466
|
-
"postcss": "^8.5.
|
|
467
|
-
"tailwindcss": "^4.3.
|
|
466
|
+
"postcss": "^8.5.19",
|
|
467
|
+
"tailwindcss": "^4.3.2",
|
|
468
468
|
"tw-animate-css": "^1.4.0",
|
|
469
|
-
"typescript": "
|
|
469
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
470
|
+
"typescript-7": "npm:typescript@^7.0.2"
|
|
470
471
|
}
|
|
471
472
|
}
|
|
472
473
|
|
|
@@ -563,7 +564,13 @@ Your backend server should:
|
|
|
563
564
|
"@/components/assistant-ui/*": [
|
|
564
565
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
565
566
|
],
|
|
566
|
-
"@/components/ui/*": [
|
|
567
|
+
"@/components/ui/*": [
|
|
568
|
+
"../../packages/ui/src/components/ui/base/*",
|
|
569
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
570
|
+
],
|
|
571
|
+
"@/components/ui/radix/*": [
|
|
572
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
573
|
+
],
|
|
567
574
|
"@/lib/utils": ["../../packages/ui/src/lib/utils"],
|
|
568
575
|
"@assistant-ui/ui/*": ["../../packages/ui/src/*"]
|
|
569
576
|
}
|
|
@@ -79,6 +79,13 @@ chrome.action.onClicked.addListener((tab) => {
|
|
|
79
79
|
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
+
## globals.d.ts
|
|
83
|
+
|
|
84
|
+
```typescript
|
|
85
|
+
declare module "*.css";
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
|
|
82
89
|
## manifest.json
|
|
83
90
|
|
|
84
91
|
```json
|
|
@@ -229,23 +236,23 @@ export function MyThread() {
|
|
|
229
236
|
"@assistant-ui/ui": "workspace:*",
|
|
230
237
|
"class-variance-authority": "^0.7.1",
|
|
231
238
|
"clsx": "^2.1.1",
|
|
232
|
-
"lucide-react": "^1.
|
|
239
|
+
"lucide-react": "^1.24.0",
|
|
233
240
|
"react": "^19.2.7",
|
|
234
241
|
"react-dom": "^19.2.7",
|
|
235
242
|
"tailwind-merge": "^3.6.0"
|
|
236
243
|
},
|
|
237
244
|
"devDependencies": {
|
|
238
|
-
"@tailwindcss/postcss": "^4.3.
|
|
239
|
-
"@types/chrome": "^0.2.
|
|
240
|
-
"@types/node": "^26.
|
|
245
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
246
|
+
"@types/chrome": "^0.2.2",
|
|
247
|
+
"@types/node": "^26.1.1",
|
|
241
248
|
"@types/react": "^19.2.17",
|
|
242
249
|
"@types/react-dom": "^19.2.3",
|
|
243
250
|
"esbuild": "^0.28.1",
|
|
244
|
-
"postcss": "^8.5.
|
|
245
|
-
"tailwindcss": "^4.3.
|
|
246
|
-
"tsx": "^4.
|
|
251
|
+
"postcss": "^8.5.19",
|
|
252
|
+
"tailwindcss": "^4.3.2",
|
|
253
|
+
"tsx": "^4.23.1",
|
|
247
254
|
"tw-animate-css": "^1.4.0",
|
|
248
|
-
"typescript": "^
|
|
255
|
+
"typescript": "^7.0.2"
|
|
249
256
|
}
|
|
250
257
|
}
|
|
251
258
|
|
|
@@ -800,16 +800,16 @@ export default withAui(nextConfig);
|
|
|
800
800
|
"start": "next start"
|
|
801
801
|
},
|
|
802
802
|
"dependencies": {
|
|
803
|
-
"@ai-sdk/openai": "^
|
|
803
|
+
"@ai-sdk/openai": "^4.0.14",
|
|
804
804
|
"@assistant-ui/react": "workspace:*",
|
|
805
805
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
806
806
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
807
807
|
"@assistant-ui/ui": "workspace:*",
|
|
808
|
-
"ai": "^
|
|
808
|
+
"ai": "^7.0.28",
|
|
809
809
|
"class-variance-authority": "^0.7.1",
|
|
810
810
|
"clsx": "^2.1.1",
|
|
811
|
-
"lucide-react": "^1.
|
|
812
|
-
"next": "^16.2.
|
|
811
|
+
"lucide-react": "^1.24.0",
|
|
812
|
+
"next": "^16.2.10",
|
|
813
813
|
"react": "^19.2.7",
|
|
814
814
|
"react-dom": "^19.2.7",
|
|
815
815
|
"tailwind-merge": "^3.6.0",
|
|
@@ -818,14 +818,15 @@ export default withAui(nextConfig);
|
|
|
818
818
|
"devDependencies": {
|
|
819
819
|
"@assistant-ui/next": "workspace:*",
|
|
820
820
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
821
|
-
"@tailwindcss/postcss": "^4.3.
|
|
822
|
-
"@types/node": "^26.
|
|
821
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
822
|
+
"@types/node": "^26.1.1",
|
|
823
823
|
"@types/react": "^19.2.17",
|
|
824
824
|
"@types/react-dom": "^19.2.3",
|
|
825
|
-
"postcss": "^8.5.
|
|
826
|
-
"tailwindcss": "^4.3.
|
|
825
|
+
"postcss": "^8.5.19",
|
|
826
|
+
"tailwindcss": "^4.3.2",
|
|
827
827
|
"tw-animate-css": "^1.4.0",
|
|
828
|
-
"typescript": "
|
|
828
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
829
|
+
"typescript-7": "npm:typescript@^7.0.2"
|
|
829
830
|
}
|
|
830
831
|
}
|
|
831
832
|
|
|
@@ -933,7 +934,13 @@ Chain-of-thought, tool calls, and citation sources are the parts of an assistant
|
|
|
933
934
|
"@/components/assistant-ui/*": [
|
|
934
935
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
935
936
|
],
|
|
936
|
-
"@/components/ui/*": [
|
|
937
|
+
"@/components/ui/*": [
|
|
938
|
+
"../../packages/ui/src/components/ui/base/*",
|
|
939
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
940
|
+
],
|
|
941
|
+
"@/components/ui/radix/*": [
|
|
942
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
943
|
+
],
|
|
937
944
|
"@/lib/utils": ["../../packages/ui/src/lib/utils"],
|
|
938
945
|
"@assistant-ui/ui/*": ["../../packages/ui/src/*"],
|
|
939
946
|
"@assistant-ui/*": ["../../packages/*/src"],
|
|
@@ -568,13 +568,13 @@ export default withAui(nextConfig);
|
|
|
568
568
|
"start": "next start"
|
|
569
569
|
},
|
|
570
570
|
"dependencies": {
|
|
571
|
-
"@ai-sdk/openai": "^
|
|
571
|
+
"@ai-sdk/openai": "^4.0.14",
|
|
572
572
|
"@assistant-ui/cloud-ai-sdk": "workspace:*",
|
|
573
|
-
"ai": "^
|
|
573
|
+
"ai": "^7.0.28",
|
|
574
574
|
"class-variance-authority": "^0.7.1",
|
|
575
575
|
"clsx": "^2.1.1",
|
|
576
|
-
"lucide-react": "^1.
|
|
577
|
-
"next": "^16.2.
|
|
576
|
+
"lucide-react": "^1.24.0",
|
|
577
|
+
"next": "^16.2.10",
|
|
578
578
|
"react": "^19.2.7",
|
|
579
579
|
"react-dom": "^19.2.7",
|
|
580
580
|
"tailwind-merge": "^3.6.0"
|
|
@@ -582,14 +582,15 @@ export default withAui(nextConfig);
|
|
|
582
582
|
"devDependencies": {
|
|
583
583
|
"@assistant-ui/next": "workspace:*",
|
|
584
584
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
585
|
-
"@tailwindcss/postcss": "^4.3.
|
|
586
|
-
"@types/node": "^26.
|
|
585
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
586
|
+
"@types/node": "^26.1.1",
|
|
587
587
|
"@types/react": "^19.2.17",
|
|
588
588
|
"@types/react-dom": "^19.2.3",
|
|
589
|
-
"postcss": "^8.5.
|
|
590
|
-
"tailwindcss": "^4.3.
|
|
589
|
+
"postcss": "^8.5.19",
|
|
590
|
+
"tailwindcss": "^4.3.2",
|
|
591
591
|
"tw-animate-css": "^1.4.0",
|
|
592
|
-
"typescript": "
|
|
592
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
593
|
+
"typescript-7": "npm:typescript@^7.0.2"
|
|
593
594
|
}
|
|
594
595
|
}
|
|
595
596
|
|
|
@@ -306,9 +306,7 @@ export default function Home() {
|
|
|
306
306
|
import { withAui } from "@assistant-ui/next";
|
|
307
307
|
import type { NextConfig } from "next";
|
|
308
308
|
|
|
309
|
-
const nextConfig: NextConfig = {
|
|
310
|
-
/* config options here */
|
|
311
|
-
};
|
|
309
|
+
const nextConfig: NextConfig = {/* config options here */};
|
|
312
310
|
|
|
313
311
|
export default withAui(nextConfig);
|
|
314
312
|
|
|
@@ -328,16 +326,16 @@ export default withAui(nextConfig);
|
|
|
328
326
|
"start": "next start"
|
|
329
327
|
},
|
|
330
328
|
"dependencies": {
|
|
331
|
-
"@ai-sdk/openai": "^
|
|
329
|
+
"@ai-sdk/openai": "^4.0.14",
|
|
332
330
|
"@assistant-ui/react": "workspace:*",
|
|
333
331
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
334
332
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
335
333
|
"@assistant-ui/ui": "workspace:*",
|
|
336
|
-
"ai": "^
|
|
334
|
+
"ai": "^7.0.28",
|
|
337
335
|
"class-variance-authority": "^0.7.1",
|
|
338
336
|
"clsx": "^2.1.1",
|
|
339
|
-
"lucide-react": "^1.
|
|
340
|
-
"next": "^16.2.
|
|
337
|
+
"lucide-react": "^1.24.0",
|
|
338
|
+
"next": "^16.2.10",
|
|
341
339
|
"react": "^19.2.7",
|
|
342
340
|
"react-dom": "^19.2.7",
|
|
343
341
|
"tailwind-merge": "^3.6.0"
|
|
@@ -345,14 +343,15 @@ export default withAui(nextConfig);
|
|
|
345
343
|
"devDependencies": {
|
|
346
344
|
"@assistant-ui/next": "workspace:*",
|
|
347
345
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
348
|
-
"@tailwindcss/postcss": "^4.3.
|
|
349
|
-
"@types/node": "^26.
|
|
346
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
347
|
+
"@types/node": "^26.1.1",
|
|
350
348
|
"@types/react": "^19.2.17",
|
|
351
349
|
"@types/react-dom": "^19.2.3",
|
|
352
|
-
"postcss": "^8.5.
|
|
353
|
-
"tailwindcss": "^4.3.
|
|
350
|
+
"postcss": "^8.5.19",
|
|
351
|
+
"tailwindcss": "^4.3.2",
|
|
354
352
|
"tw-animate-css": "^1.4.0",
|
|
355
|
-
"typescript": "
|
|
353
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
354
|
+
"typescript-7": "npm:typescript@^7.0.2"
|
|
356
355
|
}
|
|
357
356
|
}
|
|
358
357
|
|
|
@@ -415,7 +414,13 @@ npm run dev
|
|
|
415
414
|
"@/components/assistant-ui/*": [
|
|
416
415
|
"../../packages/ui/src/components/assistant-ui/*"
|
|
417
416
|
],
|
|
418
|
-
"@/components/ui/*": [
|
|
417
|
+
"@/components/ui/*": [
|
|
418
|
+
"../../packages/ui/src/components/ui/base/*",
|
|
419
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
420
|
+
],
|
|
421
|
+
"@/components/ui/radix/*": [
|
|
422
|
+
"../../packages/ui/src/components/ui/radix/*"
|
|
423
|
+
],
|
|
419
424
|
"@/lib/utils": ["../../packages/ui/src/lib/utils"],
|
|
420
425
|
"@assistant-ui/ui/*": ["../../packages/ui/src/*"]
|
|
421
426
|
}
|