Files
supabase/packages/ai-commands/package.json
d52e2c252b Update AI SDK 5 (#37656)
* attempt to update packages and useChat

* update endpoints

* update zod

* zod

* update to v5

* message update

* Revert "zod"

This reverts commit ec39bac6b6.

* revert zod

* zod i

* fix complete endpoints

* remove async

* change to content

* type cleanup

* Revert the package bumps to rebuild them.

* Bump zod to 2.25.76 in all packages.

* Bump openai in all packages.

* Bump ai and ai-related packages.

* Remove unneeded files.

* Fix the rest of the migration stuff.

* Prettier fixes.

* zod

* v4 again

---------

Co-authored-by: Jordi Enric <jordi.err@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-08-08 14:15:39 +07:00

42 lines
1.0 KiB
JSON

{
"name": "ai-commands",
"version": "0.0.0",
"main": "./index.ts",
"types": "./index.ts",
"license": "MIT",
"sideEffects": false,
"scripts": {
"preinstall": "npx only-allow pnpm",
"clean": "rimraf node_modules",
"typecheck": "tsc --noEmit",
"test": "vitest"
},
"dependencies": {
"@serafin/schema-builder": "^0.18.5",
"@supabase/supabase-js": "catalog:",
"ai": "^5.0.0",
"common-tags": "^1.8.2",
"config": "workspace:*",
"js-tiktoken": "^1.0.10",
"jsonrepair": "^3.5.0",
"openai": "^4.75.1",
"zod": "^3.25.76"
},
"devDependencies": {
"@ai-sdk/openai": "^2.0.0",
"@types/common-tags": "^1.8.4",
"@types/mdast": "^4.0.0",
"@types/node": "catalog:",
"api-types": "workspace:*",
"chalk": "^5.3.0",
"dotenv": "^16.3.1",
"libpg-query": "15.2.0",
"mdast-util-from-markdown": "^2.0.0",
"sql-formatter": "^15.0.0",
"tsconfig": "workspace:*",
"typescript": "~5.5.0",
"vite": "catalog:",
"vitest": "^3.0.5"
}
}