agents

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent interface {
	Name() string
	UserSkillsDir(home string) string
	ProjectSkillsDir(root string) string
	ConfigPath(homeDir string) string
	Detected(homeDir string) bool
}

Agent represents an AI coding agent installed on the host machine.

func Detect

func Detect() []Agent

Detect returns all agents found using the real home directory.

func DetectIn

func DetectIn(homeDir string) []Agent

DetectIn checks all known agents against homeDir and returns the ones detected.

type ClaudeCode

type ClaudeCode struct{}

ClaudeCode represents the Claude Code agent by Anthropic.

func (*ClaudeCode) ConfigPath

func (c *ClaudeCode) ConfigPath(home string) string

func (*ClaudeCode) Detected

func (c *ClaudeCode) Detected(home string) bool

func (*ClaudeCode) Name

func (c *ClaudeCode) Name() string

func (*ClaudeCode) ProjectSkillsDir added in v0.4.0

func (c *ClaudeCode) ProjectSkillsDir(root string) string

func (*ClaudeCode) UserSkillsDir added in v0.4.0

func (c *ClaudeCode) UserSkillsDir(home string) string

type Codex

type Codex struct{}

Codex represents the OpenAI Codex CLI agent.

func (*Codex) ConfigPath

func (c *Codex) ConfigPath(home string) string

func (*Codex) Detected

func (c *Codex) Detected(home string) bool

func (*Codex) Name

func (c *Codex) Name() string

func (*Codex) ProjectSkillsDir added in v0.4.0

func (c *Codex) ProjectSkillsDir(root string) string

func (*Codex) UserSkillsDir added in v0.4.0

func (c *Codex) UserSkillsDir(home string) string

type Cursor

type Cursor struct{}

Cursor represents the Cursor IDE agent.

func (*Cursor) ConfigPath

func (c *Cursor) ConfigPath(home string) string

func (*Cursor) Detected

func (c *Cursor) Detected(home string) bool

func (*Cursor) Name

func (c *Cursor) Name() string

func (*Cursor) ProjectSkillsDir added in v0.4.0

func (c *Cursor) ProjectSkillsDir(root string) string

func (*Cursor) UserSkillsDir added in v0.4.0

func (c *Cursor) UserSkillsDir(home string) string

type OpenCode

type OpenCode struct{}

OpenCode represents the OpenCode AI coding agent.

func (*OpenCode) ConfigPath

func (o *OpenCode) ConfigPath(home string) string

func (*OpenCode) Detected

func (o *OpenCode) Detected(home string) bool

func (*OpenCode) Name

func (o *OpenCode) Name() string

func (*OpenCode) ProjectSkillsDir added in v0.4.0

func (o *OpenCode) ProjectSkillsDir(root string) string

func (*OpenCode) UserSkillsDir added in v0.4.0

func (o *OpenCode) UserSkillsDir(home string) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL