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/context/index.ts4 * Description: Public barrel for the context module (Layer 2 — imports session, anthropic, shared).5 *6 * Author: Simon-Pierre Boucher7 * Contact: contact@spboucher.ai8 */910export {11 ContextBudget,12 DEFAULT_COMPACTION_BUFFER_TOKENS,13 DEFAULT_CONTEXT_WINDOW,14 DEFAULT_PRUNE_THRESHOLD_RATIO,15 estimateTokens,16 resolveContextWindow,17} from "./budget.js";18export type { BudgetPressureLevel, ContextBudgetOptions, ContextWindowConfig } from "./budget.js";1920export { emptyCheckpoint, parseCheckpoint, serializeCheckpoint } from "./checkpoint.js";21export type {22 Checkpoint,23 CheckpointEvidence,24 CheckpointFileRef,25 CheckpointProcess,26} from "./checkpoint.js";2728export {29 DEFAULT_COMPACTION_OPTIONS,30 PRUNE_PLACEHOLDER,31 collectRunningProcesses,32 compressEvents,33 extractCutEvents,34 parseCheckpointLenient,35 renderTranscript,36 selectCompactionCut,37 selectPruneCandidates,38 summarizeToCheckpointText,39} from "./compaction.js";40export type {41 CompactionCheckpoint,42 CompactionOptions,43 CompressPipelineInput,44 PruneDecision,45 SummarizeDeps,46} from "./compaction.js";4748export {49 INSTRUCTION_FILENAMES,50 buildSystemPrompt,51 discoverProjectInstructions,52} from "./system-prompt.js";53export type {54 DiscoverInstructionsOptions,55 InstructionFile,56 InstructionReader,57 SystemPromptOptions,58} from "./system-prompt.js";5960export { KhaelorContextEngine } from "./engine.js";61export type {62 BuiltContext,63 ContextEngine,64 ContextEngineOptions,65 ContextSessionState,66 ContextStats,67 VolatileSection,68} from "./engine.js";69