Skip to main content

Module discovery

Module discovery 

Source

Structs§

BackendRawInventory
DiscoveryCursor
DiscoveryEvent
DiscoveryFilter
DiscoveryQuery
DiscoveryService
Shareable lazy discovery service backed by a single unified BackendRawInventory. One-shot snapshots never spawn background threads.
DiscoverySubscription
MacAppBundleInfo
RawBackendDeviceRecord
RawBackendProcessRecord
RawProcessRecord
TargetCatalog
TargetSnapshot

Enums§

DeviceDirection
DiscoveryDedupe
DiscoveryEventKind
DiscoveryOrder
FindAppError

Functions§

build_catalog_from_backend_inventory
Evaluate multi-backend BackendRawInventory against a DiscoveryQuery (backends filter & rank, .monitor sink exclusion from input_devices, ScreenCaptureKit Application(Exact) / no-Process rules, ByLogicalTarget vs PerBackend deduplication, and KindThenBackend vs BackendThenKind ordering).
can_roll_up_to_parent
can_roll_up_to_parent_for_os
Determines whether child belongs to the same logical application package as parent on os and should roll up into parent for applications() and find_app().
extract_macos_app_bundle_info
extract_outer_macos_bundle_name
Extract the outer lowercase macOS .app / .app.bundle bundle name from an arbitrary path.
find_app_in_raw
find_app_in_raw_for_os
Resolve a pre-audio or active application target by app_id, name, or executable basename. Rejects 0 matches with NotFound and > 1 matches with AmbiguousMatch.
is_generic_system_bin_dir_for_os
is_runtime_interpreter_stem
Returns whether stem is a shared runtime or script launcher that can host unrelated applications.
is_shell_or_session_host
Returns true if record represents an OS shell, session/service host, or terminal launcher.
is_shell_or_session_host_for_os
Returns true if record represents an OS shell, session/service host, or terminal launcher on os.
is_shell_or_session_host_stem
Returns whether a lowercase executable stem identifies a shell or session host on the current OS.
is_shell_or_session_host_stem_for_os
Returns whether a lowercase executable stem identifies a shell or session host on os.