team

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Member

type Member struct {
	AgentID   string `json:"agentId"`
	Name      string `json:"name"`
	AgentType string `json:"agentType"`
	Model     string `json:"model"`
}

Member represents a single agent in a team.

type TeamConfig

type TeamConfig struct {
	Name        string   `json:"name"`
	Description string   `json:"description"`
	Members     []Member `json:"members"`
}

TeamConfig represents a Claude Code team configuration.

func ListTeams

func ListTeams(teamsDir string) ([]TeamConfig, error)

ListTeams reads all team configs from subdirectories of teamsDir. Each subdirectory is expected to contain a config.json file.

func ListTeamsDefault

func ListTeamsDefault() ([]TeamConfig, error)

ListTeamsDefault reads all team configs from ~/.claude/teams/.

func ReadTeamConfig

func ReadTeamConfig(path string) (TeamConfig, error)

ReadTeamConfig reads and parses a team config from the given file path.

Jump to

Keyboard shortcuts

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