rulvar API reference / @rulvar/rulvar / AgentResult
Interface: AgentResult<T>
Defined in: packages/core/dist/index.d.ts
Type Parameters
| Type Parameter |
|---|
T |
Properties
| Property | Type | Description | Defined 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 |
costUsd | number | - | packages/core/dist/index.d.ts |
error? | AgentError | - | packages/core/dist/index.d.ts |
errorMessage? | string | Human-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? | EscalationReport | Present if and only if status === 'escalated'. | packages/core/dist/index.d.ts |
escalationRequest? | EscalationRequest | Engine-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 |
output | T | 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 |
status | AgentStatus | - | packages/core/dist/index.d.ts |
transcriptRef | string | - | packages/core/dist/index.d.ts |
turns | number | - | packages/core/dist/index.d.ts |
usage | Usage | - | packages/core/dist/index.d.ts |