Skip to content

Commit

Permalink
chore: update deps (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Nov 20, 2024
1 parent 30015d6 commit 933b8c0
Show file tree
Hide file tree
Showing 27 changed files with 499 additions and 1,488 deletions.
16 changes: 16 additions & 0 deletions .changeset/shaggy-mayflies-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
"@assistant-ui/react-syntax-highlighter": patch
"create-assistant-ui": patch
"assistant-stream": patch
"@assistant-ui/react-playground": patch
"@assistant-ui/react-hook-form": patch
"@assistant-ui/react-langgraph": patch
"@tool-ui/weather": patch
"@assistant-ui/react-markdown": patch
"@assistant-ui/react-ai-sdk": patch
"@assistant-ui/react-trieve": patch
"@assistant-ui/react": patch
"assistant-ui": patch
---

chore: update deps
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ npm install @assistant-ui/react @assistant-ui/react-ai-sdk ai openai
```tsx
import { AssistantResponse } from "ai";
import OpenAI from "openai";
import type { Run } from 'openai/resources/beta/threads/runs/runs';

const openai = new OpenAI();

Expand Down Expand Up @@ -74,7 +75,7 @@ export async function POST(req: Request) {
});

// forward run status would stream message deltas
let runResult = await forwardStream(runStream);
let runResult: Run = await forwardStream(runStream);

// status can be: queued, in_progress, requires_action, cancelling, cancelled, failed, completed, or expired
while (
Expand Down
14 changes: 7 additions & 7 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@
"lint": "next lint"
},
"dependencies": {
"@ai-sdk/openai": "^0.0.72",
"@ai-sdk/provider": "^0.0.26",
"@ai-sdk/openai": "^1.0.1",
"@ai-sdk/provider": "^1.0.0",
"@assistant-ui/react": "workspace:*",
"@assistant-ui/react-ai-sdk": "workspace:*",
"@assistant-ui/react-langgraph": "workspace:*",
"@assistant-ui/react-markdown": "workspace:*",
"@assistant-ui/react-syntax-highlighter": "workspace:*",
"@assistant-ui/tsconfig": "workspace:*",
"@langchain/core": "^0.3.18",
"@langchain/langgraph-sdk": "^0.0.25",
"@langchain/langgraph-sdk": "^0.0.26",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.4",
"@radix-ui/themes": "^3.1.6",
"@shikijs/transformers": "^1.23.0",
"ai": "^3.4.33",
"@shikijs/transformers": "^1.23.1",
"ai": "^4.0.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
Expand All @@ -47,12 +47,12 @@
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7",
"trieve-fumadocs-adapter": "^1.2.4",
"trieve-ts-sdk": "^0.0.30",
"trieve-ts-sdk": "^0.0.31",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/mdx": "^2.0.13",
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"autoprefixer": "^10.4.20",
Expand Down
4 changes: 2 additions & 2 deletions apps/registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"type": "module",
"devDependencies": {
"@ai-sdk/openai": "^0.0.72",
"@ai-sdk/openai": "^1.0.1",
"@assistant-ui/react": "workspace:*",
"@assistant-ui/react-markdown": "workspace:*",
"@assistant-ui/react-syntax-highlighter": "workspace:*",
Expand All @@ -15,7 +15,7 @@
"@radix-ui/react-popover": "^1.1.2",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.4",
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"@types/react": "^18",
"@types/react-syntax-highlighter": "^15.5.13",
"class-variance-authority": "^0.7.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/local-ollama/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@assistant-ui/react": "^0.7.4",
"@assistant-ui/react-markdown": "^0.7.0",
"@assistant-ui/react": "^0.7.5",
"@assistant-ui/react-markdown": "^0.7.1",
"next": "15.0.3",
"ollama-ai-provider": "^0.16.1",
"react": "19.0.0-rc-66855b96-20241106",
Expand Down
10 changes: 5 additions & 5 deletions examples/search-agent-for-e-commerce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
"lint": "next lint"
},
"dependencies": {
"@ai-sdk/openai": "^0.0.72",
"@ai-sdk/openai": "^1.0.1",
"@assistant-ui/react": "workspace:*",
"@assistant-ui/react-ai-sdk": "workspace:*",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-popover": "^1.1.2",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.4",
"ai": "^3.4.33",
"ai": "^4.0.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"embla-carousel-autoplay": "^8.3.1",
"embla-carousel-react": "^8.3.1",
"embla-carousel-autoplay": "^8.4.0",
"embla-carousel-react": "^8.4.0",
"lucide-react": "^0.460.0",
"nanoid": "^5.0.8",
"next": "15.0.3",
Expand All @@ -32,7 +32,7 @@
},
"devDependencies": {
"@assistant-ui/tsconfig": "workspace:*",
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"eslint": "^9",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-external-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@ai-sdk/openai": "^0.0.72",
"@assistant-ui/react": "^0.7.4",
"@ai-sdk/openai": "^1.0.1",
"@assistant-ui/react": "^0.7.5",
"next": "15.0.3",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-ffmpeg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@ai-sdk/openai": "^0.0.72",
"@ai-sdk/openai": "^1.0.1",
"@assistant-ui/react": "workspace:*",
"@assistant-ui/react-hook-form": "workspace:*",
"@ffmpeg/ffmpeg": "^0.12.10",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-inline-suggestions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"lint": "next lint"
},
"dependencies": {
"@ai-sdk/openai": "^0.0.72",
"@ai-sdk/openai": "^1.0.1",
"@assistant-ui/react": "workspace:*",
"@assistant-ui/react-ai-sdk": "workspace:*",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.4",
"ai": "^3.4.33",
"ai": "^4.0.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.460.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-langgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@assistant-ui/react": "workspace:*",
"@assistant-ui/react-langgraph": "workspace:*",
"@assistant-ui/react-markdown": "workspace:*",
"@langchain/langgraph-sdk": "^0.0.25",
"@langchain/langgraph-sdk": "^0.0.26",
"@radix-ui/react-slot": "^1.1.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
Expand Down
3 changes: 2 additions & 1 deletion examples/with-openai-assistants/app/api/assistant/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { AssistantResponse } from "ai";
import OpenAI from "openai";
import type { Run } from 'openai/resources/beta/threads/runs/runs';

// Allow streaming responses up to 30 seconds
export const maxDuration = 30;
Expand Down Expand Up @@ -35,7 +36,7 @@ export async function POST(req: Request) {
});

// forward run status would stream message deltas
let runResult = await forwardStream(runStream);
let runResult: Run = await forwardStream(runStream);

// status can be: queued, in_progress, requires_action, cancelling, cancelled, failed, completed, or expired
while (
Expand Down
4 changes: 2 additions & 2 deletions examples/with-openai-assistants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"lint": "next lint"
},
"dependencies": {
"@ai-sdk/openai": "^0.0.72",
"@ai-sdk/openai": "^1.0.1",
"@assistant-ui/react": "workspace:*",
"@assistant-ui/react-ai-sdk": "workspace:*",
"@radix-ui/react-avatar": "^1.1.1",
"ai": "^3.4.33",
"ai": "^4.0.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.460.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@ai-sdk/openai": "^0.0.72",
"@ai-sdk/openai": "^1.0.1",
"@assistant-ui/react": "workspace:*",
"@assistant-ui/react-playground": "workspace:*",
"@tailwindcss/forms": "^0.5.9",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-react-hook-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@ai-sdk/openai": "^0.0.72",
"@ai-sdk/openai": "^1.0.1",
"@assistant-ui/react": "workspace:*",
"@assistant-ui/react-hook-form": "workspace:*",
"@hookform/resolvers": "^3.9.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-trieve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-dom": "19.0.0-rc-66855b96-20241106",
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7",
"trieve-ts-sdk": "^0.0.30"
"trieve-ts-sdk": "^0.0.31"
},
"devDependencies": {
"@assistant-ui/tsconfig": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-vercel-ai-rsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"lint": "next lint"
},
"dependencies": {
"@ai-sdk/openai": "^0.0.72",
"@ai-sdk/openai": "^1.0.1",
"@assistant-ui/react": "workspace:*",
"@assistant-ui/react-ai-sdk": "workspace:*",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.4",
"ai": "3.4.33",
"ai": "4.0.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.460.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@changesets/cli": "^2.27.9",
"eslint": "^9",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.8",
"prettier-plugin-tailwindcss": "^0.6.9",
"turbo": "^2.3.0"
},
"prettier": {
Expand Down
4 changes: 2 additions & 2 deletions packages/assistant-stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"@assistant-ui/tsconfig": "workspace:*",
"ai": "^3.4.33",
"ai": "^4.0.1",
"eslint": "^9",
"eslint-config-next": "15.0.3",
"tsup": "8.3.5",
Expand All @@ -57,6 +57,6 @@
},
"dependencies": {
"nanoid": "^5.0.8",
"secure-json-parse": "^2.7.0"
"secure-json-parse": "^3.0.1"
}
}
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"dependencies": {
"chalk": "^5.3.0",
"commander": "^12.1.0",
"cross-spawn": "^7.0.5"
"cross-spawn": "^7.0.6"
},
"devDependencies": {
"@assistant-ui/tsconfig": "workspace:*",
"@types/cross-spawn": "^6.0.6",
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"eslint-config-next": "15.0.3",
"tsup": "8.3.5"
},
Expand Down
5 changes: 2 additions & 3 deletions packages/create-assistant-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@
"chalk": "^5.3.0",
"commander": "^12.1.0",
"cosmiconfig": "^9.0.0",
"cross-spawn": "^7.0.5",
"shadcn-ui": "0.8.0",
"cross-spawn": "^7.0.6",
"tsconfig-paths": "^4.2.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@assistant-ui/tsconfig": "workspace:*",
"@types/cross-spawn": "^6.0.6",
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"tsup": "8.3.5"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/react-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@assistant-ui/tailwindcss-transformer": "workspace:*",
"@assistant-ui/tsbuildutils": "workspace:^",
"@assistant-ui/tsconfig": "workspace:*",
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"autoprefixer": "^10.4.20",
"eslint": "^9",
"eslint-config-next": "15.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build": "tsx scripts/build.mts"
},
"dependencies": {
"@ai-sdk/provider": "^0.0.26",
"@ai-sdk/provider": "^1.0.0",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-trieve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@assistant-ui/tsconfig": "workspace:*",
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.4",
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"autoprefixer": "^10.4.20",
"eslint": "^9",
"eslint-config-next": "15.0.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"build": "tsx scripts/build.mts"
},
"dependencies": {
"@ai-sdk/provider": "^0.0.26",
"@ai-sdk/provider": "^1.0.0",
"@radix-ui/primitive": "^1.1.0",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-compose-refs": "^1.1.0",
Expand All @@ -86,7 +86,7 @@
"lucide-react": "^0.460.0",
"nanoid": "^5.0.8",
"react-textarea-autosize": "^8.5.5",
"secure-json-parse": "^2.7.0",
"secure-json-parse": "^3.0.1",
"zod": "^3.23.8",
"zod-to-json-schema": "^3.23.5",
"zustand": "^5.0.1"
Expand Down Expand Up @@ -114,7 +114,7 @@
"@assistant-ui/tsbuildutils": "workspace:^",
"@assistant-ui/tsconfig": "workspace:*",
"@types/json-schema": "^7.0.15",
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"autoprefixer": "^10.4.20",
"esbuild-plugin-file-path-extensions": "^2.1.3",
"eslint": "^9",
Expand Down
2 changes: 1 addition & 1 deletion packages/tool-ui-weather/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"devDependencies": {
"@assistant-ui/tsconfig": "workspace:*",
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"eslint": "^9",
"eslint-config-next": "15.0.3",
"tsup": "8.3.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/tsbuildutils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"@assistant-ui/tailwindcss-transformer": "workspace:^",
"@assistant-ui/tsconfig": "workspace:*",
"cross-spawn": "^7.0.5",
"cross-spawn": "^7.0.6",
"esbuild-plugin-file-path-extensions": "^2.1.3",
"postcss": "^8.4.49",
"postcss-js": "^4.0.1",
Expand All @@ -15,7 +15,7 @@
},
"devDependencies": {
"@types/cross-spawn": "^6.0.6",
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"@types/postcss-js": "^4.0.4"
}
}
Loading

0 comments on commit 933b8c0

Please sign in to comment.