Documentation
¶
Index ¶
Constants ¶
const ( MinTmuxMajor = 3 MinTmuxMinor = 2 )
MinTmuxMajor/MinTmuxMinor is the oldest tmux leo supports: 3.2, the release that added `-e` to new-session. Leo passes agent env that way to keep credentials out of the pane's start command, so on an older tmux every spawn fails and the supervisor retries forever — agents appear to never start, with the real cause buried in the service log.
Variables ¶
This section is empty.
Functions ¶
func FindOpenClaw ¶
func FindOpenClaw() string
FindOpenClaw searches for an OpenClaw installation in common locations.
func TmuxPath ¶ added in v0.12.1
func TmuxPath() string
TmuxPath returns the tmux binary leo will actually run, or "" if none. Delegates to tmux.Locate so a version check here inspects the same binary the supervisor spawns — a separate search order could otherwise validate one tmux and run another.
func TmuxVersion ¶ added in v0.12.1
TmuxVersion returns the raw `tmux -V` output and whether it satisfies leo's minimum. ok is true when tmux is missing (callers report absence separately) or when the version cannot be parsed.
Types ¶
type BinaryResult ¶ added in v0.8.0
BinaryResult holds the result of checking for a harness CLI binary.
func CheckBinary ¶ added in v0.8.0
func CheckBinary(name string) BinaryResult
CheckBinary checks if the named CLI binary is installed and reachable.