GeminiRevolver/package.json
tyuXX 299c5f4c9e feat(admin): add live key+model fallback telemetry and RAM-buffered live request log watcher
- Add TelemetryTracker to record request fallback journeys, tracking step-by-step cascades across tiers, candidate error codes, cooldowns, and next actions
- Add LiveWatcher for RAM-only interactive request inspection with 250-item FIFO safety cap and automatic memory flush on toggle off
- Add REST and SSE streaming endpoints for real-time telemetry and live request logs
- Upgrade Admin Telemetry tab with visual fallback breadcrumbs and live key health matrix
- Add dedicated Live Logs tab with deep multi-tab inspector (Input, Output, Metadata, Debug), search, filters, and JSON export
- Add unit and integration tests (test-live-watcher.ts, test-telemetry-fallback.ts)
2026-11-04 19:31:02 +00:00

29 lines
1,017 B
JSON

{
"name": "gemini-revolver",
"version": "1.0.0",
"description": "OpenAI v1 compatible API endpoint for Gemini API key rotation",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "ts-node src/index.ts",
"watch": "tsc --watch",
"test": "API_PASSWORD=test_password ts-node test-revolver.ts && API_PASSWORD=test_password ts-node test-integration.ts && API_PASSWORD=test_password ts-node test-timeout-keepalive.ts && API_PASSWORD=test_password ts-node test-live-watcher.ts && API_PASSWORD=test_password ts-node test-telemetry-fallback.ts"
},
"keywords": ["openai", "gemini", "api", "rotation"],
"author": "",
"license": "MIT",
"dependencies": {
"@google/generative-ai": "^0.21.0",
"express": "^4.18.2",
"cors": "^2.8.5",
"dotenv": "^16.3.1"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/cors": "^2.8.17",
"@types/node": "^20.10.0",
"typescript": "^5.3.3",
"ts-node": "^10.9.2"
}
}