/** * AgentRecorder — forwards `agentfootprint.agent.*` emits to the dispatcher. * * Pattern: Factory (GoF) returning an EmitBridge instance. * Role: Convenience constructor for the agent-lifecycle bridge recorder. * Same mechanics as StreamRecorder, scoped to agent.* events * (turns + iterations + route decisions + handoffs). * Emits: agentfootprint.agent.turn_start / turn_end / iteration_start / * iteration_end / route_decided / handoff */ import { EmitBridge, type EmitBridgeOptions } from './EmitBridge.js'; export type AgentRecorderOptions = Omit & { readonly id?: string; }; export declare function agentRecorder(options: AgentRecorderOptions): EmitBridge;