Repository navigation
Description
Problem
Teams can't share StableBar packages privately. Widgets for an internal GitLab, Jira or company tools can't go in the public Store, and today the only other way to share one is to send a folder. Settings → Packages → Store reads a single, fixed index (the store release of Seb-GRAF/stablebar-packages), and nothing records where an installed package came from. So StableBar can't tell a team's package from a Store package with the same ID, or know where its updates should come from.
Proposal
Add private package sources next to the public Store, and show each package's source wherever packages appear.
- A source is a name and an HTTPS URL to an
index.jsonin the Store's format. Sources are listed underpackageSourcesinconfig.json, so a team can share them through an include. The public Store is always on. - Tokens: each source can have its own token. It is kept in the login Keychain, never in the configuration, and sent only to the host it was entered for. GitLab API URLs get
PRIVATE-TOKEN, everything elseAuthorization: Bearer. Configuration and package commands can't read it. - Settings: a Sources… sheet in Packages to add, edit and remove sources. The form checks the index before the source can be added.
- Store and Installed: one Store grid for every source, with a source menu and a tag on each card. Installed rows and package pages say where a package came from. A package from a private source carries the note that StableBar's maintainers didn't review it.
- Updates: each installed package remembers its source in
packages/<id>/.source.json, and updates come only from that source. A source can't take over an ID that another source installed, so a private package can't replace a Store package with the same ID. - Joining: a
stablebar://add-source?name=…&url=…link opens the form already filled in. It never carries a token and never adds anything without confirmation. - Publishing:
StableBar --build-source PACKAGES OUTchecks package folders and writes the index and archives, ready to upload to a private GitHub branch, GitLab's package registry or any HTTPS server. - Command line:
--install-package ID --source SOURCE, and asourcefield in--packages.
Possible today
No. PackageIndex.url is the only index. The packages docs say installation doesn't record where a copy came from, and labels such as Listed in Store go by ID alone.
Related
- Browse, install and update shared widget packages from a store #33 settled "Other repositories: only the curated one" for the Store. This keeps the curated Store as it is and lets people add their own sources on top, with the safeguards above: per-host tokens, a source per installed ID, and a "not reviewed by StableBar's maintainers" label.
- Show Store packages with updates first, then installed ones, then the rest #242 / feat: show Store packages with updates first, then installed ones, then the rest #243 change the order of the Store grid, which this feature also touches.
Triaged by Claude Code (Opus 5.5).
Activity
feat: add private package sources
chore(release): 0.6.0 [skip ci]
stablebar-releases commentedon Oct 23, 2026
🎉 This issue has been resolved in version 0.6.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