AgentCacheOptions
Namespace: E2E
public sealed class AgentCacheOptionsWhere ActAsync keeps the flows it recorded, and whether it may write new ones. Upstream’s AgentCacheOptions (core/agent.ts).
Inheritance: object
Properties
Section titled “Properties”public string? Dir { get; init; }The file store’s directory, from the Cwd the host was launched with; default .e2e/cache. Ignored with Store.
Value: string
public CacheMode Mode { get; init; }ReadWrite (the default) replays and records; ReadOnly replays and never writes. Off is INVALID_ARGUMENT: leave Cache unset.
Value: CacheMode
public IStepCache? Store { get; init; }A custom store in place of the file store, the seam a shared cache plugs into.
Value: IStepCache
Strict
Section titled “Strict”public bool Strict { get; init; }Replays only: a recording that no longer replays fails its step with REPLAY_STALE instead of calling the model, and nothing is written.
Value: bool