runTraced()
runTraced(
config):Promise<RunResult>
Defined in: runner.ts:124
Run a command with automatic AgentFlow tracing.
- Creates an orchestrator (parent) trace.
- Snapshots watched directories.
- Spawns the command with trace env vars.
- After exit, detects state file changes and creates child traces.
- Saves all trace JSON files.
Parameters
| Parameter | Type |
|---|---|
config | RunConfig |
Returns
Promise<RunResult>