@assistant-ui/mcp-docs-server 0.1.35 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.docs/organized/code-examples/waterfall.md +1 -1
- package/.docs/organized/code-examples/with-a2a.md +2 -2
- package/.docs/organized/code-examples/with-ag-ui.md +2 -2
- package/.docs/organized/code-examples/with-ai-sdk-v6.md +4 -4
- package/.docs/organized/code-examples/with-artifacts.md +4 -4
- package/.docs/organized/code-examples/with-assistant-transport.md +70 -54
- package/.docs/organized/code-examples/with-browser-extension.md +4 -4
- package/.docs/organized/code-examples/with-chain-of-thought.md +40 -89
- package/.docs/organized/code-examples/with-cloud-standalone.md +4 -4
- package/.docs/organized/code-examples/with-cloud.md +4 -4
- package/.docs/organized/code-examples/with-custom-thread-list.md +4 -4
- package/.docs/organized/code-examples/with-elevenlabs-conversational.md +7 -7
- package/.docs/organized/code-examples/with-elevenlabs-scribe.md +7 -7
- package/.docs/organized/code-examples/with-eve.md +343 -0
- package/.docs/organized/code-examples/with-expo.md +910 -933
- package/.docs/organized/code-examples/with-external-store.md +2 -2
- package/.docs/organized/code-examples/with-ffmpeg.md +5 -8
- package/.docs/organized/code-examples/with-generative-ui.md +6 -6
- package/.docs/organized/code-examples/with-google-adk.md +3 -3
- package/.docs/organized/code-examples/with-heat-graph.md +1 -1
- package/.docs/organized/code-examples/with-image-generation.md +4 -4
- package/.docs/organized/code-examples/with-interactables.md +166 -338
- package/.docs/organized/code-examples/with-langchain.md +4 -4
- package/.docs/organized/code-examples/with-langgraph.md +20 -157
- package/.docs/organized/code-examples/with-livekit.md +8 -8
- package/.docs/organized/code-examples/with-mcp.md +19 -10
- package/.docs/organized/code-examples/with-opencode.md +3 -3
- package/.docs/organized/code-examples/with-pi.md +9 -7
- package/.docs/organized/code-examples/with-react-hook-form.md +13 -6
- package/.docs/organized/code-examples/with-react-ink-web.md +5 -5
- package/.docs/organized/code-examples/with-react-ink.md +1 -1
- package/.docs/organized/code-examples/with-react-router.md +11 -11
- package/.docs/organized/code-examples/with-resumable-stream.md +5 -5
- package/.docs/organized/code-examples/with-store.md +1 -1
- package/.docs/organized/code-examples/with-tanstack.md +7 -7
- package/.docs/organized/code-examples/with-tap-runtime.md +2 -2
- package/.docs/organized/code-examples/with-virtualized-thread.md +44 -24
- package/.docs/raw/docs/(docs)/cli.mdx +5 -3
- package/.docs/raw/docs/(docs)/devtools.mdx +25 -2
- package/.docs/raw/docs/(docs)/index.mdx +5 -2
- package/.docs/raw/docs/(docs)/installation.mdx +5 -2
- package/.docs/raw/docs/(reference)/api-reference/external-store/message-conversion.mdx +16 -16
- package/.docs/raw/docs/(reference)/api-reference/hooks/composer-triggers.mdx +73 -42
- package/.docs/raw/docs/(reference)/api-reference/hooks/model-context.mdx +3 -20
- package/.docs/raw/docs/(reference)/api-reference/hooks/primitives.mdx +234 -166
- package/.docs/raw/docs/(reference)/api-reference/integrations/eve.mdx +51 -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 +70 -38
- package/.docs/raw/docs/(reference)/api-reference/primitives/action-bar.mdx +30 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/attachment.mdx +7 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/branch-picker.mdx +26 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/chain-of-thought.mdx +15 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/composer.mdx +103 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/message-part.mdx +16 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/message.mdx +56 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/queue-item.mdx +12 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/selection-toolbar.mdx +12 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/suggestion.mdx +14 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/thread.mdx +57 -1
- package/.docs/raw/docs/(reference)/api-reference/tools/index.mdx +6 -0
- package/.docs/raw/docs/(reference)/api-reference/tools/interactables-legacy.mdx +55 -0
- package/.docs/raw/docs/(reference)/api-reference/tools/interactables.mdx +151 -0
- package/.docs/raw/docs/(reference)/api-reference/tools/rendering.mdx +15 -15
- package/.docs/raw/docs/(reference)/api-reference/tools/toolkits.mdx +20 -20
- package/.docs/raw/docs/(reference)/api-reference/utilities/miscellaneous.mdx +25 -9
- package/.docs/raw/docs/cloud/langgraph.mdx +1 -1
- package/.docs/raw/docs/guides/headless-composer-input.mdx +113 -0
- package/.docs/raw/docs/guides/latex.mdx +28 -22
- package/.docs/raw/docs/guides/mentions.mdx +32 -7
- package/.docs/raw/docs/guides/slash-commands.mdx +3 -6
- package/.docs/raw/docs/guides/speech.mdx +5 -7
- package/.docs/raw/docs/guides/virtualization.mdx +77 -7
- package/.docs/raw/docs/guides/voice.mdx +3 -2
- package/.docs/raw/docs/integrations/attachments/custom-adapter.mdx +4 -12
- package/.docs/raw/docs/integrations/auth/better-auth.mdx +7 -10
- package/.docs/raw/docs/integrations/auth/clerk.mdx +3 -9
- package/.docs/raw/docs/integrations/auth/next-auth.mdx +3 -8
- package/.docs/raw/docs/integrations/frameworks/ai-sdk.mdx +11 -8
- package/.docs/raw/docs/integrations/index.mdx +6 -13
- package/.docs/raw/docs/integrations/observability/helicone.mdx +3 -4
- package/.docs/raw/docs/integrations/observability/langfuse.mdx +3 -5
- package/.docs/raw/docs/integrations/observability/langsmith.mdx +5 -4
- package/.docs/raw/docs/integrations/persistence/custom-adapter.mdx +4 -3
- package/.docs/raw/docs/migrations/react-langgraph-v0-7.mdx +2 -2
- package/.docs/raw/docs/primitives/composer.mdx +8 -0
- package/.docs/raw/docs/primitives/thread-list.mdx +30 -6
- package/.docs/raw/docs/primitives/thread.mdx +24 -0
- package/.docs/raw/docs/runtimes/a2a/quickstart.mdx +1 -1
- package/.docs/raw/docs/runtimes/ag-ui/quickstart.mdx +1 -1
- package/.docs/raw/docs/runtimes/ag-ui/runtime-options.mdx +24 -1
- package/.docs/raw/docs/runtimes/ai-sdk/v6.mdx +1 -1
- package/.docs/raw/docs/runtimes/custom/external-store.mdx +54 -0
- package/.docs/raw/docs/runtimes/eve/overview.mdx +100 -0
- package/.docs/raw/docs/runtimes/eve/quickstart.mdx +143 -0
- package/.docs/raw/docs/runtimes/google-adk/quickstart.mdx +1 -1
- package/.docs/raw/docs/runtimes/langchain.mdx +388 -20
- package/.docs/raw/docs/runtimes/langgraph/quickstart.mdx +1 -1
- package/.docs/raw/docs/runtimes/langgraph/tutorial/part-1.mdx +1 -1
- package/.docs/raw/docs/runtimes/opencode/hooks.mdx +1 -1
- package/.docs/raw/docs/runtimes/pick-a-runtime.mdx +6 -0
- package/.docs/raw/docs/tools/defining-tools.mdx +9 -0
- package/.docs/raw/docs/tools/generative-ui.mdx +37 -0
- package/.docs/raw/docs/tools/interactables-legacy.mdx +410 -0
- package/.docs/raw/docs/tools/interactables.mdx +892 -223
- package/.docs/raw/docs/tools/mcp-apps.mdx +12 -3
- package/.docs/raw/docs/tools/mcp.mdx +9 -4
- package/.docs/raw/docs/tools/multi-agent.mdx +5 -0
- package/.docs/raw/docs/tools/user-managed-mcp.mdx +17 -3
- package/.docs/raw/docs/ui/composer-trigger-popover.mdx +2 -0
- package/.docs/raw/docs/ui/file.mdx +1 -1
- package/.docs/raw/docs/ui/follow-up-suggestions.mdx +80 -0
- package/.docs/raw/docs/ui/model-selector.mdx +38 -5
- package/.docs/raw/docs/ui/part-grouping.mdx +38 -0
- package/.docs/raw/docs/utilities/react-o11y.mdx +92 -6
- package/README.md +1 -1
- package/dist/constants.d.ts +2 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +2 -1
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +30 -2
- package/dist/index.js.map +1 -1
- package/dist/prepare-docs/copy-raw.d.ts.map +1 -1
- package/dist/prepare-docs/copy-raw.js +0 -4
- package/dist/prepare-docs/copy-raw.js.map +1 -1
- package/dist/tools/docs.d.ts.map +1 -1
- package/dist/tools/docs.js +18 -6
- package/dist/tools/docs.js.map +1 -1
- package/dist/tools/examples.d.ts +3 -1
- package/dist/tools/examples.d.ts.map +1 -1
- package/dist/tools/examples.js +1 -1
- package/dist/tools/examples.js.map +1 -1
- package/dist/tools/resources.d.ts +7 -0
- package/dist/tools/resources.d.ts.map +1 -0
- package/dist/tools/resources.js +74 -0
- package/dist/tools/resources.js.map +1 -0
- package/dist/tools/search.d.ts +33 -0
- package/dist/tools/search.d.ts.map +1 -0
- package/dist/tools/search.js +39 -0
- package/dist/tools/search.js.map +1 -0
- package/dist/tools/tests/test-setup.d.ts.map +1 -1
- package/dist/tools/tests/test-setup.js +3 -1
- package/dist/tools/tests/test-setup.js.map +1 -1
- package/dist/utils/mdx.d.ts +2 -1
- package/dist/utils/mdx.d.ts.map +1 -1
- package/dist/utils/mdx.js +19 -2
- package/dist/utils/mdx.js.map +1 -1
- package/dist/utils/paths.d.ts +2 -1
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +18 -1
- package/dist/utils/paths.js.map +1 -1
- package/dist/utils/search.d.ts +10 -0
- package/dist/utils/search.d.ts.map +1 -0
- package/dist/utils/search.js +97 -0
- package/dist/utils/search.js.map +1 -0
- package/package.json +4 -4
- package/src/constants.ts +2 -0
- package/src/index.ts +28 -6
- package/src/prepare-docs/copy-raw.ts +0 -5
- package/src/tools/docs.ts +30 -4
- package/src/tools/examples.ts +4 -2
- package/src/tools/resources.ts +114 -0
- package/src/tools/search.ts +46 -0
- package/src/tools/tests/completions.test.ts +46 -0
- package/src/tools/tests/directory-size-cap.test.ts +50 -0
- package/src/tools/tests/mcp-protocol.test.ts +21 -1
- package/src/tools/tests/resources.test.ts +102 -0
- package/src/tools/tests/search.test.ts +37 -0
- package/src/tools/tests/test-setup.ts +2 -0
- package/src/utils/mdx.ts +21 -1
- package/src/utils/paths.ts +22 -0
- package/src/utils/search.ts +131 -0
- package/.docs/raw/blog/2024-07-29-hello/index.mdx +0 -64
- package/.docs/raw/blog/2024-09-11/index.mdx +0 -10
- package/.docs/raw/blog/2024-12-15/index.mdx +0 -10
- package/.docs/raw/blog/2025-01-31-changelog/index.mdx +0 -127
- package/.docs/raw/blog/2026-03-launch-week/index.mdx +0 -258
|
@@ -320,7 +320,7 @@ export default withAui(nextConfig);
|
|
|
320
320
|
"@assistant-ui/ui": "workspace:*",
|
|
321
321
|
"class-variance-authority": "^0.7.1",
|
|
322
322
|
"clsx": "^2.1.1",
|
|
323
|
-
"lucide-react": "^1.
|
|
323
|
+
"lucide-react": "^1.21.0",
|
|
324
324
|
"next": "^16.2.9",
|
|
325
325
|
"react": "^19.2.7",
|
|
326
326
|
"react-dom": "^19.2.7",
|
|
@@ -330,7 +330,7 @@ export default withAui(nextConfig);
|
|
|
330
330
|
"@assistant-ui/next": "workspace:*",
|
|
331
331
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
332
332
|
"@tailwindcss/postcss": "^4.3.1",
|
|
333
|
-
"@types/node": "^
|
|
333
|
+
"@types/node": "^26.0.0",
|
|
334
334
|
"@types/react": "^19.2.17",
|
|
335
335
|
"@types/react-dom": "^19.2.3",
|
|
336
336
|
"postcss": "^8.5.15",
|
|
@@ -188,14 +188,11 @@ export default function RootLayout({
|
|
|
188
188
|
```tsx
|
|
189
189
|
"use client";
|
|
190
190
|
|
|
191
|
-
import { AssistantRuntimeProvider } from "@assistant-ui/react";
|
|
191
|
+
import { AssistantRuntimeProvider, generateId } from "@assistant-ui/react";
|
|
192
192
|
import type { AttachmentAdapter } from "@assistant-ui/react";
|
|
193
193
|
import { useChatRuntime } from "@assistant-ui/react-ai-sdk";
|
|
194
|
-
import { INTERNAL } from "@assistant-ui/react";
|
|
195
194
|
import { lastAssistantMessageIsCompleteWithToolCalls } from "ai";
|
|
196
195
|
|
|
197
|
-
const { generateId } = INTERNAL;
|
|
198
|
-
|
|
199
196
|
const attachmentAdapter: AttachmentAdapter = {
|
|
200
197
|
accept: "image/*,video/*,audio/*",
|
|
201
198
|
async add({ file }) {
|
|
@@ -718,17 +715,17 @@ export default withAui(nextConfig);
|
|
|
718
715
|
"start": "next start"
|
|
719
716
|
},
|
|
720
717
|
"dependencies": {
|
|
721
|
-
"@ai-sdk/openai": "^3.0.
|
|
718
|
+
"@ai-sdk/openai": "^3.0.74",
|
|
722
719
|
"@assistant-ui/react": "workspace:*",
|
|
723
720
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
724
721
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
725
722
|
"@assistant-ui/ui": "workspace:*",
|
|
726
723
|
"@ffmpeg/ffmpeg": "^0.12.15",
|
|
727
724
|
"@ffmpeg/util": "^0.12.2",
|
|
728
|
-
"ai": "^6.0.
|
|
725
|
+
"ai": "^6.0.209",
|
|
729
726
|
"class-variance-authority": "^0.7.1",
|
|
730
727
|
"clsx": "^2.1.1",
|
|
731
|
-
"lucide-react": "^1.
|
|
728
|
+
"lucide-react": "^1.21.0",
|
|
732
729
|
"next": "^16.2.9",
|
|
733
730
|
"react": "^19.2.7",
|
|
734
731
|
"react-dom": "^19.2.7",
|
|
@@ -739,7 +736,7 @@ export default withAui(nextConfig);
|
|
|
739
736
|
"@assistant-ui/next": "workspace:*",
|
|
740
737
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
741
738
|
"@tailwindcss/postcss": "^4.3.1",
|
|
742
|
-
"@types/node": "^
|
|
739
|
+
"@types/node": "^26.0.0",
|
|
743
740
|
"@types/react": "^19.2.17",
|
|
744
741
|
"@types/react-dom": "^19.2.3",
|
|
745
742
|
"postcss": "^8.5.15",
|
|
@@ -1502,18 +1502,18 @@ export default withAui(nextConfig);
|
|
|
1502
1502
|
"test": "vitest run"
|
|
1503
1503
|
},
|
|
1504
1504
|
"dependencies": {
|
|
1505
|
-
"@ai-sdk/openai": "^3.0.
|
|
1505
|
+
"@ai-sdk/openai": "^3.0.74",
|
|
1506
1506
|
"@assistant-ui/react": "workspace:*",
|
|
1507
1507
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
1508
1508
|
"@assistant-ui/ui": "workspace:*",
|
|
1509
|
-
"ai": "^6.0.
|
|
1509
|
+
"ai": "^6.0.209",
|
|
1510
1510
|
"class-variance-authority": "^0.7.1",
|
|
1511
1511
|
"clsx": "^2.1.1",
|
|
1512
|
-
"lucide-react": "^1.
|
|
1512
|
+
"lucide-react": "^1.21.0",
|
|
1513
1513
|
"next": "^16.2.9",
|
|
1514
1514
|
"react": "^19.2.7",
|
|
1515
1515
|
"react-dom": "^19.2.7",
|
|
1516
|
-
"recharts": "^3.
|
|
1516
|
+
"recharts": "^3.9.0",
|
|
1517
1517
|
"tailwind-merge": "^3.6.0",
|
|
1518
1518
|
"zod": "^4.4.3"
|
|
1519
1519
|
},
|
|
@@ -1521,14 +1521,14 @@ export default withAui(nextConfig);
|
|
|
1521
1521
|
"@assistant-ui/next": "workspace:*",
|
|
1522
1522
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
1523
1523
|
"@tailwindcss/postcss": "^4.3.1",
|
|
1524
|
-
"@types/node": "^
|
|
1524
|
+
"@types/node": "^26.0.0",
|
|
1525
1525
|
"@types/react": "^19.2.17",
|
|
1526
1526
|
"@types/react-dom": "^19.2.3",
|
|
1527
1527
|
"postcss": "^8.5.15",
|
|
1528
1528
|
"tailwindcss": "^4.3.1",
|
|
1529
1529
|
"tw-animate-css": "^1.4.0",
|
|
1530
1530
|
"typescript": "^6.0.3",
|
|
1531
|
-
"vitest": "^4.1.
|
|
1531
|
+
"vitest": "^4.1.9"
|
|
1532
1532
|
}
|
|
1533
1533
|
}
|
|
1534
1534
|
|
|
@@ -305,10 +305,10 @@ export default withAui(nextConfig);
|
|
|
305
305
|
"@assistant-ui/react-google-adk": "workspace:*",
|
|
306
306
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
307
307
|
"@assistant-ui/ui": "workspace:*",
|
|
308
|
-
"@google/adk": "^1.
|
|
308
|
+
"@google/adk": "^1.3.0",
|
|
309
309
|
"class-variance-authority": "^0.7.1",
|
|
310
310
|
"clsx": "^2.1.1",
|
|
311
|
-
"lucide-react": "^1.
|
|
311
|
+
"lucide-react": "^1.21.0",
|
|
312
312
|
"next": "^16.2.9",
|
|
313
313
|
"react": "^19.2.7",
|
|
314
314
|
"react-dom": "^19.2.7",
|
|
@@ -319,7 +319,7 @@ export default withAui(nextConfig);
|
|
|
319
319
|
"@assistant-ui/next": "workspace:*",
|
|
320
320
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
321
321
|
"@tailwindcss/postcss": "^4.3.1",
|
|
322
|
-
"@types/node": "^
|
|
322
|
+
"@types/node": "^26.0.0",
|
|
323
323
|
"@types/react": "^19.2.17",
|
|
324
324
|
"@types/react-dom": "^19.2.3",
|
|
325
325
|
"postcss": "^8.5.15",
|
|
@@ -279,7 +279,7 @@ export default withAui(nextConfig);
|
|
|
279
279
|
"@assistant-ui/next": "workspace:*",
|
|
280
280
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
281
281
|
"@tailwindcss/postcss": "^4.3.1",
|
|
282
|
-
"@types/node": "^
|
|
282
|
+
"@types/node": "^26.0.0",
|
|
283
283
|
"@types/react": "^19.2.17",
|
|
284
284
|
"@types/react-dom": "^19.2.3",
|
|
285
285
|
"postcss": "^8.5.15",
|
|
@@ -380,13 +380,13 @@ export default withAui(nextConfig);
|
|
|
380
380
|
"start": "next start"
|
|
381
381
|
},
|
|
382
382
|
"dependencies": {
|
|
383
|
-
"@ai-sdk/openai": "^3.0.
|
|
383
|
+
"@ai-sdk/openai": "^3.0.74",
|
|
384
384
|
"@assistant-ui/react": "workspace:*",
|
|
385
385
|
"@assistant-ui/ui": "workspace:*",
|
|
386
|
-
"ai": "^6.0.
|
|
386
|
+
"ai": "^6.0.209",
|
|
387
387
|
"class-variance-authority": "^0.7.1",
|
|
388
388
|
"clsx": "^2.1.1",
|
|
389
|
-
"lucide-react": "^1.
|
|
389
|
+
"lucide-react": "^1.21.0",
|
|
390
390
|
"next": "^16.2.9",
|
|
391
391
|
"react": "^19.2.7",
|
|
392
392
|
"react-dom": "^19.2.7",
|
|
@@ -396,7 +396,7 @@ export default withAui(nextConfig);
|
|
|
396
396
|
"@assistant-ui/next": "workspace:*",
|
|
397
397
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
398
398
|
"@tailwindcss/postcss": "^4.3.1",
|
|
399
|
-
"@types/node": "^
|
|
399
|
+
"@types/node": "^26.0.0",
|
|
400
400
|
"@types/react": "^19.2.17",
|
|
401
401
|
"@types/react-dom": "^19.2.3",
|
|
402
402
|
"postcss": "^8.5.15",
|