spb/khaelor Public
KHAELOR — a terminal-native autonomous engineering agent powered by Anthropic.
TypeScript 82.9%
HTML 14.9%
CSS 1.1%
JavaScript 0.7%
1/**2 * KHAELOR3 * File: src/anthropic/index.ts4 * Description: Public barrel for the anthropic module (Layer 1 — imports shared + @anthropic-ai/sdk only).5 *6 * Author: Simon-Pierre Boucher7 * Contact: contact@spboucher.ai8 */910export type {11 AnthropicMessage,12 CacheControl,13 ContentBlockParam,14 ModelClient,15 ModelEvent,16 ModelRequest,17 ModelUsage,18 RedactedThinkingBlockParam,19 StopReason,20 SystemTier,21 TextBlockParam,22 ThinkingBlockParam,23 ThinkingConfig,24 ToolResultBlockParam,25 ToolSchema,26 ToolUseBlockParam,27} from "./types.js";2829export { ModelError, classifyModelError, isModelError, parseRetryAfterMs, redactSecrets } from "./errors.js";30export type { ModelErrorKind } from "./errors.js";3132export {33 AnthropicModelClient,34 backoffDelayMs,35 mapStopReason,36 translateRawStream,37} from "./client.js";38export type { AnthropicClientOptions, RawStreamFactory } from "./client.js";3940export {41 MAX_CACHE_BREAKPOINTS,42 buildMessagesWithCacheControl,43 buildSystemBlocks,44 planCacheBreakpoints,45} from "./caching.js";46export type { CachePlan } from "./caching.js";47