Add prepared request preview

This commit is contained in:
2026-11-07 04:19:58 +00:00
parent c3d5f551c3
commit 8e5e64c6e9
9 changed files with 297 additions and 54 deletions

View File

@@ -1,6 +1,6 @@
# Shared reporting and PromptKit v0.20.0 implementation plan
Status: implementation in progress; Stages 1–10 complete.
Status: implementation in progress; Stages 1–11 complete.
## Scope, authority, and execution
@@ -398,6 +398,12 @@ forwarding, JSON object parsing, and builder replacement at the boundary.
## Stage 11: Ordered literal/file inputs and concrete preview
**Complete.** Text and file inputs follow command-line occurrence order, and
prepared-request preview is independently installable. The root, ckconfig, and
ckprompt workspace suites passed with Go 1.27.0; focused tests cover request
forwarding, native results and errors, builder replacement, and no model calls.
Scoped aliases are verified with their installation in Stage 13.
Use `OccurrenceFlag` for named text/file assignments. Split at the first `=`,
preserve literal empty text, construct native `Inline` or `File` references, and
assign into the same `PromptInputs.Inputs` map as occurrences are replayed.