packaging: opt into the UI build via CBM_VARIANT=ui on npm and PyPI#957
Merged
Conversation
The npm and PyPI installers only ever fetched the standard (headless) build, so the UI build (embedded graph visualization) was reachable only through install.sh --ui or a manual archive download. Add a CBM_VARIANT=ui opt-in to both installers that fetches the codebase-memory-mcp-ui-* archive instead; the default is unchanged (standard headless build). Document the per-channel opt-in in the README. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
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.
Problem
The npm and PyPI installers only ever fetched the standard (headless) build. The UI build (embedded 3D graph visualization) was reachable only via
install.sh --uior a manual archive download — sopip install/npm iusers had no way to get it, even though the-ui-archives are published for every platform.Change
Add a
CBM_VARIANT=uiopt-in to both installers that fetches thecodebase-memory-mcp-ui-<os>-<arch>archive instead of the standard one. The default is unchanged (standard headless build). Mirrors the existinginstall.sh --uiflag.Documented the per-channel opt-in in the README.
Validation
Verified the constructed archive names match the published release assets exactly:
codebase-memory-mcp-<os>-<arch>[-portable].{tar.gz,zip}CBM_VARIANT=ui→codebase-memory-mcp-ui-<os>-<arch>[-portable].{tar.gz,zip}Checksum verification is unaffected —
checksums.txtalready includes the-ui-archives, and both installers match by archive name.