[BUG?] third party script function without vision client scope can't be imported in designer console

It seems that script functions added in gateway module hook are automatically added in "perspective" designer area.

Script console must be the exception ?

Can be linked with: