Versions in this module Expand all Collapse all v0 v0.14.0 Jan 2, 2026 Changes in this version + type FactResponse struct + Fact *types.Fact + type FactsIndexResponse struct + Count int + Facts []types.Fact + Stats FactsStats + type FactsStats struct + MaxFacts int + TotalFacts int + type FilesIndexResponse struct + Index *types.FileIndex + type FilesQueryParams struct + Category string + Days int + Entity string + Limit int + Q string + Tag string + Topic string + type FilesQueryResponse struct + Count int + Files []graph.SearchResult + Query FilesQueryParams type HealthSnapshot + SemanticEnabled bool + SemanticModel string + SemanticProvider string type RebuildHandler + RebuildWithSync func(sync bool) error v0.13.0 Dec 10, 2025 Changes in this version + type APIError struct + Code string + Details string + Error string + type EntitySearchResponse struct + Count int + Results []graph.SearchResult + type FileMetadataResponse struct + File *types.FileEntry + type HTTPServer struct + func NewHTTPServer(hub *SSEHub, metrics HealthMetricsProvider, graphManager *graph.Manager, ...) *HTTPServer + func (s *HTTPServer) GetIndex(ctx context.Context) (*types.GraphIndex, error) + func (s *HTTPServer) SetRebuildHandler(handler RebuildHandler) + func (s *HTTPServer) Start(port int) error + func (s *HTTPServer) Stop() error + type HealthMetricsProvider interface + GetSnapshot func() HealthSnapshot + type HealthSnapshot struct + APICalls int + CacheHits int + CacheLegacyEntries int + CacheTotalEntries int + CacheTotalSize int64 + CacheVersion string + Errors int + FilesProcessed int + IndexFileCount int + LastBuildSuccess bool + LastBuildTime time.Time + StartTime time.Time + Uptime string + UptimeSeconds float64 + WatcherActive bool + type IndexProvider interface + GetIndex func(ctx context.Context) (*types.GraphIndex, error) + type IndexResponse struct + Index *types.GraphIndex + type RebuildHandler interface + ClearGraph func() error + IsRebuilding func() bool + Rebuild func() error + type RebuildResponse struct + Message string + Status string + type RecentFilesResponse struct + Count int + Files []graph.SearchResult + type RelatedFilesResponse struct + Count int + Files []graph.RelatedFile + type SSEClient struct + type SSEEvent struct + Data *types.GraphIndex + Timestamp string + Type string + type SSEHub struct + func NewSSEHub(logger *slog.Logger) *SSEHub + func (h *SSEHub) BroadcastIndexUpdate() + func (h *SSEHub) ClientCount() int + func (h *SSEHub) HandleSSE(w http.ResponseWriter, r *http.Request) + func (h *SSEHub) SetIndexProvider(provider IndexProvider) + type SearchRequest struct + Category string + Limit int + Query string + type SearchResponse struct + Count int + Results []graph.SearchResult