package daemon import ( "fmt" "banger/internal/paths" ) // vsockAgentBinary resolves the companion helper the daemon ships // alongside its own binary. It's stateless — the signature takes no // argument so callers on *Daemon / *VMService / doctor all share one // entry point instead of each owning a forwarder method. func vsockAgentBinary(_ paths.Layout) (string, error) { path, err := paths.CompanionBinaryPath("banger-vsock-agent") if err != nil { return "", fmt.Errorf("vsock agent helper not available: %w", err) } return path, nil }