feat: upgrade AI prompts to v2 specification with grounding and injection shield

This commit is contained in:
mstfyldz
2026-08-14 00:52:41 +03:00
parent f1457b02ca
commit fab80e05a0
8 changed files with 257 additions and 45 deletions
+21
View File
@@ -10,6 +10,7 @@
"license": "ISC",
"dependencies": {
"@supabase/supabase-js": "^2.112.2",
"adm-zip": "^0.6.0",
"cors": "^2.8.6",
"dotenv": "^17.4.2",
"express": "^5.2.1",
@@ -24,6 +25,7 @@
"tesseract.js": "^7.0.0"
},
"devDependencies": {
"@types/adm-zip": "^0.5.8",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/multer": "^2.2.0",
@@ -819,6 +821,16 @@
"integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==",
"license": "MIT"
},
"node_modules/@types/adm-zip": {
"version": "0.5.8",
"resolved": "https://registry.npmjs.org/@types/adm-zip/-/adm-zip-0.5.8.tgz",
"integrity": "sha512-RVVH7QvZYbN+ihqZ4kX/dMiowf6o+Jk1fNwiSdx0NahBJLU787zkULhGhJM8mf/obmLGmgdMM0bXsQTmyfbR7Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/node": "*"
}
},
"node_modules/@types/body-parser": {
"version": "1.19.6",
"resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz",
@@ -1309,6 +1321,15 @@
"node": ">= 0.6"
}
},
"node_modules/adm-zip": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.6.0.tgz",
"integrity": "sha512-XleryMhbuksdKtofnWZ9Sk+4CUTbms4Mb/EU32SZwToAyZ5RgVos/ki8n+yr0LWHOGKuakbXTuuYNHLQjhddgg==",
"license": "MIT",
"engines": {
"node": ">=14.0"
}
},
"node_modules/append-field": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/append-field/-/append-field-1.0.0.tgz",