Skip to main content

Module entry

Module entry 

Source
Expand description

Entry parsing and representation.

A .weaver file consists of YAML frontmatter delimited by --- lines followed by a weaver-lang template body:

---
id: dark_forest
name: Dark Forest Description
keywords: ["dark forest", "shadowed path"]
slot: context
fallback: [foundation]
priority: 100
---
The dark forest looms ahead...

Structsยง

Entry
A single lorebook entry: metadata + compiled template.
EntryMeta
Structured metadata parsed from the YAML frontmatter.