/** * RTK guidance hook — injects a short system-reminder into agent * sessions instructing them to prefix shell commands with `rtk` * (the Rust Token Killer CLI proxy). * * The reminder is injected once per session, only for agents that * have shell access (i.e. bash-capable primary agents). Read-only * agents (librarian/explore/oracle/sage) don't run shell commands, * so they are skipped to avoid context noise. * * See `src/runtime/rtk.ts` for the installer and raw instruction text. */ import type { Logger, PluginConfig } from '../types'; export interface RtkGuidanceHooks { /** Call from chat.message to inject the RTK instruction once per session. */ onMessage: (input: { sessionID: string; messageID?: string; agent?: string; }, output: { parts: Array>; }) => void; } export declare function createRtkGuidanceHooks(logger: Logger, config: PluginConfig): RtkGuidanceHooks; //# sourceMappingURL=rtk-guidance.d.ts.map