@bulkhead-ai/core
Advanced tools
+18
-0
@@ -48,2 +48,10 @@ import { G as GuardMode, S as Synthesizer, E as EngineConfig, a as Guard, R as RedactContext, b as GuardResult, c as RedactionEntry, C as CascadeConfig, d as CascadeClassifier, O as ObjectScanResult, e as GuardConfig, D as Detection, f as DetectionSource, g as Disposition, P as PiiPattern } from './index-BzdAKl9y.mjs'; | ||
| secretTypes?: string[]; | ||
| /** | ||
| * Entity types to exclude from remediation (redaction/synthesis). | ||
| * Excluded entities are still detected and reported in results, | ||
| * but are NOT redacted or synthesized — original text is preserved. | ||
| * Useful for preserving technical identifiers (GUIDs, timestamps) | ||
| * while sanitizing personal PII. | ||
| */ | ||
| excludeEntities?: string[]; | ||
| } | ||
@@ -158,2 +166,3 @@ /** Score thresholds that map aggregate scores to risk levels */ | ||
| private temporalPolicy; | ||
| private _excludeEntities; | ||
| constructor(config?: Partial<EngineConfig>); | ||
@@ -185,2 +194,11 @@ /** | ||
| get temporalPolicyConfig(): TemporalPolicy | undefined; | ||
| /** | ||
| * Set entity types to exclude from remediation. Excluded entities are | ||
| * still detected and reported in results, but their original text is | ||
| * preserved (not redacted or synthesized). Detections for excluded | ||
| * entities are omitted from the aggregate redactionMap. | ||
| */ | ||
| setExcludeEntities(entityTypes: string[]): this; | ||
| /** Read the set of excluded entity types. */ | ||
| get excludeEntities(): ReadonlySet<string>; | ||
| /** Register a guard with the engine */ | ||
@@ -187,0 +205,0 @@ addGuard(guard: Guard): this; |
+18
-0
@@ -48,2 +48,10 @@ import { G as GuardMode, S as Synthesizer, E as EngineConfig, a as Guard, R as RedactContext, b as GuardResult, c as RedactionEntry, C as CascadeConfig, d as CascadeClassifier, O as ObjectScanResult, e as GuardConfig, D as Detection, f as DetectionSource, g as Disposition, P as PiiPattern } from './index-BzdAKl9y.js'; | ||
| secretTypes?: string[]; | ||
| /** | ||
| * Entity types to exclude from remediation (redaction/synthesis). | ||
| * Excluded entities are still detected and reported in results, | ||
| * but are NOT redacted or synthesized — original text is preserved. | ||
| * Useful for preserving technical identifiers (GUIDs, timestamps) | ||
| * while sanitizing personal PII. | ||
| */ | ||
| excludeEntities?: string[]; | ||
| } | ||
@@ -158,2 +166,3 @@ /** Score thresholds that map aggregate scores to risk levels */ | ||
| private temporalPolicy; | ||
| private _excludeEntities; | ||
| constructor(config?: Partial<EngineConfig>); | ||
@@ -185,2 +194,11 @@ /** | ||
| get temporalPolicyConfig(): TemporalPolicy | undefined; | ||
| /** | ||
| * Set entity types to exclude from remediation. Excluded entities are | ||
| * still detected and reported in results, but their original text is | ||
| * preserved (not redacted or synthesized). Detections for excluded | ||
| * entities are omitted from the aggregate redactionMap. | ||
| */ | ||
| setExcludeEntities(entityTypes: string[]): this; | ||
| /** Read the set of excluded entity types. */ | ||
| get excludeEntities(): ReadonlySet<string>; | ||
| /** Register a guard with the engine */ | ||
@@ -187,0 +205,0 @@ addGuard(guard: Guard): this; |
+1
-1
| { | ||
| "name": "@bulkhead-ai/core", | ||
| "version": "0.6.0", | ||
| "version": "0.7.0", | ||
| "description": "Cascading content protection engine — PII detection, secret scanning, prompt injection defense", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
897326
1.15%9768
0.95%