Refactored, added comprehensive testing.
All checks were successful
Release / release (push) Successful in 3m17s

This commit is contained in:
Jay
2025-10-26 23:23:43 -04:00
parent ec32b75267
commit 1936f055e2
61 changed files with 4678 additions and 769 deletions

27
input/types.go Normal file
View File

@@ -0,0 +1,27 @@
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
}