@brainst0rm/config
v0.13.0
Published
TOML config loader with Zod schemas and BRAINSTORM.md parser
Maintainers
Readme
@brainst0rm/config
Layered configuration with Zod validation. Loads and merges config from defaults, global TOML, project TOML, and environment variables.
Key Exports
loadConfig()— Load and merge all config layersloadProjectContext()— Parse BRAINSTORM.md frontmatter + bodybrainstormConfigSchema— Zod schema for full config validationloadStormFile()— Load a BRAINSTORM.md fileloadHierarchicalStormFiles()— Load parent + child BRAINSTORM.md files
Config Resolution
defaults → ~/.brainstorm/config.toml → ./brainstorm.toml → env vars