@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.
Files changed (177) hide show
  1. package/.docs/organized/code-examples/waterfall.md +1 -1
  2. package/.docs/organized/code-examples/with-a2a.md +2 -2
  3. package/.docs/organized/code-examples/with-ag-ui.md +2 -2
  4. package/.docs/organized/code-examples/with-ai-sdk-v6.md +4 -4
  5. package/.docs/organized/code-examples/with-artifacts.md +4 -4
  6. package/.docs/organized/code-examples/with-assistant-transport.md +70 -54
  7. package/.docs/organized/code-examples/with-browser-extension.md +4 -4
  8. package/.docs/organized/code-examples/with-chain-of-thought.md +40 -89
  9. package/.docs/organized/code-examples/with-cloud-standalone.md +4 -4
  10. package/.docs/organized/code-examples/with-cloud.md +4 -4
  11. package/.docs/organized/code-examples/with-custom-thread-list.md +4 -4
  12. package/.docs/organized/code-examples/with-elevenlabs-conversational.md +7 -7
  13. package/.docs/organized/code-examples/with-elevenlabs-scribe.md +7 -7
  14. package/.docs/organized/code-examples/with-eve.md +343 -0
  15. package/.docs/organized/code-examples/with-expo.md +910 -933
  16. package/.docs/organized/code-examples/with-external-store.md +2 -2
  17. package/.docs/organized/code-examples/with-ffmpeg.md +5 -8
  18. package/.docs/organized/code-examples/with-generative-ui.md +6 -6
  19. package/.docs/organized/code-examples/with-google-adk.md +3 -3
  20. package/.docs/organized/code-examples/with-heat-graph.md +1 -1
  21. package/.docs/organized/code-examples/with-image-generation.md +4 -4
  22. package/.docs/organized/code-examples/with-interactables.md +166 -338
  23. package/.docs/organized/code-examples/with-langchain.md +4 -4
  24. package/.docs/organized/code-examples/with-langgraph.md +20 -157
  25. package/.docs/organized/code-examples/with-livekit.md +8 -8
  26. package/.docs/organized/code-examples/with-mcp.md +19 -10
  27. package/.docs/organized/code-examples/with-opencode.md +3 -3
  28. package/.docs/organized/code-examples/with-pi.md +9 -7
  29. package/.docs/organized/code-examples/with-react-hook-form.md +13 -6
  30. package/.docs/organized/code-examples/with-react-ink-web.md +5 -5
  31. package/.docs/organized/code-examples/with-react-ink.md +1 -1
  32. package/.docs/organized/code-examples/with-react-router.md +11 -11
  33. package/.docs/organized/code-examples/with-resumable-stream.md +5 -5
  34. package/.docs/organized/code-examples/with-store.md +1 -1
  35. package/.docs/organized/code-examples/with-tanstack.md +7 -7
  36. package/.docs/organized/code-examples/with-tap-runtime.md +2 -2
  37. package/.docs/organized/code-examples/with-virtualized-thread.md +44 -24
  38. package/.docs/raw/docs/(docs)/cli.mdx +5 -3
  39. package/.docs/raw/docs/(docs)/devtools.mdx +25 -2
  40. package/.docs/raw/docs/(docs)/index.mdx +5 -2
  41. package/.docs/raw/docs/(docs)/installation.mdx +5 -2
  42. package/.docs/raw/docs/(reference)/api-reference/external-store/message-conversion.mdx +16 -16
  43. package/.docs/raw/docs/(reference)/api-reference/hooks/composer-triggers.mdx +73 -42
  44. package/.docs/raw/docs/(reference)/api-reference/hooks/model-context.mdx +3 -20
  45. package/.docs/raw/docs/(reference)/api-reference/hooks/primitives.mdx +234 -166
  46. package/.docs/raw/docs/(reference)/api-reference/integrations/eve.mdx +51 -0
  47. package/.docs/raw/docs/(reference)/api-reference/integrations/index.mdx +4 -1
  48. package/.docs/raw/docs/(reference)/api-reference/integrations/react-ai-sdk.mdx +70 -38
  49. package/.docs/raw/docs/(reference)/api-reference/primitives/action-bar.mdx +30 -0
  50. package/.docs/raw/docs/(reference)/api-reference/primitives/attachment.mdx +7 -0
  51. package/.docs/raw/docs/(reference)/api-reference/primitives/branch-picker.mdx +26 -0
  52. package/.docs/raw/docs/(reference)/api-reference/primitives/chain-of-thought.mdx +15 -0
  53. package/.docs/raw/docs/(reference)/api-reference/primitives/composer.mdx +103 -0
  54. package/.docs/raw/docs/(reference)/api-reference/primitives/message-part.mdx +16 -0
  55. package/.docs/raw/docs/(reference)/api-reference/primitives/message.mdx +56 -0
  56. package/.docs/raw/docs/(reference)/api-reference/primitives/queue-item.mdx +12 -0
  57. package/.docs/raw/docs/(reference)/api-reference/primitives/selection-toolbar.mdx +12 -0
  58. package/.docs/raw/docs/(reference)/api-reference/primitives/suggestion.mdx +14 -0
  59. package/.docs/raw/docs/(reference)/api-reference/primitives/thread.mdx +57 -1
  60. package/.docs/raw/docs/(reference)/api-reference/tools/index.mdx +6 -0
  61. package/.docs/raw/docs/(reference)/api-reference/tools/interactables-legacy.mdx +55 -0
  62. package/.docs/raw/docs/(reference)/api-reference/tools/interactables.mdx +151 -0
  63. package/.docs/raw/docs/(reference)/api-reference/tools/rendering.mdx +15 -15
  64. package/.docs/raw/docs/(reference)/api-reference/tools/toolkits.mdx +20 -20
  65. package/.docs/raw/docs/(reference)/api-reference/utilities/miscellaneous.mdx +25 -9
  66. package/.docs/raw/docs/cloud/langgraph.mdx +1 -1
  67. package/.docs/raw/docs/guides/headless-composer-input.mdx +113 -0
  68. package/.docs/raw/docs/guides/latex.mdx +28 -22
  69. package/.docs/raw/docs/guides/mentions.mdx +32 -7
  70. package/.docs/raw/docs/guides/slash-commands.mdx +3 -6
  71. package/.docs/raw/docs/guides/speech.mdx +5 -7
  72. package/.docs/raw/docs/guides/virtualization.mdx +77 -7
  73. package/.docs/raw/docs/guides/voice.mdx +3 -2
  74. package/.docs/raw/docs/integrations/attachments/custom-adapter.mdx +4 -12
  75. package/.docs/raw/docs/integrations/auth/better-auth.mdx +7 -10
  76. package/.docs/raw/docs/integrations/auth/clerk.mdx +3 -9
  77. package/.docs/raw/docs/integrations/auth/next-auth.mdx +3 -8
  78. package/.docs/raw/docs/integrations/frameworks/ai-sdk.mdx +11 -8
  79. package/.docs/raw/docs/integrations/index.mdx +6 -13
  80. package/.docs/raw/docs/integrations/observability/helicone.mdx +3 -4
  81. package/.docs/raw/docs/integrations/observability/langfuse.mdx +3 -5
  82. package/.docs/raw/docs/integrations/observability/langsmith.mdx +5 -4
  83. package/.docs/raw/docs/integrations/persistence/custom-adapter.mdx +4 -3
  84. package/.docs/raw/docs/migrations/react-langgraph-v0-7.mdx +2 -2
  85. package/.docs/raw/docs/primitives/composer.mdx +8 -0
  86. package/.docs/raw/docs/primitives/thread-list.mdx +30 -6
  87. package/.docs/raw/docs/primitives/thread.mdx +24 -0
  88. package/.docs/raw/docs/runtimes/a2a/quickstart.mdx +1 -1
  89. package/.docs/raw/docs/runtimes/ag-ui/quickstart.mdx +1 -1
  90. package/.docs/raw/docs/runtimes/ag-ui/runtime-options.mdx +24 -1
  91. package/.docs/raw/docs/runtimes/ai-sdk/v6.mdx +1 -1
  92. package/.docs/raw/docs/runtimes/custom/external-store.mdx +54 -0
  93. package/.docs/raw/docs/runtimes/eve/overview.mdx +100 -0
  94. package/.docs/raw/docs/runtimes/eve/quickstart.mdx +143 -0
  95. package/.docs/raw/docs/runtimes/google-adk/quickstart.mdx +1 -1
  96. package/.docs/raw/docs/runtimes/langchain.mdx +388 -20
  97. package/.docs/raw/docs/runtimes/langgraph/quickstart.mdx +1 -1
  98. package/.docs/raw/docs/runtimes/langgraph/tutorial/part-1.mdx +1 -1
  99. package/.docs/raw/docs/runtimes/opencode/hooks.mdx +1 -1
  100. package/.docs/raw/docs/runtimes/pick-a-runtime.mdx +6 -0
  101. package/.docs/raw/docs/tools/defining-tools.mdx +9 -0
  102. package/.docs/raw/docs/tools/generative-ui.mdx +37 -0
  103. package/.docs/raw/docs/tools/interactables-legacy.mdx +410 -0
  104. package/.docs/raw/docs/tools/interactables.mdx +892 -223
  105. package/.docs/raw/docs/tools/mcp-apps.mdx +12 -3
  106. package/.docs/raw/docs/tools/mcp.mdx +9 -4
  107. package/.docs/raw/docs/tools/multi-agent.mdx +5 -0
  108. package/.docs/raw/docs/tools/user-managed-mcp.mdx +17 -3
  109. package/.docs/raw/docs/ui/composer-trigger-popover.mdx +2 -0
  110. package/.docs/raw/docs/ui/file.mdx +1 -1
  111. package/.docs/raw/docs/ui/follow-up-suggestions.mdx +80 -0
  112. package/.docs/raw/docs/ui/model-selector.mdx +38 -5
  113. package/.docs/raw/docs/ui/part-grouping.mdx +38 -0
  114. package/.docs/raw/docs/utilities/react-o11y.mdx +92 -6
  115. package/README.md +1 -1
  116. package/dist/constants.d.ts +2 -1
  117. package/dist/constants.d.ts.map +1 -1
  118. package/dist/constants.js +2 -1
  119. package/dist/constants.js.map +1 -1
  120. package/dist/index.d.ts.map +1 -1
  121. package/dist/index.js +30 -2
  122. package/dist/index.js.map +1 -1
  123. package/dist/prepare-docs/copy-raw.d.ts.map +1 -1
  124. package/dist/prepare-docs/copy-raw.js +0 -4
  125. package/dist/prepare-docs/copy-raw.js.map +1 -1
  126. package/dist/tools/docs.d.ts.map +1 -1
  127. package/dist/tools/docs.js +18 -6
  128. package/dist/tools/docs.js.map +1 -1
  129. package/dist/tools/examples.d.ts +3 -1
  130. package/dist/tools/examples.d.ts.map +1 -1
  131. package/dist/tools/examples.js +1 -1
  132. package/dist/tools/examples.js.map +1 -1
  133. package/dist/tools/resources.d.ts +7 -0
  134. package/dist/tools/resources.d.ts.map +1 -0
  135. package/dist/tools/resources.js +74 -0
  136. package/dist/tools/resources.js.map +1 -0
  137. package/dist/tools/search.d.ts +33 -0
  138. package/dist/tools/search.d.ts.map +1 -0
  139. package/dist/tools/search.js +39 -0
  140. package/dist/tools/search.js.map +1 -0
  141. package/dist/tools/tests/test-setup.d.ts.map +1 -1
  142. package/dist/tools/tests/test-setup.js +3 -1
  143. package/dist/tools/tests/test-setup.js.map +1 -1
  144. package/dist/utils/mdx.d.ts +2 -1
  145. package/dist/utils/mdx.d.ts.map +1 -1
  146. package/dist/utils/mdx.js +19 -2
  147. package/dist/utils/mdx.js.map +1 -1
  148. package/dist/utils/paths.d.ts +2 -1
  149. package/dist/utils/paths.d.ts.map +1 -1
  150. package/dist/utils/paths.js +18 -1
  151. package/dist/utils/paths.js.map +1 -1
  152. package/dist/utils/search.d.ts +10 -0
  153. package/dist/utils/search.d.ts.map +1 -0
  154. package/dist/utils/search.js +97 -0
  155. package/dist/utils/search.js.map +1 -0
  156. package/package.json +4 -4
  157. package/src/constants.ts +2 -0
  158. package/src/index.ts +28 -6
  159. package/src/prepare-docs/copy-raw.ts +0 -5
  160. package/src/tools/docs.ts +30 -4
  161. package/src/tools/examples.ts +4 -2
  162. package/src/tools/resources.ts +114 -0
  163. package/src/tools/search.ts +46 -0
  164. package/src/tools/tests/completions.test.ts +46 -0
  165. package/src/tools/tests/directory-size-cap.test.ts +50 -0
  166. package/src/tools/tests/mcp-protocol.test.ts +21 -1
  167. package/src/tools/tests/resources.test.ts +102 -0
  168. package/src/tools/tests/search.test.ts +37 -0
  169. package/src/tools/tests/test-setup.ts +2 -0
  170. package/src/utils/mdx.ts +21 -1
  171. package/src/utils/paths.ts +22 -0
  172. package/src/utils/search.ts +131 -0
  173. package/.docs/raw/blog/2024-07-29-hello/index.mdx +0 -64
  174. package/.docs/raw/blog/2024-09-11/index.mdx +0 -10
  175. package/.docs/raw/blog/2024-12-15/index.mdx +0 -10
  176. package/.docs/raw/blog/2025-01-31-changelog/index.mdx +0 -127
  177. 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.18.0",
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": "^25.9.3",
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.71",
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.204",
725
+ "ai": "^6.0.209",
729
726
  "class-variance-authority": "^0.7.1",
730
727
  "clsx": "^2.1.1",
731
- "lucide-react": "^1.18.0",
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": "^25.9.3",
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.71",
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.204",
1509
+ "ai": "^6.0.209",
1510
1510
  "class-variance-authority": "^0.7.1",
1511
1511
  "clsx": "^2.1.1",
1512
- "lucide-react": "^1.18.0",
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.8.1",
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": "^25.9.3",
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.8"
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.2.0",
308
+ "@google/adk": "^1.3.0",
309
309
  "class-variance-authority": "^0.7.1",
310
310
  "clsx": "^2.1.1",
311
- "lucide-react": "^1.18.0",
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": "^25.9.3",
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": "^25.9.3",
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.71",
383
+ "@ai-sdk/openai": "^3.0.74",
384
384
  "@assistant-ui/react": "workspace:*",
385
385
  "@assistant-ui/ui": "workspace:*",
386
- "ai": "^6.0.204",
386
+ "ai": "^6.0.209",
387
387
  "class-variance-authority": "^0.7.1",
388
388
  "clsx": "^2.1.1",
389
- "lucide-react": "^1.18.0",
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": "^25.9.3",
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",