Updated Edit
On this page
Scan the filesystem for Claude Code profiles and their credentials.
#claudewheel.discovery
#claudewheel.discovery
Detect installed web browsers across native, flatpak, and snap sources.
Profile enumeration and shared-store classification now live on ProfileStore (workspace layer); this module is the browser/binary detection module used by the profile-creation wizard.
#detect_browsers
python
def detect_browsers() -> list[tuple[str, str]]Detect installed web browsers.
Returns (binary_path, display_name) pairs -- path first, because the results are concatenated with (key, label) selection-form options where the key is the path. Detection order is native (PATH), then flatpak exports, then snap. Deduplicated by display name: the first source that finds a browser wins.