package models import ( "io" "time" ) type Spell struct { Id int Name string Spell string ShortDesc string Description string Tags []string } type SpellCast struct { Spell Spell Args map[string]string Stdin io.Reader Stdout io.Writer Stderr io.Writer } type CastResult struct { ExitCode int Err error Duration time.Duration Meta map[string]any } type SearchQuery struct { Text string Name string Description string Command string Tags []string Cursor int Limit int }