Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler processes GitHub webhook events.
func New ¶
func New(webhookSecret string, sourceRepo string, s *store.Store, l llm.Provider, g *gh.Client, logger *slog.Logger, ctx context.Context, shadowRepos map[string]string, mirrorSvc *mirror.Service) *Handler
New creates a new webhook Handler. sourceRepo overrides the repo used for data lookups (vector searches). If empty, the webhook repo is used. ctx is used as the parent context for background triage goroutines. shadowRepos maps source repos to their shadow repos for triage review and agent sessions.