@assistant-ui/mcp-docs-server 0.1.23 → 0.1.25
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 +5 -3
- package/.docs/organized/code-examples/with-a2a.md +676 -0
- package/.docs/organized/code-examples/with-ag-ui.md +7 -8
- package/.docs/organized/code-examples/with-ai-sdk-v6.md +28 -16
- package/.docs/organized/code-examples/with-artifacts.md +5 -5
- package/.docs/organized/code-examples/with-assistant-transport.md +3 -3
- package/.docs/organized/code-examples/with-chain-of-thought.md +34 -26
- package/.docs/organized/code-examples/with-cloud-standalone.md +10 -8
- package/.docs/organized/code-examples/with-cloud.md +5 -5
- package/.docs/organized/code-examples/with-custom-thread-list.md +7 -7
- package/.docs/organized/code-examples/with-elevenlabs-scribe.md +8 -8
- package/.docs/organized/code-examples/with-expo.md +571 -539
- package/.docs/organized/code-examples/with-external-store.md +3 -4
- package/.docs/organized/code-examples/with-ffmpeg.md +5 -5
- package/.docs/organized/code-examples/with-google-adk.md +353 -0
- package/.docs/organized/code-examples/with-heat-graph.md +304 -0
- package/.docs/organized/code-examples/with-langgraph.md +25 -23
- package/.docs/organized/code-examples/with-parent-id-grouping.md +4 -4
- package/.docs/organized/code-examples/with-react-hook-form.md +6 -9
- package/.docs/organized/code-examples/with-react-ink.md +265 -0
- package/.docs/organized/code-examples/with-react-router.md +10 -11
- package/.docs/organized/code-examples/with-store.md +29 -18
- package/.docs/organized/code-examples/with-tanstack.md +7 -7
- package/.docs/organized/code-examples/with-tap-runtime.md +6 -4
- package/.docs/raw/blog/2025-01-31-changelog/index.mdx +1 -1
- package/.docs/raw/blog/2026-03-launch-week/index.mdx +227 -0
- package/.docs/raw/docs/(docs)/architecture.mdx +1 -1
- package/.docs/raw/docs/(docs)/cli.mdx +14 -9
- package/.docs/raw/docs/(docs)/copilots/make-assistant-tool-ui.mdx +8 -3
- package/.docs/raw/docs/(docs)/copilots/make-assistant-tool.mdx +5 -1
- package/.docs/raw/docs/(docs)/copilots/{make-assistant-readable.mdx → make-assistant-visible.mdx} +14 -5
- package/.docs/raw/docs/(docs)/copilots/model-context.mdx +11 -11
- package/.docs/raw/docs/(docs)/copilots/motivation.mdx +2 -2
- package/.docs/raw/docs/(docs)/devtools.mdx +3 -2
- package/.docs/raw/docs/(docs)/guides/attachments.mdx +9 -11
- package/.docs/raw/docs/(docs)/guides/branching.mdx +11 -6
- package/.docs/raw/docs/(docs)/guides/chain-of-thought.mdx +18 -16
- package/.docs/raw/docs/(docs)/guides/context-api.mdx +81 -43
- package/.docs/raw/docs/(docs)/guides/dictation.mdx +5 -5
- package/.docs/raw/docs/(docs)/guides/editing.mdx +16 -7
- package/.docs/raw/docs/(docs)/guides/latex.mdx +3 -0
- package/.docs/raw/docs/(docs)/guides/message-timing.mdx +2 -1
- package/.docs/raw/docs/(docs)/guides/multi-agent.mdx +173 -0
- package/.docs/raw/docs/(docs)/guides/quoting.mdx +55 -206
- package/.docs/raw/docs/(docs)/guides/speech.mdx +1 -4
- package/.docs/raw/docs/(docs)/guides/suggestions.mdx +9 -15
- package/.docs/raw/docs/(docs)/guides/tool-ui.mdx +17 -7
- package/.docs/raw/docs/(docs)/guides/tools.mdx +24 -9
- package/.docs/raw/docs/(docs)/index.mdx +3 -3
- package/.docs/raw/docs/(docs)/installation.mdx +69 -46
- package/.docs/raw/docs/(reference)/api-reference/context-providers/text-message-part-provider.mdx +20 -6
- package/.docs/raw/docs/(reference)/api-reference/integrations/react-data-stream.mdx +24 -4
- package/.docs/raw/docs/(reference)/api-reference/integrations/react-hook-form.mdx +1 -1
- package/.docs/raw/docs/(reference)/api-reference/integrations/vercel-ai-sdk.mdx +20 -19
- package/.docs/raw/docs/(reference)/api-reference/overview.mdx +28 -53
- package/.docs/raw/docs/(reference)/api-reference/primitives/action-bar.mdx +4 -4
- package/.docs/raw/docs/(reference)/api-reference/primitives/assistant-modal.mdx +7 -1
- package/.docs/raw/docs/(reference)/api-reference/primitives/attachment.mdx +20 -14
- package/.docs/raw/docs/(reference)/api-reference/primitives/branch-picker.mdx +1 -1
- package/.docs/raw/docs/(reference)/api-reference/primitives/composer.mdx +99 -45
- package/.docs/raw/docs/(reference)/api-reference/primitives/message-part.mdx +52 -40
- package/.docs/raw/docs/(reference)/api-reference/primitives/message.mdx +343 -23
- package/.docs/raw/docs/(reference)/api-reference/primitives/suggestion.mdx +4 -6
- package/.docs/raw/docs/(reference)/api-reference/primitives/thread-list-item.mdx +4 -2
- package/.docs/raw/docs/(reference)/api-reference/primitives/thread-list.mdx +3 -5
- package/.docs/raw/docs/(reference)/api-reference/primitives/thread.mdx +169 -22
- package/.docs/raw/docs/(reference)/api-reference/runtimes/assistant-runtime.mdx +14 -4
- package/.docs/raw/docs/(reference)/api-reference/runtimes/attachment-runtime.mdx +15 -26
- package/.docs/raw/docs/(reference)/api-reference/runtimes/composer-runtime.mdx +39 -21
- package/.docs/raw/docs/(reference)/api-reference/runtimes/message-part-runtime.mdx +33 -9
- package/.docs/raw/docs/(reference)/api-reference/runtimes/message-runtime.mdx +48 -21
- package/.docs/raw/docs/(reference)/api-reference/runtimes/thread-list-item-runtime.mdx +36 -7
- package/.docs/raw/docs/(reference)/api-reference/runtimes/thread-list-runtime.mdx +30 -10
- package/.docs/raw/docs/(reference)/api-reference/runtimes/thread-runtime.mdx +12 -10
- package/.docs/raw/docs/(reference)/migrations/deprecation-policy.mdx +1 -1
- package/.docs/raw/docs/(reference)/migrations/react-langgraph-v0-7.mdx +9 -4
- package/.docs/raw/docs/(reference)/migrations/v0-11.mdx +7 -5
- package/.docs/raw/docs/(reference)/migrations/v0-12.mdx +9 -7
- package/.docs/raw/docs/(reference)/migrations/v0-14.mdx +159 -0
- package/.docs/raw/docs/(reference)/react-compatibility.mdx +5 -134
- package/.docs/raw/docs/cloud/ai-sdk-assistant-ui.mdx +89 -7
- package/.docs/raw/docs/cloud/ai-sdk.mdx +19 -5
- package/.docs/raw/docs/cloud/langgraph.mdx +13 -3
- package/.docs/raw/docs/ink/adapters.mdx +41 -0
- package/.docs/raw/docs/ink/custom-backend.mdx +203 -0
- package/.docs/raw/docs/ink/hooks.mdx +448 -0
- package/.docs/raw/docs/ink/index.mdx +239 -0
- package/.docs/raw/docs/ink/migration.mdx +140 -0
- package/.docs/raw/docs/ink/primitives.mdx +699 -0
- package/.docs/raw/docs/react-native/adapters.mdx +63 -87
- package/.docs/raw/docs/react-native/custom-backend.mdx +11 -14
- package/.docs/raw/docs/react-native/hooks.mdx +214 -232
- package/.docs/raw/docs/react-native/index.mdx +118 -159
- package/.docs/raw/docs/react-native/migration.mdx +144 -0
- package/.docs/raw/docs/react-native/primitives.mdx +431 -302
- package/.docs/raw/docs/runtimes/a2a/index.mdx +294 -0
- package/.docs/raw/docs/runtimes/ai-sdk/v4-legacy.mdx +9 -9
- package/.docs/raw/docs/runtimes/ai-sdk/v5-legacy.mdx +14 -3
- package/.docs/raw/docs/runtimes/ai-sdk/v6.mdx +53 -0
- package/.docs/raw/docs/runtimes/assistant-transport.mdx +59 -25
- package/.docs/raw/docs/runtimes/custom/custom-thread-list.mdx +13 -6
- package/.docs/raw/docs/runtimes/custom/external-store.mdx +138 -38
- package/.docs/raw/docs/runtimes/custom/local.mdx +184 -42
- package/.docs/raw/docs/runtimes/data-stream.mdx +92 -19
- package/.docs/raw/docs/runtimes/google-adk/index.mdx +624 -0
- package/.docs/raw/docs/runtimes/helicone.mdx +6 -6
- package/.docs/raw/docs/runtimes/langgraph/index.mdx +38 -27
- package/.docs/raw/docs/runtimes/langgraph/tutorial/introduction.mdx +1 -1
- package/.docs/raw/docs/runtimes/langgraph/tutorial/part-1.mdx +15 -20
- package/.docs/raw/docs/runtimes/langgraph/tutorial/part-2.mdx +7 -11
- package/.docs/raw/docs/runtimes/langgraph/tutorial/part-3.mdx +8 -11
- package/.docs/raw/docs/runtimes/langserve.mdx +6 -7
- package/.docs/raw/docs/runtimes/pick-a-runtime.mdx +18 -3
- package/.docs/raw/docs/ui/context-display.mdx +147 -0
- package/.docs/raw/docs/ui/file.mdx +5 -4
- package/.docs/raw/docs/ui/image.mdx +5 -4
- package/.docs/raw/docs/ui/markdown.mdx +3 -1
- package/.docs/raw/docs/ui/model-selector.mdx +8 -8
- package/.docs/raw/docs/ui/part-grouping.mdx +7 -10
- package/.docs/raw/docs/ui/quote.mdx +210 -0
- package/.docs/raw/docs/ui/reasoning.mdx +12 -11
- package/.docs/raw/docs/ui/sources.mdx +88 -17
- package/.docs/raw/docs/ui/streamdown.mdx +16 -7
- package/.docs/raw/docs/ui/thread-list.mdx +11 -13
- package/.docs/raw/docs/ui/thread.mdx +28 -33
- package/.docs/raw/docs/ui/tool-fallback.mdx +5 -6
- package/.docs/raw/docs/ui/tool-group.mdx +9 -8
- package/.docs/raw/docs/utilities/heat-graph.mdx +236 -0
- package/.docs/raw/docs/utilities/tw-shimmer.mdx +211 -0
- package/package.json +4 -4
- package/.docs/raw/docs/(reference)/legacy/styled/assistant-modal.mdx +0 -77
- package/.docs/raw/docs/(reference)/legacy/styled/decomposition.mdx +0 -635
- package/.docs/raw/docs/(reference)/legacy/styled/markdown.mdx +0 -77
- package/.docs/raw/docs/(reference)/legacy/styled/scrollbar.mdx +0 -72
- package/.docs/raw/docs/(reference)/legacy/styled/thread-width.mdx +0 -22
- package/.docs/raw/docs/(reference)/legacy/styled/thread.mdx +0 -77
- /package/.docs/raw/docs/cloud/{overview.mdx → index.mdx} +0 -0
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Custom Scrollbar
|
|
3
|
-
description: Integrate custom scrollbar UI using Radix UI Scroll Area.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
If you want to show a custom scrollbar UI of the Thread.Viewport in place of the system default, you can integrate `@radix-ui/react-scroll-area`.
|
|
7
|
-
An example implementation of this is [shadcn-ui's Scroll Area](https://ui.shadcn.com/docs/components/scroll-area).
|
|
8
|
-
|
|
9
|
-
## Add shadcn Scroll Area
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
npx shadcn@latest add scroll-area
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### @radix-ui/react-scroll-area v1.2.0 release candidate required
|
|
16
|
-
|
|
17
|
-
The v1.2.0-rc.x release candidate can be installed via
|
|
18
|
-
|
|
19
|
-
```sh
|
|
20
|
-
pnpm add @radix-ui/react-scroll-area@next
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Additional Styles
|
|
24
|
-
|
|
25
|
-
The radix-ui Viewport component adds an intermediate `<div data-radix-scroll-area-content>` element.
|
|
26
|
-
Add the following CSS to your `globals.css`:
|
|
27
|
-
|
|
28
|
-
```css title="@/app/globals.css"
|
|
29
|
-
.aui-thread-viewport > [data-radix-scroll-area-content] {
|
|
30
|
-
@apply flex flex-col items-center self-stretch bg-inherit;
|
|
31
|
-
}
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Integration
|
|
35
|
-
|
|
36
|
-
- Decompose `Thread` into `MyThread` (see [Decomposition](/docs/legacy/styled/decomposition))
|
|
37
|
-
- Wrap `Thread.Root` with `<ScrollAreaPrimitive.Root asChild>`
|
|
38
|
-
- Wrap `Thread.Viewport` with `<ScrollAreaPrimitive.Viewport asChild>`
|
|
39
|
-
- Add shadcn's `<ScrollBar />` to `Thread.Root`
|
|
40
|
-
|
|
41
|
-
The resulting MyThread component should look like this:
|
|
42
|
-
|
|
43
|
-
```tsx
|
|
44
|
-
import {
|
|
45
|
-
Thread,
|
|
46
|
-
ThreadWelcome,
|
|
47
|
-
Composer,
|
|
48
|
-
type ThreadConfig,
|
|
49
|
-
} from "@assistant-ui/react-ui";
|
|
50
|
-
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area"; // [!code highlight]
|
|
51
|
-
import { ScrollBar } from "@/components/ui/scroll-area"; // [!code highlight]
|
|
52
|
-
|
|
53
|
-
const MyThread: FC<ThreadConfig> = (config) => {
|
|
54
|
-
return (
|
|
55
|
-
<ScrollAreaPrimitive.Root asChild> /* [!code highlight] */
|
|
56
|
-
<Thread.Root config={config}>
|
|
57
|
-
<ScrollAreaPrimitive.Viewport asChild> /* [!code highlight] */
|
|
58
|
-
<Thread.Viewport>
|
|
59
|
-
<ThreadWelcome />
|
|
60
|
-
<Thread.Messages />
|
|
61
|
-
<Thread.ViewportFooter>
|
|
62
|
-
<Thread.ScrollToBottom />
|
|
63
|
-
<Composer />
|
|
64
|
-
</Thread.ViewportFooter>
|
|
65
|
-
</Thread.Viewport>
|
|
66
|
-
</ScrollAreaPrimitive.Viewport> /* [!code highlight] */
|
|
67
|
-
<ScrollBar /> /* [!code highlight] */
|
|
68
|
-
</Thread.Root>
|
|
69
|
-
</ScrollAreaPrimitive.Root> /* [!code highlight] */
|
|
70
|
-
);
|
|
71
|
-
};
|
|
72
|
-
```
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Thread Width
|
|
3
|
-
description: Customize thread max width using CSS variables.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
You can modify the max width of the thread via the CSS variable `--aui-thread-max-width`.
|
|
7
|
-
|
|
8
|
-
## Wider Thread
|
|
9
|
-
|
|
10
|
-
```css title="@/app/globals.css"
|
|
11
|
-
:root {
|
|
12
|
-
--aui-thread-max-width: 600px;
|
|
13
|
-
}
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Take up the whole screen
|
|
17
|
-
|
|
18
|
-
```css title="@/app/globals.css"
|
|
19
|
-
:root {
|
|
20
|
-
--aui-thread-max-width: infinity;
|
|
21
|
-
}
|
|
22
|
-
```
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Thread
|
|
3
|
-
description: Full-screen message list and composer UI for chat interfaces.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## Overview
|
|
8
|
-
|
|
9
|
-
The raw message list and message composer UI. Useful for full screen chat use cases.
|
|
10
|
-
|
|
11
|
-
## Getting Started
|
|
12
|
-
|
|
13
|
-
<Steps>
|
|
14
|
-
<Step>
|
|
15
|
-
|
|
16
|
-
### Install `@assistant-ui/react-ui`
|
|
17
|
-
|
|
18
|
-
<InstallCommand npm={["@assistant-ui/react-ui"]} />
|
|
19
|
-
|
|
20
|
-
</Step>
|
|
21
|
-
<Step>
|
|
22
|
-
|
|
23
|
-
### Import CSS styles
|
|
24
|
-
|
|
25
|
-
Add the following to your `tailwind.config.ts`:
|
|
26
|
-
|
|
27
|
-
<Tabs items={["Tailwind", "Tailwind + shadcn-ui"]}>
|
|
28
|
-
|
|
29
|
-
```ts title="/tailwind.config.ts" tab="Tailwind"
|
|
30
|
-
{
|
|
31
|
-
plugins: [
|
|
32
|
-
require("tailwindcss-animate"), // make sure to "npm install tailwindcss-animate"
|
|
33
|
-
require("@assistant-ui/react-ui/tailwindcss")({
|
|
34
|
-
components: ["thread"],
|
|
35
|
-
})
|
|
36
|
-
],
|
|
37
|
-
}
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
```ts title="/tailwind.config.ts" tab="Tailwind + shadcn-ui"
|
|
41
|
-
{
|
|
42
|
-
plugins: [
|
|
43
|
-
require("tailwindcss-animate"), // make sure to "npm install tailwindcss-animate"
|
|
44
|
-
require("@assistant-ui/react-ui/tailwindcss")({
|
|
45
|
-
components: ["thread"],
|
|
46
|
-
shadcn: true
|
|
47
|
-
})
|
|
48
|
-
],
|
|
49
|
-
}
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
</Tabs>
|
|
53
|
-
|
|
54
|
-
</Step>
|
|
55
|
-
<Step>
|
|
56
|
-
|
|
57
|
-
### Use it in your app
|
|
58
|
-
|
|
59
|
-
```tsx title="/app/page.tsx"
|
|
60
|
-
import { useChatRuntime } from "@assistant-ui/react-ai-sdk";
|
|
61
|
-
import { Thread } from "@assistant-ui/react-ui";
|
|
62
|
-
|
|
63
|
-
const MyApp = () => {
|
|
64
|
-
const runtime = useChatRuntime({
|
|
65
|
-
api: "/api/chat",
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
return (
|
|
69
|
-
<div className="h-full">
|
|
70
|
-
<Thread runtime={runtime} />
|
|
71
|
-
</div>
|
|
72
|
-
);
|
|
73
|
-
};
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
</Step>
|
|
77
|
-
</Steps>
|
|
File without changes
|