@assistant-ui/mcp-docs-server 0.1.33 → 0.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.docs/organized/code-examples/waterfall.md +7 -7
- package/.docs/organized/code-examples/with-a2a.md +8 -8
- package/.docs/organized/code-examples/with-ag-ui.md +12 -12
- package/.docs/organized/code-examples/with-ai-sdk-v6.md +10 -10
- package/.docs/organized/code-examples/with-artifacts.md +40 -34
- package/.docs/organized/code-examples/with-assistant-transport.md +11 -11
- package/.docs/organized/code-examples/with-browser-extension.md +9 -9
- package/.docs/organized/code-examples/with-chain-of-thought.md +72 -51
- package/.docs/organized/code-examples/with-cloud-standalone.md +10 -10
- package/.docs/organized/code-examples/with-cloud.md +10 -10
- package/.docs/organized/code-examples/with-custom-thread-list.md +10 -10
- package/.docs/organized/code-examples/with-elevenlabs-conversational.md +12 -12
- package/.docs/organized/code-examples/with-elevenlabs-scribe.md +12 -12
- package/.docs/organized/code-examples/with-expo.md +66 -31
- package/.docs/organized/code-examples/with-external-store.md +8 -8
- package/.docs/organized/code-examples/with-ffmpeg.md +13 -13
- package/.docs/organized/code-examples/with-generative-ui.md +98 -368
- package/.docs/organized/code-examples/with-google-adk.md +9 -9
- package/.docs/organized/code-examples/with-heat-graph.md +7 -7
- package/.docs/organized/code-examples/with-image-generation.md +10 -10
- package/.docs/organized/code-examples/with-interactables.md +10 -10
- package/.docs/organized/code-examples/with-langchain.md +10 -10
- package/.docs/organized/code-examples/with-langgraph.md +33 -29
- package/.docs/organized/code-examples/with-livekit.md +12 -12
- package/.docs/organized/code-examples/with-mcp.md +11 -11
- package/.docs/organized/code-examples/with-opencode.md +109 -583
- package/.docs/organized/code-examples/with-pi.md +2044 -0
- package/.docs/organized/code-examples/with-react-hook-form.md +11 -11
- package/.docs/organized/code-examples/with-react-ink-web.md +691 -0
- package/.docs/organized/code-examples/with-react-ink.md +309 -102
- package/.docs/organized/code-examples/with-react-router.md +14 -14
- package/.docs/organized/code-examples/with-resumable-stream.md +11 -11
- package/.docs/organized/code-examples/with-store.md +70 -66
- package/.docs/organized/code-examples/with-tanstack.md +25 -11
- package/.docs/organized/code-examples/with-tap-runtime.md +8 -8
- package/.docs/organized/code-examples/with-virtualized-thread.md +656 -0
- package/.docs/raw/docs/(docs)/architecture.mdx +65 -53
- package/.docs/raw/docs/(reference)/api-reference/external-store/message-conversion.mdx +1 -1
- package/.docs/raw/docs/(reference)/api-reference/external-store/runtime.mdx +3 -0
- package/.docs/raw/docs/(reference)/api-reference/hooks/primitives.mdx +44 -1
- package/.docs/raw/docs/(reference)/api-reference/integrations/react-ai-sdk.mdx +14 -3
- package/.docs/raw/docs/(reference)/api-reference/model-context/context.mdx +1 -1
- package/.docs/raw/docs/(reference)/api-reference/tools/rendering.mdx +2 -23
- package/.docs/raw/docs/(reference)/api-reference/tools/status.mdx +22 -0
- package/.docs/raw/docs/(reference)/api-reference/tools/toolkits.mdx +93 -9
- package/.docs/raw/docs/(reference)/api-reference/utilities/miscellaneous.mdx +21 -86
- package/.docs/raw/docs/guides/chain-of-thought.mdx +1 -1
- package/.docs/raw/docs/guides/index.mdx +3 -0
- package/.docs/raw/docs/guides/input-history.mdx +55 -0
- package/.docs/raw/docs/guides/virtualization.mdx +63 -0
- package/.docs/raw/docs/ink/adapters.mdx +23 -1
- package/.docs/raw/docs/ink/hooks.mdx +22 -19
- package/.docs/raw/docs/migrations/toolkit-tools.mdx +14 -8
- package/.docs/raw/docs/react-native/hooks.mdx +26 -18
- package/.docs/raw/docs/runtimes/ag-ui/runtime-options.mdx +39 -0
- package/.docs/raw/docs/runtimes/ai-sdk/v6.mdx +3 -3
- package/.docs/raw/docs/runtimes/concepts/architecture.mdx +46 -4
- package/.docs/raw/docs/runtimes/concepts/stability.mdx +1 -1
- package/.docs/raw/docs/runtimes/custom/assistant-transport.mdx +54 -12
- package/.docs/raw/docs/runtimes/custom/data-stream.mdx +1 -1
- package/.docs/raw/docs/runtimes/custom/external-store.mdx +62 -4
- package/.docs/raw/docs/runtimes/custom/local-runtime.mdx +120 -4
- package/.docs/raw/docs/runtimes/google-adk/hooks.mdx +9 -9
- package/.docs/raw/docs/runtimes/langgraph/streaming.mdx +13 -0
- package/.docs/raw/docs/runtimes/langgraph/tutorial/part-2.mdx +5 -5
- package/.docs/raw/docs/runtimes/langgraph/tutorial/part-3.mdx +3 -3
- package/.docs/raw/docs/runtimes/pick-a-runtime.mdx +6 -6
- package/.docs/raw/docs/tools/backend.mdx +19 -11
- package/.docs/raw/docs/tools/defining-tools.mdx +177 -52
- package/.docs/raw/docs/tools/index.mdx +7 -12
- package/.docs/raw/docs/tools/mcp.mdx +83 -15
- package/.docs/raw/docs/tools/multi-agent.mdx +5 -5
- package/.docs/raw/docs/tools/tool-ui.mdx +64 -28
- package/.docs/raw/docs/tools/user-managed-mcp.mdx +4 -4
- package/.docs/raw/docs/ui/dot-matrix.mdx +133 -0
- package/.docs/raw/docs/ui/mermaid.mdx +16 -9
- package/.docs/raw/docs/ui/model-selector.mdx +219 -52
- package/.docs/raw/docs/ui/number-roll.mdx +154 -0
- package/.docs/raw/docs/ui/part-grouping.mdx +2 -2
- package/.docs/raw/docs/ui/reasoning.mdx +3 -3
- package/.docs/raw/docs/ui/streamdown.mdx +2 -0
- package/.docs/raw/docs/ui/syntax-highlighting.mdx +1 -1
- package/.docs/raw/docs/ui/thread.mdx +52 -0
- package/.docs/raw/docs/ui/tool-fallback.mdx +16 -0
- package/.docs/raw/docs/utilities/react-o11y.mdx +2 -2
- package/dist/constants.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/prepare-docs/code-examples.js.map +1 -1
- package/dist/prepare-docs/copy-raw.js.map +1 -1
- package/dist/prepare-docs/prepare.js.map +1 -1
- package/dist/stdio.js.map +1 -1
- package/dist/tools/docs.js.map +1 -1
- package/dist/tools/examples.js.map +1 -1
- package/dist/tools/tests/test-setup.js.map +1 -1
- package/dist/utils/mdx.js.map +1 -1
- package/dist/utils/paths.js.map +1 -1
- package/package.json +4 -4
- /package/.docs/raw/docs/{(docs)/copilots → copilots}/assistant-frame.mdx +0 -0
- /package/.docs/raw/docs/{(docs)/copilots → copilots}/make-assistant-visible.mdx +0 -0
- /package/.docs/raw/docs/{(docs)/copilots → copilots}/model-context.mdx +0 -0
- /package/.docs/raw/docs/{(docs)/copilots → copilots}/motivation.mdx +0 -0
- /package/.docs/raw/docs/{(docs)/copilots → copilots}/use-assistant-instructions.mdx +0 -0
|
@@ -460,31 +460,31 @@ export default withAui(nextConfig);
|
|
|
460
460
|
"start": "next start"
|
|
461
461
|
},
|
|
462
462
|
"dependencies": {
|
|
463
|
-
"@ai-sdk/openai": "^3.0.
|
|
463
|
+
"@ai-sdk/openai": "^3.0.71",
|
|
464
464
|
"@assistant-ui/react": "workspace:*",
|
|
465
465
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
466
466
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
467
467
|
"@assistant-ui/ui": "workspace:*",
|
|
468
|
-
"ai": "^6.0.
|
|
468
|
+
"ai": "^6.0.204",
|
|
469
469
|
"assistant-stream": "workspace:*",
|
|
470
470
|
"class-variance-authority": "^0.7.1",
|
|
471
471
|
"clsx": "^2.1.1",
|
|
472
|
-
"lucide-react": "^1.
|
|
473
|
-
"next": "^16.2.
|
|
474
|
-
"react": "^19.2.
|
|
475
|
-
"react-dom": "^19.2.
|
|
472
|
+
"lucide-react": "^1.18.0",
|
|
473
|
+
"next": "^16.2.9",
|
|
474
|
+
"react": "^19.2.7",
|
|
475
|
+
"react-dom": "^19.2.7",
|
|
476
476
|
"tailwind-merge": "^3.6.0",
|
|
477
477
|
"zod": "^4.4.3"
|
|
478
478
|
},
|
|
479
479
|
"devDependencies": {
|
|
480
480
|
"@assistant-ui/next": "workspace:*",
|
|
481
481
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
482
|
-
"@tailwindcss/postcss": "^4.3.
|
|
483
|
-
"@types/node": "^25.9.
|
|
484
|
-
"@types/react": "^19.2.
|
|
482
|
+
"@tailwindcss/postcss": "^4.3.1",
|
|
483
|
+
"@types/node": "^25.9.3",
|
|
484
|
+
"@types/react": "^19.2.17",
|
|
485
485
|
"@types/react-dom": "^19.2.3",
|
|
486
486
|
"postcss": "^8.5.15",
|
|
487
|
-
"tailwindcss": "^4.3.
|
|
487
|
+
"tailwindcss": "^4.3.1",
|
|
488
488
|
"tw-animate-css": "^1.4.0",
|
|
489
489
|
"typescript": "^6.0.3"
|
|
490
490
|
}
|
|
@@ -439,32 +439,32 @@ export default withAui(nextConfig);
|
|
|
439
439
|
"version": "0.0.0",
|
|
440
440
|
"type": "module",
|
|
441
441
|
"dependencies": {
|
|
442
|
-
"@ai-sdk/openai": "^3.0.
|
|
443
|
-
"@ai-sdk/react": "^3.0.
|
|
442
|
+
"@ai-sdk/openai": "^3.0.71",
|
|
443
|
+
"@ai-sdk/react": "^3.0.206",
|
|
444
444
|
"@assistant-ui/react": "workspace:^",
|
|
445
445
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
446
446
|
"@assistant-ui/react-markdown": "workspace:^",
|
|
447
447
|
"@assistant-ui/ui": "workspace:*",
|
|
448
|
-
"@elevenlabs/client": "^1.
|
|
449
|
-
"@tailwindcss/postcss": "^4.3.
|
|
450
|
-
"ai": "^6.0.
|
|
448
|
+
"@elevenlabs/client": "^1.11.1",
|
|
449
|
+
"@tailwindcss/postcss": "^4.3.1",
|
|
450
|
+
"ai": "^6.0.204",
|
|
451
451
|
"class-variance-authority": "^0.7.1",
|
|
452
452
|
"clsx": "^2.1.1",
|
|
453
|
-
"lucide-react": "^1.
|
|
453
|
+
"lucide-react": "^1.18.0",
|
|
454
454
|
"motion": "^12.40.0",
|
|
455
|
-
"next": "^16.2.
|
|
455
|
+
"next": "^16.2.9",
|
|
456
456
|
"postcss": "^8.5.15",
|
|
457
|
-
"react": "^19.2.
|
|
458
|
-
"react-dom": "^19.2.
|
|
457
|
+
"react": "^19.2.7",
|
|
458
|
+
"react-dom": "^19.2.7",
|
|
459
459
|
"tailwind-merge": "^3.6.0",
|
|
460
|
-
"tailwindcss": "^4.3.
|
|
460
|
+
"tailwindcss": "^4.3.1",
|
|
461
461
|
"zod": "^4.4.3"
|
|
462
462
|
},
|
|
463
463
|
"devDependencies": {
|
|
464
464
|
"@assistant-ui/next": "workspace:*",
|
|
465
465
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
466
|
-
"@types/node": "^25.9.
|
|
467
|
-
"@types/react": "^19.2.
|
|
466
|
+
"@types/node": "^25.9.3",
|
|
467
|
+
"@types/react": "^19.2.17",
|
|
468
468
|
"@types/react-dom": "^19.2.3",
|
|
469
469
|
"tw-animate-css": "^1.4.0",
|
|
470
470
|
"typescript": "^6.0.3"
|
|
@@ -562,32 +562,32 @@ export default withAui(nextConfig);
|
|
|
562
562
|
"version": "0.0.0",
|
|
563
563
|
"type": "module",
|
|
564
564
|
"dependencies": {
|
|
565
|
-
"@ai-sdk/openai": "^3.0.
|
|
566
|
-
"@ai-sdk/react": "^3.0.
|
|
565
|
+
"@ai-sdk/openai": "^3.0.71",
|
|
566
|
+
"@ai-sdk/react": "^3.0.206",
|
|
567
567
|
"@assistant-ui/react": "workspace:^",
|
|
568
568
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
569
569
|
"@assistant-ui/react-markdown": "workspace:^",
|
|
570
570
|
"@assistant-ui/ui": "workspace:*",
|
|
571
|
-
"@elevenlabs/client": "^1.
|
|
572
|
-
"@tailwindcss/postcss": "^4.3.
|
|
573
|
-
"ai": "^6.0.
|
|
571
|
+
"@elevenlabs/client": "^1.11.1",
|
|
572
|
+
"@tailwindcss/postcss": "^4.3.1",
|
|
573
|
+
"ai": "^6.0.204",
|
|
574
574
|
"class-variance-authority": "^0.7.1",
|
|
575
575
|
"clsx": "^2.1.1",
|
|
576
|
-
"lucide-react": "^1.
|
|
576
|
+
"lucide-react": "^1.18.0",
|
|
577
577
|
"motion": "^12.40.0",
|
|
578
|
-
"next": "^16.2.
|
|
578
|
+
"next": "^16.2.9",
|
|
579
579
|
"postcss": "^8.5.15",
|
|
580
|
-
"react": "^19.2.
|
|
581
|
-
"react-dom": "^19.2.
|
|
580
|
+
"react": "^19.2.7",
|
|
581
|
+
"react-dom": "^19.2.7",
|
|
582
582
|
"tailwind-merge": "^3.6.0",
|
|
583
|
-
"tailwindcss": "^4.3.
|
|
583
|
+
"tailwindcss": "^4.3.1",
|
|
584
584
|
"zod": "^4.4.3"
|
|
585
585
|
},
|
|
586
586
|
"devDependencies": {
|
|
587
587
|
"@assistant-ui/next": "workspace:*",
|
|
588
588
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
589
|
-
"@types/node": "^25.9.
|
|
590
|
-
"@types/react": "^19.2.
|
|
589
|
+
"@types/node": "^25.9.3",
|
|
590
|
+
"@types/react": "^19.2.17",
|
|
591
591
|
"@types/react-dom": "^19.2.3",
|
|
592
592
|
"tw-animate-css": "^1.4.0",
|
|
593
593
|
"typescript": "^6.0.3"
|
|
@@ -64,7 +64,8 @@
|
|
|
64
64
|
"backgroundColor": "#000000"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
]
|
|
67
|
+
],
|
|
68
|
+
"expo-font"
|
|
68
69
|
],
|
|
69
70
|
"experiments": {
|
|
70
71
|
"typedRoutes": true,
|
|
@@ -98,7 +99,7 @@ import {
|
|
|
98
99
|
} from "@assistant-ui/react-native";
|
|
99
100
|
import { useAppRuntime } from "@/hooks/use-app-runtime";
|
|
100
101
|
import { ThreadListDrawer } from "@/components/thread-list/ThreadListDrawer";
|
|
101
|
-
import
|
|
102
|
+
import toolkit from "@/components/assistant-ui/tools";
|
|
102
103
|
|
|
103
104
|
function NewChatButton() {
|
|
104
105
|
const aui = useAui();
|
|
@@ -146,7 +147,7 @@ export default function RootLayout() {
|
|
|
146
147
|
const [fontsLoaded] = useFonts(Ionicons.font);
|
|
147
148
|
const runtime = useAppRuntime();
|
|
148
149
|
const aui = useAui({
|
|
149
|
-
tools: Tools({ toolkit
|
|
150
|
+
tools: Tools({ toolkit }),
|
|
150
151
|
});
|
|
151
152
|
|
|
152
153
|
if (!fontsLoaded) return null;
|
|
@@ -209,6 +210,32 @@ export default function ChatPage() {
|
|
|
209
210
|
|
|
210
211
|
```
|
|
211
212
|
|
|
213
|
+
## babel.config.js
|
|
214
|
+
|
|
215
|
+
```javascript
|
|
216
|
+
const path = require("node:path");
|
|
217
|
+
|
|
218
|
+
module.exports = (api) => {
|
|
219
|
+
api.cache(true);
|
|
220
|
+
return {
|
|
221
|
+
presets: [
|
|
222
|
+
[
|
|
223
|
+
"babel-preset-expo",
|
|
224
|
+
{
|
|
225
|
+
"react-compiler": {
|
|
226
|
+
// Workspace packages resolve to paths outside node_modules, so the
|
|
227
|
+
// preset's node_modules exclusion does not cover them. Restrict the
|
|
228
|
+
// compiler to this app's own sources.
|
|
229
|
+
sources: (filename) => filename.startsWith(__dirname + path.sep),
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
],
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
```
|
|
238
|
+
|
|
212
239
|
## components/assistant-ui/composer.tsx
|
|
213
240
|
|
|
214
241
|
```tsx
|
|
@@ -219,7 +246,6 @@ import {
|
|
|
219
246
|
Platform,
|
|
220
247
|
StyleSheet,
|
|
221
248
|
useColorScheme,
|
|
222
|
-
type TextStyle,
|
|
223
249
|
} from "react-native";
|
|
224
250
|
import { Ionicons } from "@expo/vector-icons";
|
|
225
251
|
import * as ImagePicker from "expo-image-picker";
|
|
@@ -403,11 +429,11 @@ const styles = StyleSheet.create({
|
|
|
403
429
|
maxHeight: 120,
|
|
404
430
|
alignSelf: "center",
|
|
405
431
|
paddingVertical: 0,
|
|
406
|
-
...
|
|
407
|
-
web: { paddingHorizontal: 4, outlineStyle: "none" },
|
|
432
|
+
...Platform.select({
|
|
433
|
+
web: { paddingHorizontal: 4, outlineStyle: "none" } as any,
|
|
408
434
|
default: {},
|
|
409
|
-
})
|
|
410
|
-
}
|
|
435
|
+
}),
|
|
436
|
+
},
|
|
411
437
|
button: {
|
|
412
438
|
width: 30,
|
|
413
439
|
height: 30,
|
|
@@ -923,10 +949,12 @@ const styles = StyleSheet.create({
|
|
|
923
949
|
## components/assistant-ui/tools.tsx
|
|
924
950
|
|
|
925
951
|
```tsx
|
|
952
|
+
"use generative";
|
|
953
|
+
|
|
926
954
|
import { View, Text, StyleSheet, useColorScheme } from "react-native";
|
|
927
|
-
import
|
|
928
|
-
|
|
929
|
-
ToolCallMessagePartProps,
|
|
955
|
+
import {
|
|
956
|
+
defineToolkit,
|
|
957
|
+
type ToolCallMessagePartProps,
|
|
930
958
|
} from "@assistant-ui/react-native";
|
|
931
959
|
import { z } from "zod";
|
|
932
960
|
|
|
@@ -1257,14 +1285,16 @@ function WeatherToolUI(
|
|
|
1257
1285
|
|
|
1258
1286
|
// Toolkit definition
|
|
1259
1287
|
|
|
1260
|
-
export
|
|
1288
|
+
export default defineToolkit({
|
|
1261
1289
|
geocode_location: {
|
|
1262
1290
|
description: "Geocode a location using Open-Meteo's geocoding API",
|
|
1263
1291
|
parameters: z.object({
|
|
1264
1292
|
query: z.string(),
|
|
1265
1293
|
}),
|
|
1266
|
-
execute: async (args: { query: string }) =>
|
|
1267
|
-
|
|
1294
|
+
execute: async (args: { query: string }) => {
|
|
1295
|
+
"use client";
|
|
1296
|
+
return geocodeLocationWithOpenMeteo(args.query);
|
|
1297
|
+
},
|
|
1268
1298
|
render: GeocodeToolUI,
|
|
1269
1299
|
},
|
|
1270
1300
|
weather_search: {
|
|
@@ -1279,10 +1309,13 @@ export const expoToolkit: Toolkit = {
|
|
|
1279
1309
|
query: string;
|
|
1280
1310
|
longitude: number;
|
|
1281
1311
|
latitude: number;
|
|
1282
|
-
}) =>
|
|
1312
|
+
}) => {
|
|
1313
|
+
"use client";
|
|
1314
|
+
return fetchWeatherFromOpenMeteo(args);
|
|
1315
|
+
},
|
|
1283
1316
|
render: WeatherToolUI,
|
|
1284
1317
|
},
|
|
1285
|
-
};
|
|
1318
|
+
});
|
|
1286
1319
|
|
|
1287
1320
|
const styles = StyleSheet.create({
|
|
1288
1321
|
card: {
|
|
@@ -1888,6 +1921,7 @@ export function useThemeColor(
|
|
|
1888
1921
|
|
|
1889
1922
|
```javascript
|
|
1890
1923
|
const { getDefaultConfig } = require("expo/metro-config");
|
|
1924
|
+
const { withAui } = require("@assistant-ui/metro");
|
|
1891
1925
|
const path = require("node:path");
|
|
1892
1926
|
|
|
1893
1927
|
const projectRoot = __dirname;
|
|
@@ -1928,7 +1962,7 @@ config.resolver.resolveRequest = (context, moduleName, platform) => {
|
|
|
1928
1962
|
return context.resolveRequest(context, moduleName, platform);
|
|
1929
1963
|
};
|
|
1930
1964
|
|
|
1931
|
-
module.exports = config;
|
|
1965
|
+
module.exports = withAui(config);
|
|
1932
1966
|
|
|
1933
1967
|
```
|
|
1934
1968
|
|
|
@@ -1947,29 +1981,29 @@ module.exports = config;
|
|
|
1947
1981
|
"export:web": "expo export --platform web && node scripts/flatten-assets.mjs"
|
|
1948
1982
|
},
|
|
1949
1983
|
"dependencies": {
|
|
1950
|
-
"@ai-sdk/openai": "^3.0.
|
|
1951
|
-
"@ai-sdk/react": "^3.0.
|
|
1984
|
+
"@ai-sdk/openai": "^3.0.71",
|
|
1985
|
+
"@ai-sdk/react": "^3.0.206",
|
|
1952
1986
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
1953
1987
|
"@assistant-ui/react-native": "workspace:*",
|
|
1954
1988
|
"@expo/vector-icons": "^15.1.1",
|
|
1955
1989
|
"@react-navigation/drawer": "7.9.4",
|
|
1956
1990
|
"@react-navigation/native": "7.1.33",
|
|
1957
|
-
"ai": "^6.0.
|
|
1958
|
-
"expo": "~56.0.
|
|
1959
|
-
"expo-constants": "~56.0.
|
|
1960
|
-
"expo-font": "~56.0.
|
|
1961
|
-
"expo-image-picker": "~56.0.
|
|
1962
|
-
"expo-linking": "~56.0.
|
|
1963
|
-
"expo-router": "~56.2.
|
|
1964
|
-
"expo-server": "~56.0.
|
|
1991
|
+
"ai": "^6.0.204",
|
|
1992
|
+
"expo": "~56.0.11",
|
|
1993
|
+
"expo-constants": "~56.0.18",
|
|
1994
|
+
"expo-font": "~56.0.6",
|
|
1995
|
+
"expo-image-picker": "~56.0.17",
|
|
1996
|
+
"expo-linking": "~56.0.14",
|
|
1997
|
+
"expo-router": "~56.2.10",
|
|
1998
|
+
"expo-server": "~56.0.5",
|
|
1965
1999
|
"expo-splash-screen": "~56.0.10",
|
|
1966
2000
|
"expo-status-bar": "~56.0.4",
|
|
1967
|
-
"expo-symbols": "^56.0.
|
|
2001
|
+
"expo-symbols": "^56.0.6",
|
|
1968
2002
|
"expo-system-ui": "~56.0.5",
|
|
1969
2003
|
"react": "19.2.3",
|
|
1970
2004
|
"react-dom": "19.2.3",
|
|
1971
2005
|
"react-native": "0.85.3",
|
|
1972
|
-
"react-native-gesture-handler": "~3.0.
|
|
2006
|
+
"react-native-gesture-handler": "~3.0.1",
|
|
1973
2007
|
"react-native-reanimated": "4.3.1",
|
|
1974
2008
|
"react-native-safe-area-context": "~5.8.0",
|
|
1975
2009
|
"react-native-screens": "4.25.2",
|
|
@@ -1978,7 +2012,8 @@ module.exports = config;
|
|
|
1978
2012
|
"zod": "^4.4.3"
|
|
1979
2013
|
},
|
|
1980
2014
|
"devDependencies": {
|
|
1981
|
-
"@
|
|
2015
|
+
"@assistant-ui/metro": "workspace:*",
|
|
2016
|
+
"@types/react": "~19.2.17",
|
|
1982
2017
|
"typescript": "~6.0.3"
|
|
1983
2018
|
},
|
|
1984
2019
|
"private": true
|
|
@@ -2064,7 +2099,7 @@ Join our community of developers creating universal apps.
|
|
|
2064
2099
|
{
|
|
2065
2100
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
2066
2101
|
"ignoreCommand": "bash ../../scripts/vercel-ignore-changeset-release.sh",
|
|
2067
|
-
"buildCommand": "cd ../.. && pnpm turbo build --filter=@assistant-ui/react-native --filter=@assistant-ui/react-ai-sdk && cd examples/with-expo && pnpm run export:web",
|
|
2102
|
+
"buildCommand": "cd ../.. && pnpm turbo build --filter=@assistant-ui/react-native --filter=@assistant-ui/react-ai-sdk --filter=@assistant-ui/metro && cd examples/with-expo && pnpm run export:web",
|
|
2068
2103
|
"outputDirectory": "dist",
|
|
2069
2104
|
"framework": null
|
|
2070
2105
|
}
|
|
@@ -320,21 +320,21 @@ 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.
|
|
324
|
-
"next": "^16.2.
|
|
325
|
-
"react": "^19.2.
|
|
326
|
-
"react-dom": "^19.2.
|
|
323
|
+
"lucide-react": "^1.18.0",
|
|
324
|
+
"next": "^16.2.9",
|
|
325
|
+
"react": "^19.2.7",
|
|
326
|
+
"react-dom": "^19.2.7",
|
|
327
327
|
"tailwind-merge": "^3.6.0"
|
|
328
328
|
},
|
|
329
329
|
"devDependencies": {
|
|
330
330
|
"@assistant-ui/next": "workspace:*",
|
|
331
331
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
332
|
-
"@tailwindcss/postcss": "^4.3.
|
|
333
|
-
"@types/node": "^25.9.
|
|
334
|
-
"@types/react": "^19.2.
|
|
332
|
+
"@tailwindcss/postcss": "^4.3.1",
|
|
333
|
+
"@types/node": "^25.9.3",
|
|
334
|
+
"@types/react": "^19.2.17",
|
|
335
335
|
"@types/react-dom": "^19.2.3",
|
|
336
336
|
"postcss": "^8.5.15",
|
|
337
|
-
"tailwindcss": "^4.3.
|
|
337
|
+
"tailwindcss": "^4.3.1",
|
|
338
338
|
"tw-animate-css": "^1.4.0",
|
|
339
339
|
"typescript": "^6.0.3"
|
|
340
340
|
}
|
|
@@ -374,7 +374,7 @@ export default function Home() {
|
|
|
374
374
|
|
|
375
375
|
import type { MutableRefObject } from "react";
|
|
376
376
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
377
|
-
import
|
|
377
|
+
import { defineToolkit } from "@assistant-ui/react";
|
|
378
378
|
import type { FFmpeg } from "@ffmpeg/ffmpeg";
|
|
379
379
|
import {
|
|
380
380
|
CircleCheckIcon,
|
|
@@ -391,7 +391,7 @@ export function useFfmpegToolkit(
|
|
|
391
391
|
) {
|
|
392
392
|
return useMemo(
|
|
393
393
|
() =>
|
|
394
|
-
({
|
|
394
|
+
defineToolkit({
|
|
395
395
|
run_ffmpeg: {
|
|
396
396
|
type: "frontend",
|
|
397
397
|
parameters: z.object({
|
|
@@ -653,7 +653,7 @@ export function useFfmpegToolkit(
|
|
|
653
653
|
);
|
|
654
654
|
},
|
|
655
655
|
},
|
|
656
|
-
})
|
|
656
|
+
}),
|
|
657
657
|
[ffmpegRef, file],
|
|
658
658
|
);
|
|
659
659
|
}
|
|
@@ -718,32 +718,32 @@ export default withAui(nextConfig);
|
|
|
718
718
|
"start": "next start"
|
|
719
719
|
},
|
|
720
720
|
"dependencies": {
|
|
721
|
-
"@ai-sdk/openai": "^3.0.
|
|
721
|
+
"@ai-sdk/openai": "^3.0.71",
|
|
722
722
|
"@assistant-ui/react": "workspace:*",
|
|
723
723
|
"@assistant-ui/react-ai-sdk": "workspace:*",
|
|
724
724
|
"@assistant-ui/react-markdown": "workspace:*",
|
|
725
725
|
"@assistant-ui/ui": "workspace:*",
|
|
726
726
|
"@ffmpeg/ffmpeg": "^0.12.15",
|
|
727
727
|
"@ffmpeg/util": "^0.12.2",
|
|
728
|
-
"ai": "^6.0.
|
|
728
|
+
"ai": "^6.0.204",
|
|
729
729
|
"class-variance-authority": "^0.7.1",
|
|
730
730
|
"clsx": "^2.1.1",
|
|
731
|
-
"lucide-react": "^1.
|
|
732
|
-
"next": "^16.2.
|
|
733
|
-
"react": "^19.2.
|
|
734
|
-
"react-dom": "^19.2.
|
|
731
|
+
"lucide-react": "^1.18.0",
|
|
732
|
+
"next": "^16.2.9",
|
|
733
|
+
"react": "^19.2.7",
|
|
734
|
+
"react-dom": "^19.2.7",
|
|
735
735
|
"tailwind-merge": "^3.6.0",
|
|
736
736
|
"zod": "^4.4.3"
|
|
737
737
|
},
|
|
738
738
|
"devDependencies": {
|
|
739
739
|
"@assistant-ui/next": "workspace:*",
|
|
740
740
|
"@assistant-ui/x-buildutils": "workspace:*",
|
|
741
|
-
"@tailwindcss/postcss": "^4.3.
|
|
742
|
-
"@types/node": "^25.9.
|
|
743
|
-
"@types/react": "^19.2.
|
|
741
|
+
"@tailwindcss/postcss": "^4.3.1",
|
|
742
|
+
"@types/node": "^25.9.3",
|
|
743
|
+
"@types/react": "^19.2.17",
|
|
744
744
|
"@types/react-dom": "^19.2.3",
|
|
745
745
|
"postcss": "^8.5.15",
|
|
746
|
-
"tailwindcss": "^4.3.
|
|
746
|
+
"tailwindcss": "^4.3.1",
|
|
747
747
|
"tw-animate-css": "^1.4.0",
|
|
748
748
|
"typescript": "^6.0.3"
|
|
749
749
|
}
|