package runner import ( "amadan.net/oficina/equipo/internal/runner/provider" "context" ) // DispatchDirectTurn binds the broker before the adapter's durable input barrier. func DispatchDirectTurn(ctx context.Context, proxy *ToolProxy, launcher provider.Launcher, session provider.Session, turn provider.Turn) error { if err := proxy.BindTurn(session, turn.ID); err != nil { return err } return launcher.StartTurn(ctx, session, turn) }