Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrStateNotFound = errors.New("code_army state not found")
Functions ¶
This section is empty.
Types ¶
type HistoryRecord ¶
type Inspector ¶
type Inspector struct {
// contains filtered or unexported fields
}
func NewInspector ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) Run ¶
func (r *Runner) Run(ctx context.Context, req automation.WorkflowRunRequest) (automation.WorkflowRunResult, error)
type StateSnapshot ¶
type StateSnapshot struct {
Workflow string `json:"workflow"`
SessionKey string `json:"session_key,omitempty"`
StateKey string `json:"state_key"`
TaskID string `json:"task_id,omitempty"`
Phase string `json:"phase"`
Iteration int `json:"iteration"`
Objective string `json:"objective"`
ManagerPlan string `json:"manager_plan,omitempty"`
WorkerOutput string `json:"worker_output,omitempty"`
ReviewerReport string `json:"reviewer_report,omitempty"`
LastDecision string `json:"last_decision,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
History []HistoryRecord `json:"history,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.