Native Desktop API¶
Direct, profile-bound HTTP bindings to a running Hermes Desktop server. Discover operations on the target server; mutations are not automatically retried.
Choose your client · Reliability · All public exports
AsyncHermesDesktop ¶
AsyncHermesDesktop(
http: AsyncClient,
profile: str,
*,
token: str | None = None,
owns_client: bool = False,
)
remote
classmethod
¶
remote(
*,
base_url: str,
profile: str,
token: str | None = None,
timeout: float = 30,
http_client: AsyncClient | None = None,
) -> AsyncHermesDesktop
DesktopFiles ¶
DesktopGit ¶
review
async
¶
review(
path: str,
scope: Literal["uncommitted", "branch"],
*,
base: str | None = None,
) -> dict[str, Any]
diff
async
¶
diff(
path: str,
file: str,
*,
scope: str = "uncommitted",
base: str | None = None,
staged: bool = False,
) -> str
file_diff
async
¶
Full file against HEAD, including staged and unstaged changes.
change
async
¶
remove_worktree
async
¶
DesktopSkills ¶
DesktopSessions ¶
DesktopPlugins ¶
catalog
async
¶
Read the complete native catalog, including recalled-entry metadata.
Discover the exact REST operation first, or supply a discovery snapshot from this owning deployment. Discovery/auth/network failures propagate; a missing operation is unsupported, not an empty catalog. This performs no installation and never retries a failed request.
Although the HTTP client sends its profile, this existing native route does not scope installed-state annotations to that query parameter. Discard installed/installed_sha/update_available/runtime_status and join the exact profile's RPC inventory before presenting installed state.