/** * Trace commands: list, show, transcript, stderr, errors * * CLI commands for execution tracing (PRD-019). */ import { Effect } from "effect"; import { RunRepository, RunHeartbeatService, SqliteClient, type DatabaseError } from "@jamesaphoenix/tx"; import { type Flags } from "../utils/parse.js"; /** * tx trace list - Show recent runs with event counts. */ export declare const traceList: (_pos: string[], flags: Flags) => Effect.Effect; /** * tx trace transcript - Display raw transcript content. * * Outputs raw JSONL content from the transcript file. * Designed to be piped to jq for filtering tool calls. */ export declare const traceTranscript: (pos: string[], _flags: Flags) => Effect.Effect; /** * tx trace stderr - Display stderr file content. * * Outputs raw stderr content from the stderr file. * Useful for debugging failed runs. */ export declare const traceStderr: (pos: string[], _flags: Flags) => Effect.Effect; /** * tx trace show - Show metrics events for a run. */ export declare const traceShow: (pos: string[], flags: Flags) => Effect.Effect; /** * tx trace heartbeat - Update run heartbeat state. * * Primitive used by orchestration loops to record transcript/log progress. */ export declare const traceHeartbeat: (pos: string[], flags: Flags) => Effect.Effect; /** * tx trace stalled - Find or reap stalled running runs. * * A run is considered stalled when transcript activity has not moved * for longer than --transcript-idle-seconds. */ export declare const traceStalled: (pos: string[], flags: Flags) => Effect.Effect; /** * tx trace errors - Show recent errors across all runs. */ export declare const traceErrors: (_pos: string[], flags: Flags) => Effect.Effect; /** * Main trace command dispatcher. */ export declare const trace: (pos: string[], flags: Flags) => Effect.Effect; //# sourceMappingURL=trace.d.ts.map