Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNoBrowser = errors.New(
"no chromium-family browser found — install chromium, chrome, brave, vivaldi or edge")
ErrNoBrowser is a machine with no Chromium-family browser the agent sidecar can drive. Distinct from ErrNoShell: the UI window is lich-shell; this is Chrome/Edge/Chromium/… for CDP (internal/browser).
Functions ¶
func FindBrowser ¶ added in v0.80.0
FindBrowser returns the first Chromium-family binary that resolves, trying this OS's candidates (candidates_*.go) in preference order. lookPath is injectable for tests (production passes exec.LookPath, which also accepts the absolute paths the Windows and macOS lists use).
This is the agent-browser sidecar only — never the lich UI window, which Resolve pins to LICH_SHELL / lich-shell (#570).
Types ¶
This section is empty.