/** * Strict Responses ingress codec (spec §16.3, D16-B). Validates a stateless * Responses request body and normalizes it losslessly to a canonical mesh * request plus capability and execution-feature requirements. * * Selected by `normalizeGatewayIngress` for the `openai-responses` wire — * never feed `input` through the permissive Chat `raw.messages` parser. * Pinned CLI captures (muse-1.4.6, codex-0.162.1) define the supported * shapes; unsupported stateful/hosted fields fail explicitly with a safe * field path before acquisition. Feature requirements are derived from * validated input, never from a caller-supplied feature list. * * Tool collection lives in `responses-ingress-tools.js`, content mapping * in `responses-ingress-content.js`; this module holds request controls * and assembly. */ import type { CapabilityRequirement, ExecutionFeature, GenerateRequest } from '@sentropic/llm-mesh'; import { type ResponsesLimits } from './responses-egress.js'; export type { ResponsesIngressErrorCode } from './responses-ingress-tools.js'; export { ResponsesIngressError } from './responses-ingress-tools.js'; export interface ResponsesIngressResult { readonly request: GenerateRequest; readonly requiredCapabilities: readonly CapabilityRequirement[]; readonly requiredExecutionFeatures: readonly ExecutionFeature[]; } export declare const normalizeResponsesIngress: (body: unknown, limits?: ResponsesLimits) => ResponsesIngressResult; //# sourceMappingURL=responses-ingress.d.ts.map