Add PromptKit request validation adapter

This commit is contained in:
2026-10-12 22:13:16 +00:00
parent 1c542505b7
commit 7fc5423688
4 changed files with 193 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
package ckprompt
import (
"gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig"
promptkit "gitea.maximumdirect.net/eric/promptkit"
)
// ValidationRequest carries the configuration selection and concrete
// PromptKit request to validate.
type ValidationRequest struct {
// Selection identifies the configuration sources used to load the engine.
Selection ckconfig.Selection
// Request is the seed request, or the request returned by a validation
// builder when one is configured.
Request promptkit.RunRequest
}