GeminiRevolver/package.json
tyuXX 26341533ed feat: add input & output text processing filters, triggers, and /admin/filters page
- Implement FilterEngine supporting literal word replacement, interactive regex matching, instruction injection, and sandboxed JS scripts (vm)
- Add conditional triggers (AND/OR, text contains, regex match, length threshold, conversation state)
- Support arbitrary per-model execution ordering and global filter pipelines
- Add smart SSE streaming mode with keep-alive buffering and chunk-by-chunk processing
- Integrate filter execution step traces into liveWatcher and Admin Playground
- Add dedicated /admin/filters page with visual regex assistant, live regex match preview, model pipeline orchestrator, and dry-run sandbox
- Add automated end-to-end filter test suite in test-filters.ts
2026-11-06 21:04:01 +00:00

36 lines
1.4 KiB
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",
"logs": "ts-node src/inspectLogs.ts",
"test": "API_PASSWORD=test_password ts-node test-revolver.ts && API_PASSWORD=test_password ts-node test-filters.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 && API_PASSWORD=test_password ts-node test-content-length-resilience.ts && API_PASSWORD=test_password ts-node test-circuit-breaker-fallback.ts && API_PASSWORD=test_password ts-node test-moderation-and-cooldown-recovery.ts && API_PASSWORD=test_password ts-node test-log-compression.ts"
},
"keywords": [
"openai",
"gemini",
"api",
"rotation"
],
"author": "",
"license": "MIT",
"dependencies": {
"@bokuweb/zstd-wasm": "^0.0.27",
"@google/generative-ai": "^0.21.0",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/node": "^20.10.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}