@assistant-ui/mcp-docs-server 0.1.7 → 0.1.9
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/with-ai-sdk-v5.md +24 -15
- package/.docs/organized/code-examples/with-assistant-transport.md +1599 -0
- package/.docs/organized/code-examples/with-cloud.md +12 -10
- package/.docs/organized/code-examples/with-external-store.md +10 -8
- package/.docs/organized/code-examples/with-ffmpeg.md +17 -14
- package/.docs/organized/code-examples/with-langgraph.md +83 -47
- package/.docs/organized/code-examples/with-parent-id-grouping.md +10 -8
- package/.docs/organized/code-examples/with-react-hook-form.md +17 -14
- package/.docs/raw/docs/api-reference/integrations/react-data-stream.mdx +194 -0
- package/.docs/raw/docs/api-reference/overview.mdx +6 -0
- package/.docs/raw/docs/api-reference/primitives/Composer.mdx +31 -0
- package/.docs/raw/docs/api-reference/primitives/Message.mdx +108 -3
- package/.docs/raw/docs/api-reference/primitives/Thread.mdx +59 -0
- package/.docs/raw/docs/api-reference/primitives/ThreadList.mdx +128 -0
- package/.docs/raw/docs/api-reference/primitives/ThreadListItem.mdx +160 -0
- package/.docs/raw/docs/api-reference/runtimes/AssistantRuntime.mdx +0 -11
- package/.docs/raw/docs/api-reference/runtimes/ComposerRuntime.mdx +3 -3
- package/.docs/raw/docs/copilots/assistant-frame.mdx +399 -0
- package/.docs/raw/docs/devtools.mdx +51 -0
- package/.docs/raw/docs/getting-started.mdx +20 -19
- package/.docs/raw/docs/guides/Attachments.mdx +6 -13
- package/.docs/raw/docs/guides/Tools.mdx +56 -13
- package/.docs/raw/docs/guides/context-api.mdx +574 -0
- package/.docs/raw/docs/migrations/v0-12.mdx +125 -0
- package/.docs/raw/docs/runtimes/ai-sdk/use-chat.mdx +2 -2
- package/.docs/raw/docs/runtimes/custom/local.mdx +17 -4
- package/.docs/raw/docs/runtimes/data-stream.mdx +287 -0
- package/.docs/raw/docs/runtimes/mastra/full-stack-integration.mdx +6 -5
- package/.docs/raw/docs/runtimes/mastra/overview.mdx +3 -3
- package/.docs/raw/docs/runtimes/mastra/separate-server-integration.mdx +13 -13
- package/.docs/raw/docs/runtimes/pick-a-runtime.mdx +5 -0
- package/.docs/raw/docs/ui/ThreadList.mdx +54 -16
- package/dist/{chunk-L4K23SWI.js → chunk-NVNFQ5ZO.js} +4 -1
- package/dist/index.js +1 -1
- package/dist/prepare-docs/prepare.js +1 -1
- package/dist/stdio.js +1 -1
- package/package.json +7 -7
- package/.docs/raw/docs/concepts/architecture.mdx +0 -19
- package/.docs/raw/docs/concepts/runtime-layer.mdx +0 -163
- package/.docs/raw/docs/concepts/why.mdx +0 -9
|
@@ -870,6 +870,7 @@ const CircleStopIcon = () => {
|
|
|
870
870
|
"use client";
|
|
871
871
|
|
|
872
872
|
import { ComponentPropsWithoutRef, forwardRef } from "react";
|
|
873
|
+
import { Slottable } from "@radix-ui/react-slot";
|
|
873
874
|
|
|
874
875
|
import {
|
|
875
876
|
Tooltip,
|
|
@@ -898,7 +899,7 @@ export const TooltipIconButton = forwardRef<
|
|
|
898
899
|
className={cn("size-6 p-1", className)}
|
|
899
900
|
ref={ref}
|
|
900
901
|
>
|
|
901
|
-
{children}
|
|
902
|
+
<Slottable>{children}</Slottable>
|
|
902
903
|
<span className="sr-only">{tooltip}</span>
|
|
903
904
|
</Button>
|
|
904
905
|
</TooltipTrigger>
|
|
@@ -1086,27 +1087,27 @@ export default nextConfig;
|
|
|
1086
1087
|
"dev": "next dev --turbo",
|
|
1087
1088
|
"build": "next build",
|
|
1088
1089
|
"start": "next start",
|
|
1089
|
-
"lint": "
|
|
1090
|
+
"lint": "eslint ."
|
|
1090
1091
|
},
|
|
1091
1092
|
"dependencies": {
|
|
1092
|
-
"@ai-sdk/openai": "^2.0.
|
|
1093
|
+
"@ai-sdk/openai": "^2.0.38",
|
|
1093
1094
|
"@assistant-ui/react": "workspace:*",
|
|
1094
1095
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
1095
1096
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
1096
1097
|
"@radix-ui/react-slot": "^1.2.3",
|
|
1097
1098
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
1098
|
-
"ai": "^5.0.
|
|
1099
|
+
"ai": "^5.0.56",
|
|
1099
1100
|
"class-variance-authority": "^0.7.1",
|
|
1100
1101
|
"clsx": "^2.1.1",
|
|
1101
1102
|
"jsonwebtoken": "^9.0.2",
|
|
1102
|
-
"lucide-react": "^0.
|
|
1103
|
-
"nanoid": "5.1.
|
|
1104
|
-
"next": "15.4
|
|
1103
|
+
"lucide-react": "^0.544.0",
|
|
1104
|
+
"nanoid": "5.1.6",
|
|
1105
|
+
"next": "15.5.4",
|
|
1105
1106
|
"react": "19.1.1",
|
|
1106
1107
|
"react-dom": "19.1.1",
|
|
1107
1108
|
"remark-gfm": "^4.0.1",
|
|
1108
1109
|
"tailwind-merge": "^3.3.1",
|
|
1109
|
-
"tw-animate-css": "^1.
|
|
1110
|
+
"tw-animate-css": "^1.4.0"
|
|
1110
1111
|
},
|
|
1111
1112
|
"devDependencies": {
|
|
1112
1113
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
@@ -1115,9 +1116,9 @@ export default nextConfig;
|
|
|
1115
1116
|
"@types/react": "^19",
|
|
1116
1117
|
"@types/react-dom": "^19",
|
|
1117
1118
|
"eslint": "^9",
|
|
1118
|
-
"eslint-config-next": "15.4
|
|
1119
|
+
"eslint-config-next": "15.5.4",
|
|
1119
1120
|
"postcss": "^8",
|
|
1120
|
-
"tailwindcss": "^4.1.
|
|
1121
|
+
"tailwindcss": "^4.1.13",
|
|
1121
1122
|
"typescript": "^5"
|
|
1122
1123
|
}
|
|
1123
1124
|
}
|
|
@@ -1145,6 +1146,7 @@ export default nextConfig;
|
|
|
1145
1146
|
"@/*": ["./*"],
|
|
1146
1147
|
"@assistant-ui/*": ["../../packages/*/src"],
|
|
1147
1148
|
"@assistant-ui/react/*": ["../../packages/react/src/*"],
|
|
1149
|
+
"@assistant-ui/tap/*": ["../../packages/tap/src/*"],
|
|
1148
1150
|
"assistant-stream": ["../../packages/assistant-stream/src"],
|
|
1149
1151
|
"assistant-stream/*": ["../../packages/assistant-stream/src/*"]
|
|
1150
1152
|
}
|
|
@@ -782,6 +782,7 @@ const CircleStopIcon = () => {
|
|
|
782
782
|
"use client";
|
|
783
783
|
|
|
784
784
|
import { ComponentPropsWithoutRef, forwardRef } from "react";
|
|
785
|
+
import { Slottable } from "@radix-ui/react-slot";
|
|
785
786
|
|
|
786
787
|
import {
|
|
787
788
|
Tooltip,
|
|
@@ -810,7 +811,7 @@ export const TooltipIconButton = forwardRef<
|
|
|
810
811
|
className={cn("size-6 p-1", className)}
|
|
811
812
|
ref={ref}
|
|
812
813
|
>
|
|
813
|
-
{children}
|
|
814
|
+
<Slottable>{children}</Slottable>
|
|
814
815
|
<span className="sr-only">{tooltip}</span>
|
|
815
816
|
</Button>
|
|
816
817
|
</TooltipTrigger>
|
|
@@ -998,23 +999,23 @@ export default nextConfig;
|
|
|
998
999
|
"dev": "next dev --turbo",
|
|
999
1000
|
"build": "next build",
|
|
1000
1001
|
"start": "next start",
|
|
1001
|
-
"lint": "
|
|
1002
|
+
"lint": "eslint ."
|
|
1002
1003
|
},
|
|
1003
1004
|
"dependencies": {
|
|
1004
|
-
"@ai-sdk/openai": "^2.0.
|
|
1005
|
+
"@ai-sdk/openai": "^2.0.38",
|
|
1005
1006
|
"@assistant-ui/react": "workspace:*",
|
|
1006
1007
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
1007
1008
|
"@radix-ui/react-slot": "^1.2.3",
|
|
1008
1009
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
1009
1010
|
"class-variance-authority": "^0.7.1",
|
|
1010
1011
|
"clsx": "^2.1.1",
|
|
1011
|
-
"lucide-react": "^0.
|
|
1012
|
-
"next": "15.4
|
|
1012
|
+
"lucide-react": "^0.544.0",
|
|
1013
|
+
"next": "15.5.4",
|
|
1013
1014
|
"react": "19.1.1",
|
|
1014
1015
|
"react-dom": "19.1.1",
|
|
1015
1016
|
"remark-gfm": "^4.0.1",
|
|
1016
1017
|
"tailwind-merge": "^3.3.1",
|
|
1017
|
-
"tw-animate-css": "^1.
|
|
1018
|
+
"tw-animate-css": "^1.4.0"
|
|
1018
1019
|
},
|
|
1019
1020
|
"devDependencies": {
|
|
1020
1021
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
@@ -1022,9 +1023,9 @@ export default nextConfig;
|
|
|
1022
1023
|
"@types/react": "^19",
|
|
1023
1024
|
"@types/react-dom": "^19",
|
|
1024
1025
|
"eslint": "^9",
|
|
1025
|
-
"eslint-config-next": "15.4
|
|
1026
|
+
"eslint-config-next": "15.5.4",
|
|
1026
1027
|
"postcss": "^8",
|
|
1027
|
-
"tailwindcss": "^4.1.
|
|
1028
|
+
"tailwindcss": "^4.1.13",
|
|
1028
1029
|
"typescript": "^5"
|
|
1029
1030
|
}
|
|
1030
1031
|
}
|
|
@@ -1052,6 +1053,7 @@ export default nextConfig;
|
|
|
1052
1053
|
"@/*": ["./*"],
|
|
1053
1054
|
"@assistant-ui/*": ["../../packages/*/src"],
|
|
1054
1055
|
"@assistant-ui/react/*": ["../../packages/react/src/*"],
|
|
1056
|
+
"@assistant-ui/tap/*": ["../../packages/tap/src/*"],
|
|
1055
1057
|
"assistant-stream": ["../../packages/assistant-stream/src"],
|
|
1056
1058
|
"assistant-stream/*": ["../../packages/assistant-stream/src/*"]
|
|
1057
1059
|
}
|
|
@@ -991,6 +991,7 @@ const CircleStopIcon = () => {
|
|
|
991
991
|
"use client";
|
|
992
992
|
|
|
993
993
|
import { ComponentPropsWithoutRef, forwardRef } from "react";
|
|
994
|
+
import { Slottable } from "@radix-ui/react-slot";
|
|
994
995
|
|
|
995
996
|
import {
|
|
996
997
|
Tooltip,
|
|
@@ -1019,7 +1020,7 @@ export const TooltipIconButton = forwardRef<
|
|
|
1019
1020
|
className={cn("size-6 p-1", className)}
|
|
1020
1021
|
ref={ref}
|
|
1021
1022
|
>
|
|
1022
|
-
{children}
|
|
1023
|
+
<Slottable>{children}</Slottable>
|
|
1023
1024
|
<span className="sr-only">{tooltip}</span>
|
|
1024
1025
|
</Button>
|
|
1025
1026
|
</TooltipTrigger>
|
|
@@ -1190,6 +1191,7 @@ export function cn(...inputs: ClassValue[]) {
|
|
|
1190
1191
|
```typescript
|
|
1191
1192
|
/// <reference types="next" />
|
|
1192
1193
|
/// <reference types="next/image-types/global" />
|
|
1194
|
+
/// <reference path="./.next/types/routes.d.ts" />
|
|
1193
1195
|
|
|
1194
1196
|
// NOTE: This file should not be edited
|
|
1195
1197
|
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
|
@@ -1220,17 +1222,17 @@ export default nextConfig;
|
|
|
1220
1222
|
"dev": "next dev --turbo",
|
|
1221
1223
|
"build": "next build",
|
|
1222
1224
|
"start": "next start",
|
|
1223
|
-
"lint": "
|
|
1225
|
+
"lint": "eslint ."
|
|
1224
1226
|
},
|
|
1225
1227
|
"dependencies": {
|
|
1226
|
-
"@ai-sdk/openai": "^2.0.
|
|
1228
|
+
"@ai-sdk/openai": "^2.0.38",
|
|
1227
1229
|
"@assistant-ui/react": "workspace:*",
|
|
1228
1230
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
1229
1231
|
"@assistant-ui/react-hook-form": "workspace:*",
|
|
1230
1232
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
1231
1233
|
"@ffmpeg/ffmpeg": "^0.12.15",
|
|
1232
1234
|
"@ffmpeg/util": "^0.12.2",
|
|
1233
|
-
"@hookform/resolvers": "^5.2.
|
|
1235
|
+
"@hookform/resolvers": "^5.2.2",
|
|
1234
1236
|
"@radix-ui/react-avatar": "^1.1.10",
|
|
1235
1237
|
"@radix-ui/react-icons": "^1.3.2",
|
|
1236
1238
|
"@radix-ui/react-label": "^2.1.7",
|
|
@@ -1238,21 +1240,21 @@ export default nextConfig;
|
|
|
1238
1240
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
1239
1241
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
1240
1242
|
"@react-hook/media-query": "^1.1.1",
|
|
1241
|
-
"ai": "^5.0.
|
|
1243
|
+
"ai": "^5.0.56",
|
|
1242
1244
|
"class-variance-authority": "^0.7.1",
|
|
1243
1245
|
"clsx": "^2.1.1",
|
|
1244
1246
|
"json-schema-to-zod": "^2.6.1",
|
|
1245
|
-
"lucide-react": "^0.
|
|
1246
|
-
"next": "15.4
|
|
1247
|
+
"lucide-react": "^0.544.0",
|
|
1248
|
+
"next": "15.5.4",
|
|
1247
1249
|
"react": "19.1.1",
|
|
1248
1250
|
"react-dom": "19.1.1",
|
|
1249
|
-
"react-hook-form": "^7.
|
|
1250
|
-
"react-resizable-panels": "^3.0.
|
|
1251
|
+
"react-hook-form": "^7.63.0",
|
|
1252
|
+
"react-resizable-panels": "^3.0.6",
|
|
1251
1253
|
"remark-gfm": "^4.0.1",
|
|
1252
1254
|
"tailwind-merge": "^3.3.1",
|
|
1253
|
-
"tw-animate-css": "^1.
|
|
1254
|
-
"zod": "^4.
|
|
1255
|
-
"zustand": "^5.0.
|
|
1255
|
+
"tw-animate-css": "^1.4.0",
|
|
1256
|
+
"zod": "^4.1.11",
|
|
1257
|
+
"zustand": "^5.0.8"
|
|
1256
1258
|
},
|
|
1257
1259
|
"devDependencies": {
|
|
1258
1260
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
@@ -1260,9 +1262,9 @@ export default nextConfig;
|
|
|
1260
1262
|
"@types/react": "^19",
|
|
1261
1263
|
"@types/react-dom": "^19",
|
|
1262
1264
|
"eslint": "^9",
|
|
1263
|
-
"eslint-config-next": "15.4
|
|
1265
|
+
"eslint-config-next": "15.5.4",
|
|
1264
1266
|
"postcss": "^8",
|
|
1265
|
-
"tailwindcss": "^4.1.
|
|
1267
|
+
"tailwindcss": "^4.1.13",
|
|
1266
1268
|
"typescript": "^5.9.2"
|
|
1267
1269
|
}
|
|
1268
1270
|
}
|
|
@@ -1290,6 +1292,7 @@ export default nextConfig;
|
|
|
1290
1292
|
"@/*": ["./*"],
|
|
1291
1293
|
"@assistant-ui/*": ["../../packages/*/src"],
|
|
1292
1294
|
"@assistant-ui/react/*": ["../../packages/react/src/*"],
|
|
1295
|
+
"@assistant-ui/tap/*": ["../../packages/tap/src/*"],
|
|
1293
1296
|
"assistant-stream": ["../../packages/assistant-stream/src"],
|
|
1294
1297
|
"assistant-stream/*": ["../../packages/assistant-stream/src/*"]
|
|
1295
1298
|
}
|
|
@@ -1016,11 +1016,11 @@ const CircleStopIcon = () => {
|
|
|
1016
1016
|
"use client";
|
|
1017
1017
|
|
|
1018
1018
|
import { ComponentPropsWithoutRef, forwardRef } from "react";
|
|
1019
|
+
import { Slottable } from "@radix-ui/react-slot";
|
|
1019
1020
|
|
|
1020
1021
|
import {
|
|
1021
1022
|
Tooltip,
|
|
1022
1023
|
TooltipContent,
|
|
1023
|
-
TooltipProvider,
|
|
1024
1024
|
TooltipTrigger,
|
|
1025
1025
|
} from "@/components/ui/tooltip";
|
|
1026
1026
|
import { Button } from "@/components/ui/button";
|
|
@@ -1036,23 +1036,21 @@ export const TooltipIconButton = forwardRef<
|
|
|
1036
1036
|
TooltipIconButtonProps
|
|
1037
1037
|
>(({ children, tooltip, side = "bottom", className, ...rest }, ref) => {
|
|
1038
1038
|
return (
|
|
1039
|
-
<
|
|
1040
|
-
<
|
|
1041
|
-
<
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
>
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
</Tooltip>
|
|
1055
|
-
</TooltipProvider>
|
|
1039
|
+
<Tooltip>
|
|
1040
|
+
<TooltipTrigger asChild>
|
|
1041
|
+
<Button
|
|
1042
|
+
variant="ghost"
|
|
1043
|
+
size="icon"
|
|
1044
|
+
{...rest}
|
|
1045
|
+
className={cn("size-6 p-1", className)}
|
|
1046
|
+
ref={ref}
|
|
1047
|
+
>
|
|
1048
|
+
<Slottable>{children}</Slottable>
|
|
1049
|
+
<span className="sr-only">{tooltip}</span>
|
|
1050
|
+
</Button>
|
|
1051
|
+
</TooltipTrigger>
|
|
1052
|
+
<TooltipContent side={side}>{tooltip}</TooltipContent>
|
|
1053
|
+
</Tooltip>
|
|
1056
1054
|
);
|
|
1057
1055
|
});
|
|
1058
1056
|
|
|
@@ -1560,29 +1558,58 @@ import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
|
1560
1558
|
|
|
1561
1559
|
import { cn } from "@/lib/utils";
|
|
1562
1560
|
|
|
1563
|
-
|
|
1561
|
+
function TooltipProvider({
|
|
1562
|
+
delayDuration = 0,
|
|
1563
|
+
...props
|
|
1564
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Provider>) {
|
|
1565
|
+
return (
|
|
1566
|
+
<TooltipPrimitive.Provider
|
|
1567
|
+
data-slot="tooltip-provider"
|
|
1568
|
+
delayDuration={delayDuration}
|
|
1569
|
+
{...props}
|
|
1570
|
+
/>
|
|
1571
|
+
);
|
|
1572
|
+
}
|
|
1564
1573
|
|
|
1565
|
-
|
|
1574
|
+
function Tooltip({
|
|
1575
|
+
...props
|
|
1576
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Root>) {
|
|
1577
|
+
return (
|
|
1578
|
+
<TooltipProvider>
|
|
1579
|
+
<TooltipPrimitive.Root data-slot="tooltip" {...props} />
|
|
1580
|
+
</TooltipProvider>
|
|
1581
|
+
);
|
|
1582
|
+
}
|
|
1566
1583
|
|
|
1567
|
-
|
|
1584
|
+
function TooltipTrigger({
|
|
1585
|
+
...props
|
|
1586
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>) {
|
|
1587
|
+
return <TooltipPrimitive.Trigger data-slot="tooltip-trigger" {...props} />;
|
|
1588
|
+
}
|
|
1568
1589
|
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1590
|
+
function TooltipContent({
|
|
1591
|
+
className,
|
|
1592
|
+
sideOffset = 0,
|
|
1593
|
+
children,
|
|
1594
|
+
...props
|
|
1595
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Content>) {
|
|
1596
|
+
return (
|
|
1597
|
+
<TooltipPrimitive.Portal>
|
|
1598
|
+
<TooltipPrimitive.Content
|
|
1599
|
+
data-slot="tooltip-content"
|
|
1600
|
+
sideOffset={sideOffset}
|
|
1601
|
+
className={cn(
|
|
1602
|
+
"bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-tooltip-content-transform-origin) z-50 w-fit text-balance rounded-md px-3 py-1.5 text-xs",
|
|
1603
|
+
className,
|
|
1604
|
+
)}
|
|
1605
|
+
{...props}
|
|
1606
|
+
>
|
|
1607
|
+
{children}
|
|
1608
|
+
<TooltipPrimitive.Arrow className="bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" />
|
|
1609
|
+
</TooltipPrimitive.Content>
|
|
1610
|
+
</TooltipPrimitive.Portal>
|
|
1611
|
+
);
|
|
1612
|
+
}
|
|
1586
1613
|
|
|
1587
1614
|
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
1588
1615
|
|
|
@@ -1689,6 +1716,7 @@ export function cn(...inputs: ClassValue[]) {
|
|
|
1689
1716
|
```typescript
|
|
1690
1717
|
/// <reference types="next" />
|
|
1691
1718
|
/// <reference types="next/image-types/global" />
|
|
1719
|
+
/// <reference path="./.next/types/routes.d.ts" />
|
|
1692
1720
|
|
|
1693
1721
|
// NOTE: This file should not be edited
|
|
1694
1722
|
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
|
@@ -1701,7 +1729,14 @@ export function cn(...inputs: ClassValue[]) {
|
|
|
1701
1729
|
import type { NextConfig } from "next";
|
|
1702
1730
|
|
|
1703
1731
|
const nextConfig: NextConfig = {
|
|
1704
|
-
|
|
1732
|
+
async rewrites() {
|
|
1733
|
+
return [
|
|
1734
|
+
{
|
|
1735
|
+
source: "/assistant/:path*",
|
|
1736
|
+
destination: "http://localhost:8000/assistant/:path*",
|
|
1737
|
+
},
|
|
1738
|
+
];
|
|
1739
|
+
},
|
|
1705
1740
|
};
|
|
1706
1741
|
|
|
1707
1742
|
export default nextConfig;
|
|
@@ -1719,27 +1754,27 @@ export default nextConfig;
|
|
|
1719
1754
|
"dev": "next dev --turbo",
|
|
1720
1755
|
"build": "next build",
|
|
1721
1756
|
"start": "next start",
|
|
1722
|
-
"lint": "
|
|
1757
|
+
"lint": "eslint ."
|
|
1723
1758
|
},
|
|
1724
1759
|
"dependencies": {
|
|
1725
1760
|
"@assistant-ui/react": "workspace:*",
|
|
1726
1761
|
"@assistant-ui/react-langgraph": "workspace:*",
|
|
1727
1762
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
1728
|
-
"@langchain/langgraph-sdk": "^0.
|
|
1763
|
+
"@langchain/langgraph-sdk": "^0.1.7",
|
|
1729
1764
|
"@radix-ui/react-slot": "^1.2.3",
|
|
1730
1765
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
1731
1766
|
"class-variance-authority": "^0.7.1",
|
|
1732
1767
|
"clsx": "^2.1.1",
|
|
1733
1768
|
"js-cookie": "^3.0.5",
|
|
1734
1769
|
"jsonwebtoken": "^9.0.2",
|
|
1735
|
-
"lucide-react": "^0.
|
|
1736
|
-
"nanoid": "5.1.
|
|
1737
|
-
"next": "15.4
|
|
1770
|
+
"lucide-react": "^0.544.0",
|
|
1771
|
+
"nanoid": "5.1.6",
|
|
1772
|
+
"next": "15.5.4",
|
|
1738
1773
|
"react": "19.1.1",
|
|
1739
1774
|
"react-dom": "19.1.1",
|
|
1740
1775
|
"remark-gfm": "^4.0.1",
|
|
1741
1776
|
"tailwind-merge": "^3.3.1",
|
|
1742
|
-
"tw-animate-css": "^1.
|
|
1777
|
+
"tw-animate-css": "^1.4.0"
|
|
1743
1778
|
},
|
|
1744
1779
|
"devDependencies": {
|
|
1745
1780
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
@@ -1749,9 +1784,9 @@ export default nextConfig;
|
|
|
1749
1784
|
"@types/react": "^19",
|
|
1750
1785
|
"@types/react-dom": "^19",
|
|
1751
1786
|
"eslint": "^9",
|
|
1752
|
-
"eslint-config-next": "15.4
|
|
1787
|
+
"eslint-config-next": "15.5.4",
|
|
1753
1788
|
"postcss": "^8",
|
|
1754
|
-
"tailwindcss": "^4.1.
|
|
1789
|
+
"tailwindcss": "^4.1.13",
|
|
1755
1790
|
"typescript": "^5.9.2"
|
|
1756
1791
|
}
|
|
1757
1792
|
}
|
|
@@ -1806,6 +1841,7 @@ npm run dev
|
|
|
1806
1841
|
"@/*": ["./*"],
|
|
1807
1842
|
"@assistant-ui/*": ["../../packages/*/src"],
|
|
1808
1843
|
"@assistant-ui/react/*": ["../../packages/react/src/*"],
|
|
1844
|
+
"@assistant-ui/tap/*": ["../../packages/tap/src/*"],
|
|
1809
1845
|
"assistant-stream": ["../../packages/assistant-stream/src"],
|
|
1810
1846
|
"assistant-stream/*": ["../../packages/assistant-stream/src/*"]
|
|
1811
1847
|
}
|
|
@@ -1028,6 +1028,7 @@ const CircleStopIcon = () => {
|
|
|
1028
1028
|
"use client";
|
|
1029
1029
|
|
|
1030
1030
|
import { ComponentPropsWithoutRef, forwardRef } from "react";
|
|
1031
|
+
import { Slottable } from "@radix-ui/react-slot";
|
|
1031
1032
|
|
|
1032
1033
|
import {
|
|
1033
1034
|
Tooltip,
|
|
@@ -1056,7 +1057,7 @@ export const TooltipIconButton = forwardRef<
|
|
|
1056
1057
|
className={cn("size-6 p-1", className)}
|
|
1057
1058
|
ref={ref}
|
|
1058
1059
|
>
|
|
1059
|
-
{children}
|
|
1060
|
+
<Slottable>{children}</Slottable>
|
|
1060
1061
|
<span className="sr-only">{tooltip}</span>
|
|
1061
1062
|
</Button>
|
|
1062
1063
|
</TooltipTrigger>
|
|
@@ -1244,23 +1245,23 @@ export default nextConfig;
|
|
|
1244
1245
|
"dev": "next dev --turbo",
|
|
1245
1246
|
"build": "next build",
|
|
1246
1247
|
"start": "next start",
|
|
1247
|
-
"lint": "
|
|
1248
|
+
"lint": "eslint ."
|
|
1248
1249
|
},
|
|
1249
1250
|
"dependencies": {
|
|
1250
|
-
"@ai-sdk/openai": "^2.0.
|
|
1251
|
+
"@ai-sdk/openai": "^2.0.38",
|
|
1251
1252
|
"@assistant-ui/react": "workspace:*",
|
|
1252
1253
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
1253
1254
|
"@radix-ui/react-slot": "^1.2.3",
|
|
1254
1255
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
1255
1256
|
"class-variance-authority": "^0.7.1",
|
|
1256
1257
|
"clsx": "^2.1.1",
|
|
1257
|
-
"lucide-react": "^0.
|
|
1258
|
-
"next": "15.4
|
|
1258
|
+
"lucide-react": "^0.544.0",
|
|
1259
|
+
"next": "15.5.4",
|
|
1259
1260
|
"react": "19.1.1",
|
|
1260
1261
|
"react-dom": "19.1.1",
|
|
1261
1262
|
"remark-gfm": "^4.0.1",
|
|
1262
1263
|
"tailwind-merge": "^3.3.1",
|
|
1263
|
-
"tw-animate-css": "^1.
|
|
1264
|
+
"tw-animate-css": "^1.4.0"
|
|
1264
1265
|
},
|
|
1265
1266
|
"devDependencies": {
|
|
1266
1267
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
@@ -1268,9 +1269,9 @@ export default nextConfig;
|
|
|
1268
1269
|
"@types/react": "^19",
|
|
1269
1270
|
"@types/react-dom": "^19",
|
|
1270
1271
|
"eslint": "^9",
|
|
1271
|
-
"eslint-config-next": "15.4
|
|
1272
|
+
"eslint-config-next": "15.5.4",
|
|
1272
1273
|
"postcss": "^8",
|
|
1273
|
-
"tailwindcss": "^4.1.
|
|
1274
|
+
"tailwindcss": "^4.1.13",
|
|
1274
1275
|
"typescript": "^5"
|
|
1275
1276
|
}
|
|
1276
1277
|
}
|
|
@@ -1365,6 +1366,7 @@ This pattern is useful for:
|
|
|
1365
1366
|
"@/*": ["./*"],
|
|
1366
1367
|
"@assistant-ui/*": ["../../packages/*/src"],
|
|
1367
1368
|
"@assistant-ui/react/*": ["../../packages/react/src/*"],
|
|
1369
|
+
"@assistant-ui/tap/*": ["../../packages/tap/src/*"],
|
|
1368
1370
|
"assistant-stream": ["../../packages/assistant-stream/src"],
|
|
1369
1371
|
"assistant-stream/*": ["../../packages/assistant-stream/src/*"]
|
|
1370
1372
|
}
|
|
@@ -883,6 +883,7 @@ const CircleStopIcon = () => {
|
|
|
883
883
|
"use client";
|
|
884
884
|
|
|
885
885
|
import { ComponentPropsWithoutRef, forwardRef } from "react";
|
|
886
|
+
import { Slottable } from "@radix-ui/react-slot";
|
|
886
887
|
|
|
887
888
|
import {
|
|
888
889
|
Tooltip,
|
|
@@ -911,7 +912,7 @@ export const TooltipIconButton = forwardRef<
|
|
|
911
912
|
className={cn("size-6 p-1", className)}
|
|
912
913
|
ref={ref}
|
|
913
914
|
>
|
|
914
|
-
{children}
|
|
915
|
+
<Slottable>{children}</Slottable>
|
|
915
916
|
<span className="sr-only">{tooltip}</span>
|
|
916
917
|
</Button>
|
|
917
918
|
</TooltipTrigger>
|
|
@@ -1612,6 +1613,7 @@ export function cn(...inputs: ClassValue[]) {
|
|
|
1612
1613
|
```typescript
|
|
1613
1614
|
/// <reference types="next" />
|
|
1614
1615
|
/// <reference types="next/image-types/global" />
|
|
1616
|
+
/// <reference path="./.next/types/routes.d.ts" />
|
|
1615
1617
|
|
|
1616
1618
|
// NOTE: This file should not be edited
|
|
1617
1619
|
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
|
@@ -1642,15 +1644,15 @@ export default nextConfig;
|
|
|
1642
1644
|
"dev": "next dev --turbo",
|
|
1643
1645
|
"build": "next build",
|
|
1644
1646
|
"start": "next start",
|
|
1645
|
-
"lint": "
|
|
1647
|
+
"lint": "eslint ."
|
|
1646
1648
|
},
|
|
1647
1649
|
"dependencies": {
|
|
1648
|
-
"@ai-sdk/openai": "^2.0.
|
|
1650
|
+
"@ai-sdk/openai": "^2.0.38",
|
|
1649
1651
|
"@assistant-ui/react": "workspace:*",
|
|
1650
1652
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
1651
1653
|
"@assistant-ui/react-hook-form": "workspace:*",
|
|
1652
1654
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
1653
|
-
"@hookform/resolvers": "^5.2.
|
|
1655
|
+
"@hookform/resolvers": "^5.2.2",
|
|
1654
1656
|
"@radix-ui/react-avatar": "^1.1.10",
|
|
1655
1657
|
"@radix-ui/react-icons": "^1.3.2",
|
|
1656
1658
|
"@radix-ui/react-label": "^2.1.7",
|
|
@@ -1658,21 +1660,21 @@ export default nextConfig;
|
|
|
1658
1660
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
1659
1661
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
1660
1662
|
"@react-hook/media-query": "^1.1.1",
|
|
1661
|
-
"ai": "^5.0.
|
|
1663
|
+
"ai": "^5.0.56",
|
|
1662
1664
|
"class-variance-authority": "^0.7.1",
|
|
1663
1665
|
"clsx": "^2.1.1",
|
|
1664
1666
|
"json-schema-to-zod": "^2.6.1",
|
|
1665
|
-
"lucide-react": "^0.
|
|
1666
|
-
"next": "15.4
|
|
1667
|
+
"lucide-react": "^0.544.0",
|
|
1668
|
+
"next": "15.5.4",
|
|
1667
1669
|
"react": "19.1.1",
|
|
1668
1670
|
"react-dom": "19.1.1",
|
|
1669
|
-
"react-hook-form": "^7.
|
|
1670
|
-
"react-resizable-panels": "^3.0.
|
|
1671
|
+
"react-hook-form": "^7.63.0",
|
|
1672
|
+
"react-resizable-panels": "^3.0.6",
|
|
1671
1673
|
"remark-gfm": "^4.0.1",
|
|
1672
1674
|
"tailwind-merge": "^3.3.1",
|
|
1673
|
-
"tw-animate-css": "^1.
|
|
1674
|
-
"zod": "^4.
|
|
1675
|
-
"zustand": "^5.0.
|
|
1675
|
+
"tw-animate-css": "^1.4.0",
|
|
1676
|
+
"zod": "^4.1.11",
|
|
1677
|
+
"zustand": "^5.0.8"
|
|
1676
1678
|
},
|
|
1677
1679
|
"devDependencies": {
|
|
1678
1680
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
@@ -1680,9 +1682,9 @@ export default nextConfig;
|
|
|
1680
1682
|
"@types/react": "^19",
|
|
1681
1683
|
"@types/react-dom": "^19",
|
|
1682
1684
|
"eslint": "^9",
|
|
1683
|
-
"eslint-config-next": "15.4
|
|
1685
|
+
"eslint-config-next": "15.5.4",
|
|
1684
1686
|
"postcss": "^8",
|
|
1685
|
-
"tailwindcss": "^4.1.
|
|
1687
|
+
"tailwindcss": "^4.1.13",
|
|
1686
1688
|
"typescript": "^5.9.2"
|
|
1687
1689
|
}
|
|
1688
1690
|
}
|
|
@@ -1710,6 +1712,7 @@ export default nextConfig;
|
|
|
1710
1712
|
"@/*": ["./*"],
|
|
1711
1713
|
"@assistant-ui/*": ["../../packages/*/src"],
|
|
1712
1714
|
"@assistant-ui/react/*": ["../../packages/react/src/*"],
|
|
1715
|
+
"@assistant-ui/tap/*": ["../../packages/tap/src/*"],
|
|
1713
1716
|
"assistant-stream": ["../../packages/assistant-stream/src"],
|
|
1714
1717
|
"assistant-stream/*": ["../../packages/assistant-stream/src/*"]
|
|
1715
1718
|
}
|