Versions in this module Expand all Collapse all v0 v0.2.0 Aug 17, 2026 Changes in this version + const FileContent + const FileHTML + const FileManifest + const FileMarkdown + const LatentNotice + const MediaDir + const SafetyNotice + func BlocksMarkdown(g *graph.Graph, blocks []graph.Block, opt MarkdownOptions) string + func HTML(g *graph.Graph) string + func LatentMarkdown(g *graph.Graph, ids []string) string + func LoadGraph(dir string) (*graph.Graph, error) + func Markdown(g *graph.Graph, opt MarkdownOptions) string + func MediaFilename(id, src string) string + func SectionMarkdown(g *graph.Graph, sectionID string, opt MarkdownOptions) string + type Artifact struct + Dir string + Files []File + func Build(g *graph.Graph) (*Artifact, error) + func (a *Artifact) AddMedia(name string, body []byte) + func (a *Artifact) SortedNames() []string + func (a *Artifact) TotalBytes() int64 + func (a *Artifact) Write(dir string) error + type File struct + Bytes []byte + Name string + type Manifest struct + Audit graph.Audit + ContentHash string + Counts ManifestCounts + DistilledAt time.Time + FinalURL string + Gaps []graph.Gap + Guidance string + Lang string + Outcome graph.Outcome + Provenance graph.Provenance + SchemaVersion string + Sections []ManifestSection + Stats *graph.Stats + Summary string + Title string + URL string + func BuildManifest(g *graph.Graph) Manifest + func (m Manifest) ForAgent() Manifest + type ManifestCounts struct + Actions int + Blocks int + Forms int + Latent int + Links int + Media int + TotalTokens int + type ManifestSection struct + Blocks int + Chars int + FirstBlock string + ID string + LastBlock string + Level int + Title string + Tokens int + type MarkdownOptions struct + Actions bool + Audit bool + BlockIDs bool + FrontMatter bool + Gaps bool + Navigation bool + Notes bool + Provenance bool + SafetyPreamble bool + Strict bool + Structured bool + func CompactMarkdownOptions() MarkdownOptions + func DefaultMarkdownOptions() MarkdownOptions