chore(installer): main → @armoriq/sdk (prod) + platform.armoriq.ai#16
Closed
Harihara04sudhan wants to merge 1 commit into
Closed
chore(installer): main → @armoriq/sdk (prod) + platform.armoriq.ai#16Harihara04sudhan wants to merge 1 commit into
Harihara04sudhan wants to merge 1 commit into
Conversation
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.
There was a problem hiding this comment.
Pull request overview
Updates the top-level install_armorcodex.sh installer on main to target production defaults (prod SDK package + prod dashboard URL) so new installs from the mirrored armoriq.ai/install_armorcodex.sh endpoint no longer pull dev-channel artifacts.
Changes:
- Switches
DASHBOARD_URLfromhttps://dev.armoriq.aitohttps://platform.armoriq.ai. - Switches installer references from
@armoriq/sdk-devto@armoriq/sdkfor global install andnpxlogin fallback.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Author
|
Superseded by #12 which contains everything this PR does (DASHBOARD_URL → platform.armoriq.ai, @armoriq/sdk-dev → @armoriq/sdk) plus the idempotent update mode ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Flips
install_armorcodex.shonmainto the production SDK channel + production frontend URL, establishing the dev/main split for the installer mirroring theconfig.mjssplit already on the dev branch.dev@armoriq/sdk-devhttps://dev.armoriq.aimain(this PR)@armoriq/sdkhttps://platform.armoriq.aiWhy
Production users curl
armoriq.ai/install_armorcodex.shwhich serves whatever's onmain(via the armoriq-landing mirror). Before this change,mainhad the-devSDK channel + the dev dashboard URL hardcoded — meaning new prod installs would have:dev.armoriq.aifor "dashboard visibility" — wrong audienceThis brings the installer in line with the prod/staging boundary we already have for
backendEndpointinconfig.mjs.Diff scope
Pure constant replacement — 8 lines changed in one file. No logic changes. No new dependencies.
Promotion semantics
When promoting a feature from dev → main (e.g., the latency-port PR #15), resolve any conflict on these two values in favor of
mainso prod users stay on prod.Test plan
bash install_armorcodex.shfrom a clean checkout ofmainafter merge → confirm:info "installing ArmorIQ CLI (@armoriq/sdk)"(not-dev)main, the armoriq-landing mirror copy should be re-synced (separate small PR on armoriq-landing/public/install_armorcodex.sh)🤖 Generated with Claude Code