/** * KHAELOR * File: src/anthropic/index.ts * Description: Public barrel for the anthropic module (Layer 1 — imports shared + @anthropic-ai/sdk only). * * Author: Simon-Pierre Boucher * Contact: contact@spboucher.ai */ export type { AnthropicMessage, CacheControl, ContentBlockParam, ModelClient, ModelEvent, ModelRequest, ModelUsage, RedactedThinkingBlockParam, StopReason, SystemTier, TextBlockParam, ThinkingBlockParam, ThinkingConfig, ToolResultBlockParam, ToolSchema, ToolUseBlockParam, } from "./types.js"; export { ModelError, classifyModelError, isModelError, parseRetryAfterMs, redactSecrets } from "./errors.js"; export type { ModelErrorKind } from "./errors.js"; export { AnthropicModelClient, backoffDelayMs, mapStopReason, translateRawStream, } from "./client.js"; export type { AnthropicClientOptions, RawStreamFactory } from "./client.js"; export { MAX_CACHE_BREAKPOINTS, buildMessagesWithCacheControl, buildSystemBlocks, planCacheBreakpoints, } from "./caching.js"; export type { CachePlan } from "./caching.js";