artifact.capture¶
Capture file changes with enhanced metadata for LLM agents
Properties¶
| Property | Type | Required | Description |
|---|---|---|---|
capture_content |
boolean | No | Capture full file content before/after |
embed_plan |
boolean | No | Embed full plan in artifact for LLM context |
format |
string | No | Output format (allowed: json, markdown, both) |
include_checksums |
boolean | No | Include SHA256 checksums |
max_diff_size |
integer | No | Maximum diff size in bytes per file |
max_plan_steps |
integer | No | Don't embed plan if exceeds this many steps |
name |
string | Yes | Name of the artifact (used for output directory) |
output_dir |
string | No | Base directory for artifacts (default: './artifacts') |
steps |
array | Yes | Steps to execute while capturing changes |
Platform Support¶
linux, darwin, windows, freebsd