Skip to content

Fremkit 0.3.0

Choose a tag to compare

@fdussert fdussert released this 15 Oct 18:19
· 1081 commits to main since this release
975996c

Most of what is new in this release comes from @FlorianBruniaux, alongside fixes from @mcouzinet —
thank you both. Widgets load again on the native dashboard, the Edge can be borrowed as a normal
display, Codex, Docker and local models get read-only channels, and widget authors get SDK 2.

Added

  • Codex quotas, usage and chats. For registry widgets: your Codex account's quotas and token
    usage, and the chats and turns of the local history sources you pick (Codex desktop, VS Code,
    the CLI, subagents). Both start off, under /admin → Screen → Privacy, which says that a
    picked source sends chat titles, model and folder or branch labels to every widget that
    subscribes. Fremkit only reads: a chat opens only once it is found in the Codex desktop
    catalog, and turning a source or account reads off also drops what was cached for it
    (@FlorianBruniaux, #14).
  • Local Docker and AI models. Registry widgets can show up to 200 local containers and the
    Ollama or MLX models running on the Mac. Fremkit refuses remote Docker contexts, tells a
    missing Docker apart from a stopped one, and keeps the container list when stats fail
    (@FlorianBruniaux, #17).
  • CPU temperature on Apple Silicon, if you want it. Install macmon yourself
    (brew install macmon) and tick the box under /admin → Screen → Privacy; off by default.
    The reading stays on the Mac, and a slow sample never holds up the other system metrics
    (@FlorianBruniaux, #22).
  • Uptime. A tile that shows how long the Mac has been up, read from macOS; it says so when
    the system cannot tell (@FlorianBruniaux, #16).
  • Your Claude plan on the Claude limits tile. When the local Claude CLI reports a known
    subscription, a small badge beside the footer names it, histogram shown or not
    (@FlorianBruniaux, #19).
  • Claude sessions: go to the session. Touch a card and its window comes forward — the
    exact Orca pane, the Terminal.app or iTerm2 tab, the VS Code window on that folder, or at
    least the application — for every session, hooked or merely found running. In cmux, the card
    selects the session's own panel when the process says which workspace and surface it is in,
    and brings cmux forward otherwise (@FlorianBruniaux, #11). The card also says which
    application the session lives in, which is what tells two panes of the same folder apart. The
    hook reports that from inside the session; it stays on the server, and the dashboard is told
    only the kind and the name.
  • Claude sessions can chime. One of the macOS system sounds when a session starts waiting,
    for a question or for any prompt, played by Fremkit rather than by the widget so you hear it
    when the dashboard is not in front of you. At most one every five seconds.
  • Hear a sound before choosing it. A ▶ beside the sound setting plays the chosen sound once,
    so you pick it by ear. (Any widget can offer the same on an enum setting: preview in its
    manifest names the command.)
  • Claude sessions board options. Show only what is waiting, hide finished sessions after
    30 minutes (on by default), and group the board by application.
  • GitHub rows open on the Mac. A saved run, notification or pull request opens from its
    widget without being marked read (@FlorianBruniaux, #13).
  • Borrow the Edge display. Hide or show the dashboard from the helper's menu without
    quitting it. It stays hidden across display rearrangements, and the mouse fence pauses while
    the Edge is borrowed; touch and data collection go on, and a helper restart brings the
    dashboard back (@FlorianBruniaux, #15).
  • A shortcut button's own icon. An emoji, the address of an image, or that of a site whose
    icon it borrows — for a link whose site shows its icon only once you are signed in, or one on
    the LAN.
  • Shortcut button backgrounds. None, the tile's accent, or a colour of your choosing (the
    text picks black or white to stay readable).
  • What an update changes. A registry package says what each version changed, and the admin
    shows it: under the chip on a card with an update waiting, and beside the permissions in the
    install, update and Update all dialogs. An update several versions behind lists every
    version it is taking. The text is the package's own CHANGELOG.md entry, carried by the
    registry as plain text and rendered as text.
  • Widget SDK 2. For widget authors: Fremkit.sdk is now 2, the generation that brought
    favicon(url) (a site's icon), image(url) (an image whose address the user typed into the
    widget's settings), installedApps() (an application name to the bundle id its icon is filed
    under) and appIcon() (that icon), the last two for a widget that subscribes to dock. The
    host page fetches all four for the widget, whose sandboxed frame cannot. A widget that calls
    them declares "sdk": 2, and an older Fremkit then says it needs an update instead of
    installing it broken. Widgets declaring 1 keep installing as before.

Changed

  • Clock in the compact bar. An accent-coloured clock icon beside the time, matching the
    weather icon (@FlorianBruniaux, #21).
  • System tiles show what the Mac has left. Disk usage reads the APFS data volume and shows
    the space available; memory shows available RAM and swap (@FlorianBruniaux, #16).
  • Homey is a declared connection now. The Homey connection type built into Fremkit is gone:
    both Homey widgets bring their own, so one API key serves the two of them. An existing Homey
    connection is migrated when the server starts — same name, same address, same key — and the
    tiles keep pointing at it. Nothing to redo. Update Homey devices from Sietch to get the
    version that uses it. That widget lost its device picker, since a declared connection serves
    none: name the devices by id, or show every device and filter by zone. A selection made with
    the old picker keeps working.
  • A connection form names every widget it serves. A connection declared by a widget lists
    every widget it would serve, rather than only the one that declared it.
  • The Spotify tile fits its shape. A row when wide, the transport under the cover and the
    song from 440 × 340, a column when square or taller; minimum size 8 × 4 (@mcouzinet, #4).
  • Shortcut buttons fill the tile. The rows share its height, and the icons and labels grow
    with them, down to a finger-sized minimum past which the grid scrolls as before.

Fixed

  • Widgets load on the native dashboard again. WebKit can now load the bridge and a widget's
    own script, style, image, font and media files inside the sandboxed frame
    (@FlorianBruniaux, #10).
  • The Claude limits tile shows today's tokens and its hourly histogram again. It reached for
    the bridge's escaping helper by the wrong name, so every render threw where the footer begins
    and everything under the gauges stayed empty (@mcouzinet, #5); and the histogram's bars were
    then laid out with no width, so its row showed only the peak label.
  • Application icons in shortcuts and notifications. Shortcut buttons draw the real icon of
    an application that is not in the Dock again, and the notifications widget draws its apps'
    icons: a widget frame cannot fetch them itself, so they fell back to a glyph. The host page
    fetches them for it now (@FlorianBruniaux, #12; @mcouzinet, #6).
  • Link icons on the shortcuts widget. Link buttons show their favicon again: the cross-site
    refusal on the favicon route (0.2.0) also caught the widget's own request, and the host page
    now fetches the icon for it. A site that answers the icon request with anything but HTML — a
    workspace's login page, for one — declares its icon far down a long page head, or turned away
    requests that did not look like a browser's gets its icon too. A site that is down when the
    dashboard loads gets its icon within a minute of coming back; one that yields no icon is left
    alone for fifteen minutes rather than asked on every retry.
  • Fresh data after a provider is replaced. A tile opened after a widget's data source was
    retired, or after the dashboard reconnects to the server, no longer starts from the retired
    source's last reading. A tile already open keeps its value until the new source publishes
    (@FlorianBruniaux, #24).
  • The helper keeps its permissions across rebuilds again. On Macs where
    scripts/create-signing-identity.sh failed at the import step ("MAC verification failed"),
    the identity was never created, so every build stayed ad-hoc signed and lost the Input
    Monitoring and Accessibility grants of the one before, which shows up as the touch panel
    clicking on another display (@mcouzinet, #8).
  • Spotify's progress bar moves. On a Mac whose number format uses a decimal comma the
    position read as nothing, and the bar sat at zero. It now glides across each second instead
    of stepping, lands at once on a seek, a new track or a pause, and empties when Spotify closes
    (@mcouzinet, #4).
  • Delete and restore work in the helper's admin window. Deleting a connection or a page and
    restoring a backup asked with a browser dialog the helper never shows, so the button did
    nothing. The first tap now arms it — red, "Confirm?" — and a second within four seconds does
    it; a refusal from the server shows in the banner.
  • Connections a widget declares can be saved. Saving one failed with "invalid connection
    id", since the admin built the id from the type's, which a declared type writes with colons.
  • A Homey that refuses its key says so. It showed as offline, which sent you to check the
    network when the Homey wanted a new key.

Security

  • Application icons cannot be used to probe the Mac. Cross-site requests to the icon route
    are refused, and only a widget that subscribes to dock gets the list of installed
    applications, so another widget's frame cannot find out what is installed
    (@FlorianBruniaux, #12).
  • Account e-mail addresses stay private by default. A rule for every provider that reads an
    account: the e-mail address leaves the server only when /admin → Screen → Privacy → Show
    the account e-mail address
    is ticked, and the box is off by default. Until then a widget
    gets the plan and how you signed in, and no widget — one from the marketplace included — can
    show the address or pass it on. In 0.3.0 no provider publishes an address yet, so ticking the
    box changes nothing on screen; it decides for the providers that will.