import { buildChatRequestFromResponses as buildChatRequestFromResponsesImpl, captureResponsesContext as captureResponsesContextImpl } from '../responses/responses-openai-bridge.js';
import { normalizeProviderProtocolTokenWithNative } from '../../router/virtual-router/engine-selection/native-hub-pipeline-req-inbound-semantics.js';
function assertResponsesNativeBoundary() {
    // Keep adapter as a thin boundary while forcing native capability presence.
    normalizeProviderProtocolTokenWithNative('openai-responses');
}
export function captureResponsesContext(payload, dto) {
    assertResponsesNativeBoundary();
    return captureResponsesContextImpl(payload, dto);
}
export function buildChatRequestFromResponses(payload, context) {
    assertResponsesNativeBoundary();
    return buildChatRequestFromResponsesImpl(payload, context);
}
