Table of Contents

Class AgentMemoryService

Namespace
Oscova.Agents.Memory
Assembly
Oscova.Agents.dll

Coordinates long-term knowledge and user-local daily logs through the shared encrypted store.

public sealed class AgentMemoryService : IAgentMemoryService

Inheritance

Implements

Inherited Members

Constructors

AgentMemoryService(Func<string, string>, string, long, Func<string, Task<DateOnly>>, IUserFileBackupService, IContentProtector)

Coordinates long-term knowledge and user-local daily logs through the shared encrypted store.

Fields

DailyDirectoryName

Identifies the existing subtree reserved for short-term daily records.

Methods

AppendDailyLogAsync(string, string, TimeZoneInfo?, CancellationToken)

Appends short-term information to today's encrypted daily concept.

GetStore(string)

Returns the shared knowledge implementation bound to this user's memory root.

ListDailyLogsDatesAsync(string, CancellationToken)

Lists actual saved daily dates.

ReadDailyLogAsync(string, int, CancellationToken)

Reads a daily log relative to the user's current local date.

ReadDailyLogForDateAsync(string, DateOnly, CancellationToken)

Reads the daily concept for an explicit local date.

ReadLongTermMemoryAsync(string, CancellationToken)

Reads the complete long-term entry index.