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/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 Phase,69 DesignArtifact,70 PhaseEntered,71 PhaseArtifact,72 PhaseApproved,73 PhaseRejected,74 VerifyResult,75 MemoryWritten,76 SubtaskCreated,77 SubtaskCompleted,78 DurableEvent,79 EphemeralEvent,80 KhaelorEvent,81 DurableEventType,82 EphemeralEventType,83 DurableEventInput,84 EphemeralEventInput,85} from "./events.js";8687export { SessionEventBus, Coalescer, blockKey, COALESCER_TRUNCATION_MARKER } from "./bus.js";88export type {89 EventBus,90 DurableAppender,91 SessionEventBusOptions,92 BlockKey,93 CoalescedFrame,94 CoalescerOptions,95} from "./bus.js";9697export { SessionLog, defaultSessionsDir, canonicalizeJsonValue } from "./store.js";9899export {100 extractUserTurns,101 forkSession,102 listForkCheckpoints,103 metaFilePath,104 readSessionMeta,105 writeSessionMeta,106} from "./fork.js";107export type { ForkCheckpoint, ForkOptions, ForkResult, SessionMeta } from "./fork.js";108109export { renderSessionDiff, summarizeSessionRun } from "./sdiff.js";110export type { SessionRunSummary } from "./sdiff.js";111export type {112 SessionLogCreateOptions,113 SessionLogOpenOptions,114 TornLineRecovery,115} from "./store.js";116117export {118 buildConversation,119 buildUsageTotals,120 buildFileChangeSet,121 findDanglingToolUseIds,122 isPairingSafeCut,123 COMPACTION_MESSAGE_PREFIX,124} from "./projections.js";125export type {126 ContentBlock,127 ConversationMessage,128 ModelUsageTotals,129 UsageTotals,130 FileChange,131 FileReadRecord,132 FileChangeSet,133} from "./projections.js";134