@assistant-ui/mcp-docs-server 0.1.35 → 0.1.36

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 (107) 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 +6 -6
  13. package/.docs/organized/code-examples/with-elevenlabs-scribe.md +6 -6
  14. package/.docs/organized/code-examples/with-eve.md +343 -0
  15. package/.docs/organized/code-examples/with-expo.md +909 -932
  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 +5 -5
  19. package/.docs/organized/code-examples/with-google-adk.md +2 -2
  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 +6 -6
  26. package/.docs/organized/code-examples/with-mcp.md +4 -4
  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 +10 -10
  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 +5 -5
  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 +4 -2
  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/guides/headless-composer-input.mdx +113 -0
  67. package/.docs/raw/docs/guides/latex.mdx +28 -22
  68. package/.docs/raw/docs/guides/mentions.mdx +32 -7
  69. package/.docs/raw/docs/guides/slash-commands.mdx +3 -6
  70. package/.docs/raw/docs/guides/speech.mdx +5 -7
  71. package/.docs/raw/docs/guides/virtualization.mdx +77 -7
  72. package/.docs/raw/docs/guides/voice.mdx +3 -2
  73. package/.docs/raw/docs/integrations/attachments/custom-adapter.mdx +4 -12
  74. package/.docs/raw/docs/integrations/auth/better-auth.mdx +7 -10
  75. package/.docs/raw/docs/integrations/auth/clerk.mdx +3 -9
  76. package/.docs/raw/docs/integrations/auth/next-auth.mdx +3 -8
  77. package/.docs/raw/docs/integrations/frameworks/ai-sdk.mdx +8 -5
  78. package/.docs/raw/docs/integrations/index.mdx +5 -12
  79. package/.docs/raw/docs/integrations/observability/helicone.mdx +3 -4
  80. package/.docs/raw/docs/integrations/observability/langfuse.mdx +3 -5
  81. package/.docs/raw/docs/integrations/observability/langsmith.mdx +3 -2
  82. package/.docs/raw/docs/integrations/persistence/custom-adapter.mdx +4 -3
  83. package/.docs/raw/docs/primitives/composer.mdx +8 -0
  84. package/.docs/raw/docs/primitives/thread.mdx +24 -0
  85. package/.docs/raw/docs/runtimes/ag-ui/runtime-options.mdx +21 -0
  86. package/.docs/raw/docs/runtimes/custom/external-store.mdx +54 -0
  87. package/.docs/raw/docs/runtimes/eve/overview.mdx +100 -0
  88. package/.docs/raw/docs/runtimes/eve/quickstart.mdx +143 -0
  89. package/.docs/raw/docs/runtimes/langchain.mdx +386 -18
  90. package/.docs/raw/docs/runtimes/langgraph/quickstart.mdx +1 -1
  91. package/.docs/raw/docs/runtimes/langgraph/tutorial/part-1.mdx +1 -1
  92. package/.docs/raw/docs/runtimes/pick-a-runtime.mdx +6 -0
  93. package/.docs/raw/docs/tools/defining-tools.mdx +4 -0
  94. package/.docs/raw/docs/tools/interactables-legacy.mdx +410 -0
  95. package/.docs/raw/docs/tools/interactables.mdx +892 -223
  96. package/.docs/raw/docs/tools/mcp.mdx +4 -4
  97. package/.docs/raw/docs/tools/multi-agent.mdx +5 -0
  98. package/.docs/raw/docs/ui/composer-trigger-popover.mdx +2 -0
  99. package/.docs/raw/docs/ui/file.mdx +1 -1
  100. package/.docs/raw/docs/ui/part-grouping.mdx +38 -0
  101. package/.docs/raw/docs/utilities/react-o11y.mdx +92 -6
  102. package/dist/index.d.ts.map +1 -1
  103. package/dist/index.js +18 -2
  104. package/dist/index.js.map +1 -1
  105. package/package.json +4 -4
  106. package/src/index.ts +14 -6
  107. package/src/tools/tests/mcp-protocol.test.ts +9 -0
@@ -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.73",
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.208",
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,14 +1502,14 @@ 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.73",
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.208",
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",
@@ -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
 
@@ -308,7 +308,7 @@ export default withAui(nextConfig);
308
308
  "@google/adk": "^1.2.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.73",
384
384
  "@assistant-ui/react": "workspace:*",
385
385
  "@assistant-ui/ui": "workspace:*",
386
- "ai": "^6.0.204",
386
+ "ai": "^6.0.208",
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",