Skip to main content

Module artifacts

Module artifacts 

Source
Expand description

Artifact tokens (architecture.md §8) + on-disk path resolution.

Seven default tokens identify the artifacts a fetch can produce, plus Storage (default-off, sensitive-data risk). Each maps to a fixed filename; the response JSON references them as absolute paths under --out/<request_id>/.

Structs§

ArtifactPaths
Concrete on-disk locations for a single fetch. Built from --out (or the default ./afhttp-out/) plus the request id.

Enums§

Artifact
Artifact kinds. Body is the only one HTTP-only fetches produce; the others all require a browser. Storage is default-off due to sensitive-data risk — agents must request it explicitly via --want. Per-artifact warnings (§8 last ¶) are emitted when a backend lacks the capability rather than failing the fetch.