Documentation
¶
Index ¶
- type Agent
- type Claude
- func (c *Claude) CommandPath(userScope bool) string
- func (c *Claude) FormatCommand(commands []model.Command) (string, error)
- func (c *Claude) FormatFile(path string) string
- func (c *Claude) FormatMCP(agent, command string, args ...string) string
- func (c *Claude) FormatMemory(content string) (string, error)
- func (c *Claude) ID() string
- func (c *Claude) MemoryPath(userScope bool) string
- func (c *Claude) Name() string
- type Cline
- func (c *Cline) CommandPath(userScope bool) string
- func (c *Cline) FormatCommand(commands []model.Command) (string, error)
- func (c *Cline) FormatFile(path string) string
- func (c *Cline) FormatMCP(agent, command string, args ...string) string
- func (c *Cline) FormatMemory(content string) (string, error)
- func (c *Cline) ID() string
- func (c *Cline) MemoryPath(userScope bool) string
- func (c *Cline) Name() string
- type Copilot
- func (c *Copilot) CommandPath(userScope bool) string
- func (c *Copilot) DefaultCommandPath(outputBaseDir string, userScope bool, fileName string) (string, error)
- func (c *Copilot) DefaultMemoryPath(outputBaseDir string, userScope bool, fileName string) (string, error)
- func (c *Copilot) FormatCommand(commands []model.Command) (string, error)
- func (c *Copilot) FormatFile(path string) string
- func (c *Copilot) FormatMCP(agent, command string, args ...string) string
- func (c *Copilot) FormatMemory(content string) (string, error)
- func (c *Copilot) ID() string
- func (c *Copilot) MemoryPath(userScope bool) string
- func (c *Copilot) Name() string
- func (c *Copilot) ShouldConcatenate(taskType string) bool
- type Registry
- type Roo
- func (r *Roo) CommandPath(userScope bool) string
- func (r *Roo) FormatCommand(commands []model.Command) (string, error)
- func (r *Roo) FormatFile(path string) string
- func (r *Roo) FormatMCP(agent, command string, args ...string) string
- func (r *Roo) FormatMemory(content string) (string, error)
- func (r *Roo) ID() string
- func (r *Roo) MemoryPath(userScope bool) string
- func (r *Roo) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent interface {
// Name returns the name of the agent
Name() string
// ID returns the unique identifier of the agent
ID() string
// FormatFile converts a file reference for this agent's format
FormatFile(path string) string
// FormatMCP formats an MCP command for this agent
FormatMCP(agent, command string, args ...string) string
// FormatMemory processes a memory context for this agent
FormatMemory(content string) (string, error)
// FormatCommand processes a command definition for this agent
FormatCommand(commands []model.Command) (string, error)
// MemoryPath returns the default path for memory files based on user scope
MemoryPath(userScope bool) string
// CommandPath returns the default path for command files based on user scope
CommandPath(userScope bool) string
}
Agent represents a target AI agent that has specific format requirements
type Claude ¶
type Claude struct{}
Claude implements the Claude-specific conversion logic
func (*Claude) CommandPath ¶
CommandPath returns the default path for Claude agent command files
func (*Claude) FormatCommand ¶
FormatCommand processes command definitions for Claude agent
func (*Claude) FormatFile ¶
FormatFile converts a path to Claude's file reference format
func (*Claude) FormatMemory ¶
FormatMemory processes a memory context for Claude agent
func (*Claude) MemoryPath ¶
MemoryPath returns the default path for Claude agent memory files
type Cline ¶
type Cline struct{}
Cline implements the Cline-specific conversion logic
func (*Cline) CommandPath ¶
CommandPath returns the default path for Cline agent command files
func (*Cline) FormatCommand ¶
FormatCommand processes command (workflow) definitions for Cline agent
func (*Cline) FormatFile ¶
FormatFile converts a path to Cline's file reference format
func (*Cline) FormatMemory ¶
FormatMemory processes a memory context for Cline agent
func (*Cline) MemoryPath ¶
MemoryPath returns the default path for Cline agent memory files
type Copilot ¶
type Copilot struct{}
Copilot implements the Copilot-specific conversion logic
func (*Copilot) CommandPath ¶
CommandPath returns the default path for Copilot agent command files
func (*Copilot) DefaultCommandPath ¶
func (c *Copilot) DefaultCommandPath(outputBaseDir string, userScope bool, fileName string) (string, error)
DefaultCommandPath determines the default output path for command tasks
func (*Copilot) DefaultMemoryPath ¶
func (c *Copilot) DefaultMemoryPath(outputBaseDir string, userScope bool, fileName string) (string, error)
DefaultMemoryPath determines the default output path for memory tasks
func (*Copilot) FormatCommand ¶
FormatCommand processes command definitions for Copilot agent
func (*Copilot) FormatFile ¶
FormatFile converts a path to Copilot's file reference format
func (*Copilot) FormatMemory ¶
FormatMemory processes a memory context for Copilot agent
func (*Copilot) MemoryPath ¶
MemoryPath returns the default path for Copilot agent memory files
func (*Copilot) ShouldConcatenate ¶
ShouldConcatenate determines whether content should be concatenated
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry maintains a registry of available agents
func (*Registry) RegisterDefaults ¶
func (r *Registry) RegisterDefaults()
RegisterDefaults registers all default agents
type Roo ¶
type Roo struct{}
Roo implements the Roo-specific conversion logic
func (*Roo) CommandPath ¶
CommandPath returns the default path for Roo agent command files
func (*Roo) FormatCommand ¶
FormatCommand processes command definitions for Roo agent
func (*Roo) FormatFile ¶
FormatFile converts a path to Roo's file reference format
func (*Roo) FormatMemory ¶
FormatMemory processes a memory context for Roo agent
func (*Roo) MemoryPath ¶
MemoryPath returns the default path for Roo agent memory files