claude

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package claude provides the Claude Code team adapter for self-directed workflows.

Index

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

func (a *Adapter) FileExtension() string

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) Marshal

func (a *Adapter) Marshal(team *core.Team) ([]byte, error)

Marshal converts canonical Team to Claude team Markdown bytes.

func (*Adapter) MarshalWithSpec

func (a *Adapter) MarshalWithSpec(team *core.Team, specTeam *multiagentspec.Team) ([]byte, error)

MarshalWithSpec converts a Team with multi-agent-spec Team to Claude team Markdown.

func (*Adapter) Name

func (a *Adapter) Name() string

Name returns the adapter identifier.

func (*Adapter) Parse

func (a *Adapter) Parse(data []byte) (*core.Team, error)

Parse converts Claude team Markdown bytes to canonical Team. Note: Claude Code team files are typically generated, not parsed.

func (*Adapter) ReadFile

func (a *Adapter) ReadFile(path string) (*core.Team, error)

ReadFile reads a Claude team file and returns canonical Team. Note: Claude Code team files are typically generated, not parsed.

func (*Adapter) WriteFile

func (a *Adapter) WriteFile(team *core.Team, path string) error

WriteFile writes canonical Team to a Claude team Markdown file.

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.

Jump to

Keyboard shortcuts

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