HarnessApprovalApprovedEvent
NexusLabs.Foundry.MicrosoftAgentFramework¶
NexusLabs.Foundry.MicrosoftAgentFramework.Progress¶
HarnessApprovalApprovedEvent Class¶
An ordinary (non-standing) tool-approval response approved the pending request. Emitted once per approved request; a standing ("always approve") response is reported via HarnessApprovalStandingReauthorizedEvent instead, never both.
public sealed record HarnessApprovalApprovedEvent : NexusLabs.Foundry.MicrosoftAgentFramework.Progress.IProgressEvent, System.IEquatable<NexusLabs.Foundry.MicrosoftAgentFramework.Progress.HarnessApprovalApprovedEvent>
Inheritance System.Object 🡒 HarnessApprovalApprovedEvent
Implements IProgressEvent, System.IEquatable<HarnessApprovalApprovedEvent>
Constructors¶
HarnessApprovalApprovedEvent(DateTimeOffset, string, string, string, int, long, string, string) Constructor¶
An ordinary (non-standing) tool-approval response approved the pending request. Emitted once per approved request; a standing ("always approve") response is reported via HarnessApprovalStandingReauthorizedEvent instead, never both.
public HarnessApprovalApprovedEvent(System.DateTimeOffset Timestamp, string WorkflowId, string? AgentId, string? ParentAgentId, int Depth, long SequenceNumber, string RequestId, string ToolName);
Parameters¶
Timestamp System.DateTimeOffset
When the event occurred.
WorkflowId System.String
Top-level workflow correlation ID.
AgentId System.String
Which agent emitted this event, or null for workflow-level events.
ParentAgentId System.String
Parent agent ID for sub-agent runs, enabling tree reconstruction.
Depth System.Int32
Nesting depth: 0 = workflow, 1 = agent, 2 = sub-agent, etc.
SequenceNumber System.Int64
Globally ordered sequence number for event ordering.
RequestId System.String
The request identifier the approval response answered.
ToolName System.String
The name of the tool that was approved.
Properties¶
HarnessApprovalApprovedEvent.AgentId Property¶
Which agent emitted this event, or null for workflow-level events.
Implements AgentId
Property Value¶
HarnessApprovalApprovedEvent.Depth Property¶
Nesting depth: 0 = workflow, 1 = agent, 2 = sub-agent, etc.
Implements Depth
Property Value¶
HarnessApprovalApprovedEvent.ParentAgentId Property¶
Parent agent ID for sub-agent runs, enabling tree reconstruction.
Implements ParentAgentId
Property Value¶
HarnessApprovalApprovedEvent.RequestId Property¶
The request identifier the approval response answered.
Property Value¶
HarnessApprovalApprovedEvent.SequenceNumber Property¶
Globally ordered sequence number for event ordering.
Implements SequenceNumber
Property Value¶
HarnessApprovalApprovedEvent.Timestamp Property¶
When the event occurred.
Implements Timestamp
Property Value¶
HarnessApprovalApprovedEvent.ToolName Property¶
The name of the tool that was approved.
Property Value¶
HarnessApprovalApprovedEvent.WorkflowId Property¶
Top-level workflow correlation ID.
Implements WorkflowId