From b43347ce8f4e0d7b01fd9901fd02d9860b2240b6 Mon Sep 17 00:00:00 2001 From: Harihara04sudhan Date: Wed, 20 May 2026 18:37:25 +0530 Subject: [PATCH] =?UTF-8?q?chore(installer):=20main=20=E2=86=92=20prod=20r?= =?UTF-8?q?efs=20(@armoriq/sdk=20+=20platform.armoriq.ai)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Establishes the dev/main split for install_armorcodex.sh mirroring the config.mjs split already in place: dev branch → @armoriq/sdk-dev + https://dev.armoriq.ai main branch → @armoriq/sdk + https://platform.armoriq.ai (this PR) `dev` stays at the dev/staging refs for pre-release verification. When promoting a feature from dev → main, resolve the conflict in favor of main so prod users never get pointed at dev resources. --- install_armorcodex.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/install_armorcodex.sh b/install_armorcodex.sh index 1e78b86..338f3fb 100755 --- a/install_armorcodex.sh +++ b/install_armorcodex.sh @@ -42,7 +42,7 @@ MARKETPLACE_REPO="${ARMORCODEX_MARKETPLACE_REPO:-armoriq/armorCodex}" PLUGIN_GIT_URL="${ARMORCODEX_GIT_URL:-https://github.com/armoriq/armorCodex.git}" PLUGIN_GIT_REF="${ARMORCODEX_GIT_REF:-main}" INSTALL_HOME="${ARMORCODEX_INSTALL_HOME:-${HOME}/.armoriq/armorCodex}" -DASHBOARD_URL="https://dev.armoriq.ai" +DASHBOARD_URL="https://platform.armoriq.ai" # Recover if the caller is running this from a deleted directory (common when # piping curl into bash from /tmp). @@ -323,11 +323,11 @@ install_npm_deps() { } install_armoriq_cli() { - info "installing ArmorIQ CLI ${B}(@armoriq/sdk-dev)${N}" - if npm install -g @armoriq/sdk-dev@latest --silent --no-audit --no-fund >/dev/null 2>&1; then + info "installing ArmorIQ CLI ${B}(@armoriq/sdk)${N}" + if npm install -g @armoriq/sdk@latest --silent --no-audit --no-fund >/dev/null 2>&1; then ok "armoriq CLI ready" else - warn "couldn't install globally, use ${B}npx @armoriq/sdk-dev${N} instead" + warn "couldn't install globally, use ${B}npx @armoriq/sdk${N} instead" fi } @@ -405,13 +405,13 @@ EOF ARMORIQ_PRODUCT="${product}" armoriq login fi elif command -v npx >/dev/null 2>&1; then - if npx @armoriq/sdk-dev login --help 2>&1 | grep -q -- '--product'; then - npx @armoriq/sdk-dev login --product "${product}" + if npx @armoriq/sdk login --help 2>&1 | grep -q -- '--product'; then + npx @armoriq/sdk login --product "${product}" else - ARMORIQ_PRODUCT="${product}" npx @armoriq/sdk-dev login + ARMORIQ_PRODUCT="${product}" npx @armoriq/sdk login fi else - warn "armoriq CLI not found. Run ${B}npx @armoriq/sdk-dev login${N} manually." + warn "armoriq CLI not found. Run ${B}npx @armoriq/sdk login${N} manually." return 0 fi