import { BestAgentError } from "@best-agent/foundation";
export function requireReplayRepairProfile(input) {
    if (!input.profileName) {
        throw new BestAgentError("RUN_CHECKPOINT_INVALID", input.missingProfileMessage);
    }
    return {
        profile: input.runtime.requireProfile(input.profileName),
        profileName: input.profileName,
    };
}
//# sourceMappingURL=provider-replay-profile.js.map