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
This commit is contained in:
parent
792f8a1160
commit
26341533ed
14 changed files with 4026 additions and 67 deletions
|
|
@ -9,7 +9,7 @@
|
|||
"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-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"
|
||||
"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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue