Skip to content

packaging: opt into the UI build via CBM_VARIANT=ui on npm and PyPI#957

Merged
DeusData merged 1 commit into
mainfrom
feat/ui-variant-optin
Jul 8, 2026
Merged

packaging: opt into the UI build via CBM_VARIANT=ui on npm and PyPI#957
DeusData merged 1 commit into
mainfrom
feat/ui-variant-optin

Conversation

@DeusData

@DeusData DeusData commented Jul 8, 2026

Copy link
Copy Markdown
Owner

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 --ui or a manual archive download — so pip install / npm i users had no way to get it, even though the -ui- archives are published for every platform.

Change

Add a CBM_VARIANT=ui opt-in to both installers that fetches the codebase-memory-mcp-ui-<os>-<arch> archive instead of the standard one. The default is unchanged (standard headless build). Mirrors the existing install.sh --ui flag.

CBM_VARIANT=ui npm install -g codebase-memory-mcp
CBM_VARIANT=ui pip install codebase-memory-mcp

Documented the per-channel opt-in in the README.

Validation

Verified the constructed archive names match the published release assets exactly:

  • default → codebase-memory-mcp-<os>-<arch>[-portable].{tar.gz,zip}
  • CBM_VARIANT=uicodebase-memory-mcp-ui-<os>-<arch>[-portable].{tar.gz,zip}

Checksum verification is unaffected — checksums.txt already includes the -ui- archives, and both installers match by archive name.

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>
@DeusData DeusData added enhancement New feature or request editor/integration Editor compatibility and CLI integration ux/behavior Display bugs, docs, adoption UX priority/normal Standard review queue; useful PR with ordinary maintainer urgency. labels Jul 8, 2026
@DeusData DeusData merged commit ee68144 into main Jul 8, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

editor/integration Editor compatibility and CLI integration enhancement New feature or request priority/normal Standard review queue; useful PR with ordinary maintainer urgency. ux/behavior Display bugs, docs, adoption UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant