Expand description
The widget catalog (docs/specs/SPEC_WIDGET_SHARING_2026_10_10.md §4): a
public list of sandboxed widgets, built and signed by the
agentmuxai/widgets repository’s CI, that Settings → Widgets browses.
The catalog is a convenience and a second check, never an approval. srv
checks the index’s signature against a key pinned here, downloads a
widget only from the catalog’s own origin, checks the zip’s SHA-256, the
package’s content hash and its author’s signature against the index, and
installs it as needs_approval, like any widget: the user’s prompt
decides.
Structs§
- Catalog
Entry - Widget
Catalog Item - An entry as Settings shows it: the entry, its publisher’s fingerprint, and what is installed here.
Constants§
- CATALOG_
KEYS - The catalog keys AgentMux trusts (base64 Ed25519 public keys). The
private half lives only in the catalog repository’s CI
(
agentmuxai/widgets, secretCATALOG_SIGNING_SEED). More than one, for a rotation. - DEFAULT_
CATALOG_ URL - Where the official catalog is served.
Functions§
- check_
download - Checks a downloaded zip against its entry: the zip’s SHA-256, then, unpacked, the package’s content hash and its author’s signature. Returns the unpacked package’s folder (in the returned temp dir).
- fetch
- The catalog at
url, checked. - install
- Downloads
entryfrom the catalog, checks it, and copies it intowidgets_dir(replacing an installed version), waiting for approval. - items
- What Settings lists: each entry with what is installed here.
- verify_
index - Checks the index
rawagainst its signaturesig_b64withkeys, and each entry against the catalog’s rules.