132 Commits
Author SHA1 Message Date
dependabot[bot] 8bbe1646f9 chore(deps-dev): bump the dev group with 7 updates (#100)
Bumps the dev group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@better-auth/passkey](https://github.com/better-auth/better-auth/tree/HEAD/packages/passkey) | `1.7.17` | `1.7.21` |
| [@electric-sql/pglite](https://github.com/electric-sql/pglite/tree/HEAD/packages/pglite) | `0.5.15` | `0.5.16` |
| [better-auth](https://github.com/better-auth/better-auth/tree/HEAD/packages/better-auth) | `1.7.17` | `1.7.21` |
| [next](https://github.com/vercel/next.js) | `16.4.5` | `16.4.6` |
| [playwright](https://github.com/microsoft/playwright) | `1.64.1` | `1.65.0` |
| [prettier](https://github.com/prettier/prettier) | `3.9.10` | `3.10.0` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.72.1` | `8.72.2` |


Updates `@better-auth/passkey` from 1.7.17 to 1.7.21
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Changelog](https://github.com/better-auth/better-auth/blob/main/packages/passkey/CHANGELOG.md)
- [Commits](https://github.com/better-auth/better-auth/commits/v1.7.21/packages/passkey)

Updates `@electric-sql/pglite` from 0.5.15 to 0.5.16
- [Release notes](https://github.com/electric-sql/pglite/releases)
- [Changelog](https://github.com/electric-sql/electric-pglite/blob/main/packages/pglite/CHANGELOG.md)
- [Commits](https://github.com/electric-sql/pglite/commits/@electric-sql/pglite@0.5.16/packages/pglite)

Updates `better-auth` from 1.7.17 to 1.7.21
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Changelog](https://github.com/better-auth/better-auth/blob/main/packages/better-auth/CHANGELOG.md)
- [Commits](https://github.com/better-auth/better-auth/commits/v1.7.21/packages/better-auth)

Updates `next` from 16.4.5 to 16.4.6
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/compare/v16.4.5...v16.4.6)

Updates `playwright` from 1.64.1 to 1.65.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.64.1...v1.65.0)

Updates `prettier` from 3.9.10 to 3.10.0
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.10...3.10.0)

Updates `typescript-eslint` from 8.72.1 to 8.72.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.2/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: "@better-auth/passkey"
  dependency-version: 1.7.21
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: "@electric-sql/pglite"
  dependency-version: 0.5.16
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: better-auth
  dependency-version: 1.7.21
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: next
  dependency-version: 16.4.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: playwright
  dependency-version: 1.65.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: prettier
  dependency-version: 3.10.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: typescript-eslint
  dependency-version: 8.72.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-15 03:57:19 +01:00
bitbaum-fleet 9bf3cc2ce8 release v0.32.1 v0.32.1 2026-11-14 12:13:30 +00:00
CatoandClaude 6d97c7e22a fix(auth): a text action is centred in any form layout (#99)
As an inline box it sat at the left edge in a product whose form is a plain
block stack (Loki's sign-in, live 2026-11-14). It is now a full-width row
with its words centred.


Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-14 12:22:17 +01:00
bitbaum-fleet 9f4a39f77f release v0.32.0 v0.32.0 2026-11-14 09:40:36 +00:00
CatoandClaude 587b65e0f1 fix(auth): one thing the sign-in screen asks for (#98)
"Email me a sign-in link instead" and "Forgot your password?" are text
actions (classes.textAction), not outlined boxes. Loki's sign-in at 390px
stacked nine outlined boxes of equal weight and the filled Sign in read as
one of many. A text action is still a full touch target.


Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-14 10:24:18 +01:00
Catoandbitbaum-fleet f166431bf4 chore: add the fleet package template files this repo is missing (release-notify-tagged.yml) (#97)
Files from bitbaum/fleet `templates/package` that this repository does not have yet:

- `.github/workflows/release-notify-tagged.yml`

Only missing files are added — no file this repository already has is changed. `release.yml` is what lets the package owner release a new version from Loki (the package page: "Release vX.Y.Z"), or from the Actions tab.

Opened by bitbaum/fleet `scripts/packages/sync-package-template.mjs` (`.github/workflows/package-repos.yml`). It merges itself when this repository's CI is green.

Co-authored-by: bitbaum-fleet <fleet@bitbaum.invalid>
2026-11-14 10:19:12 +01:00
bitbaum-fleet 29634862ae release v0.31.0 v0.31.0 2026-11-13 21:27:41 +00:00
CatoandClaude 5034cccd47 fix(auth): offer GitHub once on a sign-in screen (#96)
A product that turns on its own GitHub button and whose shared sign-in also
lists GitHub drew "Continue with GitHub" twice. The shared button now names
only the other providers when GitHub has its own button.


Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 22:15:05 +01:00
bitbaum-fleet d40b44dbce release v0.30.0 v0.30.0 2026-11-13 11:07:19 +00:00
CatoandClaude f1c5c7c16c feat(menu): rows shown only below 768px (shown: "narrow") (#95)
An AccountMenu item or group may carry shown: "always" | "narrow"
(default "always"), and extra has the same choice as extraShown. A narrow
row is in the menu below 768px only: hidden by the package stylesheet in a
media query (no width read in script, right on the server render and the
first paint), skipped by the arrow keys, and a hidden group takes its
divider with it.

For a row that repeats a control the header carries from md up, such as
OrangeCat's theme toggle, which its menu also showed as "Appearance".


Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 11:53:47 +01:00
Catoandfleet-reconciler d0cc4b528b chore(deps): raise shared package floors to published versions (#94)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-13 11:42:05 +01:00
Cato 68e1ffaea3 fix(auth): OrangeCat first among the "Continue with …" buttons (#93)
With OrangeCat and the shared sign-in both on, "Continue with Google or
GitHub" sat directly above "Continue with OrangeCat" and read as its
heading (BiasLens sign-in at 1920px, 2026-11-12). OidcButtons now lists
OrangeCat, the fleet's own account, first. Render test fails on the old
order; dist rebuilt.
2026-11-12 11:11:31 +01:00
CatoandClaude f8d61aa720 feat(menu): AccountControl, a panel that stays on screen, remote session read (#92)
* feat(menu): AccountControl, a panel that stays on screen, remote session read

A consumer gets, from the browser-safe "." entry:
- AccountControl: one header control for loading (an inert box the
  trigger's size), signed out (one 44px "Sign in" link) and signed in
  (AccountMenu, unchanged), plus accountSignInHtml({ href, label }), the
  same signed-out markup byte for byte for a static page.
- fetchAccountSummary(url, { signal?, fetch?, timeoutMs? }): a
  credentialed, no-store GET of a session held on another origin that
  resolves null on any failure and never rejects, including an injected
  fetch that returns something that is not a Response. timeoutMs (default
  8000; 0, negative or Infinity turns it off) bounds the whole read, body
  included, combined with the caller's signal (AbortSignal.any where
  available, by hand otherwise), so a stalled server cannot leave a header
  loading for ever and the header fails closed to "Sign in".
- returnPath, the same-origin path guard, no longer only behind the
  server-only ./orangecat entry.

Fix: the open panel ran off the screen when the trigger was not last in its
row (-112px at 390 in Bitbaum's header). The menu now measures the open
panel and moves it inside only when it crosses an edge; a last trigger's
panel is unchanged. It is measured again while open on a window resize and,
without one, when the panel or its header row (nearest flex or grid
ancestor) or a control in that row changes size, or a control is added to
or removed from the row (ResizeObserver and MutationObserver, feature
detected, disconnected on close and unmount).

Checked by pnpm run verify: browser checks at 320 and 390, light and dark,
on four demo rows (a 44px control before or after the trigger, both
aligns), which failed on the old stylesheet; with the menu open, a 44px
control added after the trigger, and the existing one widened, without a
window resize (left -47px at 320 before); render tests comparing
AccountControl with accountSignInHtml and AccountMenu, escaping hostile
input; unit tests for fetchAccountSummary with an injected fetch (non-
Response values, a fetch and a body that never settle, the 8000ms default
under mock timers, the caller's abort with a timeout armed, the fallback
without AbortSignal.any, Infinity) and for returnPath from ".". The browser
check honours CHROMIUM_PATH. dist/orangecat.d.ts only shows a union
reordered by the compiler, not a source change.

Claude-Session: https://claude.ai/code/session_019MDtmsSWTTpVpe4wh3v1sb

* fix(menu): the panel is moved in layout, so nothing scrolls sideways

The pull request's own browser check failed in CI and passed locally:
with the panel open in the two `align="start"` demo rows the page
scrolled sideways by 186px and 242px, at 320 and 390 wide, while the
panel itself measured inside the screen. CI runs Chromium 156; the local
run was Chromium 153. The panel was moved back on screen with
`translate`, and the page still counted the place it had come from.

What a consumer gets: the panel is moved on the edge it is pinned by, in
layout (`inset-inline-start` or `inset-inline-end` take `--acct-shift`).
A box laid out inside the screen cannot make the page scroll in any
browser. The move follows the text direction: in a right-to-left page
the pinned edge is the other one, and the offset changes sign with it.

How it is checked: test/browser.mjs opens the four demo rows again with
the page set right to left, at 320 and 390px, light and dark, and asserts
the panel is inside the viewport and nothing scrolls sideways. The
existing left-to-right checks are unchanged. `pnpm run verify` passes on
Chromium 153; CI decides for 156.

Claude-Session: https://claude.ai/code/session_019MDtmsSWTTpVpe4wh3v1sb

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 10:40:08 +01:00
bitbaum-fleet 574e262095 release v0.29.0 v0.29.0 2026-11-12 05:23:16 +00:00
CatoandClaude 08e2e3a666 feat(menu): AccountMenu shows what waits in another account (#91)
An account in accounts may carry waiting, a count of what waits there
(unread messages, notifications). It is shown at the end of that account's
row, capped at 99+, and as a dot beside the trigger, so a person knows
before opening the menu. The trigger's accessible name says so too.

- Zero, absent or not a positive number shows nothing; so does a count with
  no onSwitchAccount, because there is nowhere to go.
- The dot sits beside the trigger, not in it: the trigger clips to keep a
  photo round and would clip the dot with it.
- The count and the dot are the text colour inverted, not the accent, which
  the fleet keeps for Bitcoin and for the action that brings someone in.
- A long name truncates before the count instead of pushing it off the row.


Claude-Session: https://claude.ai/code/session_019MDtmubu4vMeqp2pdae1Zy

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 06:13:07 +01:00
CatoandClaude Opus 5.5 9d61706fe3 feat(oidc): the shared sign-in and OrangeCat are told the page's language (ui_locales) (#90)
A sign-in started on Heidi's German pages from an English browser landed on
an English provider page: the provider could only read Accept-Language.
OidcButtons, SignInForm and SignUpForm now send OIDC ui_locales on the
authorize request: the new optional locale prop, else <html lang>, so every
app gets it without a code change. GitHub is not sent it.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 05:29:57 +01:00
bitbaum-fleet 63e6181670 release v0.28.0 v0.28.0 2026-11-12 03:56:11 +00:00
CatoandClaude e15ed7f353 feat(menu): AccountMenu switches accounts (#89)
One person can hold several accounts: OrangeCat's identities are the first
case. The other accounts are listed under who is signed in, and a tap
switches.

- New optional props accounts ({ id, user, note? }) and onSwitchAccount(id).
  A row is a face (photo, initials from the name, or a glyph), the name, and
  one line with the note and the handle. The note leads so it survives a long
  handle; another account's email is never shown.
- Same failure contract as sign-out: the row says it is switching, and a
  switch that rejects keeps the menu open and says it did not complete.
- The rows are menu items, so arrows, Home and End reach them.
- Without the new props the menu renders exactly as before.

Browser suite: listed under a heading, 44px rows, a long name and handle
keep the panel on a 390px and a 320px screen, keyboard reach, a failed
switch, a completed one.


Claude-Session: https://claude.ai/code/session_019MDtmubu4vMeqp2pdae1Zy

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 04:43:04 +01:00
bitbaum-fleet 90f8e06f43 release v0.27.1 v0.27.1 2026-11-10 10:37:27 +00:00
Cato d17836057a fix(peer): accept @bitbaum/mail-kit 0.3 and 0.4 as the optional mail peer (#88) 2026-11-10 11:30:01 +01:00
Cato 572a0267e1 chore(deps): exempt every @bitbaum package from minimumReleaseAge with one glob (#87)
Replaces the per-package (and per-version) exclusions with '@bitbaum/*' plus
the four unscoped packages, so a fresh or new shared package installs on its
first floor raise without a hand edit here. Third-party packages keep the
release-age delay. Same shape as the fleet starter (bitbaum/fleet#509).
2026-11-10 08:17:44 +01:00
Catoandfleet-reconciler 2a89c46fc2 chore(deps): raise shared package floors to published versions (#86)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-10 07:04:25 +01:00
dependabot[bot] 76eb7dea9a chore(deps-dev): bump the dev group with 6 updates (#85)
Bumps the dev group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@better-auth/passkey](https://github.com/better-auth/better-auth/tree/HEAD/packages/passkey) | `1.7.14` | `1.7.17` |
| [@electric-sql/pglite](https://github.com/electric-sql/pglite/tree/HEAD/packages/pglite) | `0.5.13` | `0.5.15` |
| [better-auth](https://github.com/better-auth/better-auth/tree/HEAD/packages/better-auth) | `1.7.14` | `1.7.17` |
| [eslint](https://github.com/eslint/eslint) | `10.13.0` | `10.14.0` |
| [globals](https://github.com/sindresorhus/globals) | `17.13.0` | `17.14.0` |
| [next](https://github.com/vercel/next.js) | `16.4.3` | `16.4.5` |


Updates `@better-auth/passkey` from 1.7.14 to 1.7.17
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Changelog](https://github.com/better-auth/better-auth/blob/main/packages/passkey/CHANGELOG.md)
- [Commits](https://github.com/better-auth/better-auth/commits/v1.7.17/packages/passkey)

Updates `@electric-sql/pglite` from 0.5.13 to 0.5.15
- [Release notes](https://github.com/electric-sql/pglite/releases)
- [Changelog](https://github.com/electric-sql/pglite/blob/main/packages/pglite/CHANGELOG.md)
- [Commits](https://github.com/electric-sql/pglite/commits/@electric-sql/pglite@0.5.15/packages/pglite)

Updates `better-auth` from 1.7.14 to 1.7.17
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Changelog](https://github.com/better-auth/better-auth/blob/main/packages/better-auth/CHANGELOG.md)
- [Commits](https://github.com/better-auth/better-auth/commits/v1.7.17/packages/better-auth)

Updates `eslint` from 10.13.0 to 10.14.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.13.0...v10.14.0)

Updates `globals` from 17.13.0 to 17.14.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v17.13.0...v17.14.0)

Updates `next` from 16.4.3 to 16.4.5
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/compare/v16.4.3...v16.4.5)

---
updated-dependencies:
- dependency-name: "@better-auth/passkey"
  dependency-version: 1.7.17
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: "@electric-sql/pglite"
  dependency-version: 0.5.15
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: better-auth
  dependency-version: 1.7.17
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: eslint
  dependency-version: 10.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: globals
  dependency-version: 17.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: next
  dependency-version: 16.4.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-08 03:44:47 +01:00
Catoandbitbaum-fleet b1de89ae86 docs(agents): the org rules block, generated from bitbaum/fleet (#84)
Co-authored-by: bitbaum-fleet <fleet@bitbaum.invalid>
2026-11-06 09:49:47 +01:00
Catoandfleet-reconciler fb7ea2f69e chore(deps): raise shared package floors to published versions (#83)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-03 09:38:08 +01:00
Catoandfleet-reconciler 6471c8ff17 chore(deps): raise shared package floors to published versions (#82)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-03 09:15:38 +01:00
Catoandfleet-reconciler f6125a7999 chore(deps): raise shared package floors to published versions (#81)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-03 08:50:30 +01:00
Catoandfleet-reconciler 486d3348b0 chore(deps): raise shared package floors to published versions (#80)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-03 08:20:49 +01:00
bitbaum-fleet 3aaed37187 release v0.27.0 v0.27.0 2026-11-02 23:54:30 +00:00
CatoandClaude ee059919c0 feat(screens): a product's own code to sign in, and a claim form (#67) (#79)
AOZ's people start from a personal code: they sign in with it, and they
claim it once with an email and a first password. AccountKit's server has
both (domainCredentials, provisioning); its screens had neither, so AOZ kept
its own code field and register screen beside SignInForm.

- SignInForm takes codeDoor: a quiet button opens one field in the product's
  words, sent to /sign-in/domain. A personal link (?<param>=) opens it and
  signs in once, then leaves the address bar. An account with a second
  factor is refused in AccountKit's words, with the way back on screen.
- ClaimForm: a code (or a claim link the page holds), an email and a first
  password to /provision/claim, saying what happened and turning every
  CLAIM_* refusal into a sentence.
- Labels `code` and `claim` in all seven languages; both calls go through the
  client's $fetch. Browser checks drive both in every language at 320/390px.

Closes #67.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-03 00:27:15 +01:00
bitbaum-fleet 64fba1ca79 release v0.26.1 v0.26.1 2026-11-02 23:14:48 +00:00
CatoandClaude 25a3471087 fix(client): Lightning's client plugin no longer breaks createAuthClient (#78)
0.26.0's lightningClient() named better-auth's own fetch type, which went into
the published declaration. In BiasLens, whose better-auth resolved another
@better-fetch/fetch, authClientPlugins() was no longer assignable to
createAuthClient's plugins and the typecheck failed. The plugin types its one
call by shape; a test keeps better-fetch names out of the declaration and a
type test compiles a product's own wiring.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-03 00:08:31 +01:00
Catoandfleet-reconciler f38947dacb chore(deps): raise shared package floors to published versions (#77)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-03 00:01:22 +01:00
bitbaum-fleet ecc6c4c267 release v0.26.0 v0.26.0 2026-11-02 22:49:09 +00:00
CatoandClaude Opus 5.5 0b4100cff8 feat(screens): a product's own GitHub app on the shared screens (#76)
* feat(auth): Lightning login (LNURL-auth, LUD-04), opt-in per deployment

A free, Bitcoin-native way in: the person's own Lightning wallet signs a
one-time challenge shown as a QR code (or opened through a lightning: link on
the same device). No key, no third party, nothing paid. The signed key is a
sign-in method (providerId "lightning"), never an email.

- /lightning/start mints a challenge (five minutes, used once) and binds it
  to the asking browser with a signed cookie; /lightning/callback is the
  wallet's LUD-04 call and checks the DER secp256k1 signature of k1;
  /sign-in/lightning (polled) signs in or creates the person;
  /lightning/link adds a wallet to the signed-in person, never one that
  already signs in to someone else.
- A second factor applies; minting and the wallet's call spend the
  credential bucket.
- SignInForm and SignUpForm offer "Sign in with a Lightning wallet",
  AccountPanel "Add Lightning wallet"; words in all six languages.
- Off until ACCOUNTKIT_LIGHTNING=1.

Tests: LUD-01's own LNURL both ways, a signature made by OpenSSL, and the
whole flow on a real database (PGlite) with a wallet that signs as LUD-04
says: sign-in and sign-in again, a forged signature, an onlooker without the
browser's cookie, a second factor, linking and a taken wallet, and nothing
mounted without the opt-in. Browser: QR, wallet link, 44px, no sideways
scroll at 320 and 390px.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

* feat(screens): a product's own GitHub app on the shared screens

Loki keeps its GitHub sign-in (its own app, githubSignIn: true). The shared
screens drew only the shared sign-in and OrangeCat, so Loki could not move onto
SignInForm without losing it. signInMethods takes githubSignIn and reports
methods.github; SignInForm, SignUpForm and AccountPanel draw it beside
OrangeCat. The variables alone still offer nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 23:41:49 +01:00
CatoandClaude e282d1e6e4 feat(auth): Lightning login (LNURL-auth, LUD-04), opt-in per deployment (#75)
A free, Bitcoin-native way in: the person's own Lightning wallet signs a
one-time challenge shown as a QR code (or opened through a lightning: link on
the same device). No key, no third party, nothing paid. The signed key is a
sign-in method (providerId "lightning"), never an email.

- /lightning/start mints a challenge (five minutes, used once) and binds it
  to the asking browser with a signed cookie; /lightning/callback is the
  wallet's LUD-04 call and checks the DER secp256k1 signature of k1;
  /sign-in/lightning (polled) signs in or creates the person;
  /lightning/link adds a wallet to the signed-in person, never one that
  already signs in to someone else.
- A second factor applies; minting and the wallet's call spend the
  credential bucket.
- SignInForm and SignUpForm offer "Sign in with a Lightning wallet",
  AccountPanel "Add Lightning wallet"; words in all six languages.
- Off until ACCOUNTKIT_LIGHTNING=1.

Tests: LUD-01's own LNURL both ways, a signature made by OpenSSL, and the
whole flow on a real database (PGlite) with a wallet that signs as LUD-04
says: sign-in and sign-in again, a forged signature, an onlooker without the
browser's cookie, a second factor, linking and a taken wallet, and nothing
mounted without the opt-in. Browser: QR, wallet link, 44px, no sideways
scroll at 320 and 390px.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 23:34:27 +01:00
Catoandfleet-reconciler 0917ad0745 chore(deps): raise shared package floors to published versions (#74)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-02 23:26:28 +01:00
CatoandClaude f4f2930f74 feat(mail): the shared mailer takes a product's own template and own mail (#73)
Causius, diplodoctor and keller kept their own account mailers for one
reason: their mails are in the reader's language, with HTML. evig wrapped the
shared mailer to send its own 6-digit confirmation. Neither could get the
sign-in code without copying more of the package.

createAuthMailer now takes `render(kind, url, extra)` (subject, text, html;
`codes: true` when it prints extra.code) and `own` (the product's own mail
for one kind, falling back to the shared one when it cannot send). The
origin check, the transport and the code stay here. It also skips addresses
that cannot receive mail, as those products did.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 23:18:13 +01:00
Catoandfleet-reconciler 1423287fb5 chore(deps): raise shared package floors to published versions (#72)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-02 22:36:26 +01:00
bitbaum-fleet 18cf6cc681 release v0.25.0 v0.25.0 2026-11-02 21:32:27 +00:00
CatoandClaude Opus 5.5 e31a41ff6b feat(auth): the sign-in link's email also carries a code to type on the page (#70)
* feat(auth): the sign-in link's email also carries a code to type on the page

A sign-in link opens wherever the mail app opens it: often another browser,
or another device, than the one where the person asked. The same email now
carries a six-digit code, typed on the page that asked for the link. It is
the same method (the address proven by mail), so it is free and needs no
third party: the owner asked for every free way in.

- Minted only with a sign-in link, only for a mailer with `codes: true`
  (createAuthMailer has it); the link request then answers { code: true } and
  SignInForm offers the field. A product with its own mailer changes nothing
  until it prints `extra.code`.
- Ten minutes, three tries, stored hashed; guessing spends the credential
  bucket. A second factor applies, answered as JSON like a password.
- better-auth's other email-code endpoints (a code on its own, reset by code,
  verification, email change) answer 404: recovery keeps its one path.
- Labels codePrompt and signInWithCode in all six languages.

Real-database tests (PGlite) cover sign-in, a code working once, three
wrong tries, the second factor, the closed endpoints and a mailer without
codes; the browser check covers the field at 320 and 390px in en and de.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

* build: commit dist for the sign-in code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 22:18:42 +01:00
bitbaum-fleet 65d85a7562 release v0.24.1 v0.24.1 2026-11-02 21:05:31 +00:00
CatoandClaude b732b55506 feat(screens): a product that owns the person's name keeps the panel out of it (#69)
Vita's profile edits the patient's name on `users`, the row every table and
every clinician reads. AccountPanel's Profile section edits auth_users.name,
so on one page a patient had two name fields writing two rows that drift.
`ownProfile` leaves that section out; the rest of the panel stays.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 21:57:08 +01:00
Catoandfleet-reconciler 9ce28e9063 chore(deps): raise shared package floors to published versions (#68)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-02 21:48:35 +01:00
bitbaum-fleet fb30d841d5 release v0.24.0 v0.24.0 2026-11-02 20:44:38 +00:00
CatoandClaude b25e5858ca feat(auth): a product that must keep accounts can turn self-service deletion off (#65)
Vita, a clinic, keeps medical records for ten years under Swiss law: its
patients request erasure from a clinician (a tracked thread), and the portal
has no delete button. Adopting AccountKit's account panel would have given
them one, and /delete-user would have taken the sign-in away from records
the clinic must keep.

- accountDeletion: false (createAuthRuntime, createAuthInstance) turns
  better-auth's deleteUser off: /delete-user answers 404 and deletes nothing.
- AccountPanel takes `deletion`, the product's own way out (such as a link to
  its erasure request), shown in place of the delete control beside
  "Sign out".

Both have regression tests: the endpoint refuses with every row and the
session intact, and the panel renders the product's node, not the control.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 21:31:18 +01:00
Catoandfleet-reconciler 7111f7270a chore(deps): raise shared package floors to published versions (#66)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-02 21:25:01 +01:00
CatoandClaude 5108725c4c feat(auth): the shared sign-in's button names only the providers Morulia publishes (#64)
signInMethods reads <SIGNIN_ISSUER>/api/providers (cached per issuer,
refreshed at most once a minute, last good list kept) and returns the
names as signinProviders; signin is true only when one is listed. The
label is composed from them in all six languages, so an app never names
a provider that is not configured. The fallback label drops Apple and X,
which are paid.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 21:13:41 +01:00
CatoandClaude 44e8faef25 ci(publish): wait for registry read-back before the job ends (#63)
The v0.23.1 tag run failed with E409 "Cannot publish over previously
staged version": the main-branch run had published two minutes earlier,
but npm was still processing it, so the tag run's "already on npm?"
check saw 404 and tried to publish again. Sync publish.yml with the
fleet package template, whose serialized job now waits until the
version's registry metadata is readable, so the duplicate run sees it.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 11:07:54 +01:00
bitbaum-fleet 30f8a145ae release v0.23.1 v0.23.1 2026-11-02 09:58:08 +00:00