Core types, error classes, structured logger, sensitive data redactor, and ReDoS-safe regex utilities for the tool-use-firewall ecosystem. Exports TypeScript types (`RequestContext`, `Middleware`, `InterceptorResponse`), a typed error hierarchy (`FirewallError`, `RateLimitError`, `ValidationError`, `PolicyViolationError`, `BudgetExceededError`, `ApprovalRequiredError`), a JSON logger that writes to stderr, a `redact()` function with built-in patterns for API keys and tokens, and `safeRegExp()`/`isSafeRegex()` for ReDoS-safe regex compilation.
Status: Pre-1.0 — APIs may change in minor versions. Pin to a specific version in production.
Core types, error classes, structured logger, sensitive data redactor, and ReDoS-safe regex utilities for tool-use-firewall. This is the foundational package used by every other @reaatech/tool-use-firewall-* package.