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.
Extension pages with host permissions are treated as same-origin, so the
target origin's cookies rode along on every request. OpenRouter's
Clerk-protected analytics endpoint then tried to read the management key in
the Authorization header as a session JWT and answered 403, breaking the
spend total on the dashboard.
Default the shared fetch to credentials "omit" (still overridable per call),
and surface OpenRouter's own error message for failed requests instead of a
generic status summary.
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.
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.
Use a new bundled image for both the welcome screen and the dashboard
fallback, and crossfade into the first feed photo only when arriving from
the welcome screen or when the wallpaper changes after the first paint (a
live rotation or a manual pick). A plain open shows the resolved photo
outright, with no transition.
- wallpaper.gjs: three layers (bundled base, last settled photo, current
photo). The current photo fades in on load and the previous one stays
beneath for a crossfade; the photo layer renders only from the cached
displayUrl, so a change fades instead of flashing the bundled base.
Reduced motion settles instantly.
- photos.js: keep the last-known-good wallpaper on a cache miss or fetch
error; add a one-shot timer that rotates at the day/week boundary while
the dashboard stays open; expose animateEntry for the welcome entry.
- routes/index.js: set photos.animateEntry from the transition origin. A
strict-mode route template's `this` is not the controller, so a
controller property never reached the component.
- config/nostr.js: alias the welcome and fallback URLs to one image.
Tests and docs updated.
Rotate through photos from enabled feeds with a persisted shuffle-bag queue. Weekly changes at local Monday midnight and daily at local midnight; Off keeps the selected photo. Legacy configs migrate to the weekly default, and Rotation now sits above Feeds in the Photos settings.
Read the curated photo feeds from wss://nostr.kosmos.org, verify events, cache originals and thumbnails, and let users pick a wallpaper from the Photos section. Nature is the default feed; City Nights is opt-in. Adds the manual publishing scripts, real event fixtures, protocol documentation, and tests with stubbed network connections.
Track whether a Sockethub URL has been stored and start the ICS and CalDAV add flows past the server step for returning users, while keeping it for first-timers. Back navigation stops before the removed step, and the step's helper text now links Sockethub to its website.
Ask for the user's name on first launch through a /welcome route, store it in the preferences namespace via a user service, and redirect between welcome and the dashboard based on whether a name exists. Replace the hardcoded greeting name and make it editable in place, with save/cancel handling and a first-run prompt matching the dashboard style.
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 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.
A 204/empty response to `/favicon.ico` was stamped with the candidate's
declared type, producing `data:image/x-icon;base64,`. Because that MIME is
an image, the empty record was treated as usable and cached for the 7-day
TTL, so discovery never ran again and the declared apple-touch-icon was
never picked up.
Skip zero-length candidate bodies during resolution, and treat cached data
URLs with no payload as unusable so existing poisoned records heal on the
next load.
A response with no Content-Type reached FileReader as application/octet-stream, which the browser refuses to render, and a mismatched mime field previously marked such records as usable. Judge cached icons by their data URL MIME, sniff image bytes when the content type is missing or generic, reject markup, and fall back to the initial when an image fails to load.
Saving the wizard with fewer selected calendars removes their cache entries, and the events view only shows calendars still selected on their instance.
Rework the integration UI so Add and Manage are separate surfaces, only
active integrations appear in Manage, and integrations with settings
(e.g. Bitcoin) can be edited via the same form used to add them.
Replace the ModalDialog/initialComponent flow with a modal service and a
single ModalHost that lazily mounts each dialog body, so forms and custom
elements start fresh per open. Move integration components to
settings/integrations, add an integrations service that unifies registry
capabilities with live instances, and fix the select value refresh and
bitcoin config reset.