refactor: migrate EventStore and MessageStore to :outbox-api and :journal-api
ci / JVM build + tests (push) Failing after 1m9s

- Replaced usages of `:message-store-api` and `:working-memory-api` with `:journal-api`, `:outbox-api`, and `:context-api`.
- Deprecated legacy `EventStore` and `MessageStore` interfaces, added `typealias` for backward compatibility.
- Updated imports across all modules with references to `:journal-api` and `:outbox-api`.
- Introduced `journalRoutes` and `outboxRoutes` in `:server` for audit log and live event stream endpoints.
- Adjusted `Agent` to expose read-only `journal` and `outbox` stores for improved modularity and clarity.
- Removed legacy Event and AgentEvent definitions from `:proto`, migrated to `:outbox-api`.
- Storage-related modules have been updated to support the new APIs consistently.
This commit is contained in:
2026-09-21 02:38:40 +03:00
parent 499db812ef
commit aef5083801
64 changed files with 978 additions and 960 deletions
+10
View File
@@ -24,6 +24,16 @@ kotlin {
commonMain.dependencies {
implementation(project(":proto"))
// Read-only storage handles, которые HTTP-фасад выставляет наружу
// под {path}/journal/* и {path}/outbox/*. Типы JournalStore/
// OutboxStore фигурируют в сигнатурах internal-функций
// journalRoutes/outboxRoutes, поэтому нужны в compile classpath.
// Транзитивные api-висимости :proto (:journal-api, :outbox-api)
// не доходят до :server из-за implementation(:proto), поэтому
// объявляем напрямую.
implementation(project(":journal-api"))
implementation(project(":outbox-api"))
// Ktor (без engine — engine подключает потребитель, см. :standalone).
implementation(libs.ktor.server.core)
implementation(libs.ktor.server.content.negotiation)