Skip to content

DesktopCdpTransport.preflightCheck method

DesktopCdpTransport › preflightCheck

Verifies that the CDP endpoint is reachable and has Obsidian targets.

If Obsidian is not running, attempts to auto-start it via URI protocol and polls until CDP becomes available.

Signature:

preflightCheck(vaultPath: string): Promise<void>

Parameters:

ParameterTypeDescription
vaultPathstringThe vault path (used for vault registration check).

Returns: Promise<void>