// Package daemon provides the headless (daemon) mode reporter for the scan
// engine. It implements engine.ProgressReporter and writes JSONL findings to
// an io.Writer (typically os.Stdout).
package daemon

// FindingEvent is the JSONL output format for daemon mode.
// Each finding is written as one JSON object per line.
type FindingEvent struct {
	Domain    string   `json:"domain"`
	Path      string   `json:"path"`
	Type      string   `json:"type"`
	Timestamp string   `json:"timestamp"`
	Status    int      `json:"status_code"`
	Patterns  []string `json:"patterns,omitempty"`
}
