Documentation
¶
Overview ¶
Package commitworkflow owns the read-only agent phases for native commits.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildRunMetadata ¶
type ChildRunMetadata struct {
RunID string `json:"run_id"`
ChildSessionID string `json:"child_session_id,omitempty"`
AgentName string `json:"agent_name"`
AgentSource string `json:"agent_source,omitempty"`
Provider string `json:"provider,omitempty"`
Model string `json:"model,omitempty"`
StartedAt time.Time `json:"started_at"`
CompletedAt time.Time `json:"completed_at"`
}
type Coordinator ¶
type Coordinator struct{}
func New ¶
func New() *Coordinator
func (*Coordinator) DraftMessage ¶
func (c *Coordinator) DraftMessage(ctx context.Context, req Request) (string, ChildRunMetadata, error)
func (*Coordinator) PlanScope ¶
func (c *Coordinator) PlanScope(ctx context.Context, req Request) (ScopeProposal, ChildRunMetadata, error)
type Request ¶
type Request struct {
ParentSessionID string
CheckoutDir string
AgentName string
Intent string
ScopeSummary string
ExpectedFingerprint gitcommit.Fingerprint
ExpectedStatusToken string
Runner runpkg.ChildRunner
Progress runpkg.ChildRunEventCallback
}
type ScopeProposal ¶
Click to show internal directories.
Click to hide internal directories.