API Reference
AgentWorkSnapshot
Portable snapshot for tray, native, CLI and other consumers.
Inheritance
- Object
- AgentWorkSnapshot
Usage
Explore 15 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 7
- Property AgentWorkJsonContext.AgentWorkSnapshot
- Method AgentWorkSnapshot.<Clone>$
- Property AgentWorkSnapshotChangedEventArgs.Snapshot
- Method AgentWorkStateRules.Evaluate
- Property AgentWorkWatcher.CurrentSnapshot
- Method LocalAgentWorkStateService.ReadLocal
- Method GitHubDashboardService.EnrichAgentWorkAsync
Accepted by parameters 8
- Method AgentWorkJson.Serialize
- Method AgentWorkSnapshot.Equals
- Method AgentWorkSnapshot.op_Equality
- Method AgentWorkSnapshot.op_Equality
- Method AgentWorkSnapshot.op_Inequality
- Method AgentWorkSnapshot.op_Inequality
- Constructor AgentWorkSnapshotChangedEventArgs.AgentWorkSnapshotChangedEventArgs
- Method GitHubDashboardService.EnrichAgentWorkAsync
Constructors
public AgentWorkSnapshot() #Methods
public AgentWorkSnapshot <Clone>$() #AgentWorkSnapshotpublic override Int32 GetHashCode() #Int32public static Boolean op_Equality(AgentWorkSnapshot? left, AgentWorkSnapshot? right) #BooleanParameters
- left AgentWorkSnapshot?
- right AgentWorkSnapshot?
public static Boolean op_Inequality(AgentWorkSnapshot? left, AgentWorkSnapshot? right) #BooleanParameters
- left AgentWorkSnapshot?
- right AgentWorkSnapshot?
public override String ToString() #StringInherited Methods
Properties
public DateTimeOffset CapturedAtUtc { get; init; } #Time at which local collection finished and session state was evaluated. Optional remote enrichment follows.
public DateTimeOffset? GitHubCheckedAtUtc { get; init; } #Last successful GitHub revalidation, independent of local capture time; null before remote collection.
public DateTimeOffset? MetadataCheckedAtUtc { get; init; } #Last successful optional Desktop metadata callback; null before success. A failure retains the prior time and reports a diagnostic.
public AgentWorkScanStatistics? Scan { get; init; } #Local session-log work performed, if collected by the local service.
public IReadOnlyList<AgentSessionState> Sessions { get; init; } #Deduplicated sessions, newest first.
public IReadOnlyList<AgentPullRequestState> PullRequests { get; init; } #Open PRs, including those without a local session.
public IReadOnlyList<AgentAttentionItem> NeedsAttention { get; init; } #Pure-rule attention results.
public IReadOnlyList<AgentSourceDiagnostic> Diagnostics { get; init; } #Partial-source failures; an empty session list alone does not imply healthy sources.