Add Luna.Memory with SQLite-backed persistent memory store

Implement IMemoryStore interface and MemoryStore using EF Core with
SQLite for conversation and knowledge persistence. Includes DI
service registration extensions.
This commit is contained in:
2026-04-04 04:11:08 +02:00
parent 2f5841a1b9
commit dd35e1dea6
4 changed files with 104 additions and 0 deletions
@@ -0,0 +1,14 @@
using Microsoft.Extensions.DependencyInjection;
namespace Luna.Memory.Extensions;
public static class ServiceCollectionExtensions
{
extension(IServiceCollection services)
{
public IServiceCollection AddMemoryStore()
{
return services.AddSingleton<IMemoryStore, MemoryStore>();
}
}
}