/** * `agent/pre-step` arm: redact every admitted message before it is committed * as `user/message` and sent to the model. The original prompt remains in the * `agent/inbox/spliced` event, which the plugin cannot rewrite. * @module dsh-sensitive-guard/hooks/pre-step */ import type { Context } from '@deepseek-ai/cordis'; import { type GuardRuntime } from './runtime.js'; declare module '@deepseek-ai/dsh-llm' { interface MessageSourceMap { /** Plugin-authored user-role notices that are never treated as user input. */ 'sensitive-guard': { kind: 'sensitive-guard'; form?: 'notice'; summary?: string; }; } } export declare function registerPreStep(ctx: Context, runtime: GuardRuntime): void; //# sourceMappingURL=pre-step.d.ts.map