/** * dsh-sensitive-guard — a host-only DeepSeek Harness plugin with two layers: * an interception gate on `tools/pre-execute` and redaction on every path that * carries content to the model, the session log, or a spill file. * @module dsh-sensitive-guard */ import type { Context } from '@deepseek-ai/cordis'; import { type GuardConfig } from './config.js'; export { Config, resolveConfig, type GuardConfig } from './config.js'; export type { AuditLog } from './audit.js'; export { createPolicyEngine } from './policy/index.js'; export { createRedactor, createPseudonymizer } from './redact/index.js'; export { mountEgress, proxyEnvMatches, resolveProxyEnv } from './egress/index.js'; export type { EgressController, EgressSnapshot } from './egress/index.js'; /** Plugin id used by the bundle patch and by owner-scoped diagnostics. */ export declare const name = "sensitive-guard"; /** The interception and redaction layers both need the tool registry. */ export declare const inject: string[]; /** * Cordis entry point. Construction is eager and fail-loud: an invalid rule or * regex prevents activation instead of silently running without protection. * * @param ctx - plugin context; every listener is disposed with it. * @param config - validated row config from the bundle patch (or a test). */ export declare function apply(ctx: Context, config?: GuardConfig): void | Promise<() => Promise>; //# sourceMappingURL=index.d.ts.map