Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentIdentityYamlRepresentation ¶
type AgentIdentityYamlRepresentation struct {
Name string `yaml:"name"`
ID string `yaml:"id"`
Version string `yaml:"version"`
Description string `yaml:"description"`
Role string `yaml:"role"`
Goal string `yaml:"goal"`
Icon string `yaml:"icon"`
}
AgentIdentityYamlRepresentation represents the identity section of an agent YAML.
type AgentYamlRepresentation ¶
type AgentYamlRepresentation struct {
Agent struct {
Identity AgentIdentityYamlRepresentation `yaml:"identity"`
Tasks []string `yaml:"tasks"`
} `yaml:"agent"`
}
AgentYamlRepresentation represents the structure of an agent YAML file.
func UnmarshalAgentFile ¶
func UnmarshalAgentFile(filePath string) (*AgentYamlRepresentation, error)
func UnmarshalAgentFileFromFS ¶
func UnmarshalAgentFileFromFS(fs FileReader, filePath string) (*AgentYamlRepresentation, error)
UnmarshalAgentFileFromFS unmarshals an agent file using a FileReader interface
type FileReader ¶
FileReader interface for abstracting file reading operations
type TaskDependenciesYamlRepresentation ¶
type TaskDependenciesYamlRepresentation struct {
Dependencies struct {
Templates []string `yaml:"templates"`
DataFiles []string `yaml:"data"`
Tasks []string `yaml:"tasks"`
McpServers []string `yaml:"mcp_servers"`
} `yaml:"dependencies"`
}
func UnmarshalTaskDependenciesFile ¶
func UnmarshalTaskDependenciesFile(filePath string) (*TaskDependenciesYamlRepresentation, error)
func UnmarshalTaskDependenciesFileFromFS ¶
func UnmarshalTaskDependenciesFileFromFS(fs FileReader, filePath string) (*TaskDependenciesYamlRepresentation, error)
UnmarshalTaskDependenciesFileFromFS unmarshals task dependencies from a file using a FileReader interface
Click to show internal directories.
Click to hide internal directories.