Documentation
¶
Index ¶
- type Agent
- type ClaudeAgent
- func (a *ClaudeAgent) ConfigPath() string
- func (a *ClaudeAgent) Exists() bool
- func (a *ClaudeAgent) HasContext7() (bool, error)
- func (a *ClaudeAgent) HasPlaywright() (bool, error)
- func (a *ClaudeAgent) HasPlugin(pluginName string) (bool, error)
- func (a *ClaudeAgent) HasSkill(skillName string) (bool, error)
- func (a *ClaudeAgent) InstallContext7() error
- func (a *ClaudeAgent) InstallPlaywright() error
- func (a *ClaudeAgent) InstallPlugin(pluginName, source string) error
- func (a *ClaudeAgent) InstallSkill(skillName, source string) error
- func (a *ClaudeAgent) Name() string
- func (a *ClaudeAgent) RemoveContext7() error
- func (a *ClaudeAgent) RemovePlaywright() error
- func (a *ClaudeAgent) RemovePlugin(pluginName string) error
- func (a *ClaudeAgent) RemoveSkill(skillName string) error
- func (a *ClaudeAgent) SupportsPlugins() bool
- func (a *ClaudeAgent) SupportsSkills() bool
- type CodexAgent
- func (a *CodexAgent) ConfigPath() string
- func (a *CodexAgent) Exists() bool
- func (a *CodexAgent) HasContext7() (bool, error)
- func (a *CodexAgent) HasPlaywright() (bool, error)
- func (a *CodexAgent) HasPlugin(pluginName string) (bool, error)
- func (a *CodexAgent) HasSkill(skillName string) (bool, error)
- func (a *CodexAgent) InstallContext7() error
- func (a *CodexAgent) InstallPlaywright() error
- func (a *CodexAgent) InstallPlugin(pluginName, source string) error
- func (a *CodexAgent) InstallSkill(skillName, source string) error
- func (a *CodexAgent) Name() string
- func (a *CodexAgent) RemoveContext7() error
- func (a *CodexAgent) RemovePlaywright() error
- func (a *CodexAgent) RemovePlugin(pluginName string) error
- func (a *CodexAgent) RemoveSkill(skillName string) error
- func (a *CodexAgent) SupportsPlugins() bool
- func (a *CodexAgent) SupportsSkills() bool
- type CursorAgent
- func (a *CursorAgent) ConfigPath() string
- func (a *CursorAgent) Exists() bool
- func (a *CursorAgent) HasContext7() (bool, error)
- func (a *CursorAgent) HasMCP(name string) (bool, error)
- func (a *CursorAgent) HasPlaywright() (bool, error)
- func (a *CursorAgent) HasPlugin(pluginName string) (bool, error)
- func (a *CursorAgent) HasSkill(skillName string) (bool, error)
- func (a *CursorAgent) InstallContext7() error
- func (a *CursorAgent) InstallMCP(name string, mcpConfig map[string]interface{}) error
- func (a *CursorAgent) InstallPlaywright() error
- func (a *CursorAgent) InstallPlugin(pluginName, source string) error
- func (a *CursorAgent) InstallSkill(skillName, source string) error
- func (a *CursorAgent) Name() string
- func (a *CursorAgent) RemoveContext7() error
- func (a *CursorAgent) RemoveMCP(name string) error
- func (a *CursorAgent) RemovePlaywright() error
- func (a *CursorAgent) RemovePlugin(pluginName string) error
- func (a *CursorAgent) RemoveSkill(skillName string) error
- func (a *CursorAgent) SupportsPlugins() bool
- func (a *CursorAgent) SupportsSkills() bool
- type GeminiAgent
- func (a *GeminiAgent) ConfigPath() string
- func (a *GeminiAgent) Exists() bool
- func (a *GeminiAgent) HasContext7() (bool, error)
- func (a *GeminiAgent) HasPlaywright() (bool, error)
- func (a *GeminiAgent) HasPlugin(pluginName string) (bool, error)
- func (a *GeminiAgent) HasSkill(skillName string) (bool, error)
- func (a *GeminiAgent) InstallContext7() error
- func (a *GeminiAgent) InstallPlaywright() error
- func (a *GeminiAgent) InstallPlugin(pluginName, source string) error
- func (a *GeminiAgent) InstallSkill(skillName, source string) error
- func (a *GeminiAgent) Name() string
- func (a *GeminiAgent) RemoveContext7() error
- func (a *GeminiAgent) RemovePlaywright() error
- func (a *GeminiAgent) RemovePlugin(pluginName string) error
- func (a *GeminiAgent) RemoveSkill(skillName string) error
- func (a *GeminiAgent) SupportsPlugins() bool
- func (a *GeminiAgent) SupportsSkills() bool
- type OpenCodeAgent
- func (a *OpenCodeAgent) ConfigPath() string
- func (a *OpenCodeAgent) Exists() bool
- func (a *OpenCodeAgent) HasContext7() (bool, error)
- func (a *OpenCodeAgent) HasPlaywright() (bool, error)
- func (a *OpenCodeAgent) HasPlugin(pluginName string) (bool, error)
- func (a *OpenCodeAgent) HasSkill(skillName string) (bool, error)
- func (a *OpenCodeAgent) InstallContext7() error
- func (a *OpenCodeAgent) InstallPlaywright() error
- func (a *OpenCodeAgent) InstallPlugin(pluginName, source string) error
- func (a *OpenCodeAgent) InstallSkill(skillName, source string) error
- func (a *OpenCodeAgent) Name() string
- func (a *OpenCodeAgent) RemoveContext7() error
- func (a *OpenCodeAgent) RemovePlaywright() error
- func (a *OpenCodeAgent) RemovePlugin(pluginName string) error
- func (a *OpenCodeAgent) RemoveSkill(skillName string) error
- func (a *OpenCodeAgent) SupportsPlugins() bool
- func (a *OpenCodeAgent) SupportsSkills() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent interface {
// Name returns the display name of the agent
Name() string
// ConfigPath returns the path to the agent's config file
ConfigPath() string
// Exists returns true if the agent's config file exists
Exists() bool
// HasPlaywright checks if Playwright MCP is configured
HasPlaywright() (bool, error)
// InstallPlaywright adds Playwright MCP to the config
InstallPlaywright() error
// RemovePlaywright removes Playwright MCP from the config
RemovePlaywright() error
// HasContext7 checks if Context7 MCP is configured
HasContext7() (bool, error)
// InstallContext7 adds Context7 MCP to the config
InstallContext7() error
// RemoveContext7 removes Context7 MCP from the config
RemoveContext7() error
// SupportsSkills returns true if the agent supports skills
SupportsSkills() bool
// HasSkill checks if a skill is installed
HasSkill(skillName string) (bool, error)
// InstallSkill installs a skill from a source URL
InstallSkill(skillName, source string) error
// RemoveSkill removes a skill by name
RemoveSkill(skillName string) error
// SupportsPlugins returns true if the agent supports plugins
SupportsPlugins() bool
// HasPlugin checks if a plugin is installed
HasPlugin(pluginName string) (bool, error)
// InstallPlugin installs a plugin from a source URL
InstallPlugin(pluginName, source string) error
// RemovePlugin removes a plugin by name
RemovePlugin(pluginName string) error
}
Agent represents an AI coding agent that supports MCP servers
func GetAgentByName ¶
GetAgentByName returns an agent by name (case-insensitive)
type ClaudeAgent ¶
type ClaudeAgent struct {
// contains filtered or unexported fields
}
ClaudeAgent represents Claude Code agent
func NewClaudeAgent ¶
func NewClaudeAgent() *ClaudeAgent
NewClaudeAgent creates a new Claude Code agent
func (*ClaudeAgent) ConfigPath ¶
func (a *ClaudeAgent) ConfigPath() string
func (*ClaudeAgent) Exists ¶
func (a *ClaudeAgent) Exists() bool
func (*ClaudeAgent) HasContext7 ¶
func (a *ClaudeAgent) HasContext7() (bool, error)
func (*ClaudeAgent) HasPlaywright ¶
func (a *ClaudeAgent) HasPlaywright() (bool, error)
func (*ClaudeAgent) InstallContext7 ¶
func (a *ClaudeAgent) InstallContext7() error
func (*ClaudeAgent) InstallPlaywright ¶
func (a *ClaudeAgent) InstallPlaywright() error
func (*ClaudeAgent) InstallPlugin ¶
func (a *ClaudeAgent) InstallPlugin(pluginName, source string) error
func (*ClaudeAgent) InstallSkill ¶
func (a *ClaudeAgent) InstallSkill(skillName, source string) error
func (*ClaudeAgent) Name ¶
func (a *ClaudeAgent) Name() string
func (*ClaudeAgent) RemoveContext7 ¶
func (a *ClaudeAgent) RemoveContext7() error
func (*ClaudeAgent) RemovePlaywright ¶
func (a *ClaudeAgent) RemovePlaywright() error
func (*ClaudeAgent) RemovePlugin ¶
func (a *ClaudeAgent) RemovePlugin(pluginName string) error
func (*ClaudeAgent) RemoveSkill ¶
func (a *ClaudeAgent) RemoveSkill(skillName string) error
func (*ClaudeAgent) SupportsPlugins ¶
func (a *ClaudeAgent) SupportsPlugins() bool
func (*ClaudeAgent) SupportsSkills ¶
func (a *ClaudeAgent) SupportsSkills() bool
type CodexAgent ¶ added in v0.0.6
type CodexAgent struct {
// contains filtered or unexported fields
}
CodexAgent represents Codex CLI agent
func NewCodexAgent ¶ added in v0.0.6
func NewCodexAgent() *CodexAgent
NewCodexAgent creates a new Codex agent
func (*CodexAgent) ConfigPath ¶ added in v0.0.6
func (a *CodexAgent) ConfigPath() string
func (*CodexAgent) Exists ¶ added in v0.0.6
func (a *CodexAgent) Exists() bool
func (*CodexAgent) HasContext7 ¶ added in v0.0.6
func (a *CodexAgent) HasContext7() (bool, error)
func (*CodexAgent) HasPlaywright ¶ added in v0.0.6
func (a *CodexAgent) HasPlaywright() (bool, error)
func (*CodexAgent) HasPlugin ¶ added in v0.0.6
func (a *CodexAgent) HasPlugin(pluginName string) (bool, error)
func (*CodexAgent) HasSkill ¶ added in v0.0.6
func (a *CodexAgent) HasSkill(skillName string) (bool, error)
func (*CodexAgent) InstallContext7 ¶ added in v0.0.6
func (a *CodexAgent) InstallContext7() error
func (*CodexAgent) InstallPlaywright ¶ added in v0.0.6
func (a *CodexAgent) InstallPlaywright() error
func (*CodexAgent) InstallPlugin ¶ added in v0.0.6
func (a *CodexAgent) InstallPlugin(pluginName, source string) error
func (*CodexAgent) InstallSkill ¶ added in v0.0.6
func (a *CodexAgent) InstallSkill(skillName, source string) error
func (*CodexAgent) Name ¶ added in v0.0.6
func (a *CodexAgent) Name() string
func (*CodexAgent) RemoveContext7 ¶ added in v0.0.6
func (a *CodexAgent) RemoveContext7() error
func (*CodexAgent) RemovePlaywright ¶ added in v0.0.6
func (a *CodexAgent) RemovePlaywright() error
func (*CodexAgent) RemovePlugin ¶ added in v0.0.6
func (a *CodexAgent) RemovePlugin(pluginName string) error
func (*CodexAgent) RemoveSkill ¶ added in v0.0.6
func (a *CodexAgent) RemoveSkill(skillName string) error
func (*CodexAgent) SupportsPlugins ¶ added in v0.0.6
func (a *CodexAgent) SupportsPlugins() bool
func (*CodexAgent) SupportsSkills ¶ added in v0.0.6
func (a *CodexAgent) SupportsSkills() bool
type CursorAgent ¶
type CursorAgent struct {
// contains filtered or unexported fields
}
CursorAgent represents Cursor editor agent
func (*CursorAgent) ConfigPath ¶
func (a *CursorAgent) ConfigPath() string
func (*CursorAgent) Exists ¶
func (a *CursorAgent) Exists() bool
func (*CursorAgent) HasContext7 ¶
func (a *CursorAgent) HasContext7() (bool, error)
func (*CursorAgent) HasMCP ¶
func (a *CursorAgent) HasMCP(name string) (bool, error)
HasMCP checks if a specific MCP server is configured
func (*CursorAgent) HasPlaywright ¶
func (a *CursorAgent) HasPlaywright() (bool, error)
func (*CursorAgent) InstallContext7 ¶
func (a *CursorAgent) InstallContext7() error
func (*CursorAgent) InstallMCP ¶
func (a *CursorAgent) InstallMCP(name string, mcpConfig map[string]interface{}) error
InstallMCP adds an MCP server to the config
func (*CursorAgent) InstallPlaywright ¶
func (a *CursorAgent) InstallPlaywright() error
func (*CursorAgent) InstallPlugin ¶
func (a *CursorAgent) InstallPlugin(pluginName, source string) error
func (*CursorAgent) InstallSkill ¶
func (a *CursorAgent) InstallSkill(skillName, source string) error
func (*CursorAgent) Name ¶
func (a *CursorAgent) Name() string
func (*CursorAgent) RemoveContext7 ¶
func (a *CursorAgent) RemoveContext7() error
func (*CursorAgent) RemoveMCP ¶
func (a *CursorAgent) RemoveMCP(name string) error
RemoveMCP removes an MCP server from the config
func (*CursorAgent) RemovePlaywright ¶
func (a *CursorAgent) RemovePlaywright() error
func (*CursorAgent) RemovePlugin ¶
func (a *CursorAgent) RemovePlugin(pluginName string) error
func (*CursorAgent) RemoveSkill ¶
func (a *CursorAgent) RemoveSkill(skillName string) error
func (*CursorAgent) SupportsPlugins ¶
func (a *CursorAgent) SupportsPlugins() bool
func (*CursorAgent) SupportsSkills ¶
func (a *CursorAgent) SupportsSkills() bool
type GeminiAgent ¶
type GeminiAgent struct {
// contains filtered or unexported fields
}
GeminiAgent represents Gemini CLI agent
func NewGeminiAgent ¶
func NewGeminiAgent() *GeminiAgent
NewGeminiAgent creates a new Gemini CLI agent
func (*GeminiAgent) ConfigPath ¶
func (a *GeminiAgent) ConfigPath() string
func (*GeminiAgent) Exists ¶
func (a *GeminiAgent) Exists() bool
func (*GeminiAgent) HasContext7 ¶
func (a *GeminiAgent) HasContext7() (bool, error)
func (*GeminiAgent) HasPlaywright ¶
func (a *GeminiAgent) HasPlaywright() (bool, error)
func (*GeminiAgent) InstallContext7 ¶
func (a *GeminiAgent) InstallContext7() error
func (*GeminiAgent) InstallPlaywright ¶
func (a *GeminiAgent) InstallPlaywright() error
func (*GeminiAgent) InstallPlugin ¶
func (a *GeminiAgent) InstallPlugin(pluginName, source string) error
func (*GeminiAgent) InstallSkill ¶
func (a *GeminiAgent) InstallSkill(skillName, source string) error
func (*GeminiAgent) Name ¶
func (a *GeminiAgent) Name() string
func (*GeminiAgent) RemoveContext7 ¶
func (a *GeminiAgent) RemoveContext7() error
func (*GeminiAgent) RemovePlaywright ¶
func (a *GeminiAgent) RemovePlaywright() error
func (*GeminiAgent) RemovePlugin ¶
func (a *GeminiAgent) RemovePlugin(pluginName string) error
func (*GeminiAgent) RemoveSkill ¶
func (a *GeminiAgent) RemoveSkill(skillName string) error
func (*GeminiAgent) SupportsPlugins ¶
func (a *GeminiAgent) SupportsPlugins() bool
func (*GeminiAgent) SupportsSkills ¶
func (a *GeminiAgent) SupportsSkills() bool
type OpenCodeAgent ¶
type OpenCodeAgent struct {
// contains filtered or unexported fields
}
OpenCodeAgent represents OpenCode agent
func NewOpenCodeAgent ¶
func NewOpenCodeAgent() *OpenCodeAgent
NewOpenCodeAgent creates a new OpenCode agent
func (*OpenCodeAgent) ConfigPath ¶
func (a *OpenCodeAgent) ConfigPath() string
func (*OpenCodeAgent) Exists ¶
func (a *OpenCodeAgent) Exists() bool
func (*OpenCodeAgent) HasContext7 ¶
func (a *OpenCodeAgent) HasContext7() (bool, error)
func (*OpenCodeAgent) HasPlaywright ¶
func (a *OpenCodeAgent) HasPlaywright() (bool, error)
func (*OpenCodeAgent) HasPlugin ¶
func (a *OpenCodeAgent) HasPlugin(pluginName string) (bool, error)
func (*OpenCodeAgent) InstallContext7 ¶
func (a *OpenCodeAgent) InstallContext7() error
func (*OpenCodeAgent) InstallPlaywright ¶
func (a *OpenCodeAgent) InstallPlaywright() error
func (*OpenCodeAgent) InstallPlugin ¶
func (a *OpenCodeAgent) InstallPlugin(pluginName, source string) error
func (*OpenCodeAgent) InstallSkill ¶
func (a *OpenCodeAgent) InstallSkill(skillName, source string) error
func (*OpenCodeAgent) Name ¶
func (a *OpenCodeAgent) Name() string
func (*OpenCodeAgent) RemoveContext7 ¶
func (a *OpenCodeAgent) RemoveContext7() error
func (*OpenCodeAgent) RemovePlaywright ¶
func (a *OpenCodeAgent) RemovePlaywright() error
func (*OpenCodeAgent) RemovePlugin ¶
func (a *OpenCodeAgent) RemovePlugin(pluginName string) error
func (*OpenCodeAgent) RemoveSkill ¶
func (a *OpenCodeAgent) RemoveSkill(skillName string) error
func (*OpenCodeAgent) SupportsPlugins ¶
func (a *OpenCodeAgent) SupportsPlugins() bool
func (*OpenCodeAgent) SupportsSkills ¶
func (a *OpenCodeAgent) SupportsSkills() bool