At startup, check if the @salesforce/analytics plugin is installed in the user's sfdx; if not, give a notification about that and prompt to install it:
If it's older than the minimum the extensions need, warn about that and prompt to update it to the latest:
For now, I'm picking the current published version as the minimum; there's no real easy way to just check if it's outdated (I would need to hit the npm registry to check, which is too expensive to do on startup everytime), plus, in theory, sfdx is supposed to be auto-updating itself (although I've found it doesn't work, at least for me). But, for now, the extensions just need to check for the version that has the various commands/arguments that the extensions are using and expecting to be there (.e.g. the --async arg to analytics:app:create).
At startup, check if the @salesforce/analytics plugin is installed in the user's sfdx; if not, give a notification about that and prompt to install it: If it's older than the minimum the extensions need, warn about that and prompt to update it to the latest: For now, I'm picking the current published version as the minimum; there's no real easy way to just check if it's outdated (I would need to hit the npm registry to check, which is too expensive to do on startup everytime), plus, in theory, sfdx is supposed to be auto-updating itself (although I've found it doesn't work, at least for me). But, for now, the extensions just need to check for the version that has the various commands/arguments that the extensions are using and expecting to be there (.e.g. the --async arg to analytics:app:create).
Also, allow the user to disable this check.