mixin

RemoteRepo

@Js
const mixin RemoteRepo : LibRepo

RemoteRepo is the abstract base class for network-accessible Xeto lib repositories. RemoteRepos are used to install/update to the local repo. Subclasses map to specific backends such as the xeto.dev registry or the GitHub HTTP API.

A RemoteRepo is only the named configuration for a repo; all network activity happens through a connected RemoteRepoSession.

methods open

Open a connected session to this remote repo

open abstract RemoteRepoSession open(Dict? opts := null)

Open a connected session to this remote repo. The default session authenticates each request with the configured bearer token, or anonymously when none is configured. The session is owned by the caller who must close it when complete.

Options:

  • interactive: marker if a human is in the loop to login, such as a browser based OAuth login when no token is configured

Haxall 4.0.7 ∙ 27-Oct-2026 09:10 EDT