@assistant-ui/mcp-docs-server 0.1.33 → 0.1.35
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 +7 -7
- package/.docs/organized/code-examples/with-a2a.md +8 -8
- package/.docs/organized/code-examples/with-ag-ui.md +12 -12
- package/.docs/organized/code-examples/with-ai-sdk-v6.md +10 -10
- package/.docs/organized/code-examples/with-artifacts.md +40 -34
- package/.docs/organized/code-examples/with-assistant-transport.md +11 -11
- package/.docs/organized/code-examples/with-browser-extension.md +9 -9
- package/.docs/organized/code-examples/with-chain-of-thought.md +72 -51
- package/.docs/organized/code-examples/with-cloud-standalone.md +10 -10
- package/.docs/organized/code-examples/with-cloud.md +10 -10
- package/.docs/organized/code-examples/with-custom-thread-list.md +10 -10
- package/.docs/organized/code-examples/with-elevenlabs-conversational.md +12 -12
- package/.docs/organized/code-examples/with-elevenlabs-scribe.md +12 -12
- package/.docs/organized/code-examples/with-expo.md +66 -31
- package/.docs/organized/code-examples/with-external-store.md +8 -8
- package/.docs/organized/code-examples/with-ffmpeg.md +13 -13
- package/.docs/organized/code-examples/with-generative-ui.md +98 -368
- package/.docs/organized/code-examples/with-google-adk.md +9 -9
- package/.docs/organized/code-examples/with-heat-graph.md +7 -7
- package/.docs/organized/code-examples/with-image-generation.md +10 -10
- package/.docs/organized/code-examples/with-interactables.md +10 -10
- package/.docs/organized/code-examples/with-langchain.md +10 -10
- package/.docs/organized/code-examples/with-langgraph.md +33 -29
- package/.docs/organized/code-examples/with-livekit.md +12 -12
- package/.docs/organized/code-examples/with-mcp.md +11 -11
- package/.docs/organized/code-examples/with-opencode.md +109 -583
- package/.docs/organized/code-examples/with-pi.md +2044 -0
- package/.docs/organized/code-examples/with-react-hook-form.md +11 -11
- package/.docs/organized/code-examples/with-react-ink-web.md +691 -0
- package/.docs/organized/code-examples/with-react-ink.md +309 -102
- package/.docs/organized/code-examples/with-react-router.md +14 -14
- package/.docs/organized/code-examples/with-resumable-stream.md +11 -11
- package/.docs/organized/code-examples/with-store.md +70 -66
- package/.docs/organized/code-examples/with-tanstack.md +25 -11
- package/.docs/organized/code-examples/with-tap-runtime.md +8 -8
- package/.docs/organized/code-examples/with-virtualized-thread.md +656 -0
- package/.docs/raw/docs/(docs)/architecture.mdx +65 -53
- package/.docs/raw/docs/(reference)/api-reference/external-store/message-conversion.mdx +1 -1
- package/.docs/raw/docs/(reference)/api-reference/external-store/runtime.mdx +3 -0
- package/.docs/raw/docs/(reference)/api-reference/hooks/primitives.mdx +44 -1
- package/.docs/raw/docs/(reference)/api-reference/integrations/react-ai-sdk.mdx +14 -3
- package/.docs/raw/docs/(reference)/api-reference/model-context/context.mdx +1 -1
- package/.docs/raw/docs/(reference)/api-reference/tools/rendering.mdx +2 -23
- package/.docs/raw/docs/(reference)/api-reference/tools/status.mdx +22 -0
- package/.docs/raw/docs/(reference)/api-reference/tools/toolkits.mdx +93 -9
- package/.docs/raw/docs/(reference)/api-reference/utilities/miscellaneous.mdx +21 -86
- package/.docs/raw/docs/guides/chain-of-thought.mdx +1 -1
- package/.docs/raw/docs/guides/index.mdx +3 -0
- package/.docs/raw/docs/guides/input-history.mdx +55 -0
- package/.docs/raw/docs/guides/virtualization.mdx +63 -0
- package/.docs/raw/docs/ink/adapters.mdx +23 -1
- package/.docs/raw/docs/ink/hooks.mdx +22 -19
- package/.docs/raw/docs/migrations/toolkit-tools.mdx +14 -8
- package/.docs/raw/docs/react-native/hooks.mdx +26 -18
- package/.docs/raw/docs/runtimes/ag-ui/runtime-options.mdx +39 -0
- package/.docs/raw/docs/runtimes/ai-sdk/v6.mdx +3 -3
- package/.docs/raw/docs/runtimes/concepts/architecture.mdx +46 -4
- package/.docs/raw/docs/runtimes/concepts/stability.mdx +1 -1
- package/.docs/raw/docs/runtimes/custom/assistant-transport.mdx +54 -12
- package/.docs/raw/docs/runtimes/custom/data-stream.mdx +1 -1
- package/.docs/raw/docs/runtimes/custom/external-store.mdx +62 -4
- package/.docs/raw/docs/runtimes/custom/local-runtime.mdx +120 -4
- package/.docs/raw/docs/runtimes/google-adk/hooks.mdx +9 -9
- package/.docs/raw/docs/runtimes/langgraph/streaming.mdx +13 -0
- package/.docs/raw/docs/runtimes/langgraph/tutorial/part-2.mdx +5 -5
- package/.docs/raw/docs/runtimes/langgraph/tutorial/part-3.mdx +3 -3
- package/.docs/raw/docs/runtimes/pick-a-runtime.mdx +6 -6
- package/.docs/raw/docs/tools/backend.mdx +19 -11
- package/.docs/raw/docs/tools/defining-tools.mdx +177 -52
- package/.docs/raw/docs/tools/index.mdx +7 -12
- package/.docs/raw/docs/tools/mcp.mdx +83 -15
- package/.docs/raw/docs/tools/multi-agent.mdx +5 -5
- package/.docs/raw/docs/tools/tool-ui.mdx +64 -28
- package/.docs/raw/docs/tools/user-managed-mcp.mdx +4 -4
- package/.docs/raw/docs/ui/dot-matrix.mdx +133 -0
- package/.docs/raw/docs/ui/mermaid.mdx +16 -9
- package/.docs/raw/docs/ui/model-selector.mdx +219 -52
- package/.docs/raw/docs/ui/number-roll.mdx +154 -0
- package/.docs/raw/docs/ui/part-grouping.mdx +2 -2
- package/.docs/raw/docs/ui/reasoning.mdx +3 -3
- package/.docs/raw/docs/ui/streamdown.mdx +2 -0
- package/.docs/raw/docs/ui/syntax-highlighting.mdx +1 -1
- package/.docs/raw/docs/ui/thread.mdx +52 -0
- package/.docs/raw/docs/ui/tool-fallback.mdx +16 -0
- package/.docs/raw/docs/utilities/react-o11y.mdx +2 -2
- package/dist/constants.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/prepare-docs/code-examples.js.map +1 -1
- package/dist/prepare-docs/copy-raw.js.map +1 -1
- package/dist/prepare-docs/prepare.js.map +1 -1
- package/dist/stdio.js.map +1 -1
- package/dist/tools/docs.js.map +1 -1
- package/dist/tools/examples.js.map +1 -1
- package/dist/tools/tests/test-setup.js.map +1 -1
- package/dist/utils/mdx.js.map +1 -1
- package/dist/utils/paths.js.map +1 -1
- package/package.json +4 -4
- /package/.docs/raw/docs/{(docs)/copilots → copilots}/assistant-frame.mdx +0 -0
- /package/.docs/raw/docs/{(docs)/copilots → copilots}/make-assistant-visible.mdx +0 -0
- /package/.docs/raw/docs/{(docs)/copilots → copilots}/model-context.mdx +0 -0
- /package/.docs/raw/docs/{(docs)/copilots → copilots}/motivation.mdx +0 -0
- /package/.docs/raw/docs/{(docs)/copilots → copilots}/use-assistant-instructions.mdx +0 -0
|
@@ -797,29 +797,29 @@ export default withAui(nextConfig);
|
|
|
797
797
|
"start": "next start"
|
|
798
798
|
},
|
|
799
799
|
"dependencies": {
|
|
800
|
-
"@ai-sdk/openai": "^3.0.
|
|
800
|
+
"@ai-sdk/openai": "^3.0.71",
|
|
801
801
|
"@assistant-ui/react": "workspace:*",
|
|
802
802
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
803
803
|
"@assistant-ui/ui": "workspace:*",
|
|
804
|
-
"ai": "^6.0.
|
|
804
|
+
"ai": "^6.0.204",
|
|
805
805
|
"class-variance-authority": "^0.7.1",
|
|
806
806
|
"clsx": "^2.1.1",
|
|
807
|
-
"lucide-react": "^1.
|
|
808
|
-
"next": "^16.2.
|
|
809
|
-
"react": "^19.2.
|
|
810
|
-
"react-dom": "^19.2.
|
|
807
|
+
"lucide-react": "^1.18.0",
|
|
808
|
+
"next": "^16.2.9",
|
|
809
|
+
"react": "^19.2.7",
|
|
810
|
+
"react-dom": "^19.2.7",
|
|
811
811
|
"tailwind-merge": "^3.6.0",
|
|
812
812
|
"zod": "^4.4.3"
|
|
813
813
|
},
|
|
814
814
|
"devDependencies": {
|
|
815
815
|
"@assistant-ui/next": "workspace:*",
|
|
816
816
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
817
|
-
"@tailwindcss/postcss": "^4.3.
|
|
818
|
-
"@types/node": "^25.9.
|
|
819
|
-
"@types/react": "^19.2.
|
|
817
|
+
"@tailwindcss/postcss": "^4.3.1",
|
|
818
|
+
"@types/node": "^25.9.3",
|
|
819
|
+
"@types/react": "^19.2.17",
|
|
820
820
|
"@types/react-dom": "^19.2.3",
|
|
821
821
|
"postcss": "^8.5.15",
|
|
822
|
-
"tailwindcss": "^4.3.
|
|
822
|
+
"tailwindcss": "^4.3.1",
|
|
823
823
|
"tw-animate-css": "^1.4.0",
|
|
824
824
|
"typescript": "^6.0.3"
|
|
825
825
|
}
|
|
@@ -336,25 +336,25 @@ 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.22",
|
|
340
|
+
"@langchain/react": "^1.0.23",
|
|
341
341
|
"class-variance-authority": "^0.7.1",
|
|
342
342
|
"clsx": "^2.1.1",
|
|
343
|
-
"lucide-react": "^1.
|
|
344
|
-
"next": "^16.2.
|
|
345
|
-
"react": "^19.2.
|
|
346
|
-
"react-dom": "^19.2.
|
|
343
|
+
"lucide-react": "^1.18.0",
|
|
344
|
+
"next": "^16.2.9",
|
|
345
|
+
"react": "^19.2.7",
|
|
346
|
+
"react-dom": "^19.2.7",
|
|
347
347
|
"tailwind-merge": "^3.6.0"
|
|
348
348
|
},
|
|
349
349
|
"devDependencies": {
|
|
350
350
|
"@assistant-ui/next": "workspace:*",
|
|
351
351
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
352
|
-
"@tailwindcss/postcss": "^4.3.
|
|
353
|
-
"@types/node": "^25.9.
|
|
354
|
-
"@types/react": "^19.2.
|
|
352
|
+
"@tailwindcss/postcss": "^4.3.1",
|
|
353
|
+
"@types/node": "^25.9.3",
|
|
354
|
+
"@types/react": "^19.2.17",
|
|
355
355
|
"@types/react-dom": "^19.2.3",
|
|
356
356
|
"postcss": "^8.5.15",
|
|
357
|
-
"tailwindcss": "^4.3.
|
|
357
|
+
"tailwindcss": "^4.3.1",
|
|
358
358
|
"tw-animate-css": "^1.4.0",
|
|
359
359
|
"typescript": "^6.0.3"
|
|
360
360
|
}
|
|
@@ -306,27 +306,9 @@ export function MyRuntimeProvider({
|
|
|
306
306
|
"use client";
|
|
307
307
|
|
|
308
308
|
import { Thread } from "@/components/assistant-ui/thread";
|
|
309
|
-
import { PriceSnapshotToolUI } from "@/components/tools/price-snapshot/PriceSnapshotTool";
|
|
310
|
-
import { PurchaseStockToolUI } from "@/components/tools/purchase-stock/PurchaseStockTool";
|
|
311
309
|
import { ThreadList } from "@/components/assistant-ui/thread-list";
|
|
312
|
-
import {
|
|
313
|
-
|
|
314
|
-
AuiProvider,
|
|
315
|
-
Suggestions,
|
|
316
|
-
Tools,
|
|
317
|
-
type Toolkit,
|
|
318
|
-
} from "@assistant-ui/react";
|
|
319
|
-
|
|
320
|
-
const toolkit = {
|
|
321
|
-
price_snapshot: {
|
|
322
|
-
type: "backend",
|
|
323
|
-
render: PriceSnapshotToolUI,
|
|
324
|
-
},
|
|
325
|
-
purchase_stock: {
|
|
326
|
-
type: "backend",
|
|
327
|
-
render: PurchaseStockToolUI,
|
|
328
|
-
},
|
|
329
|
-
} satisfies Toolkit;
|
|
310
|
+
import { useAui, AuiProvider, Suggestions, Tools } from "@assistant-ui/react";
|
|
311
|
+
import toolkit from "./toolkit";
|
|
330
312
|
|
|
331
313
|
function ThreadWithSuggestions() {
|
|
332
314
|
const aui = useAui({
|
|
@@ -366,6 +348,28 @@ export default function Home() {
|
|
|
366
348
|
|
|
367
349
|
```
|
|
368
350
|
|
|
351
|
+
## app/toolkit.tsx
|
|
352
|
+
|
|
353
|
+
```tsx
|
|
354
|
+
"use generative";
|
|
355
|
+
|
|
356
|
+
import { defineToolkit, externalTool } from "@assistant-ui/react";
|
|
357
|
+
import { PriceSnapshotToolUI } from "@/components/tools/price-snapshot/PriceSnapshotTool";
|
|
358
|
+
import { PurchaseStockToolUI } from "@/components/tools/purchase-stock/PurchaseStockTool";
|
|
359
|
+
|
|
360
|
+
export default defineToolkit({
|
|
361
|
+
price_snapshot: {
|
|
362
|
+
execute: externalTool(),
|
|
363
|
+
render: PriceSnapshotToolUI,
|
|
364
|
+
},
|
|
365
|
+
purchase_stock: {
|
|
366
|
+
execute: externalTool(),
|
|
367
|
+
render: PurchaseStockToolUI,
|
|
368
|
+
},
|
|
369
|
+
});
|
|
370
|
+
|
|
371
|
+
```
|
|
372
|
+
|
|
369
373
|
## components.json
|
|
370
374
|
|
|
371
375
|
```json
|
|
@@ -874,24 +878,24 @@ export default withAui(nextConfig);
|
|
|
874
878
|
"@assistant-ui/react-langgraph": "workspace:*",
|
|
875
879
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
876
880
|
"@assistant-ui/ui": "workspace:*",
|
|
877
|
-
"@langchain/langgraph-sdk": "^1.9.
|
|
881
|
+
"@langchain/langgraph-sdk": "^1.9.22",
|
|
878
882
|
"class-variance-authority": "^0.7.1",
|
|
879
883
|
"clsx": "^2.1.1",
|
|
880
|
-
"lucide-react": "^1.
|
|
881
|
-
"next": "^16.2.
|
|
882
|
-
"react": "^19.2.
|
|
883
|
-
"react-dom": "^19.2.
|
|
884
|
+
"lucide-react": "^1.18.0",
|
|
885
|
+
"next": "^16.2.9",
|
|
886
|
+
"react": "^19.2.7",
|
|
887
|
+
"react-dom": "^19.2.7",
|
|
884
888
|
"tailwind-merge": "^3.6.0"
|
|
885
889
|
},
|
|
886
890
|
"devDependencies": {
|
|
887
891
|
"@assistant-ui/next": "workspace:*",
|
|
888
892
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
889
|
-
"@tailwindcss/postcss": "^4.3.
|
|
890
|
-
"@types/node": "^25.9.
|
|
891
|
-
"@types/react": "^19.2.
|
|
893
|
+
"@tailwindcss/postcss": "^4.3.1",
|
|
894
|
+
"@types/node": "^25.9.3",
|
|
895
|
+
"@types/react": "^19.2.17",
|
|
892
896
|
"@types/react-dom": "^19.2.3",
|
|
893
897
|
"postcss": "^8.5.15",
|
|
894
|
-
"tailwindcss": "^4.3.
|
|
898
|
+
"tailwindcss": "^4.3.1",
|
|
895
899
|
"tw-animate-css": "^1.4.0",
|
|
896
900
|
"typescript": "^6.0.3"
|
|
897
901
|
}
|
|
@@ -554,33 +554,33 @@ export default withAui(nextConfig);
|
|
|
554
554
|
"version": "0.0.0",
|
|
555
555
|
"type": "module",
|
|
556
556
|
"dependencies": {
|
|
557
|
-
"@ai-sdk/openai": "^3.0.
|
|
558
|
-
"@ai-sdk/react": "^3.0.
|
|
557
|
+
"@ai-sdk/openai": "^3.0.71",
|
|
558
|
+
"@ai-sdk/react": "^3.0.206",
|
|
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
|
-
"@tailwindcss/postcss": "^4.3.
|
|
564
|
-
"ai": "^6.0.
|
|
563
|
+
"@tailwindcss/postcss": "^4.3.1",
|
|
564
|
+
"ai": "^6.0.204",
|
|
565
565
|
"class-variance-authority": "^0.7.1",
|
|
566
566
|
"clsx": "^2.1.1",
|
|
567
|
-
"livekit-client": "^2.19.
|
|
567
|
+
"livekit-client": "^2.19.2",
|
|
568
568
|
"livekit-server-sdk": "^2.15.4",
|
|
569
|
-
"lucide-react": "^1.
|
|
569
|
+
"lucide-react": "^1.18.0",
|
|
570
570
|
"motion": "^12.40.0",
|
|
571
|
-
"next": "^16.2.
|
|
571
|
+
"next": "^16.2.9",
|
|
572
572
|
"postcss": "^8.5.15",
|
|
573
|
-
"react": "^19.2.
|
|
574
|
-
"react-dom": "^19.2.
|
|
573
|
+
"react": "^19.2.7",
|
|
574
|
+
"react-dom": "^19.2.7",
|
|
575
575
|
"tailwind-merge": "^3.6.0",
|
|
576
|
-
"tailwindcss": "^4.3.
|
|
576
|
+
"tailwindcss": "^4.3.1",
|
|
577
577
|
"zod": "^4.4.3"
|
|
578
578
|
},
|
|
579
579
|
"devDependencies": {
|
|
580
580
|
"@assistant-ui/next": "workspace:*",
|
|
581
581
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
582
|
-
"@types/node": "^25.9.
|
|
583
|
-
"@types/react": "^19.2.
|
|
582
|
+
"@types/node": "^25.9.3",
|
|
583
|
+
"@types/react": "^19.2.17",
|
|
584
584
|
"@types/react-dom": "^19.2.3",
|
|
585
585
|
"tw-animate-css": "^1.4.0",
|
|
586
586
|
"typescript": "^6.0.3"
|
|
@@ -376,7 +376,7 @@ export default nextConfig;
|
|
|
376
376
|
"start:server": "tsx server/server.ts"
|
|
377
377
|
},
|
|
378
378
|
"dependencies": {
|
|
379
|
-
"@ai-sdk/openai": "^3.0.
|
|
379
|
+
"@ai-sdk/openai": "^3.0.71",
|
|
380
380
|
"@assistant-ui/react": "workspace:*",
|
|
381
381
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
382
382
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
@@ -385,30 +385,30 @@ export default nextConfig;
|
|
|
385
385
|
"@assistant-ui/tap": "workspace:*",
|
|
386
386
|
"@assistant-ui/ui": "workspace:*",
|
|
387
387
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
388
|
-
"ai": "^6.0.
|
|
388
|
+
"ai": "^6.0.204",
|
|
389
389
|
"assistant-stream": "workspace:*",
|
|
390
390
|
"class-variance-authority": "^0.7.1",
|
|
391
391
|
"clsx": "^2.1.1",
|
|
392
392
|
"cors": "^2.8.6",
|
|
393
393
|
"express": "^5.2.1",
|
|
394
|
-
"lucide-react": "^1.
|
|
395
|
-
"next": "^16.2.
|
|
396
|
-
"react": "^19.2.
|
|
397
|
-
"react-dom": "^19.2.
|
|
394
|
+
"lucide-react": "^1.18.0",
|
|
395
|
+
"next": "^16.2.9",
|
|
396
|
+
"react": "^19.2.7",
|
|
397
|
+
"react-dom": "^19.2.7",
|
|
398
398
|
"tailwind-merge": "^3.6.0",
|
|
399
399
|
"zod": "^4.4.3"
|
|
400
400
|
},
|
|
401
401
|
"devDependencies": {
|
|
402
402
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
403
|
-
"@tailwindcss/postcss": "^4.3.
|
|
403
|
+
"@tailwindcss/postcss": "^4.3.1",
|
|
404
404
|
"@types/cors": "^2.8.19",
|
|
405
405
|
"@types/express": "^5.0.6",
|
|
406
|
-
"@types/node": "^25.9.
|
|
407
|
-
"@types/react": "^19.2.
|
|
406
|
+
"@types/node": "^25.9.3",
|
|
407
|
+
"@types/react": "^19.2.17",
|
|
408
408
|
"@types/react-dom": "^19.2.3",
|
|
409
|
-
"concurrently": "^10.0.
|
|
409
|
+
"concurrently": "^10.0.3",
|
|
410
410
|
"postcss": "^8.5.15",
|
|
411
|
-
"tailwindcss": "^4.3.
|
|
411
|
+
"tailwindcss": "^4.3.1",
|
|
412
412
|
"tsx": "^4.22.4",
|
|
413
413
|
"tw-animate-css": "^1.4.0",
|
|
414
414
|
"typescript": "^6.0.3"
|