Document conversation capture and continuation contracts

This commit is contained in:
2026-11-14 14:26:39 +00:00
parent 5aae5df5fb
commit c23393b2cc
5 changed files with 31 additions and 2 deletions

View File

@@ -15,6 +15,9 @@ const preparedExecutionString = "promptkit.PreparedExecution{opaque}"
// A successful PrepareExecution may retain an Observer function in this
// handle's private payload. The callback and other private execution settings
// are cleared on claim completion or Discard. Details never exposes them.
// It also retains RunRequest.CaptureExchange and RunRequest.ContinueFrom for
// execution of the frozen snapshot. Only RunPrepared can produce its completed
// [Exchange]; preparation alone does not.
type PreparedExecution struct {
internal *usecase.PreparedExecution
}