fase(7): api server refactor with composition root

This commit is contained in:
debian
2026-03-05 09:36:28 -05:00
parent e746dc0497
commit f01acfe985
20 changed files with 861 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NullAIEnricher = void 0;
/**
* NullAIEnricher — no-op enricher used when AI provider is not configured.
*/
class NullAIEnricher {
async enrich(_finding) {
throw new Error('AI enrichment is not configured. Set ABE_AI_PROVIDER to enable it.');
}
}
exports.NullAIEnricher = NullAIEnricher;