diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-19 16:09:20 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-19 16:09:20 -0500 |
| commit | 37d6503342ef9e171fef88960f7baceaa4d1a641 (patch) | |
| tree | e8e4c93f6dc5bd982e1fa6b3a2c88125844b2669 /Biz/Storybook.nix | |
| parent | 826f97707da555b60e210182859ec83d995b9817 (diff) | |
Add prompt templating system with mustache
- Add promptsDir to Paths.hs for $AVA_DATA_ROOT/prompts/
- Create Omni.Agent.Prompts module with:
- Mustache template loading and rendering
- Automatic partial resolution via automaticCompile
- Frontmatter/metadata parsing for list command
- Create omni-agent-prompt CLI for previewing prompts:
- list: show all available prompts
- render: render prompt with --var and --json context
- Prompts use .mustache extension for automaticCompile compatibility
- Partials referenced with full extension: {{> shared/memory.mustache}}
Diffstat (limited to 'Biz/Storybook.nix')
0 files changed, 0 insertions, 0 deletions
