Коммит заменяет SQLDelight на ksqlite и добавляет journal/context/outbox
ci / JVM build + tests (push) Failing after 1m24s
ci / JVM build + tests (push) Failing after 1m24s
This commit is contained in:
@@ -20,7 +20,7 @@ bounded tail** для live-SSE и недавнего replay. Полный audit
|
||||
|
||||
## Где используется
|
||||
|
||||
- `:standalone` ChatAgent — append через `MutableEventStore` (заменяет
|
||||
- `:standalone` ChatAgent — append через `MutableOutboxStore` (заменяет
|
||||
текущий `agentEvents: MutableSharedFlow` + `persistAgentEvent`).
|
||||
- `:server` Routes.kt — `/events/all` SSE endpoint читает через
|
||||
`EventStore.events(after)`.
|
||||
@@ -60,7 +60,7 @@ eventStore.events(after = client.lastSeen).collect { apply(it) }
|
||||
|
||||
## API
|
||||
|
||||
### `EventStore` (read-only, для consumer'ов)
|
||||
### `OutboxStore` (read-only, для consumer'ов)
|
||||
|
||||
```kotlin
|
||||
interface EventStore : AutoCloseable {
|
||||
@@ -123,7 +123,7 @@ append по TTL/cap. Producer не должен полагаться на то,
|
||||
|
||||
## Текущее состояние
|
||||
|
||||
- ✅ Interface дизайн (`EventStore` + `MutableEventStore`)
|
||||
- ✅ Interface дизайн (`OutboxStore` + `MutableOutboxStore`)
|
||||
- ✅ KMP build (jvm + linuxX64 + mingwX64)
|
||||
- ⏳ Нет implementations (next: `InMemoryEventStore` для тестов)
|
||||
- ⏳ Не интегрирован в `:standalone`/`:server`
|
||||
|
||||
Reference in New Issue
Block a user