Table of Contents

Class SharedAgentPersonalContextRepository

Namespace
Oscova.Agents.Definitions
Assembly
Oscova.Agents.dll

Stores per-user personal context for shared agents beneath a caller-selected root.

public sealed class SharedAgentPersonalContextRepository : ISharedAgentPersonalContextRepository

Inheritance

Implements

Inherited Members

Constructors

SharedAgentPersonalContextRepository(Func<string, string>, long, YamlConverter)

Stores per-user personal context for shared agents beneath a caller-selected root.

Methods

DeleteForUsersAsync(IEnumerable<string>, AgentDefinition, CancellationToken)

Deletes matching files; cancellation is honored before each mutation, then that delete completes.

GetAsync(string, AgentDefinition, CancellationToken)

Returns the saved personal-context body, or an empty string when no file exists.

SaveAsync(string, AgentDefinition, string, CancellationToken)

Saves personal context; cancellation is honored before mutation admission, then the save completes.