2026-06-02 13:14:10 +08:00
{
"name" : "omniai-key-server" ,
"version" : "1.0.0" ,
"description" : "OmniAI Key Management & Proxy Server" ,
"main" : "src/index.js" ,
"scripts" : {
"start" : "node src/index.js" ,
"dev" : "node --watch src/index.js" ,
"init-db" : "node src/initDb.js" ,
"add-user" : "node src/cli/addUser.js" ,
"add-key" : "node src/cli/addKey.js" ,
"remove-key" : "node src/cli/removeKey.js" ,
"list-keys" : "node src/cli/listKeys.js" ,
"audit-routes" : "node src/cli/auditModelRoutes.js" ,
"import-config" : "node src/cli/importConfig.js" ,
"init-pools" : "node src/cli/initPools.js" ,
2026-06-09 11:32:53 +08:00
"test:community-routes" : "node scripts/communityRouteContract.test.js" ,
2026-06-10 14:27:42 +08:00
"test:enterprise-video-pricing" : "node scripts/enterpriseVideoPricingContract.test.js" ,
2026-06-09 11:32:53 +08:00
"test:key-manager" : "node scripts/keyManagerReleaseContract.test.js" ,
"test:provider-poll-limiter" : "node scripts/providerPollLimiterContract.test.js" ,
2026-06-10 16:20:11 +08:00
"test:task-progress-contract" : "node scripts/taskProgressContract.test.js" ,
"test" : "npm run test:community-routes && npm run test:enterprise-video-pricing && npm run test:key-manager && npm run test:provider-poll-limiter && npm run test:task-progress-contract"
2026-06-02 13:14:10 +08:00
} ,
"dependencies" : {
"alipay-sdk" : "^4.14.0" ,
"bcryptjs" : "^2.4.3" ,
2026-06-02 15:45:29 +08:00
"busboy" : "^1.6.0" ,
2026-06-02 13:14:10 +08:00
"cors" : "^2.8.5" ,
"dotenv" : "^16.4.5" ,
"express" : "^4.21.0" ,
"express-rate-limit" : "^8.4.1" ,
"helmet" : "^8.2.0" ,
"jsonwebtoken" : "^9.0.2" ,
2026-06-04 18:58:45 +08:00
"mammoth" : "^1.12.0" ,
"nodemailer" : "^8.0.10" ,
2026-06-02 13:14:10 +08:00
"pg" : "^8.13.0" ,
"wechatpay-node-v3" : "^2.2.1"
}
}