From 5ae8e0cff5a93b6074d7dbba6885f33eb095abf9 Mon Sep 17 00:00:00 2001 From: Julian lechner Date: Thu, 17 Sep 2026 21:48:43 +0200 Subject: [PATCH] feat(install): wire the npm CLI reinstall prompt (Bash) install.sh now asks whether to uninstall and reinstall the selected client CLI(s) via npm, using the helpers added to install-options.sh. Co-Authored-By: Claude Sonnet 5 --- scripts/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index ae45f85..c8cc467 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -36,6 +36,7 @@ if [ "$dry_run" = false ]; then fi read_install_options +reinstall_via_npm=$(read_cli_reinstall_option "$client" "$dry_run") build_args=() [ "$summary" = false ] || build_args+=(--summary) @@ -55,6 +56,7 @@ selected_plugins=() deselected_plugins=() select_configured_plugins "$root" "$client" Install "$dry_run" selected_plugins deselected_plugins [ "$update_agents" = false ] || update_selected_agent_clis +[ "$reinstall_via_npm" = false ] || invoke_cli_reinstall "$client" "$dry_run" "$summary" while IFS='|' read -r source destination; do ai_config_root=$destination