/** * @coreci/byom — Bring Your Own Model: endpoint registry, validate-on-save, * and the OpenAI-compatible routing shim (Wave C, REQ-006..009). * * D-001: the wire protocol is OpenAI-compatible `/v1/chat/completions`. * G-001: the routing shim is the single egress point for LLM inference; the * M1 test-inference proxy endpoint drives it until M3 orchestration lands. * * Exports: * - types: ByomEndpoint, ByomConfigRequest, ByomValidationResult, * ChatCompletionRequest, ChatCompletionResponse * - validator: validateEndpoint (REQ-007) * - repository: saveEndpoint, getEndpoint, deleteEndpoint (REQ-006) * - router: routeInference, ByomUnconfiguredError, ByomUnreachableError (REQ-008, REQ-009) */ export type { ByomEndpoint, ByomConfigRequest, ByomValidationResult, ChatCompletionRequest, ChatCompletionResponse, } from "./types.js"; export { validateEndpoint } from "./validator.js"; export { saveEndpoint, getEndpoint, deleteEndpoint, BYOM_SECRET_NAME, type SaveEndpointResult, } from "./repository.js"; export { routeInference, ByomUnconfiguredError, ByomUnreachableError, } from "./router.js";