fix(plugins): retry claude plugin install|update without -y on an old CLI

An older Claude Code has no -y on `plugin install|update` and exits with
"error: unknown option '-y'", so the dashboard's Update now chain failed at
its plugin_update step (and so did Update all, the plugin buttons and the
superpowers auto-install). Those versions also predate the confirmation
prompt -y answers, so every wrapper now retries the same argv without it
when, and only when, the CLI rejects the flag. /agenthub-update, which the
failure message points users to, falls back the same way.
This commit is contained in:
2026-09-23 16:46:20 +07:00
parent 764b967856
commit aff863c69f
7 changed files with 79 additions and 3 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long