SPB Git

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%
2.1 KB · 111 lines typescript
Raw Blame History
1/**2 * KHAELOR3 * File: src/session/index.ts4 * Description: Public barrel for the session module (Layer 1 — imports shared only).5 *6 * Author: Simon-Pierre Boucher7 * Contact: contact@spboucher.ai8 */910export {11  EVENT_SCHEMA_VERSION,12  DURABLE_EVENT_TYPES,13  EPHEMERAL_EVENT_TYPES,14  isDurableEventType,15  isEphemeralEventType,16  isDurableEvent,17} from "./events.js";18export type {19  EventSchemaVersion,20  Durable,21  Ephemeral,22  StopReason,23  ModelUsage,24  DiffStats,25  CheckResult,26  CompletionEvidence,27  GitBaseline,28  ModelErrorKind,29  ToolName,30  SessionStarted,31  SessionResumed,32  SessionRenamed,33  ModelChanged,34  BaselineRecorded,35  UserMessageCreated,36  SteeringQueued,37  SteeringInjected,38  Interrupted,39  ModelRequestStarted,40  ModelTextDelta,41  ModelThinkingDelta,42  ToolCallStarted,43  ToolInputDelta,44  ModelTextBlockCompleted,45  ModelThinkingBlockCompleted,46  ToolRequested,47  ModelResponseCompleted,48  ModelRequestFailed,49  PermissionRequested,50  PermissionGranted,51  PermissionDenied,52  ToolApproved,53  ToolStarted,54  ToolOutput,55  ToolCompleted,56  ToolFailed,57  ToolCancelled,58  FileRead,59  FileModified,60  ProcessStarted,61  ProcessOutput,62  ProcessExited,63  ContextPruned,64  ContextCompacted,65  VerificationRequested,66  TaskCompleted,67  TaskFailed,68  DurableEvent,69  EphemeralEvent,70  KhaelorEvent,71  DurableEventType,72  EphemeralEventType,73  DurableEventInput,74  EphemeralEventInput,75} from "./events.js";7677export { SessionEventBus, Coalescer, blockKey, COALESCER_TRUNCATION_MARKER } from "./bus.js";78export type {79  EventBus,80  DurableAppender,81  SessionEventBusOptions,82  BlockKey,83  CoalescedFrame,84  CoalescerOptions,85} from "./bus.js";8687export { SessionLog, defaultSessionsDir, canonicalizeJsonValue } from "./store.js";88export type {89  SessionLogCreateOptions,90  SessionLogOpenOptions,91  TornLineRecovery,92} from "./store.js";9394export {95  buildConversation,96  buildUsageTotals,97  buildFileChangeSet,98  findDanglingToolUseIds,99  isPairingSafeCut,100  COMPACTION_MESSAGE_PREFIX,101} from "./projections.js";102export type {103  ContentBlock,104  ConversationMessage,105  ModelUsageTotals,106  UsageTotals,107  FileChange,108  FileReadRecord,109  FileChangeSet,110} from "./projections.js";111