Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NestedResult ¶
type PhaseAttemptResult ¶
type RunOptions ¶
type RunOptions struct {
WorkDir string
RunID string
EventSink phaseconfig.EventWriter
Config *TeamConfig
MaxRetries int
PhaseAttempt func(ctx context.Context, phase phaseconfig.Phase, attemptNum int, prevSessionID string) (PhaseAttemptResult, error)
NestedRun func(ctx context.Context, configPath string, runType string) (NestedResult, error)
ConfigDir string
}
type TeamConfig ¶
type TeamConfig struct {
Pre []phaseconfig.Phase `json:"pre"`
Team []phaseconfig.Phase `json:"team"`
Post []phaseconfig.Phase `json:"post"`
}
func LoadTeamConfig ¶
func LoadTeamConfig(path string) (*TeamConfig, error)
func (*TeamConfig) InsertInitialPrompt ¶
func (c *TeamConfig) InsertInitialPrompt(prompt string)
func (*TeamConfig) Validate ¶
func (c *TeamConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.