/** * hivemind-trajectory handler — read-only trajectory inspection. * * Supports inspect (read events), attach (append), and checkpoint * actions. Writes (attach, checkpoint) go through DelegationManager * fallback to avoid re-entrancy. * * @module sidecar/server/tool-proxy/handlers/hivemind-trajectory */ import type { SidecarDependencyRegistry } from "../../registry.js"; export interface HivemindTrajectoryArgs { action?: string; trajectoryId?: string; sessionId?: string; } /** * Handle a hivemind-trajectory tool call. * * @param options.args - Trajectory action args. * @param options.registry - Sidecar dependency registry. * @returns Ok with events array or INVALID_ACTION error. */ export declare function handleHivemindTrajectory(options: { args: HivemindTrajectoryArgs; registry: SidecarDependencyRegistry; }): Promise<{ ok: false; error: { code: string; message: string; }; data?: undefined; } | { ok: true; data: { events: any[]; }; error?: undefined; }>; //# sourceMappingURL=hivemind-trajectory.d.ts.map