OpenRouter now rejects management keys from the browser on both
/api/v1/keys and /api/v1/analytics/query, so the management-key flow can
no longer work in the extension. Read the configured key's own usage from
GET /api/v1/key instead, which returns UTC daily, weekly, and monthly
buckets and works from the browser.
Drop the key-type selection, key listing/selection, pagination, and the
management/analytics endpoints. Validate the key against /key before
persisting, and write a fresh record so legacy keyType/keyIds fields are
dropped. Keep the browser-block hint for anyone still storing a
management key.
Users can add any website as a dashboard quick link from Settings → Site
Links. The link is stored in the integrations namespace as a `custom`
type so it flows through the existing sites/integrations/settings
pipeline, and appears in a new "Links" group.
Its icon is discovered with the existing favicon pipeline; an uploaded
icon overrides it and stays pinned until the user chooses "Use site's
icon" again. resolveIcons and refreshIcon skip pinned sites (and
re-check the live list before writing back) so an in-flight discovery
can never clobber a freshly uploaded icon.
URLs are normalized to http(s) only, with embedded credentials stripped,
so a value can never reach an anchor's href as javascript:/data:.
Uploads are validated, size-capped and downscaled to 192px (SVGs kept
as-is), and only ever rendered through an <img>.
Adds app/utils/site-url.js and app/utils/image-file.js, a custom-link
form, a `custom` registry entry/group and adapter, and tests.
Replace the separate Market Ticker and OpenRouter Stats settings sections
with a single Tickers & Stats section. It lists every active ticker/stat
with its settings and remove actions, and offers one Add integration button
that opens the generic integration list filtered to tickers and stats.
The add button is hidden once every single-instance integration is
connected, matching the old sections' behavior.
Add a per-user OpenRouter usage integration that reads the management key
and displays a single spend total next to the Bitcoin ticker.
The total is configurable to Today, This week or This month, defaulting to
Today. Analytics queries are widened to the previous UTC hour boundary and
then filtered locally so buckets in non-whole-hour timezones are not
clipped.
Add a Market Ticker section (Lucide chart-no-axes-combined icon) under Integrations that manages market ticker integrations. Bitcoin shows in the shared grid with settings/remove when enabled, and an 'Add Bitcoin Price Ticker' button otherwise.
Remove the dashboard Add/Manage Integrations buttons and the Manage Integrations dialog now that every integration is managed from Settings.
Shorten the Bitcoin description to 'Live BTC price'.
Add an 'Add site link' button at the bottom of the Site Links pane that opens the Add Integration menu scoped to the still-available site integrations.
The menu accepts an optional type filter and now lists its items alphabetically by integration name.
Remove Clock, Connected Apps and Notifications from the settings menu and move Site Links under Integrations.
Extract a shared integration grid (two-column cards with settings/reconnect/remove icon buttons) used by both Calendar and Site Links, and add a Site Links section that lists the dashboard quick-link integrations alphabetically.
Manage Integrations now excludes calendars and site links, which are managed from their settings sections.
Add a 'days with events' preference (default 3, range 1-7) that drives the upcoming events widget, and extend the fetch window to 8 days so the largest window can populate.
Add a Calendar settings pane (moved under Integrations) that lists the connected CalDAV/ICS sources in a two-column grid with add/edit/remove, and remove calendars from Manage Integrations.
Turn the modal service into a stack so add/edit forms open on top of the settings dialog, with one dialog per level, per-entry title ids, and a softened stacked backdrop.
Move CALENDAR_ACTOR into its own config module to break the calendar/caldav/ics import cycle.
Introduce a per-section content registry (contentFor) mirroring the integration form registry, and use it for a new Advanced > Protocol Gateway section that explains Sockethub and edits the server URL, with a live connection status.
The URL field loads the stored value via sockethub.loadUrl() so it never prefills the default over a saved URL, and save failures surface inline.
Also narrow the settings dialog (sm:max-w-4xl) and sidebar (sm:w-52) and shorten it (min(80vh,40rem)).