epic-13: add cli and tui entry point, finish epic.

This commit is contained in:
2026-05-16 13:37:58 +04:00
parent 72d20726ce
commit 2207a37549
60 changed files with 2896 additions and 41 deletions
@@ -1,9 +1,11 @@
package com.correx.testing.fixtures
import com.correx.core.context.model.ContextPack
import com.correx.core.events.events.EventMetadata
import com.correx.core.events.events.InferenceCompletedEvent
import com.correx.core.events.events.NewEvent
import com.correx.core.events.types.ContextPackId
import com.correx.core.events.types.EventId
import com.correx.core.events.types.InferenceRequestId
import com.correx.core.events.types.ProviderId
import com.correx.core.events.types.SessionId
@@ -126,9 +128,9 @@ object InferenceFixtures {
tokensUsed: TokenUsage,
latencyMs: Long,
): NewEvent {
return com.correx.core.events.events.NewEvent(
metadata = com.correx.core.events.events.EventMetadata(
eventId = com.correx.core.events.types.EventId("inf-$requestId"),
return NewEvent(
metadata = EventMetadata(
eventId = EventId("inf-$requestId"),
sessionId = sessionId,
timestamp = Clock.System.now(),
schemaVersion = 1,