@assistant-ui/mcp-docs-server 0.1.10 → 0.1.12
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/with-ai-sdk-v5.md +23 -23
- package/.docs/organized/code-examples/with-assistant-transport.md +26 -26
- package/.docs/organized/code-examples/with-cloud.md +19 -19
- package/.docs/organized/code-examples/with-external-store.md +16 -16
- package/.docs/organized/code-examples/with-ffmpeg.md +20 -20
- package/.docs/organized/code-examples/with-langgraph.md +20 -20
- package/.docs/organized/code-examples/with-parent-id-grouping.md +16 -16
- package/.docs/organized/code-examples/with-react-hook-form.md +25 -25
- package/.docs/raw/docs/cloud/persistence/langgraph.mdx +22 -2
- package/.docs/raw/docs/getting-started.mdx +544 -153
- package/.docs/raw/docs/guides/Attachments.mdx +21 -0
- package/.docs/raw/docs/runtimes/ai-sdk/use-chat.mdx +2 -2
- package/.docs/raw/docs/runtimes/custom/custom-thread-list.mdx +218 -0
- package/.docs/raw/docs/runtimes/custom/external-store.mdx +31 -24
- package/.docs/raw/docs/runtimes/mastra/separate-server-integration.mdx +8 -3
- package/.docs/raw/docs/runtimes/pick-a-runtime.mdx +1 -1
- package/.docs/raw/docs/ui/AssistantModal.mdx +21 -0
- package/.docs/raw/docs/ui/AssistantSidebar.mdx +21 -0
- package/.docs/raw/docs/ui/Attachment.mdx +21 -0
- package/.docs/raw/docs/ui/Markdown.mdx +22 -1
- package/.docs/raw/docs/ui/Mermaid.mdx +22 -1
- package/.docs/raw/docs/ui/SyntaxHighlighting.mdx +43 -2
- package/.docs/raw/docs/ui/Thread.mdx +9 -3
- package/.docs/raw/docs/ui/ThreadList.mdx +48 -2
- package/.docs/raw/docs/ui/ToolFallback.mdx +21 -0
- package/package.json +6 -6
|
@@ -24,14 +24,60 @@ This demo uses **ThreadListSidebar**, which includes `thread-list` as a dependen
|
|
|
24
24
|
|
|
25
25
|
### Add the component
|
|
26
26
|
|
|
27
|
+
Use `threadlist-sidebar` for a complete sidebar layout or `thread-list` for custom layouts.
|
|
28
|
+
|
|
29
|
+
#### ThreadListSidebar
|
|
30
|
+
|
|
31
|
+
<Tabs items={["assistant-ui", "shadcn (namespace)", "shadcn"]}>
|
|
32
|
+
<Tab>
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
npx assistant-ui@latest add threadlist-sidebar
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
</Tab>
|
|
39
|
+
<Tab>
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
npx shadcn@latest add @assistant-ui/threadlist-sidebar
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
</Tab>
|
|
46
|
+
<Tab>
|
|
47
|
+
|
|
27
48
|
```sh
|
|
28
|
-
# Complete thread-list sidebar layout
|
|
29
49
|
npx shadcn@latest add "https://r.assistant-ui.com/threadlist-sidebar"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
</Tab>
|
|
53
|
+
</Tabs>
|
|
30
54
|
|
|
31
|
-
|
|
55
|
+
#### ThreadList
|
|
56
|
+
|
|
57
|
+
<Tabs items={["assistant-ui", "shadcn (namespace)", "shadcn"]}>
|
|
58
|
+
<Tab>
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
npx assistant-ui@latest add thread-list
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
</Tab>
|
|
65
|
+
<Tab>
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
npx shadcn@latest add @assistant-ui/thread-list
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
</Tab>
|
|
72
|
+
<Tab>
|
|
73
|
+
|
|
74
|
+
```sh
|
|
32
75
|
npx shadcn@latest add "https://r.assistant-ui.com/thread-list"
|
|
33
76
|
```
|
|
34
77
|
|
|
78
|
+
</Tab>
|
|
79
|
+
</Tabs>
|
|
80
|
+
|
|
35
81
|
</Step>
|
|
36
82
|
<Step>
|
|
37
83
|
|
|
@@ -3,6 +3,7 @@ title: ToolFallback
|
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
import { Steps, Step } from "fumadocs-ui/components/steps";
|
|
6
|
+
import { Tab, Tabs } from "fumadocs-ui/components/tabs";
|
|
6
7
|
|
|
7
8
|
## Overview
|
|
8
9
|
|
|
@@ -15,10 +16,30 @@ The ToolFallback component displays a default ToolUI for tools that do not have
|
|
|
15
16
|
|
|
16
17
|
### Add `tool-fallback`
|
|
17
18
|
|
|
19
|
+
<Tabs items={["assistant-ui", "shadcn (namespace)", "shadcn"]}>
|
|
20
|
+
<Tab>
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
npx assistant-ui@latest add tool-fallback
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
</Tab>
|
|
27
|
+
<Tab>
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
npx shadcn@latest add @assistant-ui/tool-fallback
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
</Tab>
|
|
34
|
+
<Tab>
|
|
35
|
+
|
|
18
36
|
```sh
|
|
19
37
|
npx shadcn@latest add "https://r.assistant-ui.com/tool-fallback"
|
|
20
38
|
```
|
|
21
39
|
|
|
40
|
+
</Tab>
|
|
41
|
+
</Tabs>
|
|
42
|
+
|
|
22
43
|
This adds a `/components/assistant-ui/tool-fallback.tsx` file to your project, which you can adjust as needed.
|
|
23
44
|
|
|
24
45
|
</Step>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assistant-ui/mcp-docs-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "MCP server for assistant-ui documentation and examples",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
"assistant-ui-mcp": "./dist/stdio.js"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
12
|
-
"zod": "^4.1.
|
|
11
|
+
"@modelcontextprotocol/sdk": "^1.20.1",
|
|
12
|
+
"zod": "^4.1.12",
|
|
13
13
|
"gray-matter": "^4.0.3",
|
|
14
14
|
"cross-env": "^10.1.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@types/node": "^24.
|
|
17
|
+
"@types/node": "^24.9.1",
|
|
18
18
|
"tsup": "^8.5.0",
|
|
19
19
|
"tsx": "^4.20.6",
|
|
20
20
|
"typescript": "^5.9.3",
|
|
21
|
-
"vitest": "^
|
|
22
|
-
"eslint": "^9.
|
|
21
|
+
"vitest": "^4.0.1",
|
|
22
|
+
"eslint": "^9.38.0"
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"dist",
|