@assistant-ui/mcp-docs-server 0.1.30 → 0.1.32
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 -8
- package/.docs/organized/code-examples/with-a2a.md +10 -10
- package/.docs/organized/code-examples/with-ag-ui.md +12 -12
- package/.docs/organized/code-examples/with-ai-sdk-v6.md +14 -14
- package/.docs/organized/code-examples/with-artifacts.md +14 -14
- package/.docs/organized/code-examples/with-assistant-transport.md +11 -11
- package/.docs/organized/code-examples/with-browser-extension.md +345 -0
- package/.docs/organized/code-examples/with-chain-of-thought.md +129 -63
- package/.docs/organized/code-examples/with-cloud-standalone.md +13 -13
- package/.docs/organized/code-examples/with-cloud.md +13 -13
- package/.docs/organized/code-examples/with-custom-thread-list.md +65 -20
- package/.docs/organized/code-examples/with-elevenlabs-conversational.md +18 -17
- package/.docs/organized/code-examples/with-elevenlabs-scribe.md +18 -17
- package/.docs/organized/code-examples/with-expo.md +25 -25
- package/.docs/organized/code-examples/with-external-store.md +10 -10
- package/.docs/organized/code-examples/with-ffmpeg.md +14 -14
- package/.docs/organized/code-examples/with-generative-ui.md +211 -14
- package/.docs/organized/code-examples/with-google-adk.md +12 -12
- package/.docs/organized/code-examples/with-heat-graph.md +8 -8
- package/.docs/organized/code-examples/with-image-generation.md +454 -0
- package/.docs/organized/code-examples/with-interactables.md +14 -14
- package/.docs/organized/code-examples/with-langchain.md +12 -12
- package/.docs/organized/code-examples/with-langgraph.md +15 -12
- package/.docs/organized/code-examples/with-livekit.md +19 -18
- package/.docs/organized/code-examples/with-mcp.md +748 -0
- package/.docs/organized/code-examples/with-opencode.md +107 -62
- package/.docs/organized/code-examples/with-parent-id-grouping.md +12 -12
- package/.docs/organized/code-examples/with-react-hook-form.md +14 -14
- package/.docs/organized/code-examples/with-react-ink.md +4 -4
- package/.docs/organized/code-examples/with-react-router.md +16 -16
- package/.docs/organized/code-examples/with-resumable-stream.md +660 -0
- package/.docs/organized/code-examples/with-store.md +8 -8
- package/.docs/organized/code-examples/with-tanstack.md +14 -14
- package/.docs/organized/code-examples/with-tap-runtime.md +11 -10
- package/.docs/raw/docs/(docs)/cli.mdx +3 -1
- package/.docs/raw/docs/(docs)/copilots/assistant-frame.mdx +1 -0
- package/.docs/raw/docs/(docs)/copilots/make-assistant-tool-ui.mdx +10 -3
- package/.docs/raw/docs/(docs)/copilots/make-assistant-tool.mdx +8 -3
- package/.docs/raw/docs/(docs)/copilots/make-assistant-visible.mdx +1 -0
- package/.docs/raw/docs/(docs)/copilots/model-context.mdx +1 -0
- package/.docs/raw/docs/(docs)/copilots/motivation.mdx +1 -0
- package/.docs/raw/docs/(docs)/copilots/use-assistant-instructions.mdx +1 -0
- package/.docs/raw/docs/(docs)/devtools.mdx +1 -0
- package/.docs/raw/docs/(docs)/index.mdx +3 -2
- package/.docs/raw/docs/(docs)/installation.mdx +2 -1
- package/.docs/raw/docs/(docs)/rtl.mdx +1 -0
- package/.docs/raw/docs/(reference)/api-reference/adapters/attachments.mdx +36 -0
- package/.docs/raw/docs/(reference)/api-reference/adapters/feedback.mdx +20 -0
- package/.docs/raw/docs/(reference)/api-reference/adapters/index.mdx +34 -0
- package/.docs/raw/docs/(reference)/api-reference/adapters/model.mdx +44 -0
- package/.docs/raw/docs/(reference)/api-reference/adapters/persistence.mdx +55 -0
- package/.docs/raw/docs/(reference)/api-reference/adapters/runtime.mdx +20 -0
- package/.docs/raw/docs/(reference)/api-reference/adapters/suggestions.mdx +20 -0
- package/.docs/raw/docs/(reference)/api-reference/context-providers/assistant-runtime-provider.mdx +37 -8
- package/.docs/raw/docs/(reference)/api-reference/context-providers/index.mdx +22 -0
- package/.docs/raw/docs/(reference)/api-reference/context-providers/scoped-providers.mdx +64 -0
- package/.docs/raw/docs/(reference)/api-reference/external-store/index.mdx +22 -0
- package/.docs/raw/docs/(reference)/api-reference/external-store/message-conversion.mdx +52 -0
- package/.docs/raw/docs/(reference)/api-reference/external-store/runtime.mdx +36 -0
- package/.docs/raw/docs/(reference)/api-reference/hooks/composer-triggers.mdx +98 -0
- package/.docs/raw/docs/(reference)/api-reference/hooks/index.mdx +31 -0
- package/.docs/raw/docs/(reference)/api-reference/hooks/model-context.mdx +33 -0
- package/.docs/raw/docs/(reference)/api-reference/hooks/primitives.mdx +640 -0
- package/.docs/raw/docs/(reference)/api-reference/hooks/runtimes.mdx +28 -0
- package/.docs/raw/docs/(reference)/api-reference/hooks/state.mdx +94 -0
- package/.docs/raw/docs/(reference)/api-reference/hooks/utilities.mdx +464 -0
- package/.docs/raw/docs/(reference)/api-reference/integrations/cloud-ai-sdk.mdx +24 -0
- package/.docs/raw/docs/(reference)/api-reference/integrations/index.mdx +22 -0
- package/.docs/raw/docs/(reference)/api-reference/integrations/react-ai-sdk.mdx +79 -0
- package/.docs/raw/docs/(reference)/api-reference/model-context/context.mdx +52 -0
- package/.docs/raw/docs/(reference)/api-reference/model-context/index.mdx +22 -0
- package/.docs/raw/docs/(reference)/api-reference/model-context/registry.mdx +20 -0
- package/.docs/raw/docs/(reference)/api-reference/overview.mdx +125 -125
- package/.docs/raw/docs/(reference)/api-reference/primitives/action-bar-more.mdx +78 -221
- package/.docs/raw/docs/(reference)/api-reference/primitives/action-bar.mdx +127 -242
- package/.docs/raw/docs/(reference)/api-reference/primitives/assistant-if.mdx +46 -20
- package/.docs/raw/docs/(reference)/api-reference/primitives/assistant-modal.mdx +66 -87
- package/.docs/raw/docs/(reference)/api-reference/primitives/attachment.mdx +50 -58
- package/.docs/raw/docs/(reference)/api-reference/primitives/branch-picker.mdx +80 -48
- package/.docs/raw/docs/(reference)/api-reference/primitives/chain-of-thought.mdx +67 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/composer.mdx +323 -461
- package/.docs/raw/docs/(reference)/api-reference/primitives/error.mdx +36 -43
- package/.docs/raw/docs/(reference)/api-reference/primitives/index.mdx +70 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/message-part.mdx +63 -245
- package/.docs/raw/docs/(reference)/api-reference/primitives/message.mdx +182 -554
- package/.docs/raw/docs/(reference)/api-reference/primitives/queue-item.mdx +65 -0
- package/.docs/raw/docs/(reference)/api-reference/primitives/selection-toolbar.mdx +35 -22
- package/.docs/raw/docs/(reference)/api-reference/primitives/suggestion.mdx +57 -140
- package/.docs/raw/docs/(reference)/api-reference/primitives/thread-list-item-more.mdx +70 -161
- package/.docs/raw/docs/(reference)/api-reference/primitives/thread-list-item.mdx +84 -108
- package/.docs/raw/docs/(reference)/api-reference/primitives/thread-list.mdx +82 -86
- package/.docs/raw/docs/(reference)/api-reference/primitives/thread.mdx +173 -314
- package/.docs/raw/docs/(reference)/api-reference/runtimes/assistant-runtime.mdx +9 -21
- package/.docs/raw/docs/(reference)/api-reference/runtimes/attachment-runtime.mdx +10 -21
- package/.docs/raw/docs/(reference)/api-reference/runtimes/composer-runtime.mdx +15 -70
- package/.docs/raw/docs/(reference)/api-reference/runtimes/index.mdx +43 -0
- package/.docs/raw/docs/(reference)/api-reference/runtimes/message-part-runtime.mdx +25 -28
- package/.docs/raw/docs/(reference)/api-reference/runtimes/message-runtime.mdx +11 -63
- package/.docs/raw/docs/(reference)/api-reference/runtimes/queue-state.mdx +20 -0
- package/.docs/raw/docs/(reference)/api-reference/runtimes/thread-list-item-runtime.mdx +11 -48
- package/.docs/raw/docs/(reference)/api-reference/runtimes/thread-list-runtime.mdx +10 -42
- package/.docs/raw/docs/(reference)/api-reference/runtimes/thread-runtime.mdx +18 -30
- package/.docs/raw/docs/(reference)/api-reference/tools/component-tools.mdx +68 -0
- package/.docs/raw/docs/(reference)/api-reference/tools/index.mdx +39 -0
- package/.docs/raw/docs/(reference)/api-reference/tools/rendering.mdx +79 -0
- package/.docs/raw/docs/(reference)/api-reference/tools/status.mdx +42 -0
- package/.docs/raw/docs/(reference)/api-reference/tools/toolkits.mdx +92 -0
- package/.docs/raw/docs/(reference)/api-reference/transport/assistant-transport.mdx +48 -0
- package/.docs/raw/docs/(reference)/api-reference/transport/frame.mdx +62 -0
- package/.docs/raw/docs/(reference)/api-reference/transport/index.mdx +22 -0
- package/.docs/raw/docs/(reference)/api-reference/utilities/index.mdx +19 -0
- package/.docs/raw/docs/(reference)/api-reference/utilities/miscellaneous.mdx +131 -0
- package/.docs/raw/docs/(reference)/api-reference/voice/index.mdx +22 -0
- package/.docs/raw/docs/(reference)/api-reference/voice/session.mdx +54 -0
- package/.docs/raw/docs/(reference)/api-reference/voice/speech-dictation.mdx +36 -0
- package/.docs/raw/docs/cloud/ai-sdk-assistant-ui.mdx +230 -2
- package/.docs/raw/docs/cloud/ai-sdk.mdx +222 -4
- package/.docs/raw/docs/cloud/index.mdx +2 -2
- package/.docs/raw/docs/cloud/langgraph.mdx +274 -2
- package/.docs/raw/docs/{(docs)/guides → guides}/attachments.mdx +45 -40
- package/.docs/raw/docs/guides/branching.mdx +76 -0
- package/.docs/raw/docs/guides/chain-of-thought.mdx +166 -0
- package/.docs/raw/docs/{(docs)/guides → guides}/context-api.mdx +54 -26
- package/.docs/raw/docs/{(docs)/guides → guides}/dictation.mdx +3 -1
- package/.docs/raw/docs/guides/editing.mdx +102 -0
- package/.docs/raw/docs/guides/generative-ui.mdx +142 -0
- package/.docs/raw/docs/guides/image-generation.mdx +74 -0
- package/.docs/raw/docs/guides/index.mdx +103 -0
- package/.docs/raw/docs/{(docs)/guides → guides}/interactables.mdx +51 -2
- package/.docs/raw/docs/{(docs)/guides → guides}/latex.mdx +53 -10
- package/.docs/raw/docs/guides/mcp-apps.mdx +231 -0
- package/.docs/raw/docs/{(docs)/guides → guides}/mentions.mdx +63 -88
- package/.docs/raw/docs/{(docs)/guides → guides}/message-timing.mdx +45 -6
- package/.docs/raw/docs/{(docs)/guides → guides}/multi-agent.mdx +66 -6
- package/.docs/raw/docs/{(docs)/guides → guides}/quoting.mdx +11 -18
- package/.docs/raw/docs/guides/resumable-stream-deployment.mdx +212 -0
- package/.docs/raw/docs/guides/resumable-stream-stores.mdx +152 -0
- package/.docs/raw/docs/guides/resumable-streams.mdx +210 -0
- package/.docs/raw/docs/{(docs)/guides → guides}/slash-commands.mdx +104 -38
- package/.docs/raw/docs/guides/speech.mdx +156 -0
- package/.docs/raw/docs/{(docs)/guides → guides}/suggestions.mdx +91 -69
- package/.docs/raw/docs/{(docs)/guides → guides}/tool-ui.mdx +110 -38
- package/.docs/raw/docs/{(docs)/guides → guides}/tools.mdx +197 -40
- package/.docs/raw/docs/{(docs)/guides → guides}/voice.mdx +41 -2
- package/.docs/raw/docs/ink/adapters.mdx +37 -1
- package/.docs/raw/docs/ink/custom-backend.mdx +59 -8
- package/.docs/raw/docs/ink/index.mdx +11 -14
- package/.docs/raw/docs/ink/migration.mdx +1 -3
- package/.docs/raw/docs/ink/primitives.mdx +386 -9
- package/.docs/raw/docs/integrations/attachments/custom-adapter.mdx +520 -0
- package/.docs/raw/docs/integrations/auth/better-auth.mdx +191 -0
- package/.docs/raw/docs/integrations/auth/clerk.mdx +172 -0
- package/.docs/raw/docs/integrations/auth/next-auth.mdx +196 -0
- package/.docs/raw/docs/integrations/frameworks/ai-sdk.mdx +79 -0
- package/.docs/raw/docs/integrations/frameworks/cloudflare-agents/overview.mdx +282 -0
- package/.docs/raw/docs/integrations/frameworks/mastra/full-stack.mdx +188 -0
- package/.docs/raw/docs/integrations/frameworks/mastra/overview.mdx +57 -0
- package/.docs/raw/docs/integrations/frameworks/mastra/separate-server.mdx +201 -0
- package/.docs/raw/docs/integrations/gateways/index.mdx +162 -0
- package/.docs/raw/docs/integrations/index.mdx +185 -0
- package/.docs/raw/docs/integrations/observability/helicone.mdx +130 -0
- package/.docs/raw/docs/integrations/observability/langfuse.mdx +163 -0
- package/.docs/raw/docs/integrations/observability/langsmith.mdx +150 -0
- package/.docs/raw/docs/integrations/persistence/custom-adapter.mdx +712 -0
- package/.docs/raw/docs/integrations/tools/mcp.mdx +267 -0
- package/.docs/raw/docs/integrations/tools/react-mcp.mdx +337 -0
- package/.docs/raw/docs/migrations/v0-14.mdx +297 -0
- package/.docs/raw/docs/primitives/action-bar.mdx +1 -0
- package/.docs/raw/docs/primitives/assistant-modal.mdx +1 -0
- package/.docs/raw/docs/primitives/attachment.mdx +1 -0
- package/.docs/raw/docs/primitives/branch-picker.mdx +1 -0
- package/.docs/raw/docs/primitives/chain-of-thought.mdx +90 -85
- package/.docs/raw/docs/primitives/composer.mdx +55 -1
- package/.docs/raw/docs/primitives/error.mdx +1 -0
- package/.docs/raw/docs/primitives/index.mdx +4 -3
- package/.docs/raw/docs/primitives/message.mdx +68 -5
- package/.docs/raw/docs/primitives/selection-toolbar.mdx +1 -0
- package/.docs/raw/docs/primitives/suggestion.mdx +10 -0
- package/.docs/raw/docs/primitives/thread-list.mdx +39 -0
- package/.docs/raw/docs/primitives/thread.mdx +16 -13
- package/.docs/raw/docs/react-native/hooks.mdx +2 -2
- package/.docs/raw/docs/react-native/index.mdx +5 -7
- package/.docs/raw/docs/react-native/migration.mdx +1 -3
- package/.docs/raw/docs/runtimes/a2a/client-and-hooks.mdx +396 -0
- package/.docs/raw/docs/runtimes/a2a/overview.mdx +60 -0
- package/.docs/raw/docs/runtimes/a2a/quickstart.mdx +216 -0
- package/.docs/raw/docs/runtimes/ag-ui/overview.mdx +70 -0
- package/.docs/raw/docs/runtimes/ag-ui/quickstart.mdx +243 -0
- package/.docs/raw/docs/runtimes/ag-ui/runtime-options.mdx +154 -0
- package/.docs/raw/docs/runtimes/ai-sdk/overview.mdx +52 -0
- package/.docs/raw/docs/runtimes/ai-sdk/v4-legacy.mdx +73 -128
- package/.docs/raw/docs/runtimes/ai-sdk/v5-legacy.mdx +70 -64
- package/.docs/raw/docs/runtimes/ai-sdk/v6.mdx +337 -123
- package/.docs/raw/docs/runtimes/concepts/adapters.mdx +265 -0
- package/.docs/raw/docs/runtimes/concepts/architecture.mdx +125 -0
- package/.docs/raw/docs/runtimes/concepts/stability.mdx +67 -0
- package/.docs/raw/docs/runtimes/concepts/threads.mdx +428 -0
- package/.docs/raw/docs/runtimes/custom/assistant-transport.mdx +703 -0
- package/.docs/raw/docs/runtimes/custom/data-stream.mdx +348 -0
- package/.docs/raw/docs/runtimes/custom/external-store.mdx +261 -1236
- package/.docs/raw/docs/runtimes/custom/local-runtime.mdx +746 -0
- package/.docs/raw/docs/runtimes/custom/overview.mdx +71 -0
- package/.docs/raw/docs/runtimes/google-adk/api.mdx +256 -0
- package/.docs/raw/docs/runtimes/google-adk/hooks.mdx +717 -0
- package/.docs/raw/docs/runtimes/google-adk/overview.mdx +69 -0
- package/.docs/raw/docs/runtimes/google-adk/quickstart.mdx +229 -0
- package/.docs/raw/docs/runtimes/langchain.mdx +533 -0
- package/.docs/raw/docs/runtimes/langgraph/generative-ui.mdx +305 -0
- package/.docs/raw/docs/runtimes/langgraph/interrupts.mdx +104 -0
- package/.docs/raw/docs/runtimes/langgraph/overview.mdx +84 -0
- package/.docs/raw/docs/runtimes/langgraph/quickstart.mdx +496 -0
- package/.docs/raw/docs/runtimes/langgraph/streaming.mdx +127 -0
- package/.docs/raw/docs/runtimes/langgraph/threads.mdx +113 -0
- package/.docs/raw/docs/runtimes/langgraph/tutorial/introduction.mdx +3 -3
- package/.docs/raw/docs/runtimes/langgraph/tutorial/part-1.mdx +0 -23
- package/.docs/raw/docs/runtimes/langgraph/tutorial/part-2.mdx +1 -1
- package/.docs/raw/docs/runtimes/opencode/hooks.mdx +191 -0
- package/.docs/raw/docs/runtimes/opencode/overview.mdx +48 -0
- package/.docs/raw/docs/runtimes/opencode/quickstart.mdx +119 -0
- package/.docs/raw/docs/runtimes/pick-a-runtime.mdx +78 -203
- package/.docs/raw/docs/ui/accordion.mdx +1 -0
- package/.docs/raw/docs/ui/assistant-modal.mdx +1 -0
- package/.docs/raw/docs/ui/assistant-sidebar.mdx +1 -0
- package/.docs/raw/docs/ui/attachment.mdx +1 -0
- package/.docs/raw/docs/ui/badge.mdx +1 -0
- package/.docs/raw/docs/ui/composer-trigger-popover.mdx +12 -1
- package/.docs/raw/docs/ui/context-display.mdx +1 -0
- package/.docs/raw/docs/ui/diff-viewer.mdx +1 -0
- package/.docs/raw/docs/ui/directive-text.mdx +1 -0
- package/.docs/raw/docs/ui/file.mdx +1 -0
- package/.docs/raw/docs/ui/image.mdx +1 -0
- package/.docs/raw/docs/ui/markdown.mdx +2 -14
- package/.docs/raw/docs/ui/mcp-config.mdx +102 -0
- package/.docs/raw/docs/ui/mermaid.mdx +1 -0
- package/.docs/raw/docs/ui/message-timing.mdx +3 -2
- package/.docs/raw/docs/ui/model-selector.mdx +9 -8
- package/.docs/raw/docs/ui/part-grouping.mdx +325 -313
- package/.docs/raw/docs/ui/quote.mdx +1 -0
- package/.docs/raw/docs/ui/reasoning.mdx +66 -33
- package/.docs/raw/docs/ui/scrollbar.mdx +1 -0
- package/.docs/raw/docs/ui/select.mdx +1 -0
- package/.docs/raw/docs/ui/sources.mdx +18 -0
- package/.docs/raw/docs/ui/streamdown.mdx +35 -2
- package/.docs/raw/docs/ui/syntax-highlighting.mdx +1 -0
- package/.docs/raw/docs/ui/tabs.mdx +1 -0
- package/.docs/raw/docs/ui/thread-list.mdx +19 -2
- package/.docs/raw/docs/ui/thread.mdx +58 -3
- package/.docs/raw/docs/ui/tool-fallback.mdx +1 -0
- package/.docs/raw/docs/ui/tool-group.mdx +39 -11
- package/.docs/raw/docs/ui/voice.mdx +1 -0
- package/.docs/raw/docs/utilities/heat-graph.mdx +1 -0
- package/.docs/raw/docs/utilities/react-o11y.mdx +278 -0
- package/.docs/raw/docs/utilities/tw-shimmer.mdx +1 -0
- package/README.md +14 -72
- package/dist/constants.d.ts +12 -9
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +13 -9
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -24
- package/dist/index.js.map +1 -1
- package/dist/prepare-docs/code-examples.d.ts +4 -1
- package/dist/prepare-docs/code-examples.d.ts.map +1 -1
- package/dist/prepare-docs/code-examples.js +109 -121
- package/dist/prepare-docs/code-examples.js.map +1 -1
- package/dist/prepare-docs/copy-raw.d.ts +4 -1
- package/dist/prepare-docs/copy-raw.d.ts.map +1 -1
- package/dist/prepare-docs/copy-raw.js +45 -42
- package/dist/prepare-docs/copy-raw.js.map +1 -1
- package/dist/prepare-docs/prepare.d.ts +1 -2
- package/dist/prepare-docs/prepare.js +17 -17
- package/dist/prepare-docs/prepare.js.map +1 -1
- package/dist/stdio.d.ts +1 -3
- package/dist/stdio.js +6 -3
- package/dist/stdio.js.map +1 -1
- package/dist/tools/docs.d.ts +20 -15
- package/dist/tools/docs.d.ts.map +1 -1
- package/dist/tools/docs.js +140 -161
- package/dist/tools/docs.js.map +1 -1
- package/dist/tools/examples.d.ts +20 -15
- package/dist/tools/examples.d.ts.map +1 -1
- package/dist/tools/examples.js +74 -86
- package/dist/tools/examples.js.map +1 -1
- package/dist/tools/tests/test-setup.d.ts +5 -2
- package/dist/tools/tests/test-setup.d.ts.map +1 -1
- package/dist/tools/tests/test-setup.js +21 -28
- package/dist/tools/tests/test-setup.js.map +1 -1
- package/dist/utils/logger.d.ts +8 -5
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +17 -17
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/mcp-format.d.ts +8 -5
- package/dist/utils/mcp-format.d.ts.map +1 -1
- package/dist/utils/mcp-format.js +9 -9
- package/dist/utils/mcp-format.js.map +1 -1
- package/dist/utils/mdx.d.ts +8 -6
- package/dist/utils/mdx.d.ts.map +1 -1
- package/dist/utils/mdx.js +22 -22
- package/dist/utils/mdx.js.map +1 -1
- package/dist/utils/paths.d.ts +9 -6
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +66 -76
- package/dist/utils/paths.js.map +1 -1
- package/dist/utils/security.d.ts +4 -1
- package/dist/utils/security.d.ts.map +1 -1
- package/dist/utils/security.js +19 -40
- package/dist/utils/security.js.map +1 -1
- package/package.json +6 -6
- package/src/tools/tests/path-traversal.test.ts +1 -1
- package/.docs/raw/docs/(docs)/guides/branching.mdx +0 -65
- package/.docs/raw/docs/(docs)/guides/chain-of-thought.mdx +0 -164
- package/.docs/raw/docs/(docs)/guides/editing.mdx +0 -66
- package/.docs/raw/docs/(docs)/guides/speech.mdx +0 -38
- package/.docs/raw/docs/(reference)/api-reference/context-providers/text-message-part-provider.mdx +0 -40
- package/.docs/raw/docs/(reference)/api-reference/integrations/react-data-stream.mdx +0 -260
- package/.docs/raw/docs/(reference)/api-reference/integrations/react-hook-form.mdx +0 -103
- package/.docs/raw/docs/(reference)/api-reference/integrations/vercel-ai-sdk.mdx +0 -254
- package/.docs/raw/docs/(reference)/migrations/v0-14.mdx +0 -159
- package/.docs/raw/docs/runtimes/a2a/index.mdx +0 -298
- package/.docs/raw/docs/runtimes/assistant-transport.mdx +0 -1033
- package/.docs/raw/docs/runtimes/custom/custom-thread-list.mdx +0 -314
- package/.docs/raw/docs/runtimes/custom/local.mdx +0 -1464
- package/.docs/raw/docs/runtimes/data-stream.mdx +0 -422
- package/.docs/raw/docs/runtimes/google-adk/index.mdx +0 -686
- package/.docs/raw/docs/runtimes/helicone.mdx +0 -61
- package/.docs/raw/docs/runtimes/langchain/comparison.mdx +0 -60
- package/.docs/raw/docs/runtimes/langchain/index.mdx +0 -210
- package/.docs/raw/docs/runtimes/langgraph/index.mdx +0 -699
- package/.docs/raw/docs/runtimes/langgraph/tutorial/index.mdx +0 -12
- package/.docs/raw/docs/runtimes/langserve.mdx +0 -116
- package/.docs/raw/docs/runtimes/mastra/full-stack-integration.mdx +0 -218
- package/.docs/raw/docs/runtimes/mastra/overview.mdx +0 -18
- package/.docs/raw/docs/runtimes/mastra/separate-server-integration.mdx +0 -217
- package/dist/prepare-docs/prepare.d.ts.map +0 -1
- package/dist/stdio.d.ts.map +0 -1
- /package/.docs/raw/docs/{(reference)/migrations → migrations}/deprecation-policy.mdx +0 -0
- /package/.docs/raw/docs/{(reference) → migrations}/react-compatibility.mdx +0 -0
- /package/.docs/raw/docs/{(reference)/migrations → migrations}/react-langgraph-v0-7.mdx +0 -0
- /package/.docs/raw/docs/{(reference)/migrations → migrations}/v0-11.mdx +0 -0
- /package/.docs/raw/docs/{(reference)/migrations → migrations}/v0-12.mdx +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
---
|
|
2
|
-
title:
|
|
3
|
-
description: API reference for primitives,
|
|
2
|
+
title: API Reference
|
|
3
|
+
description: Complete assistant-ui React API reference for building AI chat UIs with primitives, hooks, runtimes, adapters, tools, transport, voice, and integrations.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
import { Component, ContextLevel
|
|
7
|
+
import { Component, ContextLevel } from "./context";
|
|
8
8
|
|
|
9
9
|
export const contextColors = {
|
|
10
10
|
"Assistant Context": "#4a86e8",
|
|
@@ -16,64 +16,44 @@ export const contextColors = {
|
|
|
16
16
|
"ThreadListItem Context": "#c678dd",
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
##
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
- [`useRemoteThreadListRuntime`](#use-remote-thread-list-runtime)
|
|
58
|
-
- [`useCloudThreadListRuntime`](#use-cloud-thread-list-runtime)
|
|
59
|
-
|
|
60
|
-
## Runtime Adapters
|
|
61
|
-
|
|
62
|
-
### Attachment
|
|
63
|
-
|
|
64
|
-
- [`AttachmentAdapter`](#attachment-adapter)
|
|
65
|
-
- [`SimpleImageAttachmentAdapter`](#simple-image-attachment-adapter)
|
|
66
|
-
- [`SimpleTextAttachmentAdapter`](#simple-text-attachment-adapter)
|
|
67
|
-
- [`CompositeAttachmentAdapter`](#composite-attachment-adapter)
|
|
68
|
-
|
|
69
|
-
### Feedback
|
|
70
|
-
|
|
71
|
-
- [`FeedbackAdapter`](#feedback-adapter)
|
|
72
|
-
|
|
73
|
-
### Speech
|
|
74
|
-
|
|
75
|
-
- [`SpeechSynthesisAdapter`](#speech-synthesis-adapter)
|
|
76
|
-
- [`WebSpeechSynthesisAdapter`](#web-speech-synthesis-adapter)
|
|
19
|
+
## Start Here
|
|
20
|
+
|
|
21
|
+
The React API reference is organized by how you build with assistant-ui:
|
|
22
|
+
|
|
23
|
+
<Cards>
|
|
24
|
+
<Card title="Tools" href="/docs/api-reference/tools">
|
|
25
|
+
Define toolkits, register component-scoped tools, and render tool or data parts.
|
|
26
|
+
</Card>
|
|
27
|
+
<Card title="Model Context" href="/docs/api-reference/model-context/context">
|
|
28
|
+
Provide instructions, merge model context, and register inline renderers for model-facing state.
|
|
29
|
+
</Card>
|
|
30
|
+
<Card title="Transport" href="/docs/api-reference/transport/assistant-transport">
|
|
31
|
+
Assistant transport, frame provider, and serialized frame protocol APIs for cross-boundary runtimes.
|
|
32
|
+
</Card>
|
|
33
|
+
<Card title="External Store" href="/docs/api-reference/external-store/runtime">
|
|
34
|
+
Runtime and message conversion APIs for apps that own their message store.
|
|
35
|
+
</Card>
|
|
36
|
+
<Card title="Voice" href="/docs/api-reference/voice/session">
|
|
37
|
+
Realtime voice sessions, speech synthesis adapters, and dictation adapters.
|
|
38
|
+
</Card>
|
|
39
|
+
<Card title="Primitives" href="/docs/api-reference/primitives/thread">
|
|
40
|
+
Composable React components such as `ThreadPrimitive`, `MessagePrimitive`, and `ComposerPrimitive`.
|
|
41
|
+
</Card>
|
|
42
|
+
<Card title="Hooks" href="/docs/api-reference/hooks/state">
|
|
43
|
+
Reactive state hooks, runtime hooks, model context hooks, and utility hooks.
|
|
44
|
+
</Card>
|
|
45
|
+
<Card title="Adapters" href="/docs/api-reference/adapters/model">
|
|
46
|
+
Runtime extension points for attachments, persistence, feedback, speech, dictation, and suggestions.
|
|
47
|
+
</Card>
|
|
48
|
+
<Card title="Integrations" href="/docs/api-reference/integrations/react-ai-sdk">
|
|
49
|
+
Package-level APIs for integrations such as `@assistant-ui/react-ai-sdk` and `@assistant-ui/cloud-ai-sdk`.
|
|
50
|
+
</Card>
|
|
51
|
+
<Card title="Runtime State" href="/docs/api-reference/runtimes/assistant-runtime">
|
|
52
|
+
Runtime action and state shapes used by `useAui` and `useAuiState`.
|
|
53
|
+
</Card>
|
|
54
|
+
</Cards>
|
|
55
|
+
|
|
56
|
+
The lower sections on this page show how the core React contexts nest and where the primary primitives, hooks, and runtime objects are available. Feature-first APIs such as tools, model context, transport, external store, and voice now live in their own generated sections.
|
|
77
57
|
|
|
78
58
|
## Highest Level Context Providers
|
|
79
59
|
|
|
@@ -89,12 +69,20 @@ export const contextColors = {
|
|
|
89
69
|
link: "#composer-context",
|
|
90
70
|
},
|
|
91
71
|
]}
|
|
92
|
-
docsLink="
|
|
72
|
+
docsLink="/docs/api-reference/context-providers/assistant-runtime-provider"
|
|
93
73
|
tooltip="Provides the highest level context for the assistant-ui"
|
|
94
74
|
props="runtime={runtime}"
|
|
95
75
|
>
|
|
96
|
-
<Component
|
|
97
|
-
|
|
76
|
+
<Component
|
|
77
|
+
name="ThreadPrimitive"
|
|
78
|
+
docsLink="/docs/api-reference/primitives/thread"
|
|
79
|
+
tooltip="Thread primitive components"
|
|
80
|
+
/>
|
|
81
|
+
<Component
|
|
82
|
+
name="ThreadListPrimitive"
|
|
83
|
+
docsLink="/docs/api-reference/primitives/thread-list"
|
|
84
|
+
tooltip="Thread list primitive components"
|
|
85
|
+
/>
|
|
98
86
|
</Component>
|
|
99
87
|
|
|
100
88
|
<Component
|
|
@@ -104,14 +92,18 @@ export const contextColors = {
|
|
|
104
92
|
{
|
|
105
93
|
name: "Text MessagePart Context",
|
|
106
94
|
color: contextColors["MessagePart Context"],
|
|
107
|
-
link: "#
|
|
95
|
+
link: "#messagepart-context",
|
|
108
96
|
},
|
|
109
97
|
]}
|
|
110
|
-
docsLink="
|
|
98
|
+
docsLink="/docs/api-reference/context-providers/scoped-providers"
|
|
111
99
|
tooltip="Provides context for text message parts"
|
|
112
100
|
props="text={text}"
|
|
113
101
|
>
|
|
114
|
-
<Component
|
|
102
|
+
<Component
|
|
103
|
+
name="MessagePartPrimitive"
|
|
104
|
+
docsLink="/docs/api-reference/primitives/message-part"
|
|
105
|
+
tooltip="Message part primitive components"
|
|
106
|
+
/>
|
|
115
107
|
</Component>
|
|
116
108
|
|
|
117
109
|
<ContextLevel color={contextColors["Assistant Context"]}>
|
|
@@ -128,16 +120,16 @@ Programmatically access the assistant's state and actions via `useAui()`.
|
|
|
128
120
|
|
|
129
121
|
Add system prompt instructions
|
|
130
122
|
|
|
131
|
-
- [`useAssistantInstructions`](
|
|
123
|
+
- [`useAssistantInstructions`](/docs/api-reference/model-context/context)
|
|
132
124
|
|
|
133
125
|
### Tool UI
|
|
134
126
|
|
|
135
127
|
Register tool UIs
|
|
136
128
|
|
|
137
|
-
- [`makeAssistantTool`](
|
|
138
|
-
- [`makeAssistantToolUI`](#
|
|
139
|
-
- [`useAssistantTool`](
|
|
140
|
-
- [`useAssistantToolUI`](#
|
|
129
|
+
- [`makeAssistantTool`](/docs/api-reference/tools/component-tools#makeassistanttool)
|
|
130
|
+
- [`makeAssistantToolUI`](/docs/api-reference/tools/rendering#makeassistanttoolui)
|
|
131
|
+
- [`useAssistantTool`](/docs/api-reference/tools/component-tools#useassistanttool)
|
|
132
|
+
- [`useAssistantToolUI`](/docs/api-reference/tools/rendering#useassistanttoolui)
|
|
141
133
|
|
|
142
134
|
Programmatically access the list of registered tool UIs via `useAuiState((s) => s.tools)` and `useAui().tools()`.
|
|
143
135
|
|
|
@@ -147,12 +139,12 @@ Shows a list of threads and allows the user to switch between them.
|
|
|
147
139
|
|
|
148
140
|
<Component
|
|
149
141
|
name="ThreadListPrimitive.Root"
|
|
150
|
-
docsLink="
|
|
142
|
+
docsLink="/docs/api-reference/primitives/thread-list"
|
|
151
143
|
tooltip="Root component for the thread list"
|
|
152
144
|
>
|
|
153
145
|
<Component
|
|
154
146
|
name="ThreadListPrimitive.New"
|
|
155
|
-
docsLink="
|
|
147
|
+
docsLink="/docs/api-reference/primitives/thread-list"
|
|
156
148
|
tooltip="Component for creating a new thread"
|
|
157
149
|
/>
|
|
158
150
|
<Component
|
|
@@ -164,7 +156,7 @@ Shows a list of threads and allows the user to switch between them.
|
|
|
164
156
|
color: contextColors["ThreadListItem Context"],
|
|
165
157
|
},
|
|
166
158
|
]}
|
|
167
|
-
docsLink="
|
|
159
|
+
docsLink="/docs/api-reference/primitives/thread-list"
|
|
168
160
|
tooltip="Container for thread list items, provides context for individual items"
|
|
169
161
|
props="components={...}"
|
|
170
162
|
/>
|
|
@@ -192,8 +184,8 @@ Programmatically access the thread's state and actions.
|
|
|
192
184
|
|
|
193
185
|
### ThreadViewportStore
|
|
194
186
|
|
|
195
|
-
- [`useThreadViewport`](
|
|
196
|
-
- [`useThreadViewportStore`](
|
|
187
|
+
- [`useThreadViewport`](/docs/api-reference/hooks/primitives)
|
|
188
|
+
- [`useThreadViewportStore`](/docs/api-reference/hooks/primitives)
|
|
197
189
|
|
|
198
190
|
### ThreadPrimitive
|
|
199
191
|
|
|
@@ -201,12 +193,12 @@ A conversation thread.
|
|
|
201
193
|
|
|
202
194
|
<Component
|
|
203
195
|
name="ThreadPrimitive.Root"
|
|
204
|
-
docsLink="
|
|
196
|
+
docsLink="/docs/api-reference/primitives/thread"
|
|
205
197
|
tooltip="Root component for a thread"
|
|
206
198
|
>
|
|
207
199
|
<Component
|
|
208
200
|
name="ThreadPrimitive.Viewport"
|
|
209
|
-
docsLink="
|
|
201
|
+
docsLink="/docs/api-reference/primitives/thread"
|
|
210
202
|
tooltip="Viewport for the thread content"
|
|
211
203
|
>
|
|
212
204
|
<Component
|
|
@@ -220,27 +212,35 @@ A conversation thread.
|
|
|
220
212
|
link: "#composer-context",
|
|
221
213
|
},
|
|
222
214
|
]}
|
|
223
|
-
docsLink="
|
|
215
|
+
docsLink="/docs/api-reference/primitives/thread"
|
|
224
216
|
tooltip="Container for thread messages, provides context for messages and edit composer"
|
|
225
217
|
>
|
|
226
|
-
<Component
|
|
218
|
+
<Component
|
|
219
|
+
name="MessagePrimitive"
|
|
220
|
+
docsLink="/docs/api-reference/primitives/message"
|
|
221
|
+
tooltip="Message primitive components"
|
|
222
|
+
/>
|
|
227
223
|
</Component>
|
|
228
224
|
<Component
|
|
229
225
|
name="ThreadPrimitive.ScrollToBottom"
|
|
230
|
-
docsLink="
|
|
226
|
+
docsLink="/docs/api-reference/primitives/thread"
|
|
231
227
|
tooltip="Scrolls to the bottom of the thread"
|
|
232
228
|
/>
|
|
233
229
|
<Component
|
|
234
230
|
name="AuiIf"
|
|
235
|
-
docsLink="
|
|
231
|
+
docsLink="/docs/api-reference/primitives/assistant-if"
|
|
236
232
|
tooltip="Conditional rendering based on assistant state"
|
|
237
233
|
/>
|
|
238
234
|
<Component
|
|
239
235
|
name="ThreadPrimitive.Suggestion"
|
|
240
|
-
docsLink="
|
|
236
|
+
docsLink="/docs/api-reference/primitives/thread"
|
|
241
237
|
tooltip="Displays suggestions in the thread"
|
|
242
238
|
/>
|
|
243
|
-
<Component
|
|
239
|
+
<Component
|
|
240
|
+
name="ComposerPrimitive"
|
|
241
|
+
docsLink="/docs/api-reference/primitives/composer"
|
|
242
|
+
tooltip="Composer primitive components"
|
|
243
|
+
/>
|
|
244
244
|
</Component>
|
|
245
245
|
</Component>
|
|
246
246
|
|
|
@@ -250,22 +250,22 @@ A floating modal that usually appears in the lower right corner of the screen. C
|
|
|
250
250
|
|
|
251
251
|
<Component
|
|
252
252
|
name="AssistantModalPrimitive.Root"
|
|
253
|
-
docsLink="
|
|
253
|
+
docsLink="/docs/api-reference/primitives/assistant-modal"
|
|
254
254
|
tooltip="Root component for the assistant modal"
|
|
255
255
|
>
|
|
256
256
|
<Component
|
|
257
257
|
name="AssistantModalPrimitive.Trigger"
|
|
258
|
-
docsLink="
|
|
258
|
+
docsLink="/docs/api-reference/primitives/assistant-modal"
|
|
259
259
|
tooltip="Trigger to open the assistant modal"
|
|
260
260
|
/>
|
|
261
261
|
<Component
|
|
262
262
|
name="AssistantModalPrimitive.Anchor"
|
|
263
|
-
docsLink="
|
|
263
|
+
docsLink="/docs/api-reference/primitives/assistant-modal"
|
|
264
264
|
tooltip="Anchor point for the assistant modal"
|
|
265
265
|
/>
|
|
266
266
|
<Component
|
|
267
267
|
name="AssistantModalPrimitive.Content"
|
|
268
|
-
docsLink="
|
|
268
|
+
docsLink="/docs/api-reference/primitives/assistant-modal"
|
|
269
269
|
tooltip="Content of the assistant modal"
|
|
270
270
|
/>
|
|
271
271
|
</Component>
|
|
@@ -287,22 +287,22 @@ Manages the state and actions for the message composer
|
|
|
287
287
|
|
|
288
288
|
<Component
|
|
289
289
|
name="ComposerPrimitive.Root"
|
|
290
|
-
docsLink="
|
|
290
|
+
docsLink="/docs/api-reference/primitives/composer"
|
|
291
291
|
tooltip="Root component for the composer"
|
|
292
292
|
>
|
|
293
293
|
<Component
|
|
294
294
|
name="ComposerPrimitive.Input"
|
|
295
|
-
docsLink="
|
|
295
|
+
docsLink="/docs/api-reference/primitives/composer"
|
|
296
296
|
tooltip="Input field for composing messages"
|
|
297
297
|
/>
|
|
298
298
|
<Component
|
|
299
299
|
name="ComposerPrimitive.Send"
|
|
300
|
-
docsLink="
|
|
300
|
+
docsLink="/docs/api-reference/primitives/composer"
|
|
301
301
|
tooltip="Button to send the composed message"
|
|
302
302
|
/>
|
|
303
303
|
<Component
|
|
304
304
|
name="ComposerPrimitive.Cancel"
|
|
305
|
-
docsLink="
|
|
305
|
+
docsLink="/docs/api-reference/primitives/composer"
|
|
306
306
|
tooltip="Button to cancel composing"
|
|
307
307
|
/>
|
|
308
308
|
<Component
|
|
@@ -314,12 +314,12 @@ Manages the state and actions for the message composer
|
|
|
314
314
|
color: contextColors["Attachment Context"],
|
|
315
315
|
},
|
|
316
316
|
]}
|
|
317
|
-
docsLink="
|
|
317
|
+
docsLink="/docs/api-reference/primitives/composer"
|
|
318
318
|
tooltip="Manages attachments in the composer"
|
|
319
319
|
/>
|
|
320
320
|
<Component
|
|
321
321
|
name="ComposerPrimitive.AddAttachment"
|
|
322
|
-
docsLink="
|
|
322
|
+
docsLink="/docs/api-reference/primitives/composer"
|
|
323
323
|
tooltip="Button to add an attachment"
|
|
324
324
|
/>
|
|
325
325
|
</Component>
|
|
@@ -343,7 +343,7 @@ Manages the state and actions for individual messages
|
|
|
343
343
|
|
|
344
344
|
<Component
|
|
345
345
|
name="MessagePrimitive.Root"
|
|
346
|
-
docsLink="
|
|
346
|
+
docsLink="/docs/api-reference/primitives/message"
|
|
347
347
|
tooltip="Root component for a message"
|
|
348
348
|
>
|
|
349
349
|
<Component
|
|
@@ -355,7 +355,7 @@ Manages the state and actions for individual messages
|
|
|
355
355
|
color: contextColors["MessagePart Context"],
|
|
356
356
|
},
|
|
357
357
|
]}
|
|
358
|
-
docsLink="
|
|
358
|
+
docsLink="/docs/api-reference/primitives/message"
|
|
359
359
|
tooltip="Displays the parts of the message"
|
|
360
360
|
/>
|
|
361
361
|
<Component
|
|
@@ -367,12 +367,12 @@ Manages the state and actions for individual messages
|
|
|
367
367
|
color: contextColors["Attachment Context"],
|
|
368
368
|
},
|
|
369
369
|
]}
|
|
370
|
-
docsLink="
|
|
370
|
+
docsLink="/docs/api-reference/primitives/message"
|
|
371
371
|
tooltip="Displays attachments in the message"
|
|
372
372
|
/>
|
|
373
373
|
<Component
|
|
374
374
|
name="AuiIf"
|
|
375
|
-
docsLink="
|
|
375
|
+
docsLink="/docs/api-reference/primitives/assistant-if"
|
|
376
376
|
tooltip="Conditional rendering based on assistant state"
|
|
377
377
|
/>
|
|
378
378
|
</Component>
|
|
@@ -381,42 +381,42 @@ Manages the state and actions for individual messages
|
|
|
381
381
|
|
|
382
382
|
<Component
|
|
383
383
|
name="ActionBarPrimitive.Root"
|
|
384
|
-
docsLink="
|
|
384
|
+
docsLink="/docs/api-reference/primitives/action-bar"
|
|
385
385
|
tooltip="Root component for the action bar"
|
|
386
386
|
>
|
|
387
387
|
<Component
|
|
388
388
|
name="ActionBarPrimitive.Copy"
|
|
389
|
-
docsLink="
|
|
389
|
+
docsLink="/docs/api-reference/primitives/action-bar"
|
|
390
390
|
tooltip="Copies the message content"
|
|
391
391
|
/>
|
|
392
392
|
<Component
|
|
393
393
|
name="ActionBarPrimitive.Edit"
|
|
394
|
-
docsLink="
|
|
394
|
+
docsLink="/docs/api-reference/primitives/action-bar"
|
|
395
395
|
tooltip="Edits the message"
|
|
396
396
|
/>
|
|
397
397
|
<Component
|
|
398
398
|
name="ActionBarPrimitive.Reload"
|
|
399
|
-
docsLink="
|
|
399
|
+
docsLink="/docs/api-reference/primitives/action-bar"
|
|
400
400
|
tooltip="Reloads the message"
|
|
401
401
|
/>
|
|
402
402
|
<Component
|
|
403
403
|
name="ActionBarPrimitive.Speak"
|
|
404
|
-
docsLink="
|
|
404
|
+
docsLink="/docs/api-reference/primitives/action-bar"
|
|
405
405
|
tooltip="Speaks the message content"
|
|
406
406
|
/>
|
|
407
407
|
<Component
|
|
408
408
|
name="ActionBarPrimitive.StopSpeaking"
|
|
409
|
-
docsLink="
|
|
409
|
+
docsLink="/docs/api-reference/primitives/action-bar"
|
|
410
410
|
tooltip="Stops speaking the message"
|
|
411
411
|
/>
|
|
412
412
|
<Component
|
|
413
413
|
name="ActionBarPrimitive.FeedbackPositive"
|
|
414
|
-
docsLink="
|
|
414
|
+
docsLink="/docs/api-reference/primitives/action-bar"
|
|
415
415
|
tooltip="Provides positive feedback"
|
|
416
416
|
/>
|
|
417
417
|
<Component
|
|
418
418
|
name="ActionBarPrimitive.FeedbackNegative"
|
|
419
|
-
docsLink="
|
|
419
|
+
docsLink="/docs/api-reference/primitives/action-bar"
|
|
420
420
|
tooltip="Provides negative feedback"
|
|
421
421
|
/>
|
|
422
422
|
</Component>
|
|
@@ -425,22 +425,22 @@ Manages the state and actions for individual messages
|
|
|
425
425
|
|
|
426
426
|
<Component
|
|
427
427
|
name="BranchPickerPrimitive.Root"
|
|
428
|
-
docsLink="
|
|
428
|
+
docsLink="/docs/api-reference/primitives/branch-picker"
|
|
429
429
|
tooltip="Root component for the branch picker"
|
|
430
430
|
>
|
|
431
431
|
<Component
|
|
432
432
|
name="BranchPickerPrimitive.Previous"
|
|
433
|
-
docsLink="
|
|
433
|
+
docsLink="/docs/api-reference/primitives/branch-picker"
|
|
434
434
|
tooltip="Navigates to the previous branch"
|
|
435
435
|
/>
|
|
436
436
|
<Component
|
|
437
437
|
name="BranchPickerPrimitive.Number"
|
|
438
|
-
docsLink="
|
|
438
|
+
docsLink="/docs/api-reference/primitives/branch-picker"
|
|
439
439
|
tooltip="Displays the current branch number"
|
|
440
440
|
/>
|
|
441
441
|
<Component
|
|
442
442
|
name="BranchPickerPrimitive.Next"
|
|
443
|
-
docsLink="
|
|
443
|
+
docsLink="/docs/api-reference/primitives/branch-picker"
|
|
444
444
|
tooltip="Navigates to the next branch"
|
|
445
445
|
/>
|
|
446
446
|
</Component>
|
|
@@ -462,7 +462,7 @@ Manages the state and actions for message parts within messages
|
|
|
462
462
|
|
|
463
463
|
<Component
|
|
464
464
|
name="MessagePartPrimitive.Text"
|
|
465
|
-
docsLink="
|
|
465
|
+
docsLink="/docs/api-reference/primitives/message-part"
|
|
466
466
|
tooltip="Represents a text part of the message content"
|
|
467
467
|
/>
|
|
468
468
|
|
|
@@ -470,7 +470,7 @@ Manages the state and actions for message parts within messages
|
|
|
470
470
|
|
|
471
471
|
<Component
|
|
472
472
|
name="MarkdownText"
|
|
473
|
-
docsLink="
|
|
473
|
+
docsLink="/docs/api-reference/primitives/message-part"
|
|
474
474
|
tooltip="Renders markdown text in the message"
|
|
475
475
|
/>
|
|
476
476
|
|
|
@@ -491,22 +491,22 @@ Manages the state and actions for attachments in messages and composer
|
|
|
491
491
|
|
|
492
492
|
<Component
|
|
493
493
|
name="AttachmentPrimitive.Root"
|
|
494
|
-
docsLink="
|
|
494
|
+
docsLink="/docs/api-reference/primitives/attachment"
|
|
495
495
|
tooltip="Root component for an attachment"
|
|
496
496
|
>
|
|
497
497
|
<Component
|
|
498
498
|
name="AttachmentPrimitive.Name"
|
|
499
|
-
docsLink="
|
|
499
|
+
docsLink="/docs/api-reference/primitives/attachment"
|
|
500
500
|
tooltip="Displays the name of the attachment"
|
|
501
501
|
/>
|
|
502
502
|
<Component
|
|
503
503
|
name="AttachmentPrimitive.Remove"
|
|
504
|
-
docsLink="
|
|
504
|
+
docsLink="/docs/api-reference/primitives/attachment"
|
|
505
505
|
tooltip="Removes the attachment"
|
|
506
506
|
/>
|
|
507
507
|
<Component
|
|
508
508
|
name="AttachmentPrimitive.unstable_Thumb"
|
|
509
|
-
docsLink="
|
|
509
|
+
docsLink="/docs/api-reference/primitives/attachment"
|
|
510
510
|
tooltip="Displays a thumbnail of the attachment"
|
|
511
511
|
/>
|
|
512
512
|
</Component>
|
|
@@ -528,33 +528,33 @@ Manages the state and actions for individual thread list items
|
|
|
528
528
|
|
|
529
529
|
<Component
|
|
530
530
|
name="ThreadListItemPrimitive.Root"
|
|
531
|
-
docsLink="
|
|
531
|
+
docsLink="/docs/api-reference/primitives/thread-list-item"
|
|
532
532
|
tooltip="Root component for a thread list item"
|
|
533
533
|
>
|
|
534
534
|
<Component
|
|
535
535
|
name="ThreadListItemPrimitive.Trigger"
|
|
536
|
-
docsLink="
|
|
536
|
+
docsLink="/docs/api-reference/primitives/thread-list-item"
|
|
537
537
|
tooltip="Trigger for thread list item actions"
|
|
538
538
|
>
|
|
539
539
|
<Component
|
|
540
540
|
name="ThreadListItemPrimitive.Title"
|
|
541
|
-
docsLink="
|
|
541
|
+
docsLink="/docs/api-reference/primitives/thread-list-item"
|
|
542
542
|
tooltip="Displays the title of the thread"
|
|
543
543
|
/>
|
|
544
544
|
</Component>
|
|
545
545
|
<Component
|
|
546
546
|
name="ThreadListItemPrimitive.Archive"
|
|
547
|
-
docsLink="
|
|
547
|
+
docsLink="/docs/api-reference/primitives/thread-list-item"
|
|
548
548
|
tooltip="Archives the thread"
|
|
549
549
|
/>
|
|
550
550
|
<Component
|
|
551
551
|
name="ThreadListItemPrimitive.Unarchive"
|
|
552
|
-
docsLink="
|
|
552
|
+
docsLink="/docs/api-reference/primitives/thread-list-item"
|
|
553
553
|
tooltip="Unarchives the thread"
|
|
554
554
|
/>
|
|
555
555
|
<Component
|
|
556
556
|
name="ThreadListItemPrimitive.Delete"
|
|
557
|
-
docsLink="
|
|
557
|
+
docsLink="/docs/api-reference/primitives/thread-list-item"
|
|
558
558
|
tooltip="Deletes the thread"
|
|
559
559
|
/>
|
|
560
560
|
</Component>
|
|
@@ -563,5 +563,5 @@ Manages the state and actions for individual thread list items
|
|
|
563
563
|
|
|
564
564
|
## Utilities
|
|
565
565
|
|
|
566
|
-
- [`useThreadViewportAutoScroll`](
|
|
567
|
-
- [`useInlineRender`](
|
|
566
|
+
- [`useThreadViewportAutoScroll`](/docs/api-reference/hooks/primitives)
|
|
567
|
+
- [`useInlineRender`](/docs/api-reference/model-context/context)
|