@assistant-ui/mcp-docs-server 0.1.38 → 0.1.39

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 (207) hide show
  1. package/.docs/organized/code-examples/waterfall.md +8 -9
  2. package/.docs/organized/code-examples/with-a2a.md +16 -11
  3. package/.docs/organized/code-examples/with-ag-ui.md +16 -11
  4. package/.docs/organized/code-examples/{with-ai-sdk-v6.md → with-ai-sdk-v7.md} +32 -21
  5. package/.docs/organized/code-examples/with-artifacts.md +17 -10
  6. package/.docs/organized/code-examples/with-assistant-transport.md +15 -8
  7. package/.docs/organized/code-examples/with-browser-extension.md +15 -8
  8. package/.docs/organized/code-examples/with-chain-of-thought.md +17 -10
  9. package/.docs/organized/code-examples/with-cloud-standalone.md +10 -9
  10. package/.docs/organized/code-examples/with-cloud.md +18 -13
  11. package/.docs/organized/code-examples/with-custom-thread-list.md +17 -10
  12. package/.docs/organized/code-examples/with-elevenlabs-conversational.md +20 -13
  13. package/.docs/organized/code-examples/with-elevenlabs-scribe.md +20 -13
  14. package/.docs/organized/code-examples/with-eve.md +16 -9
  15. package/.docs/organized/code-examples/with-expo.md +27 -24
  16. package/.docs/organized/code-examples/with-external-store.md +16 -11
  17. package/.docs/organized/code-examples/with-ffmpeg.md +18 -13
  18. package/.docs/organized/code-examples/with-generative-ui.md +20 -15
  19. package/.docs/organized/code-examples/with-google-adk.md +15 -8
  20. package/.docs/organized/code-examples/with-heat-graph.md +8 -9
  21. package/.docs/organized/code-examples/with-image-generation.md +17 -10
  22. package/.docs/organized/code-examples/with-interactables.md +19 -15
  23. package/.docs/organized/code-examples/with-langchain.md +17 -10
  24. package/.docs/organized/code-examples/with-langgraph.md +17 -10
  25. package/.docs/organized/code-examples/with-livekit.md +21 -14
  26. package/.docs/organized/code-examples/with-mcp.md +25 -12
  27. package/.docs/organized/code-examples/with-opencode.md +22 -17
  28. package/.docs/organized/code-examples/with-pi.md +47 -12
  29. package/.docs/organized/code-examples/with-react-hook-form.md +19 -14
  30. package/.docs/organized/code-examples/with-react-ink-web.md +6 -6
  31. package/.docs/organized/code-examples/with-react-ink.md +2 -2
  32. package/.docs/organized/code-examples/with-react-router.md +20 -15
  33. package/.docs/organized/code-examples/with-resumable-stream.md +19 -12
  34. package/.docs/organized/code-examples/with-store.md +8 -9
  35. package/.docs/organized/code-examples/with-tanstack.md +16 -10
  36. package/.docs/organized/code-examples/with-tap-runtime.md +16 -11
  37. package/.docs/organized/code-examples/with-virtualized-thread.md +17 -12
  38. package/.docs/raw/docs/(docs)/base-ui.mdx +39 -0
  39. package/.docs/raw/docs/(docs)/cli.mdx +17 -1
  40. package/.docs/raw/docs/(docs)/installation.mdx +15 -1
  41. package/.docs/raw/docs/(docs)/rtl.mdx +2 -4
  42. package/.docs/raw/docs/(reference)/api-reference/generative-ui/actions.mdx +56 -0
  43. package/.docs/raw/docs/(reference)/api-reference/generative-ui/components.mdx +86 -0
  44. package/.docs/raw/docs/(reference)/api-reference/generative-ui/index.mdx +19 -1
  45. package/.docs/raw/docs/(reference)/api-reference/generative-ui/json-generative-ui.mdx +42 -0
  46. package/.docs/raw/docs/(reference)/api-reference/generative-ui/rendering.mdx +53 -2
  47. package/.docs/raw/docs/(reference)/api-reference/generative-ui/slack.mdx +81 -0
  48. package/.docs/raw/docs/(reference)/api-reference/generative-ui/teams.mdx +86 -0
  49. package/.docs/raw/docs/(reference)/api-reference/generative-ui/tokens.mdx +62 -0
  50. package/.docs/raw/docs/(reference)/api-reference/integrations/index.mdx +4 -1
  51. package/.docs/raw/docs/(reference)/api-reference/integrations/react-ai-sdk.mdx +4 -2
  52. package/.docs/raw/docs/(reference)/api-reference/integrations/react-data-stream.mdx +37 -0
  53. package/.docs/raw/docs/(reference)/api-reference/overview.mdx +1 -0
  54. package/.docs/raw/docs/(reference)/api-reference/primitives/assistant-if.mdx +29 -29
  55. package/.docs/raw/docs/(reference)/api-reference/primitives/composition.mdx +1 -0
  56. package/.docs/raw/docs/(reference)/api-reference/primitives/index.mdx +3 -0
  57. package/.docs/raw/docs/(reference)/api-reference/primitives/selection-toolbar.mdx +2 -0
  58. package/.docs/raw/docs/(reference)/api-reference/tools/status.mdx +0 -2
  59. package/.docs/raw/docs/(reference)/api-reference/tools/toolkits.mdx +12 -9
  60. package/.docs/raw/docs/(reference)/api-reference/utilities/miscellaneous.mdx +4 -0
  61. package/.docs/raw/docs/cloud/ai-sdk-assistant-ui.mdx +7 -1
  62. package/.docs/raw/docs/cloud/langgraph.mdx +3 -1
  63. package/.docs/raw/docs/guides/chatgpt-subscription.mdx +108 -0
  64. package/.docs/raw/docs/guides/dictation.mdx +185 -257
  65. package/.docs/raw/docs/guides/index.mdx +10 -0
  66. package/.docs/raw/docs/guides/mentions.mdx +31 -3
  67. package/.docs/raw/docs/guides/resumable-streams.mdx +12 -1
  68. package/.docs/raw/docs/guides/speech.mdx +47 -29
  69. package/.docs/raw/docs/guides/suggestions.mdx +70 -1
  70. package/.docs/raw/docs/guides/voice.mdx +197 -267
  71. package/.docs/raw/docs/ink/primitives.mdx +35 -1
  72. package/.docs/raw/docs/integrations/frameworks/ai-sdk.mdx +10 -4
  73. package/.docs/raw/docs/integrations/frameworks/cloudflare-agents/overview.mdx +3 -3
  74. package/.docs/raw/docs/integrations/frameworks/mastra/full-stack.mdx +1 -1
  75. package/.docs/raw/docs/integrations/frameworks/mastra/overview.mdx +3 -3
  76. package/.docs/raw/docs/integrations/frameworks/mastra/separate-server.mdx +1 -1
  77. package/.docs/raw/docs/integrations/gateways/index.mdx +2 -2
  78. package/.docs/raw/docs/integrations/observability/helicone.mdx +1 -1
  79. package/.docs/raw/docs/integrations/observability/langfuse.mdx +1 -1
  80. package/.docs/raw/docs/integrations/observability/langsmith.mdx +1 -1
  81. package/.docs/raw/docs/migrations/index.mdx +50 -0
  82. package/.docs/raw/docs/migrations/toolkit-tools.mdx +4 -2
  83. package/.docs/raw/docs/primitives/chain-of-thought.mdx +6 -1
  84. package/.docs/raw/docs/primitives/composer.mdx +16 -0
  85. package/.docs/raw/docs/primitives/selection-toolbar.mdx +25 -0
  86. package/.docs/raw/docs/react-native/primitives.mdx +23 -0
  87. package/.docs/raw/docs/runtimes/ag-ui/agent-state.mdx +124 -0
  88. package/.docs/raw/docs/runtimes/ag-ui/runtime-options.mdx +10 -1
  89. package/.docs/raw/docs/runtimes/ai-sdk/overview.mdx +13 -4
  90. package/.docs/raw/docs/runtimes/ai-sdk/v4-legacy.mdx +11 -11
  91. package/.docs/raw/docs/runtimes/ai-sdk/v5-legacy.mdx +5 -5
  92. package/.docs/raw/docs/runtimes/ai-sdk/{v6.mdx → v6-legacy.mdx} +8 -6
  93. package/.docs/raw/docs/runtimes/ai-sdk/v7.mdx +717 -0
  94. package/.docs/raw/docs/runtimes/concepts/adapters.mdx +1 -1
  95. package/.docs/raw/docs/runtimes/concepts/architecture.mdx +1 -1
  96. package/.docs/raw/docs/runtimes/custom/data-stream.mdx +10 -19
  97. package/.docs/raw/docs/runtimes/custom/external-store.mdx +1 -1
  98. package/.docs/raw/docs/runtimes/custom/local-runtime.mdx +2 -0
  99. package/.docs/raw/docs/runtimes/eve/overview.mdx +1 -1
  100. package/.docs/raw/docs/runtimes/langgraph/agent-state.mdx +181 -0
  101. package/.docs/raw/docs/tools/backend.mdx +6 -3
  102. package/.docs/raw/docs/tools/defining-tools.mdx +7 -1
  103. package/.docs/raw/docs/tools/generative-ui.mdx +60 -2
  104. package/.docs/raw/docs/tools/mcp-apps.mdx +29 -11
  105. package/.docs/raw/docs/tools/mcp.mdx +100 -3
  106. package/.docs/raw/docs/tools/tool-ui.mdx +6 -4
  107. package/.docs/raw/docs/tools/user-managed-mcp.mdx +26 -3
  108. package/.docs/raw/docs/ui/accordion.mdx +16 -10
  109. package/.docs/raw/docs/ui/assistant-modal.mdx +8 -4
  110. package/.docs/raw/docs/ui/attachment.mdx +5 -1
  111. package/.docs/raw/docs/ui/badge.mdx +23 -12
  112. package/.docs/raw/docs/ui/follow-up-suggestions.mdx +2 -2
  113. package/.docs/raw/docs/ui/model-selector.mdx +32 -2
  114. package/.docs/raw/docs/ui/select.mdx +22 -14
  115. package/.docs/raw/docs/ui/sources.mdx +1 -1
  116. package/.docs/raw/docs/ui/tabs.mdx +25 -14
  117. package/.docs/raw/docs/utilities/heat-graph.mdx +2 -2
  118. package/dist/constants.d.ts.map +1 -1
  119. package/dist/index.d.ts +0 -1
  120. package/dist/index.d.ts.map +1 -1
  121. package/dist/index.js +39 -0
  122. package/dist/index.js.map +1 -1
  123. package/dist/prepare-docs/code-examples.d.ts.map +1 -1
  124. package/dist/prepare-docs/copy-raw.d.ts.map +1 -1
  125. package/dist/prompts/xulux-playground.d.ts +12 -0
  126. package/dist/prompts/xulux-playground.d.ts.map +1 -0
  127. package/dist/prompts/xulux-playground.js +33 -0
  128. package/dist/prompts/xulux-playground.js.map +1 -0
  129. package/dist/tools/docs.d.ts +2 -4
  130. package/dist/tools/docs.d.ts.map +1 -1
  131. package/dist/tools/docs.js +24 -8
  132. package/dist/tools/docs.js.map +1 -1
  133. package/dist/tools/examples.d.ts +2 -4
  134. package/dist/tools/examples.d.ts.map +1 -1
  135. package/dist/tools/examples.js +9 -6
  136. package/dist/tools/examples.js.map +1 -1
  137. package/dist/tools/resources.d.ts +0 -1
  138. package/dist/tools/resources.d.ts.map +1 -1
  139. package/dist/tools/search.d.ts +2 -5
  140. package/dist/tools/search.d.ts.map +1 -1
  141. package/dist/tools/tests/test-setup.d.ts.map +1 -1
  142. package/dist/tools/tests/test-setup.js +5 -1
  143. package/dist/tools/tests/test-setup.js.map +1 -1
  144. package/dist/tools/xulux-templates.d.ts +72 -0
  145. package/dist/tools/xulux-templates.d.ts.map +1 -0
  146. package/dist/tools/xulux-templates.js +82 -0
  147. package/dist/tools/xulux-templates.js.map +1 -0
  148. package/dist/utils/cache.d.ts +5 -0
  149. package/dist/utils/cache.d.ts.map +1 -0
  150. package/dist/utils/cache.js +18 -0
  151. package/dist/utils/cache.js.map +1 -0
  152. package/dist/utils/logger.d.ts.map +1 -1
  153. package/dist/utils/mcp-format.d.ts +1 -0
  154. package/dist/utils/mcp-format.d.ts.map +1 -1
  155. package/dist/utils/mcp-format.js +7 -4
  156. package/dist/utils/mcp-format.js.map +1 -1
  157. package/dist/utils/mdx.d.ts.map +1 -1
  158. package/dist/utils/paths.d.ts +1 -1
  159. package/dist/utils/paths.d.ts.map +1 -1
  160. package/dist/utils/paths.js +3 -1
  161. package/dist/utils/paths.js.map +1 -1
  162. package/dist/utils/search.d.ts.map +1 -1
  163. package/dist/utils/security.d.ts.map +1 -1
  164. package/dist/xulux/catalog-client.d.ts +14 -0
  165. package/dist/xulux/catalog-client.d.ts.map +1 -0
  166. package/dist/xulux/catalog-client.js +67 -0
  167. package/dist/xulux/catalog-client.js.map +1 -0
  168. package/dist/xulux/fallback-catalog.d.ts +7 -0
  169. package/dist/xulux/fallback-catalog.d.ts.map +1 -0
  170. package/dist/xulux/fallback-catalog.js +47 -0
  171. package/dist/xulux/fallback-catalog.js.map +1 -0
  172. package/dist/xulux/fetch-sandbox.d.ts +5 -0
  173. package/dist/xulux/fetch-sandbox.d.ts.map +1 -0
  174. package/dist/xulux/fetch-sandbox.js +40 -0
  175. package/dist/xulux/fetch-sandbox.js.map +1 -0
  176. package/dist/xulux/template-service.d.ts +84 -0
  177. package/dist/xulux/template-service.d.ts.map +1 -0
  178. package/dist/xulux/template-service.js +223 -0
  179. package/dist/xulux/template-service.js.map +1 -0
  180. package/dist/xulux/types.d.ts +55 -0
  181. package/dist/xulux/types.d.ts.map +1 -0
  182. package/dist/xulux/types.js +6 -0
  183. package/dist/xulux/types.js.map +1 -0
  184. package/package.json +5 -5
  185. package/src/index.ts +53 -0
  186. package/src/prompts/xulux-playground.ts +36 -0
  187. package/src/tools/docs.ts +25 -3
  188. package/src/tools/examples.ts +15 -10
  189. package/src/tools/tests/docs.test.ts +20 -0
  190. package/src/tools/tests/examples.test.ts +5 -5
  191. package/src/tools/tests/listings-cache.test.ts +19 -0
  192. package/src/tools/tests/mcp-protocol.test.ts +81 -1
  193. package/src/tools/tests/test-setup.ts +8 -0
  194. package/src/tools/tests/xulux-templates.test.ts +262 -0
  195. package/src/tools/xulux-templates.ts +141 -0
  196. package/src/utils/cache.ts +20 -0
  197. package/src/utils/mcp-format.ts +8 -6
  198. package/src/utils/paths.ts +4 -1
  199. package/src/utils/tests/cache.test.ts +51 -0
  200. package/src/utils/tests/mcp-format.test.ts +22 -0
  201. package/src/utils/tests/security.test.ts +1 -1
  202. package/src/xulux/catalog-client.ts +105 -0
  203. package/src/xulux/fallback-catalog.ts +63 -0
  204. package/src/xulux/fetch-sandbox.ts +56 -0
  205. package/src/xulux/template-service.ts +406 -0
  206. package/src/xulux/types.ts +60 -0
  207. package/.docs/raw/docs/(reference)/api-reference/hooks/utilities.mdx +0 -464
