mirror of
https://github.com/supabase/supabase.git
synced 2026-10-19 08:09:11 +03:00
* chore: libpg-query types * feat: improved rls ai tests * feat: simplify assertitions for sql expressions * refactor: split ai logic into separate files * feat(rls-ai): test select, insert, update, delete policies * feat: adds withMetadata wrapper for failed tests * chore: remove custom libpg-query types * feat(rls-ai): make tests concurrent * fix(rls-ai): rules for 'using' and 'with check' * feat(rls-ai): discourages restrictive policies * feat(ai): makes withMetadata util sync or async * refactor(ai): moves withMetadata to generic test utils * feat(rls-ai): test joined table * feat(rls-ai): test mfa * chore(ai): make all tests concurrent * fix(ai): chatSql function rename in studio * refactor(ai): isolate logic into separate files * chore(ai): remove trailing comma in tsconfig * chore(ai): remove unused dep * Reset some of the package versions to the versions from master. * chore(ai): remove unused imports --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
40 lines
959 B
JSON
40 lines
959 B
JSON
{
|
|
"name": "ai-commands",
|
|
"version": "0.0.0",
|
|
"main": "./index.ts",
|
|
"types": "./index.ts",
|
|
"license": "MIT",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "jest"
|
|
},
|
|
"dependencies": {
|
|
"@serafin/schema-builder": "^0.18.5",
|
|
"@supabase/supabase-js": "*",
|
|
"ai": "^2.2.29",
|
|
"common-tags": "^1.8.2",
|
|
"config": "*",
|
|
"js-tiktoken": "^1.0.10",
|
|
"jsonrepair": "^3.5.0",
|
|
"openai": "^4.26.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.6",
|
|
"@babel/preset-env": "^7.23.6",
|
|
"@jest/globals": "^29.7.0",
|
|
"@types/common-tags": "^1.8.4",
|
|
"babel-jest": "^29.7.0",
|
|
"babel-plugin-transform-import-meta": "^2.2.1",
|
|
"chalk": "^5.3.0",
|
|
"dotenv": "^16.3.1",
|
|
"jest": "^29.7.0",
|
|
"libpg-query": "^15.2.0",
|
|
"mdast-util-from-markdown": "^2.0.0",
|
|
"sql-formatter": "^15.0.2",
|
|
"ts-jest": "^29.1.1",
|
|
"tsconfig": "*",
|
|
"typescript": "^5.4.3"
|
|
}
|
|
}
|