import type { Logger, StepTraceDef } from '@recombine-ai/engine'

export function createTracer(logger: Logger) {
	const steps: StepTraceDef[] = []
	return {
		addStep(def: StepTraceDef) {
			steps.push(def)
		},
		getSteps: () => steps
	}
}