@@ -380,14 +380,14 @@ export default withAui(nextConfig);
380
380
  "start": "next start"
381
381
  },
382
382
  "dependencies": {
383
- "@ai-sdk/openai": "^3.0.74",
383
+ "@ai-sdk/openai": "^4.0.14",
384
384
  "@assistant-ui/react": "workspace:*",
385
385
  "@assistant-ui/ui": "workspace:*",
386
- "ai": "^6.0.209",
386
+ "ai": "^7.0.28",
387
387
  "class-variance-authority": "^0.7.1",
388
388
  "clsx": "^2.1.1",
389
- "lucide-react": "^1.21.0",
390
- "next": "^16.2.9",
389
+ "lucide-react": "^1.24.0",
390
+ "next": "^16.2.10",
391
391
  "react": "^19.2.7",
392
392
  "react-dom": "^19.2.7",
393
393
  "tailwind-merge": "^3.6.0"
@@ -395,14 +395,15 @@ export default withAui(nextConfig);
395
395
  "devDependencies": {
396
396
  "@assistant-ui/next": "workspace:*",
397
397
  "@assistant-ui/x-buildutils": "workspace:*",
398
- "@tailwindcss/postcss": "^4.3.1",
399
- "@types/node": "^26.0.0",
398
+ "@tailwindcss/postcss": "^4.3.2",
399
+ "@types/node": "^26.1.1",
400
400
  "@types/react": "^19.2.17",
401
401
  "@types/react-dom": "^19.2.3",
402
- "postcss": "^8.5.15",
403
- "tailwindcss": "^4.3.1",
402
+ "postcss": "^8.5.19",
403
+ "tailwindcss": "^4.3.2",
404
404
  "tw-animate-css": "^1.4.0",
405
- "typescript": "^6.0.3"
405
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
406
+ "typescript-7": "npm:typescript@^7.0.2"
406
407
  }
407
408
  }
