Repository navigation
Description
Problem
Sharing a widget means sending a folder. The recipient reviews and installs it in Customize → Packages or with --install-package, and updates by installing a new folder (README "Local widget packages": "There is no network registry or automatic update process"). There is nowhere to find widgets others made, and nothing tells the recipient:
- what the package needs: tools on the login shell's PATH such as
jqoraerospace, a StableBar version, or macOS permissions such as Calendars or Automation; - which hosts it contacts;
- whether anyone besides its author has read it;
- whether the folder is the version that was read.
Proposal
Build on the package format, with the review model Raycast uses: open source, reviewed in one repository, and built by the store rather than the author.
- A public packages repository, one folder per package, with contributions as pull requests. CI runs
StableBar --inspect-packageand--validate, runs shellcheck on scripts, and rejects binaries and minified code. - Start with themes and packages that run no commands (Add a widget package kind that runs no commands #32), which need only CI. Accept packages with commands once a maintainer reviews each one and each update.
- CI publishes an index. For each version it lists the kind, commands, requirements, source commit and the SHA-256 of its archive.
- A Browse view in Customize → Packages, and
--install-package <id>. StableBar downloads the archive, checks it against the index and installs throughWidgetPackageStore.install. Installing still doesn't enable a package, and versions stay pinned. - Updates list newer versions. When one adds commands, hosts or permissions, show the difference and ask before enabling it.
- Manifest additions shown at review:
description,author,repository, a screenshot,minimumVersion,requires(tools) andpermissions(macOS permissions, hosts). Add asecretsetting type kept in the Keychain instead ofconfig.json, for API tokens.
Open questions
- Hosting: GitHub Pages from the packages repository? Check for and install updates in the app, on a stable or beta channel #22 asks the same for the appcast.
- Sign the index with an EdDSA key, as Sparkle signs updates in Check for and install updates in the app, on a stable or beta channel #22, or rely on HTTPS and the hashes?
- Run store packages' commands under a sandbox profile built from their declared permissions?
sandbox-execis deprecated but still works and Codex CLI uses it; filtering network access by host would need a proxy. - Allow packages from other Git repositories, or only the curated one?
Possible today
Partly. Local packages already have manifests, typed settings, atomic versioned installs, pinning, rollback and a command review. Discovery, downloads, integrity checks, update prompts and declared requirements are missing.
Related
- Add a widget package kind that runs no commands #32: packages that run no commands.
- Pick a theme from installed theme packages #19: theme packages.
- Register data sources behind one interface, including event-driven ones #17: lists the permission each built-in source needs, which package permissions could reuse.
- Check for and install updates in the app, on a stable or beta channel #22: updates to the app itself, through Sparkle.
Triaged by Claude Code (Claude Opus 5.5).
Activity
Seb-GRAF commentedon Oct 16, 2026
Done in #35 and #36, on top of #34 (packages that contain no commands, #32).
mainand publishesindex.jsonand the archives to thestorerelease. It starts with 13 packages: four themes, five that contain no commands and four that run commands.--install-package <id>installs from it. Downloads are checked against the index's SHA-256, then reviewed like a local folder. Enabling an update that adds commands, hosts or permissions asks first.description,author,repository,screenshot,minimumVersion,requires,permissionsandhostsshow in the review.secretsettings live in the Keychain (feat: keep package secrets in the Keychain #36).The open questions, as settled for now:
storeprerelease in the packages repository, not GitHub Pages.