Files
aicli/input/types.go
Jay 1936f055e2
All checks were successful
Release / release (push) Successful in 3m17s
Refactored, added comprehensive testing.
2025-10-26 23:23:43 -04:00

28 lines
612 B
Go

package input
// StdinRole determines how stdin content participates in the query
type StdinRole int
const (
// StdinAsPrompt: stdin becomes the entire prompt (replaces other prompts)
StdinAsPrompt StdinRole = iota
// StdinAsPrefixedContent: stdin appends after explicit prompts
StdinAsPrefixedContent
// StdinAsFile: stdin becomes first file in files array
StdinAsFile
)
// FileData represents a single input file
type FileData struct {
Path string
Content string
}
// InputData holds all resolved input streams after aggregation
type InputData struct {
Prompts []string
Files []FileData
}