Commit 387395aa8 for llama.cpp
commit 387395aa8d34ad67c6458e982be9a7345a3e6fae
Author: Aleksander Grygier <aleksander.grygier@gmail.com>
Date: Wed Nov 18 15:31:49 2026 +0100
ui: install @ggml-org/llama-brand from npm (#32544)
* 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)
diff --git a/ui/apps/chat/.npmrc b/ui/apps/chat/.npmrc
index 5e0a8e82a..fd58f2418 100644
--- a/ui/apps/chat/.npmrc
+++ b/ui/apps/chat/.npmrc
@@ -1,8 +1,6 @@
engine-strict=true
ignore-scripts=true
min-release-age=7
-# Allow root-declared remote tarball dependencies (llama-brand) on npm 12+
-allow-remote=root
# The single-bundle production build needs more than the default heap on CI runners;
# npm passes this to every script it runs, on every platform
node-options=--max-old-space-size=6144
diff --git a/ui/apps/chat/package-lock.json b/ui/apps/chat/package-lock.json
index 0e732ff77..11778042c 100644
--- a/ui/apps/chat/package-lock.json
+++ b/ui/apps/chat/package-lock.json
@@ -20,7 +20,7 @@
"@codemirror/view": "6.43.15",
"@eslint/compat": "2.1.1",
"@eslint/js": "10.0.1",
- "@ggml-org/llama-brand": "https://codeload.github.com/ggml-org/llama-brand/tar.gz/f05540643c1ca2a18d732ed6491c839686da9a3a",
+ "@ggml-org/llama-brand": "0.1.0",
"@internationalized/date": "3.12.2",
"@lezer/highlight": "1.2.5",
"@lucide/svelte": "1.46.0",
@@ -1106,10 +1106,10 @@
},
"node_modules/@ggml-org/llama-brand": {
"version": "0.1.0",
- "resolved": "https://codeload.github.com/ggml-org/llama-brand/tar.gz/f05540643c1ca2a18d732ed6491c839686da9a3a",
- "integrity": "sha512-kRDXUIUdfcDt7w4hh3JrFTpqxf2i7R0PHVLGnwUdr4L8EMqE32mEECoXUz1uoUlFaQ+h6QaVHvJWS5y98AoaYA==",
+ "resolved": "https://registry.npmjs.org/@ggml-org/llama-brand/-/llama-brand-0.1.0.tgz",
+ "integrity": "sha512-wderWf3tG/gC/sIAyE3Gf37BhTIsCpn7zyQjg8YH7NT1mPbyXKfrsORLRvBj50QDu1tyNqe7XiNnUS8bhgw6wg==",
"dev": true,
- "license": "CC-BY-NC-4.0"
+ "license": "CC-BY-NC-4.0 AND MIT AND OFL-1.1"
},
"node_modules/@hono/node-server": {
"version": "2.1.6",
diff --git a/ui/apps/chat/package.json b/ui/apps/chat/package.json
index 0586429d8..b7716287c 100644
--- a/ui/apps/chat/package.json
+++ b/ui/apps/chat/package.json
@@ -118,7 +118,7 @@
"globals": "16.5.0",
"highlight.js": "11.11.1",
"http-server": "14.1.1",
- "@ggml-org/llama-brand": "https://codeload.github.com/ggml-org/llama-brand/tar.gz/f05540643c1ca2a18d732ed6491c839686da9a3a",
+ "@ggml-org/llama-brand": "0.1.0",
"mdsvex": "0.12.7",
"mermaid": "11.17.2",
"mode-watcher": "1.1.0",
diff --git a/ui/lib/ui/package-lock.json b/ui/lib/ui/package-lock.json
index 40a2751d6..4df54efee 100644
--- a/ui/lib/ui/package-lock.json
+++ b/ui/lib/ui/package-lock.json
@@ -9,7 +9,7 @@
"version": "0.4.0",
"license": "MIT",
"dependencies": {
- "@ggml-org/llama-brand": "https://codeload.github.com/ggml-org/llama-brand/tar.gz/f05540643c1ca2a18d732ed6491c839686da9a3a",
+ "@ggml-org/llama-brand": "0.1.0",
"@internationalized/date": "^3.12.4",
"@lucide/svelte": "1.46.0",
"bits-ui": "2.18.1",
@@ -679,9 +679,9 @@
},
"node_modules/@ggml-org/llama-brand": {
"version": "0.1.0",
- "resolved": "https://codeload.github.com/ggml-org/llama-brand/tar.gz/f05540643c1ca2a18d732ed6491c839686da9a3a",
- "integrity": "sha512-kRDXUIUdfcDt7w4hh3JrFTpqxf2i7R0PHVLGnwUdr4L8EMqE32mEECoXUz1uoUlFaQ+h6QaVHvJWS5y98AoaYA==",
- "license": "CC-BY-NC-4.0"
+ "resolved": "https://registry.npmjs.org/@ggml-org/llama-brand/-/llama-brand-0.1.0.tgz",
+ "integrity": "sha512-wderWf3tG/gC/sIAyE3Gf37BhTIsCpn7zyQjg8YH7NT1mPbyXKfrsORLRvBj50QDu1tyNqe7XiNnUS8bhgw6wg==",
+ "license": "CC-BY-NC-4.0 AND MIT AND OFL-1.1"
},
"node_modules/@internationalized/date": {
"version": "3.12.4",
diff --git a/ui/lib/ui/package.json b/ui/lib/ui/package.json
index ff86bd63e..85fc6ac04 100644
--- a/ui/lib/ui/package.json
+++ b/ui/lib/ui/package.json
@@ -125,7 +125,7 @@
"bits-ui": "2.18.1",
"clsx": "^2.1.1",
"highlight.js": "^11.11.1",
- "@ggml-org/llama-brand": "https://codeload.github.com/ggml-org/llama-brand/tar.gz/f05540643c1ca2a18d732ed6491c839686da9a3a",
+ "@ggml-org/llama-brand": "0.1.0",
"tailwind-merge": "^3.7.0",
"tailwind-variants": "^3.3.1",
"vaul-svelte": "1.0.0-next.7"