Versions in this module Expand all Collapse all v0 v0.6.2 Feb 11, 2026 Changes in this version + type Client interface + Close func() error + GetConfig func(ctx context.Context) (*RunningConfig, error) + GetEnrichedWorkspaces func(ctx context.Context, opts *enrichment.EnrichmentOptions) ([]*enrichment.EnrichedWorkspace, error) + GetNoteCounts func(ctx context.Context) (map[string]*enrichment.NoteCounts, error) + GetPlanStats func(ctx context.Context) (map[string]*enrichment.PlanStats, error) + GetSessions func(ctx context.Context) ([]*models.Session, error) + GetWorkspaces func(ctx context.Context) ([]*workspace.WorkspaceNode, error) + IsRunning func() bool + Refresh func(ctx context.Context) error + SetFocus func(ctx context.Context, paths []string) error + StreamState func(ctx context.Context) (<-chan StateUpdate, error) + func MustConnect() Client + func New() Client + type LocalClient struct + func NewLocalClient() *LocalClient + func (c *LocalClient) Close() error + func (c *LocalClient) GetConfig(ctx context.Context) (*RunningConfig, error) + func (c *LocalClient) GetEnrichedWorkspaces(ctx context.Context, opts *enrichment.EnrichmentOptions) ([]*enrichment.EnrichedWorkspace, error) + func (c *LocalClient) GetNoteCounts(ctx context.Context) (map[string]*enrichment.NoteCounts, error) + func (c *LocalClient) GetPlanStats(ctx context.Context) (map[string]*enrichment.PlanStats, error) + func (c *LocalClient) GetSessions(ctx context.Context) ([]*models.Session, error) + func (c *LocalClient) GetWorkspaces(ctx context.Context) ([]*workspace.WorkspaceNode, error) + func (c *LocalClient) IsRunning() bool + func (c *LocalClient) Refresh(ctx context.Context) error + func (c *LocalClient) SetFocus(ctx context.Context, paths []string) error + func (c *LocalClient) StreamState(ctx context.Context) (<-chan StateUpdate, error) + type RemoteClient struct + func NewRemoteClient(socketPath string) (*RemoteClient, error) + func (c *RemoteClient) Close() error + func (c *RemoteClient) GetConfig(ctx context.Context) (*RunningConfig, error) + func (c *RemoteClient) GetEnrichedWorkspaces(ctx context.Context, opts *enrichment.EnrichmentOptions) ([]*enrichment.EnrichedWorkspace, error) + func (c *RemoteClient) GetNoteCounts(ctx context.Context) (map[string]*enrichment.NoteCounts, error) + func (c *RemoteClient) GetPlanStats(ctx context.Context) (map[string]*enrichment.PlanStats, error) + func (c *RemoteClient) GetSessions(ctx context.Context) ([]*models.Session, error) + func (c *RemoteClient) GetWorkspaces(ctx context.Context) ([]*workspace.WorkspaceNode, error) + func (c *RemoteClient) IsRunning() bool + func (c *RemoteClient) Refresh(ctx context.Context) error + func (c *RemoteClient) SetFocus(ctx context.Context, paths []string) error + func (c *RemoteClient) StreamState(ctx context.Context) (<-chan StateUpdate, error) + type RunningConfig struct + GitInterval time.Duration + NoteInterval time.Duration + PlanInterval time.Duration + SessionInterval time.Duration + StartedAt time.Time + WorkspaceInterval time.Duration + type StateUpdate struct + Scanned int + Sessions []*models.Session + Source string + UpdateType string + Workspaces []*enrichment.EnrichedWorkspace + type WithFallback struct + Fallback Client + Primary Client + func NewWithFallback() *WithFallback