Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / Artifact

Interface: Artifact

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

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:108
files?string[]Changed-file list (kind 'patch': worktree collect()).packages/core/src/runtime/agent-loop.ts:104
idstringStable within the result.packages/core/src/runtime/agent-loop.ts:98
kind"text" | "file" | "patch" | "json"Closed in v1.packages/core/src/runtime/agent-loop.ts:100
label?stringTelemetry only.packages/core/src/runtime/agent-loop.ts:102
ref?stringTranscriptStore blob ref for offloaded content.packages/core/src/runtime/agent-loop.ts:106