408
409
 
@@ -443,7 +444,13 @@ Then open `http://localhost:3000`.
443
444
  "@/components/assistant-ui/*": [
444
445
  "../../packages/ui/src/components/assistant-ui/*"
445
446
  ],
446
- "@/components/ui/*": ["../../packages/ui/src/components/ui/*"],
447
+ "@/components/ui/*": [
448
+ "../../packages/ui/src/components/ui/base/*",
449
+ "../../packages/ui/src/components/ui/radix/*"
450
+ ],
451
+ "@/components/ui/radix/*": [
452
+ "../../packages/ui/src/components/ui/radix/*"
453
+ ],
447
454
  "@/lib/utils": ["../../packages/ui/src/lib/utils"],
448
455
  "@assistant-ui/ui/*": ["../../packages/ui/src/*"]
449
456
  }
@@ -8,13 +8,12 @@ import { streamText, convertToModelMessages, stepCountIs } from "ai";
8
8
  import type { UIMessage } from "ai";
9
9
  import {
10
10
  frontendTools,
11
+ type FrontendTools,
11
12
  unstable_injectInteractableContext,
12
13
  } from "@assistant-ui/react-ai-sdk";
13
14
 
14
15
  export const maxDuration = 30;
15
16
 
16
- type FrontendTools = Parameters<typeof frontendTools>[0];
17
-
18
17
  export async function POST(req: Request) {
19
18
  const {
20
19
  messages,
@@ -605,9 +604,7 @@ export const notesInitialState: NotesState = {
605
604
  ```typescript
606
605
  import type { NextConfig } from "next";
607
606
 
608
- const nextConfig: NextConfig = {
609
- /* config options here */
610
- };
607
+ const nextConfig: NextConfig = {/* config options here */};
611
608
 
612
609
  export default nextConfig;
613
610
 
@@ -627,15 +624,15 @@ export default nextConfig;
627
624
  "start": "next start"
628
625
  },
629
626
  "dependencies": {
630
- "@ai-sdk/openai": "^3.0.74",
627
+ "@ai-sdk/openai": "^4.0.14",
631
628
  "@assistant-ui/react": "workspace:*",
632
629
  "@assistant-ui/react-ai-sdk": "workspace:*",
633
630
  "@assistant-ui/ui": "workspace:*",
634
- "ai": "^6.0.209",
631
+ "ai": "^7.0.28",
635
632
  "class-variance-authority": "^0.7.1",
636
633
  "clsx": "^2.1.1",
637
- "lucide-react": "^1.21.0",
638
- "next": "^16.2.9",
634
+ "lucide-react": "^1.24.0",
635
+ "next": "^16.2.10",
639
636
  "react": "^19.2.7",
640
637
  "react-dom": "^19.2.7",
641
638
  "tailwind-merge": "^3.6.0",
@@ -643,14 +640,15 @@ export default nextConfig;
643
640
  },
644
641
  "devDependencies": {
645
642
  "@assistant-ui/x-buildutils": "workspace:*",
646
- "@tailwindcss/postcss": "^4.3.1",
647
- "@types/node": "^26.0.0",
643
+ "@tailwindcss/postcss": "^4.3.2",
644
+ "@types/node": "^26.1.1",
648
645
  "@types/react": "^19.2.17",
649
646
  "@types/react-dom": "^19.2.3",
650
- "postcss": "^8.5.15",
651
- "tailwindcss": "^4.3.1",
647
+ "postcss": "^8.5.19",
648
+ "tailwindcss": "^4.3.2",
652
649
  "tw-animate-css": "^1.4.0",
653
- "typescript": "^6.0.3"
650
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
651
+ "typescript-7": "npm:typescript@^7.0.2"
654
652
  }
655
653
  }
656
654
 
@@ -714,7 +712,13 @@ Open [http://localhost:3000](http://localhost:3000) to see the example.
714
712
  "@/components/assistant-ui/*": [
715
713
  "../../packages/ui/src/components/assistant-ui/*"
716
714
  ],
717
- "@/components/ui/*": ["../../packages/ui/src/components/ui/*"],
715
+ "@/components/ui/*": [
716
+ "../../packages/ui/src/components/ui/base/*",
717
+ "../../packages/ui/src/components/ui/radix/*"
718
+ ],
719
+ "@/components/ui/radix/*": [
720
+ "../../packages/ui/src/components/ui/radix/*"
721
+ ],
718
722
  "@/lib/utils": ["../../packages/ui/src/lib/utils"],
719
723
  "@assistant-ui/ui/*": ["../../packages/ui/src/*"]
720
724
  }
@@ -336,12 +336,12 @@ export default withAui(nextConfig);
336
336
  "@assistant-ui/react-langchain": "workspace:*",
337
337
  "@assistant-ui/react-markdown": "workspace:*",
338
338
  "@assistant-ui/ui": "workspace:*",
339
- "@langchain/langgraph-sdk": "^1.9.24",
340
- "@langchain/react": "^1.0.25",
339
+ "@langchain/langgraph-sdk": "^1.9.25",
340
+ "@langchain/react": "^1.0.26",
341
341
  "class-variance-authority": "^0.7.1",
342
342
  "clsx": "^2.1.1",
343
- "lucide-react": "^1.21.0",
344
- "next": "^16.2.9",
343
+ "lucide-react": "^1.24.0",
344
+ "next": "^16.2.10",
345
345
  "react": "^19.2.7",
346
346
  "react-dom": "^19.2.7",
347
347
  "tailwind-merge": "^3.6.0"
@@ -349,14 +349,15 @@ export default withAui(nextConfig);
349
349
  "devDependencies": {
350
350
  "@assistant-ui/next": "workspace:*",
351
351
  "@assistant-ui/x-buildutils": "workspace:*",
352
- "@tailwindcss/postcss": "^4.3.1",
353
- "@types/node": "^26.0.0",
352
+ "@tailwindcss/postcss": "^4.3.2",
353
+ "@types/node": "^26.1.1",
354
354
  "@types/react": "^19.2.17",
355
355
  "@types/react-dom": "^19.2.3",
356
- "postcss": "^8.5.15",
357
- "tailwindcss": "^4.3.1",
356
+ "postcss": "^8.5.19",
357
+ "tailwindcss": "^4.3.2",
358
358
  "tw-animate-css": "^1.4.0",
359
- "typescript": "^6.0.3"
359
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
360
+ "typescript-7": "npm:typescript@^7.0.2"
360
361
  }
361
362
  }
362
363
 
@@ -426,7 +427,13 @@ Open [http://localhost:3000](http://localhost:3000).
426
427
  "@/components/assistant-ui/*": [
427
428
  "../../packages/ui/src/components/assistant-ui/*"
428
429
  ],
429
- "@/components/ui/*": ["../../packages/ui/src/components/ui/*"],
430
+ "@/components/ui/*": [
431
+ "../../packages/ui/src/components/ui/base/*",
432
+ "../../packages/ui/src/components/ui/radix/*"
433
+ ],
434
+ "@/components/ui/radix/*": [
435
+ "../../packages/ui/src/components/ui/radix/*"
436
+ ],
430
437
  "@/lib/utils": ["../../packages/ui/src/lib/utils"],
431
438
  "@assistant-ui/ui/*": ["../../packages/ui/src/*"]
432
439
  }
@@ -740,12 +740,12 @@ export default withAui(nextConfig);
740
740
  "@assistant-ui/react-langchain": "workspace:*",
741
741
  "@assistant-ui/react-markdown": "workspace:*",
742
742
  "@assistant-ui/ui": "workspace:*",
743
- "@langchain/langgraph-sdk": "^1.9.24",
744
- "@langchain/react": "^1.0.25",
743
+ "@langchain/langgraph-sdk": "^1.9.25",
744
+ "@langchain/react": "^1.0.26",
745
745
  "class-variance-authority": "^0.7.1",
746
746
  "clsx": "^2.1.1",
747
- "lucide-react": "^1.21.0",
748
- "next": "^16.2.9",
747
+ "lucide-react": "^1.24.0",
748
+ "next": "^16.2.10",
749
749
  "react": "^19.2.7",
750
750
  "react-dom": "^19.2.7",
751
751
  "tailwind-merge": "^3.6.0"
@@ -753,14 +753,15 @@ export default withAui(nextConfig);
753
753
  "devDependencies": {
754
754
  "@assistant-ui/next": "workspace:*",
755
755
  "@assistant-ui/x-buildutils": "workspace:*",
756
- "@tailwindcss/postcss": "^4.3.1",
757
- "@types/node": "^26.0.0",
756
+ "@tailwindcss/postcss": "^4.3.2",
757
+ "@types/node": "^26.1.1",
758
758
  "@types/react": "^19.2.17",
759
759
  "@types/react-dom": "^19.2.3",
760
- "postcss": "^8.5.15",
761
- "tailwindcss": "^4.3.1",
760
+ "postcss": "^8.5.19",
761
+ "tailwindcss": "^4.3.2",
762
762
  "tw-animate-css": "^1.4.0",
763
- "typescript": "^6.0.3"
763
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
764
+ "typescript-7": "npm:typescript@^7.0.2"
764
765
  }
765
766
  }
766
767
 
@@ -828,7 +829,13 @@ npm run dev
828
829
  "@/components/assistant-ui/*": [
829
830
  "../../packages/ui/src/components/assistant-ui/*"
830
831
  ],
831
- "@/components/ui/*": ["../../packages/ui/src/components/ui/*"],
832
+ "@/components/ui/*": [
833
+ "../../packages/ui/src/components/ui/base/*",
834
+ "../../packages/ui/src/components/ui/radix/*"
835
+ ],
836
+ "@/components/ui/radix/*": [
837
+ "../../packages/ui/src/components/ui/radix/*"
838
+ ],
832
839
  "@/lib/utils": ["../../packages/ui/src/lib/utils"],
833
840
  "@assistant-ui/ui/*": ["../../packages/ui/src/*"]
834
841
  }
@@ -554,36 +554,37 @@ export default withAui(nextConfig);
554
554
  "version": "0.0.0",
555
555
  "type": "module",
556
556
  "dependencies": {
557
- "@ai-sdk/openai": "^3.0.74",
558
- "@ai-sdk/react": "^3.0.211",
557
+ "@ai-sdk/openai": "^4.0.14",
558
+ "@ai-sdk/react": "^4.0.30",
559
559
  "@assistant-ui/react": "workspace:^",
560
560
  "@assistant-ui/react-ai-sdk": "workspace:*",
561
561
  "@assistant-ui/react-markdown": "workspace:^",
562
562
  "@assistant-ui/ui": "workspace:*",
563
- "@tailwindcss/postcss": "^4.3.1",
564
- "ai": "^6.0.209",
563
+ "@tailwindcss/postcss": "^4.3.2",
564
+ "ai": "^7.0.28",
565
565
  "class-variance-authority": "^0.7.1",
566
566
  "clsx": "^2.1.1",
567
- "livekit-client": "^2.20.0",
568
- "livekit-server-sdk": "^2.15.5",
569
- "lucide-react": "^1.21.0",
570
- "motion": "^12.41.0",
571
- "next": "^16.2.9",
572
- "postcss": "^8.5.15",
567
+ "livekit-client": "^2.20.1",
568
+ "livekit-server-sdk": "^2.17.0",
569
+ "lucide-react": "^1.24.0",
570
+ "motion": "^12.42.2",
571
+ "next": "^16.2.10",
572
+ "postcss": "^8.5.19",
573
573
  "react": "^19.2.7",
574
574
  "react-dom": "^19.2.7",
575
575
  "tailwind-merge": "^3.6.0",
576
- "tailwindcss": "^4.3.1",
576
+ "tailwindcss": "^4.3.2",
577
577
  "zod": "^4.4.3"
578
578
  },
579
579
  "devDependencies": {
580
580
  "@assistant-ui/next": "workspace:*",
581
581
  "@assistant-ui/x-buildutils": "workspace:*",
582
- "@types/node": "^26.0.0",
582
+ "@types/node": "^26.1.1",
583
583
  "@types/react": "^19.2.17",
584
584
  "@types/react-dom": "^19.2.3",
585
585
  "tw-animate-css": "^1.4.0",
586
- "typescript": "^6.0.3"
586
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
587
+ "typescript-7": "npm:typescript@^7.0.2"
587
588
  },
588
589
  "scripts": {
589
590
  "dev": "next dev",
@@ -616,7 +617,13 @@ export default withAui(nextConfig);
616
617
  "@/components/assistant-ui/*": [
617
618
  "../../packages/ui/src/components/assistant-ui/*"
618
619
  ],
619
- "@/components/ui/*": ["../../packages/ui/src/components/ui/*"],
620
+ "@/components/ui/*": [
621
+ "../../packages/ui/src/components/ui/base/*",
622
+ "../../packages/ui/src/components/ui/radix/*"
623
+ ],
624
+ "@/components/ui/radix/*": [
625
+ "../../packages/ui/src/components/ui/radix/*"
626
+ ],
620
627
  "@/lib/utils": ["../../packages/ui/src/lib/utils"],
621
628
  "@assistant-ui/ui/*": ["../../packages/ui/src/*"],
622
629
  "@assistant-ui/*": ["../../packages/*/src"],
@@ -312,7 +312,13 @@ export default nextConfig;
312
312
  "@/components/assistant-ui/*": [
313
313
  "../../../packages/ui/src/components/assistant-ui/*"
314
314
  ],
315
- "@/components/ui/*": ["../../../packages/ui/src/components/ui/*"],
315
+ "@/components/ui/*": [
316
+ "../../../packages/ui/src/components/ui/base/*",
317
+ "../../../packages/ui/src/components/ui/radix/*"
318
+ ],
319
+ "@/components/ui/radix/*": [
320
+ "../../../packages/ui/src/components/ui/radix/*"
321
+ ],
316
322
  "@/lib/utils": ["../../../packages/ui/src/lib/utils"],
317
323
  "@assistant-ui/ui/*": ["../../../packages/ui/src/*"]
318
324
  }
@@ -376,7 +382,7 @@ export default nextConfig;
376
382
  "start:server": "tsx server/server.ts"
377
383
  },
378
384
  "dependencies": {
379
- "@ai-sdk/openai": "^3.0.74",
385
+ "@ai-sdk/openai": "^4.0.14",
380
386
  "@assistant-ui/react": "workspace:*",
381
387
  "@assistant-ui/react-ai-sdk": "workspace:*",
382
388
  "@assistant-ui/react-markdown": "workspace:*",
@@ -385,14 +391,14 @@ export default nextConfig;
385
391
  "@assistant-ui/tap": "workspace:*",
386
392
  "@assistant-ui/ui": "workspace:*",
387
393
  "@modelcontextprotocol/sdk": "^1.29.0",
388
- "ai": "^6.0.209",
394
+ "ai": "^7.0.28",
389
395
  "assistant-stream": "workspace:*",
390
396
  "class-variance-authority": "^0.7.1",
391
397
  "clsx": "^2.1.1",
392
398
  "cors": "^2.8.6",
393
399
  "express": "^5.2.1",
394
- "lucide-react": "^1.21.0",
395
- "next": "^16.2.9",
400
+ "lucide-react": "^1.24.0",
401
+ "next": "^16.2.10",
396
402
  "react": "^19.2.7",
397
403
  "react-dom": "^19.2.7",
398
404
  "tailwind-merge": "^3.6.0",
@@ -400,18 +406,19 @@ export default nextConfig;
400
406
  },
401
407
  "devDependencies": {
402
408
  "@assistant-ui/x-buildutils": "workspace:*",
403
- "@tailwindcss/postcss": "^4.3.1",
409
+ "@tailwindcss/postcss": "^4.3.2",
404
410
  "@types/cors": "^2.8.19",
405
411
  "@types/express": "^5.0.6",
406
- "@types/node": "^26.0.0",
412
+ "@types/node": "^26.1.1",
407
413
  "@types/react": "^19.2.17",
408
414
  "@types/react-dom": "^19.2.3",
409
415
  "concurrently": "^10.0.3",
410
- "postcss": "^8.5.15",
411
- "tailwindcss": "^4.3.1",
412
- "tsx": "^4.22.4",
416
+ "postcss": "^8.5.19",
417
+ "tailwindcss": "^4.3.2",
418
+ "tsx": "^4.23.1",
413
419
  "tw-animate-css": "^1.4.0",
414
- "typescript": "^6.0.3"
420
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
421
+ "typescript-7": "npm:typescript@^7.0.2"
415
422
  }
416
423
  }
417
424
 
@@ -743,7 +750,13 @@ main().catch((err) => {
743
750
  "@/components/assistant-ui/*": [
744
751
  "../../packages/ui/src/components/assistant-ui/*"
745
752
  ],
746
- "@/components/ui/*": ["../../packages/ui/src/components/ui/*"],
753
+ "@/components/ui/*": [
754
+ "../../packages/ui/src/components/ui/base/*",
755
+ "../../packages/ui/src/components/ui/radix/*"
756
+ ],
757
+ "@/components/ui/radix/*": [
758
+ "../../packages/ui/src/components/ui/radix/*"
759
+ ],
747
760
  "@/lib/utils": ["../../packages/ui/src/lib/utils"],
748
761
  "@assistant-ui/ui/*": ["../../packages/ui/src/*"],
749
762
  "@/*": ["./app/*"]
@@ -193,9 +193,9 @@ import {
193
193
  SidebarInset,
194
194
  SidebarProvider,
195
195
  SidebarTrigger,
196
- } from "@/components/ui/sidebar";
197
- import { Separator } from "@/components/ui/separator";
198
- import { ThreadListSidebar } from "@/components/assistant-ui/threadlist-sidebar";
196
+ } from "@/components/ui/radix/sidebar";
197
+ import { Separator } from "@/components/ui/radix/separator";
198
+ import { ThreadListSidebar } from "@/components/assistant-ui/threadlist-sidebar.radix";
199
199
  import {
200
200
  useOpenCodeRuntime,
201
201
  useOpenCodeSession,
@@ -1210,7 +1210,7 @@ import {
1210
1210
  Collapsible,
1211
1211
  CollapsibleContent,
1212
1212
  CollapsibleTrigger,
1213
- } from "@/components/ui/collapsible";
1213
+ } from "@/components/ui/radix/collapsible";
1214
1214
  import { cn } from "@/lib/utils";
1215
1215
  import { PatchDiff } from "@pierre/diffs/react";
1216
1216
  import {
@@ -1446,7 +1446,7 @@ import {
1446
1446
  Collapsible,
1447
1447
  CollapsibleContent,
1448
1448
  CollapsibleTrigger,
1449
- } from "@/components/ui/collapsible";
1449
+ } from "@/components/ui/radix/collapsible";
1450
1450
  import { cn } from "@/lib/utils";
1451
1451
  import {
1452
1452
  ToolStatusIcon,
@@ -1868,9 +1868,7 @@ export default defineToolkit({
1868
1868
  import { withAui } from "@assistant-ui/next";
1869
1869
  import type { NextConfig } from "next";
1870
1870
 
1871
- const nextConfig: NextConfig = {
1872
- /* config options here */
1873
- };
1871
+ const nextConfig: NextConfig = {/* config options here */};
1874
1872
 
1875
1873
  export default withAui(nextConfig);
1876
1874
 
@@ -1894,11 +1892,11 @@ export default withAui(nextConfig);
1894
1892
  "@assistant-ui/react-markdown": "workspace:*",
1895
1893
  "@assistant-ui/react-opencode": "workspace:*",
1896
1894
  "@assistant-ui/ui": "workspace:*",
1897
- "@pierre/diffs": "^1.2.11",
1895
+ "@pierre/diffs": "^1.2.12",
1898
1896
  "class-variance-authority": "^0.7.1",
1899
1897
  "clsx": "^2.1.1",
1900
- "lucide-react": "^1.21.0",
1901
- "next": "^16.2.9",
1898
+ "lucide-react": "^1.24.0",
1899
+ "next": "^16.2.10",
1902
1900
  "react": "^19.2.7",
1903
1901
  "react-dom": "^19.2.7",
1904
1902
  "tailwind-merge": "^3.6.0",
@@ -1907,14 +1905,15 @@ export default withAui(nextConfig);
1907
1905
  "devDependencies": {
1908
1906
  "@assistant-ui/next": "workspace:*",
1909
1907
  "@assistant-ui/x-buildutils": "workspace:*",
1910
- "@tailwindcss/postcss": "^4.3.1",
1911
- "@types/node": "^26.0.0",
1908
+ "@tailwindcss/postcss": "^4.3.2",
1909
+ "@types/node": "^26.1.1",
1912
1910
  "@types/react": "^19.2.17",
1913
1911
  "@types/react-dom": "^19.2.3",
1914
- "postcss": "^8.5.15",
1915
- "tailwindcss": "^4.3.1",
1912
+ "postcss": "^8.5.19",
1913
+ "tailwindcss": "^4.3.2",
1916
1914
  "tw-animate-css": "^1.4.0",
1917
- "typescript": "^6.0.3"
1915
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
1916
+ "typescript-7": "npm:typescript@^7.0.2"
1918
1917
  }
1919
1918
  }
1920
1919
 
@@ -1949,7 +1948,13 @@ Set `NEXT_PUBLIC_OPENCODE_BASE_URL` if your OpenCode server is not running on
1949
1948
  "../../packages/ui/src/components/assistant-ui/*"
1950
1949
  ],
1951
1950
  "@/components/icons/*": ["../../packages/ui/src/components/icons/*"],
1952
- "@/components/ui/*": ["../../packages/ui/src/components/ui/*"],
1951
+ "@/components/ui/*": [
1952
+ "../../packages/ui/src/components/ui/base/*",
1953
+ "../../packages/ui/src/components/ui/radix/*"
1954
+ ],
1955
+ "@/components/ui/radix/*": [
1956
+ "../../packages/ui/src/components/ui/radix/*"
1957
+ ],
1953
1958
  "@/hooks/*": ["../../packages/ui/src/hooks/*"],
1954
1959
  "@/lib/utils": ["../../packages/ui/src/lib/utils"],
1955
1960
  "@assistant-ui/ui/*": ["../../packages/ui/src/*"]
@@ -373,6 +373,34 @@ export const POST = withFail(async (req: NextRequest) => {
373
373
  @import "tailwindcss";
374
374
  @import "tw-animate-css";
375
375
 
376
+ @custom-variant data-open (&:where([data-state="open"], [data-open]:not([data-open="false"])));
377
+ @custom-variant data-closed (&:where([data-state="closed"], [data-closed]:not([data-closed="false"])));
378
+
379
+ @theme inline {
380
+ @keyframes collapsible-down {
381
+ from {
382
+ height: 0;
383
+ }
384
+ to {
385
+ height: var(
386
+ --radix-collapsible-content-height,
387
+ var(--collapsible-panel-height, auto)
388
+ );
389
+ }
390
+ }
391
+ @keyframes collapsible-up {
392
+ from {
393
+ height: var(
394
+ --radix-collapsible-content-height,
395
+ var(--collapsible-panel-height, auto)
396
+ );
397
+ }
398
+ to {
399
+ height: 0;
400
+ }
401
+ }
402
+ }
403
+
376
404
  @source "../../../packages/ui/src";
377
405
 
378
406
  @custom-variant dark (&:is(.dark *));
@@ -700,7 +728,7 @@ import {
700
728
  Tooltip,
701
729
  TooltipContent,
702
730
  TooltipTrigger,
703
- } from "@/components/ui/tooltip";
731
+ } from "@/components/ui/radix/tooltip";
704
732
  import { cn } from "@/lib/utils";
705
733
 
706
734
  /**
@@ -1549,7 +1577,7 @@ import {
1549
1577
  DialogHeader,
1550
1578
  DialogTitle,
1551
1579
  DialogTrigger,
1552
- } from "@/components/ui/dialog";
1580
+ } from "@/components/ui/radix/dialog";
1553
1581
  import { Button } from "@/components/ui/button";
1554
1582
  import { ScrollArea } from "@/components/ui/scroll-area";
1555
1583
  import { Spinner } from "@/components/ui/spinner";
@@ -1930,12 +1958,12 @@ export default withAui(nextConfig);
1930
1958
  "@assistant-ui/react-markdown": "workspace:*",
1931
1959
  "@assistant-ui/react-pi": "workspace:*",
1932
1960
  "@assistant-ui/ui": "workspace:*",
1933
- "@earendil-works/pi-coding-agent": "^0.80.2",
1961
+ "@earendil-works/pi-coding-agent": "^0.80.7",
1934
1962
  "class-variance-authority": "^0.7.1",
1935
1963
  "clsx": "^2.1.1",
1936
- "lucide-react": "^1.21.0",
1937
- "next": "^16.2.9",
1938
- "radix-ui": "^1.6.0",
1964
+ "lucide-react": "^1.24.0",
1965
+ "next": "^16.2.10",
1966
+ "radix-ui": "^1.6.2",
1939
1967
  "react": "^19.2.7",
1940
1968
  "react-dom": "^19.2.7",
1941
1969
  "tailwind-merge": "^3.6.0"
@@ -1943,14 +1971,15 @@ export default withAui(nextConfig);
1943
1971
  "devDependencies": {
1944
1972
  "@assistant-ui/next": "workspace:*",
1945
1973
  "@assistant-ui/x-buildutils": "workspace:*",
1946
- "@tailwindcss/postcss": "^4.3.1",
1947
- "@types/node": "^26.0.0",
1974
+ "@tailwindcss/postcss": "^4.3.2",
1975
+ "@types/node": "^26.1.1",
1948
1976
  "@types/react": "^19.2.17",
1949
1977
  "@types/react-dom": "^19.2.3",
1950
- "postcss": "^8.5.15",
1951
- "tailwindcss": "^4.3.1",
1978
+ "postcss": "^8.5.19",
1979
+ "tailwindcss": "^4.3.2",
1952
1980
  "tw-animate-css": "^1.4.0",
1953
- "typescript": "^6.0.3"
1981
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
1982
+ "typescript-7": "npm:typescript@^7.0.2"
1954
1983
  }
1955
1984
  }
1956
1985
 
@@ -2033,7 +2062,13 @@ Point it at a scratch directory.
2033
2062
  "@/components/assistant-ui/*": [
2034
2063
  "../../packages/ui/src/components/assistant-ui/*"
2035
2064
  ],
2036
- "@/components/ui/*": ["../../packages/ui/src/components/ui/*"],
2065
+ "@/components/ui/*": [
2066
+ "../../packages/ui/src/components/ui/base/*",
2067
+ "../../packages/ui/src/components/ui/radix/*"
2068
+ ],
2069
+ "@/components/ui/radix/*": [
2070
+ "../../packages/ui/src/components/ui/radix/*"
2071
+ ],
2037
2072
  "@/lib/utils": ["../../packages/ui/src/lib/utils"],
2038
2073
  "@assistant-ui/ui/*": ["../../packages/ui/src/*"]
2039
2074
  }