LocalMemoryStoreOptions
Defined in: src/lib/memory/store/local.ts:71
Properties
allowUnscopedRows?
optionalallowUnscopedRows:boolean
Defined in: src/lib/memory/store/local.ts:95
Admit pre-v31 user_id = null link rows alongside userId’s (LokiJS web).
canWrite()?
optionalcanWrite: () =>Promise<boolean>
Defined in: src/lib/memory/store/local.ts:79
Rechecked inside each serialized memory write.
Returns
Promise<boolean>
database
database:
Database
Defined in: src/lib/memory/store/local.ts:73
A database built from sdkSchema (memory_vault + entity + memory_entity).
embeddedWalletSigner?
optionalembeddedWalletSigner:EmbeddedWalletSignerFn
Defined in: src/lib/memory/store/local.ts:77
embeddingOptions
embeddingOptions:
MemoryEngineEmbeddingOptions
Defined in: src/lib/memory/store/local.ts:97
Embedding API options for recall / retain.
signMessage?
optionalsignMessage:SignMessageFn
Defined in: src/lib/memory/store/local.ts:76
singleTenant?
optionalsingleTenant:boolean
Defined in: src/lib/memory/store/local.ts:93
The database holds exactly one owner’s rows (the per-wallet client DBs).
Required for the decay sweep to run without userId — see
VaultMemoryOperationsContext.singleTenant.
userId?
optionaluserId:string
Defined in: src/lib/memory/store/local.ts:87
Scope every read/write to this user — for a shared, multi-tenant database
whose rows all carry their user_id. Rows with no user_id are invisible
to a scoped store, so the per-wallet client DBs (every useChatStorage row is
user_id = null) use singleTenant instead, exactly like useChatStorage’s
vault ctx.
vaultCache?
optionalvaultCache:VaultEmbeddingCache
Defined in: src/lib/memory/store/local.ts:99
Share a warm cache with other recall surfaces; one is created when omitted.
walletAddress?
optionalwalletAddress:string
Defined in: src/lib/memory/store/local.ts:75
With signMessage, encrypts content on write and decrypts on read.