Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Definition ¶ added in v0.12.2
type Definition struct {
Name string
Description string
Instructions string
Access string
Model string
}
Definition is a user-provided agent type: a markdown file whose frontmatter names the agent and whose body becomes its instructions. Access is an abstract tool policy ("read-only", "verify", "all"), never a tool list, and Model is an optional default role ("plan", "utility").
func Discover ¶ added in v0.12.2
func Discover(workDir string) []Definition
Discover loads agent definitions from the project and the user's home directory; the first definition of a name wins, so project files override personal ones.
func ParseDefinition ¶ added in v0.12.2
func ParseDefinition(data string) (Definition, error)
Click to show internal directories.
Click to hide internal directories.