remove deprecated EventStore and MessageStore implementations, along with related in-memory and SQLite code
ci / JVM build + tests (push) Failing after 59s
ci / JVM build + tests (push) Failing after 59s
This commit is contained in:
+3
-3
@@ -2,8 +2,8 @@ package pw.binom.agentik.storage.inmemory
|
||||
|
||||
import kotlinx.coroutines.sync.Mutex
|
||||
import kotlinx.coroutines.sync.withLock
|
||||
import pw.binom.agentik.messageLog.MessageRecord
|
||||
import pw.binom.agentik.messageLog.MutableMessageStore
|
||||
import pw.binom.agentik.journal.MessageRecord
|
||||
import pw.binom.agentik.journal.MutableJournalStore
|
||||
import kotlin.time.Instant
|
||||
|
||||
/**
|
||||
@@ -16,7 +16,7 @@ import kotlin.time.Instant
|
||||
* В отличие от ksqlite-импла, не требует native SQLite — работает в любом
|
||||
* KMP-таргете (включая iOS/native).
|
||||
*/
|
||||
class InMemoryMessageStore : MutableMessageStore {
|
||||
class InMemoryMessageStore : MutableJournalStore {
|
||||
|
||||
private val byConv: MutableMap<String, MutableList<MessageRecord>> = mutableMapOf()
|
||||
private val mutex = Mutex()
|
||||
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
package pw.binom.agentik.storage.inmemory
|
||||
|
||||
import pw.binom.agentik.messageLog.MutableMessageStore
|
||||
import pw.binom.agentik.context.ContextStore
|
||||
import pw.binom.agentik.journal.MutableJournalStore
|
||||
import pw.binom.agentik.messageStore.ConversationStore
|
||||
import pw.binom.agentik.messageStore.ReflectionStore
|
||||
import pw.binom.agentik.context.ContextStore
|
||||
import kotlin.time.Clock
|
||||
|
||||
/**
|
||||
@@ -22,7 +22,7 @@ import kotlin.time.Clock
|
||||
object InMemoryStorage {
|
||||
data class Bundle(
|
||||
val conversationStore: ConversationStore,
|
||||
val messageStore: MutableMessageStore,
|
||||
val messageStore: MutableJournalStore,
|
||||
val workingMemoryStore: ContextStore,
|
||||
val reflectionStore: ReflectionStore,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user