HarnessApprovalStandingReauthorizedEvent
NexusLabs.Foundry.MicrosoftAgentFramework¶
NexusLabs.Foundry.MicrosoftAgentFramework.Progress¶
HarnessApprovalStandingReauthorizedEvent Class¶
A standing ("always approve") tool approval -- newly supplied this run, or implied by continuing a session that could carry one from a prior turn -- was submitted for the required host reauthorization check. Emitted exactly once per reauthorization attempt, whether the host granted or declined it; a declined reauthorization fails the run closed with zero tool invocations.
public sealed record HarnessApprovalStandingReauthorizedEvent : NexusLabs.Foundry.MicrosoftAgentFramework.Progress.IProgressEvent, System.IEquatable<NexusLabs.Foundry.MicrosoftAgentFramework.Progress.HarnessApprovalStandingReauthorizedEvent>
Inheritance System.Object 🡒 HarnessApprovalStandingReauthorizedEvent
Implements IProgressEvent, System.IEquatable<HarnessApprovalStandingReauthorizedEvent>
Constructors¶
HarnessApprovalStandingReauthorizedEvent(DateTimeOffset, string, string, string, int, long, string, bool) Constructor¶
A standing ("always approve") tool approval -- newly supplied this run, or implied by continuing a session that could carry one from a prior turn -- was submitted for the required host reauthorization check. Emitted exactly once per reauthorization attempt, whether the host granted or declined it; a declined reauthorization fails the run closed with zero tool invocations.
public HarnessApprovalStandingReauthorizedEvent(System.DateTimeOffset Timestamp, string WorkflowId, string? AgentId, string? ParentAgentId, int Depth, long SequenceNumber, string? ToolName, bool Granted);
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.
ToolName System.String
The tool name the standing approval would apply to, when it could be determined from the inbound messages; null when reauthorizing a restored session for which no specific tool name is known.
Granted System.Boolean
Whether the host validator authorized reliance on the standing approval.
Properties¶
HarnessApprovalStandingReauthorizedEvent.AgentId Property¶
Which agent emitted this event, or null for workflow-level events.
Implements AgentId
Property Value¶
HarnessApprovalStandingReauthorizedEvent.Depth Property¶
Nesting depth: 0 = workflow, 1 = agent, 2 = sub-agent, etc.
Implements Depth
Property Value¶
HarnessApprovalStandingReauthorizedEvent.Granted Property¶
Whether the host validator authorized reliance on the standing approval.
Property Value¶
HarnessApprovalStandingReauthorizedEvent.ParentAgentId Property¶
Parent agent ID for sub-agent runs, enabling tree reconstruction.
Implements ParentAgentId
Property Value¶
HarnessApprovalStandingReauthorizedEvent.SequenceNumber Property¶
Globally ordered sequence number for event ordering.
Implements SequenceNumber
Property Value¶
HarnessApprovalStandingReauthorizedEvent.Timestamp Property¶
When the event occurred.
Implements Timestamp
Property Value¶
HarnessApprovalStandingReauthorizedEvent.ToolName Property¶
The tool name the standing approval would apply to, when it could be determined from the inbound messages; null when reauthorizing a restored session for which no specific tool name is known.
Property Value¶
HarnessApprovalStandingReauthorizedEvent.WorkflowId Property¶
Top-level workflow correlation ID.
Implements WorkflowId