export declare const PHASE_REMINDER = "!IMPORTANT! Recall the workflow rules:\nUnderstand \u2192 choose the best parallelized path based on your capabilities and agents delegation rules \u2192 recall session reuse rules \u2192 execute \u2192 verify.\nIf delegating, launch the specialist in the same turn you mention it !END!";
interface MessageInfo {
role: string;
agent?: string;
sessionID?: string;
}
interface MessagePart {
type: string;
text?: string;
[key: string]: unknown;
}
interface MessageWithParts {
info: MessageInfo;
parts: MessagePart[];
}
/**
* Creates the experimental.chat.messages.transform hook for phase reminder injection.
* This hook runs right before sending to API, so it doesn't affect UI display.
* Only injects for the orchestrator agent.
*/
export declare function createPhaseReminderHook(): {
'experimental.chat.messages.transform': (_input: Record, output: {
messages: MessageWithParts[];
}) => Promise;
};
export {};