Add HTTP and OpenAI integration documentation and rewrite Narratio contract

This commit is contained in:
2026-05-26 03:31:01 +00:00
parent 359e910572
commit 5830fda516
6 changed files with 372 additions and 272 deletions

View File

@@ -18,6 +18,11 @@ go run ./cmd/scriptorium render \
- `scriptorium render`: prepare prompt only; write prepared-run output as `text` or `json`.
- `scriptorium serve`: start the HTTP server.
Integration references:
- HTTP contract: `docs/integrations/http-api.md`
- Narratio subprocess contract: `docs/integrations/narratio.md`
## Common Argument Rules
- `--config` is supported by `run`, `render`, and `serve`.