Skip to main content

Crate fmemory

Crate fmemory 

Source
Expand description

Context and harness-state persistence layer with fchat adapter support.

use std::sync::Arc;

use fmemory::{InMemoryMemoryBackend, MemoryConversationStore, SessionManifest};

let backend = Arc::new(InMemoryMemoryBackend::new());
let store = MemoryConversationStore::new(backend);
let manifest = SessionManifest::new("session-1", "feature/init", "Bootstrap workspace");

assert_eq!(manifest.active_branch, "feature/init");
let _ = store;

Modules§

prelude

Structs§

BootstrapState
FeatureRecord
FilesystemMemoryBackend
InMemoryMemoryBackend
InitCommand
InitPlan
InitShellScript
MemoryConversationStore
MemoryError
PostgresMemoryBackend
PostgresMemoryBackendConfig
ProgressEntry
RunCheckpoint
SessionManifest
SqliteMemoryBackend

Enums§

InitShell
InitStep
MemoryBackendConfig
MemoryErrorKind
RunStatus

Traits§

MemoryBackend

Functions§

create_default_memory_backend
create_memory_backend