jeeves-watcher
    Preparing search index...

    Orchestrates VCS across all VCS-enabled watch roots.

    Index
    • Find the VcsManager that owns the given normalized file path. Uses longest-prefix-match against resolved watch roots.

      Parameters

      • normalizedPath: string

        Normalized absolute path (forward slashes).

      Returns VcsManager | undefined

      The matching VcsManager, or undefined.

    • VCS state for GET /status health.vcs (D86).

      Returns {
          oldestTrippedAt: string | null;
          pending: number;
          roots: number;
          trippedRoots: number;
      }

      Root count, total backlog, tripped roots and the oldest trip.

      • oldestTrippedAt: string | null

        ISO 8601 time the longest-tripped breaker tripped, or null.

      • pending: number

        Files queued or in flight, not yet committed, across roots.

      • roots: number

        VCS-enabled roots.

      • trippedRoots: number

        Roots whose commit circuit breaker is tripped.

    • Route a file event to the correct root's VcsManager.

      Parameters

      • filePath: string

        Absolute path of the changed file.

      • event: "add" | "change" | "unlink"

        The event type: add, change, or unlink.

      Returns void

    • Signal that the initial filesystem scan is complete.

      Flushes each manager's throttle buffer before ending baseline mode, ensuring any files still pending in the VCS throttle are committed with a "baseline:" prefix rather than "watcher:". AI generation is not enabled until all managers have completed their flush.

      Returns Promise<void>