[feat] 初始化gitea代码AI审核程序

This commit is contained in:
jeffusion
2025-03-14 11:20:02 +08:00
commit dc4fb459b4
18 changed files with 1413 additions and 0 deletions

40
package.json Normal file
View File

@@ -0,0 +1,40 @@
{
"name": "ai-review",
"version": "1.0.0",
"description": "AI-driven code review for Gitea",
"packageManager": "yarn@4.6.0",
"dependencies": {
"@hono/zod-validator": "^0.4.3",
"axios": "^1.8.3",
"dotenv": "^16.4.7",
"hono": "^4.7.4",
"openai": "^4.87.3",
"zod": "^3.24.2"
},
"devDependencies": {
"@types/node": "^22.13.10",
"tslint": "^6.1.3",
"typescript": "^5.8.2"
},
"files": [
"./dist/*"
],
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"scripts": {
"dev": "bun run --watch src/index.ts",
"build": "rm -rf dist && tsc",
"start": "bun run src/index.ts",
"start:prod": "bun run dist/index.js",
"lint": "tslint -c tslint.json src/**/*.ts"
},
"keywords": [
"code-review",
"gitea",
"ai",
"bun",
"typescript"
],
"author": "",
"license": "MIT"
}