Repository navigation
ui: publish llama-ui on npm as an alias of @ggml-org/llama-ui - #32667
Merged
allozaur merged 1 commit intoNov 20, 2026
Merged
Conversation
The unscoped llama-ui on npm is a 0.0.1 placeholder. After the scoped publish, the workflow renames the same build and publishes it again at the same version, with a readme note pointing at the scoped package. Assisted-by: Claude (Opus 5.5 Medium)
CISC
approved these changes
Nov 20, 2026
allozaur
marked this pull request as ready for review
November 20, 2026 14:43
Kidplayer666
pushed a commit
to Kidplayer666/llama.cpp
that referenced
this pull request
Nov 20, 2026
The unscoped llama-ui on npm is a 0.0.1 placeholder. After the scoped publish, the workflow renames the same build and publishes it again at the same version, with a readme note pointing at the scoped package. Assisted-by: Claude (Opus 5.5 Medium)
Annieren
pushed a commit
to Annieren/llama.cpp-upstream
that referenced
this pull request
Nov 23, 2026
The unscoped llama-ui on npm is a 0.0.1 placeholder. After the scoped publish, the workflow renames the same build and publishes it again at the same version, with a readme note pointing at the scoped package. Assisted-by: Claude (Opus 5.5 Medium)
Nindaleth
pushed a commit
to Nindaleth/llama.cpp
that referenced
this pull request
Nov 26, 2026
The unscoped llama-ui on npm is a 0.0.1 placeholder. After the scoped publish, the workflow renames the same build and publishes it again at the same version, with a readme note pointing at the scoped package. Assisted-by: Claude (Opus 5.5 Medium)
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.
Overview
npm install llama-uinow gets the same library as@ggml-org/llama-ui: the unscoped name is published as an alias at the same version on every release.Additional information
Needs one step on npm before it can publish:
llama-uiis a separate package and has to name this workflow as its trusted publisher (Publishing settings, Trusted Publisher, GitHub Actions, organizationggml-org, repositoryllama.cpp, workflow fileui-lib-publish.yml, Environment blank). Until then the alias step fails on master while the scoped release still goes out; re-running the job afterwards publishes it.Cause
llama-uion npm holds a single 0.0.1, an empty placeholder published in August to reserve the name. The library has since been released as@ggml-org/llama-ui(0.5.0 now), and nothing publishes to the unscoped name.What changed
ui-lib-publish.ymlgains three steps after the scoped publish: rename the build, comparellama-uiwith npm, publish it. They are skipped on pull requests, and publish only from master, as the scoped step does.ui/lib/ui/scripts/alias-package.mjsdoes the rename: it setsnametollama-uiinpackage.jsonand puts a note at the top of the readme saying the package is an alias and which one to prefer. Nothing else differs, so the two tarballs hold the samedist.npm-version-check.mjs, not the scoped package's. If it falls behind (as now, at 0.0.1), the next run on master brings it level without waiting for a version bump. The first run after merge publishes[email protected].It is the same build under a second name, not a wrapper that depends on the scoped package: the library's entry points are Svelte sources and CSS files resolved through
exports, which a re-exporting package would have to mirror one by one.Testing
Locally, on the built library: the script renames the package and is a no-op when run twice;
npm-version-check.mjsthen reports[email protected]as new against 0.0.1 with dist-taglatest;npm pack --dry-run --ignore-scriptsproducesllama-ui-0.5.0.tgzwith the same 394 files. The workflow itself has not run: its publish steps only run on master in this repository.Requirements
Claude (Opus 5.5 Medium)