Skip to content

rulvar API reference


rulvar API reference / @rulvar/rulvar / AgentResult

Interface: AgentResult<T>

Defined in: packages/core/dist/index.d.ts

Type Parameters

Type Parameter
T

Properties

PropertyTypeDescriptionDefined in
abortClass?"no-progress"The dedicated first-class abort class (M3-T08): present on the engine-decided no-progress abort (status 'limit'), never on user cancellation or ordinary cap hits.packages/core/dist/index.d.ts
artifacts?Artifact[]-packages/core/dist/index.d.ts
costUsdnumber-packages/core/dist/index.d.ts
error?AgentError-packages/core/dist/index.d.ts
errorMessage?stringHuman-readable detail behind error (provider message, first schema issue): feeds the journaled WireError message. An additive field; never part of identity.packages/core/dist/index.d.ts
escalation?EscalationReportPresent if and only if status === 'escalated'.packages/core/dist/index.d.ts
escalationRequest?EscalationRequestEngine-internal: the accepted escalate request before the runtime fills costToDate and salvage into the full report. The ctx layer consumes and removes it; consumers read escalation.packages/core/dist/index.d.ts
outputT | null-packages/core/dist/index.d.ts
servedBy`${string}:${string}`The model that actually served the loop phase at the end (M4-T04): differs from the requested spec only under transport failover.packages/core/dist/index.d.ts
statusAgentStatus-packages/core/dist/index.d.ts
transcriptRefstring-packages/core/dist/index.d.ts
turnsnumber-packages/core/dist/index.d.ts
usageUsage-packages/core/dist/index.d.ts