Skip to content
Tracon

SkillScriptExecutionResult

Namespace Tracon · Assembly Tracon.Abstractions.dll

What one skill script run did, as an ISkillScriptExecutor reports it.

public sealed record SkillScriptExecutionResult : IEquatable<SkillScriptExecutionResult>
Inheritance
object ← SkillScriptExecutionResult
Implements
IEquatable<SkillScriptExecutionResult>
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

A consistent result has an exit code when SkillScriptExecutionResult.TimedOut is false and no exit code when it is true. Tracon refuses any other shape: the tool call fails and is recorded as an executor failure.

The duration is not part of the result: Tracon measures it around the call.

public SkillScriptExecutionResult()

The script’s exit code, or null when it timed out.

public int? ExitCode { get; init; }

int?

The script’s standard error, at most the request’s byte limit.

public string StandardError { get; init; }

string

The script’s standard output, at most the request’s byte limit.

public string StandardOutput { get; init; }

string

Gets a value that indicates whether the script finished in time with exit code zero.

public bool Succeeded { get; }

bool

Gets a value that indicates whether the script ran past its timeout and was stopped.

public bool TimedOut { get; init; }

bool

Gets a value that indicates whether an output stream was cut at its limit.

public bool Truncated { get; init; }

bool

Do not append a notice to the text; Tracon adds it.

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(SkillScriptExecutionResult? other)

other SkillScriptExecutionResult?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(SkillScriptExecutionResult?, SkillScriptExecutionResult?)

Section titled “ operator ==(SkillScriptExecutionResult?, SkillScriptExecutionResult?)”
public static bool operator ==(SkillScriptExecutionResult? left, SkillScriptExecutionResult? right)

left SkillScriptExecutionResult?

right SkillScriptExecutionResult?

bool

operator !=(SkillScriptExecutionResult?, SkillScriptExecutionResult?)

Section titled “ operator !=(SkillScriptExecutionResult?, SkillScriptExecutionResult?)”
public static bool operator !=(SkillScriptExecutionResult? left, SkillScriptExecutionResult? right)

left SkillScriptExecutionResult?

right SkillScriptExecutionResult?

bool