wyuc 9556a035b1
feat(generation): move outline generation into the package (#1065)
Part B of #1057. Outline primitives, buildOutlinePrompt (single-source prompt construction with golden snapshots), logger injection, JSON repair, and the bare-Node second-consumer smoke script with CI coverage. Shim-first: no app-side behavior changes; duplicated prompt assets guarded by a CI parity check until Part D.
2026-08-05 23:29:36 -04:00
..

@openmaic/generation

Pure generation pipeline contracts and packaged prompt assets for MAIC consumers.

AICallFn is the package's model seam: callers provide a function that accepts system and user prompts and returns model output. The package does not select a provider, read environment configuration, or own persistence.

Prompt templates and their referenced snippets ship as readable Markdown assets under templates/ and snippets/. The loader resolves them relative to the installed package, so it works from both source tests and compiled output.