Documentation
    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.

    • 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>