Skip to content

rulvar API reference


rulvar API reference / @rulvar/core / Artifact

Interface: Artifact

Defined in: packages/core/src/runtime/agent-loop.ts:66

Artifact: the normative shape of AgentResult.artifacts entries.

Properties

PropertyTypeDescriptionDefined in
data?JsonInline JSON content for small values.packages/core/src/runtime/agent-loop.ts:78
files?string[]Changed-file list (kind 'patch': worktree collect()).packages/core/src/runtime/agent-loop.ts:74
idstringStable within the result.packages/core/src/runtime/agent-loop.ts:68
kind"text" | "file" | "patch" | "json"Closed in v1.packages/core/src/runtime/agent-loop.ts:70
label?stringTelemetry only.packages/core/src/runtime/agent-loop.ts:72
ref?stringTranscriptStore blob ref for offloaded content.packages/core/src/runtime/agent-loop.ts:76