/**
 * Thrown when a {@link Mutation} cannot be applied at the resolved fork
 * point. Currently raised by `injectToolResponse` when the supplied
 * `toolCallId` does not match any pending tool call in the checkpoint's
 * last assistant message.
 */
export class MutationNotApplicableError extends Error {
    availableToolCallIds;
    constructor(message, availableToolCallIds) {
        super(message);
        this.availableToolCallIds = availableToolCallIds;
        this.name = 'MutationNotApplicableError';
    }
}
//# sourceMappingURL=replay.js.map