Documentation
¶
Overview ¶
Package claude provides the Claude Code team adapter for self-directed workflows.
Index ¶
- type Adapter
- func (a *Adapter) FileExtension() string
- func (a *Adapter) GenerateTeamDir(team *core.Team, specTeam *multiagentspec.Team, agents []*multiagentspec.Agent, ...) error
- func (a *Adapter) Marshal(team *core.Team) ([]byte, error)
- func (a *Adapter) MarshalWithSpec(team *core.Team, specTeam *multiagentspec.Team) ([]byte, error)
- func (a *Adapter) Name() string
- func (a *Adapter) Parse(data []byte) (*core.Team, error)
- func (a *Adapter) ReadFile(path string) (*core.Team, error)
- func (a *Adapter) WriteFile(team *core.Team, path string) error
- func (a *Adapter) WriteFileWithSpec(team *core.Team, specTeam *multiagentspec.Team, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct{}
Adapter converts team definitions to Claude Code team format.
func (*Adapter) FileExtension ¶
FileExtension returns the file extension for Claude team files.
func (*Adapter) GenerateTeamDir ¶
func (a *Adapter) GenerateTeamDir( team *core.Team, specTeam *multiagentspec.Team, agents []*multiagentspec.Agent, outputDir string, ) error
GenerateTeamDir generates a complete Claude Code team directory. This includes the team orchestration file and agent files with role information.
func (*Adapter) MarshalWithSpec ¶
MarshalWithSpec converts a Team with multi-agent-spec Team to Claude team Markdown.
func (*Adapter) Parse ¶
Parse converts Claude team Markdown bytes to canonical Team. Note: Claude Code team files are typically generated, not parsed.
func (*Adapter) ReadFile ¶
ReadFile reads a Claude team file and returns canonical Team. Note: Claude Code team files are typically generated, not parsed.
func (*Adapter) WriteFileWithSpec ¶
func (a *Adapter) WriteFileWithSpec(team *core.Team, specTeam *multiagentspec.Team, path string) error
WriteFileWithSpec writes a Team with multi-agent-spec Team to a Claude team file.