Skip to content

ui: install @ggml-org/llama-brand from npm - #32544

Merged
allozaur merged 2 commits into
ggml-org:masterfrom
allozaur:allozaur/build/ui-llama-brand-from-npm
Nov 18, 2026
Merged

allozaur merged 2 commits into
ggml-org:masterfrom
allozaur:allozaur/build/ui-llama-brand-from-npm

Conversation

@allozaur

@allozaur allozaur commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Overview

The UI installs @ggml-org/llama-brand from npm instead of a GitHub tarball, so npm ci works on npm 11 and 12 with nothing to allow, after the install breakages patched in #32112 and #32196. Follows up #32468 (comment).

Additional information

@ggml-org/[email protected] is published from ggml-org/llama-brand#14. Its CSS is now MIT; the icon and favicons stay CC BY-NC 4.0, with the permission in its BRAND-USAGE.md to ship them in software.

Background

Each npm release has tightened what it installs by default, and llama-brand has hit it twice:

A registry package needs neither setting, and the lockfile pins it with an integrity hash as before.

What changed
  • ui/lib/ui and ui/apps/chat depend on "@ggml-org/llama-brand": "0.1.0", pinned exactly, and both lockfiles resolve it from the registry.
  • allow-remote=root leaves Llama Chat's .npmrc.
  • Import paths don't change. The four files the UI uses (css/colors.css, icon-light.svg, favicon.svg, favicon-dark.svg) are byte-identical to the commit the lockfiles pinned before.
Testing
  • npm ci from a clean node_modules passes in both packages on npm 11.20.0 and 12.2.3. min-release-age=7 doesn't block it, since the lockfile pins the version; a fresh resolution in Llama Chat picks up 0.1.0 from 2026-11-25.
  • Llama Chat: npm run check and npm run build pass; the built favicons are the brand's.
  • ui/lib/ui: npm run check and npm pack --dry-run (prepack with publint) pass.

Requirements

Both packages take llama-brand 0.1.0 from the registry instead of a
codeload tarball, so npm 12 installs them without allow-remote, which
leaves Llama Chat's .npmrc.

Assisted-by: Claude (Opus 5.5 Medium)
Assisted-by: Claude (Opus 5.5 Medium)
@allozaur
allozaur marked this pull request as ready for review November 18, 2026 14:20
@allozaur
allozaur requested a review from a team as a code owner November 18, 2026 14:20
@allozaur
allozaur merged commit 387395a into ggml-org:master Nov 18, 2026
11 checks passed
Annieren pushed a commit to Annieren/llama.cpp-upstream that referenced this pull request Nov 23, 2026
* ui: install @ggml-org/llama-brand from npm

Both packages take llama-brand 0.1.0 from the registry instead of a
codeload tarball, so npm 12 installs them without allow-remote, which
leaves Llama Chat's .npmrc.

Assisted-by: Claude (Opus 5.5 Medium)

* ui: pin @ggml-org/llama-brand to 0.1.0

Assisted-by: Claude (Opus 5.5 Medium)
Nindaleth pushed a commit to Nindaleth/llama.cpp that referenced this pull request Nov 26, 2026
* ui: install @ggml-org/llama-brand from npm

Both packages take llama-brand 0.1.0 from the registry instead of a
codeload tarball, so npm 12 installs them without allow-remote, which
leaves Llama Chat's .npmrc.

Assisted-by: Claude (Opus 5.5 Medium)

* ui: pin @ggml-org/llama-brand to 0.1.0

Assisted-by: Claude (Opus 5.5 Medium)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants