Documentation
¶
Index ¶
- func AppendCwdAgentsContext(basePrompt, agentsText string) string
- func AppendCwdAgentsPathInstruction(basePrompt, agentsPath string) string
- func BuildSystemPrompt(basePrompt, cwdAgents string, availableSkills, selectedSkills []SkillContext, ...) string
- func BuildSystemPromptWithCwdAgentsPath(basePrompt, cwdAgentsPath string, ...) string
- func ExpandPlatformVariables(prompt, platform string) string
- func ExpandVariables(prompt string, vars Variables) string
- func ExtractMarkdownBody(content string) string
- func LoadMarkdownBody(path string) (string, error)
- func ReadCwdAgentsContext(cwd string) (string, error)
- func ResolveCwdAgentsPath(cwd string) (string, error)
- type SkillContext
- type Variables
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendCwdAgentsContext ¶
func BuildSystemPrompt ¶
func BuildSystemPrompt(basePrompt, cwdAgents string, availableSkills, selectedSkills []SkillContext, selectedSkillContext map[string]any) string
func BuildSystemPromptWithCwdAgentsPath ¶
func BuildSystemPromptWithCwdAgentsPath(basePrompt, cwdAgentsPath string, availableSkills, selectedSkills []SkillContext, selectedSkillContext map[string]any) string
func ExpandPlatformVariables ¶
func ExpandVariables ¶
func ExtractMarkdownBody ¶
func LoadMarkdownBody ¶
func ReadCwdAgentsContext ¶
func ResolveCwdAgentsPath ¶
Types ¶
type SkillContext ¶
Click to show internal directories.
Click to hide internal directories.