API Reference
Class
LocalAgentWorkStateService
Reads provider metadata locally without launching clients, opening messages, or modifying provider state.
Inheritance
- Object
- LocalAgentWorkStateService
Methods
public static IReadOnlyList<SourceRootRecord> DiscoverRoots() #Returns:
IReadOnlyList<SourceRootRecord>Discovers provider profiles and recovered roots, considering only running WSL distributions for observation.
public static AgentWorkSnapshot ReadLocal(IEnumerable<SourceRootRecord>? roots = null, DateTimeOffset? nowUtc = null, TimeSpan? activeWindow = null, IEnumerable<AgentSessionState>? codexMetadata = null, CancellationToken cancellationToken = default, AgentWorkOptions? options = null) #Returns:
AgentWorkSnapshotReads local logs and title indexes. Explicit roots replace automatic discovery.
Parameters
- roots System.Collections.Generic.IEnumerable<IntelligenceX.Telemetry.Usage.SourceRootRecord>? = null
- Optional telemetry source roots. An empty list reads nothing.
- nowUtc System.DateTimeOffset? = null
- Evaluation time; defaults to UTC now after all local sources have been read.
- activeWindow System.TimeSpan? = null
- Maximum quiet interval for an inferred running turn; defaults to five minutes.
- codexMetadata System.Collections.Generic.IEnumerable<IntelligenceX.Telemetry.Agents.AgentSessionState>? = null
- Optional read-only Codex database metadata from the SQLite companion library.
- cancellationToken System.Threading.CancellationToken = default
- Cancels enumeration and parsing.
- options IntelligenceX.Telemetry.Agents.AgentWorkOptions? = null
- Optional activity cutoff and parsed observation cache.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?