use new script runner API
This should fixes
index out of range errors on list apps / genuine.
Fixes error remapping
a bunch of script runner related errors (like out of memory error on install) were not correctly remapped to proper error wordings.
Add speculos support on CLI
With the addition of the new transport @ledgerhq/hw-transport-node-speculos we can also use it on
ledger-live CLI using
SPECULOS_APDU_PORT environment variable.
For instance, this is doing a BTC sync:
SPECULOS_APDU_PORT=40000 ledger-live sync -c btc
interestingly, we can also use Speculos over a HTTP proxy that will works with Live as well:
SPECULOS_APDU_PORT=40000 ledger-live proxy