8 Commits
Author SHA1 Message Date
Cato 4e11709348 fix(scroll): let readers scroll up in embedded and streaming chats (#38)
* fix(scroll): preserve reading in page and nested conversations

* fix(scroll): distinguish reading gestures from layout-driven scrolling

* fix(ci): reuse the actual browser revision through release verification
2026-10-27 04:21:16 +01:00
CatoandClaude f3571966cb fix(release): install Chromium before package verification (#40)
The Release workflow runs verify, which includes the browser tests, and
failed with Playwright's 'executable doesn't exist' (2026-10-26, cutting
0.16.0). The fleet template (templates/package) already has this step and
accountkit ported it in its #25; this copy predated it. Now identical to
the template.


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

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

- `.github/workflows/release-notify.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-10-26 19:20:27 +01:00
Catoandbitbaum-fleet 100ed40204 chore: add the fleet package template files this repo is missing (dependabot.yml, git-release.yml, release.yml) (#31)
Files from bitbaum/fleet `templates/package` that this repository does not have yet:

- `.github/dependabot.yml`
- `.github/workflows/git-release.yml`
- `.github/workflows/release.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-10-25 09:32:20 +01:00
CatoandClaude fe40496a79 ci(publish): a merged version bump releases itself (#10)
Publishing waited for someone to push a v* tag after the merge. That step
is easy to forget and impossible from an agent session (the git proxy
refuses tag pushes), so 0.4.0 sat merged and unpublished — exactly the
"fix merged, nobody has it" gap the release was meant to close.

publish.yml now also runs on pushes to main and on dispatch; the existing
registry check makes every merge that did not change the version a green
no-op. A release from main tags the commit v<version> itself, so versions
stay traceable. The auto-merge sweep re-arms publish.yml after a
GITHUB_TOKEN merge, which starts no push workflow on its own.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-07 04:46:57 -07:00
CatoandClaude Opus 5.5 61ff545c91 fix(publish): install the browser the verify step's browser test needs (#5)
The v0.2.1 publish ran verify without Chromium and failed before npm.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 11:00:17 -07:00
CatoandClaude Opus 5.5 8ebc7a5c29 ci(publish): tag-driven npm Trusted Publishing, same workflow as speechkit/sitekit (#2)
Tag vX.Y.Z publishes via OIDC once NPM_PUBLISHING=on; until then a tag
runs green and says why. No token anywhere.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 13:17:39 -07:00
CatoandClaude Opus 5.5 ed759a8516 feat: chatkit v0.1 — one chat for every product (#1)
* feat: chatkit v0.1 — one chat for every product

The fleet had 13 chats in 10 repos, each written fresh, each missing what
another had fixed. This extracts loki /loki (composer, thread, messages,
markdown, attachments) and adds heidi's microphone and orangecat's keyboard fix:

- Composer: auto-growing 16px textarea, Enter/Shift+Enter/IME, Send and Stop
  in one slot, attachments with paste, mic always present, every label
  translatable, app-specific controls in slots.
- useDictation: browser recogniser first; missing or SILENT (4 s watchdog,
  bounded permission wait) -> record and transcribe on the server; a dead
  recogniser remembered 30 days; every failure shown in words.
- ChatThread/ChatMessage: stick-to-bottom + jump button, speaker names once two
  agents speak, Copy on answers, Retry on the last one, failed turns visible.
- Markdown with no HTML path; javascript: links stay text.
- styles.css: --ck-* variables defaulting to @bitbaum/design-tokens.
- verify = format, lint, types, build, 18 unit/render tests and 21 browser
  checks (390px + desktop, light + dark, a sentence through a fake mic past a
  silent recogniser). Browser checks mutation-tested (14px input, 60 s
  watchdog) — both fail as they should.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(styles): --ck-* defaults at zero specificity on :root, so an app's own values win

Declared on the chat's elements they overrode any app setting --ck-* at the
root — the opposite of what the README promised. Found preparing loki, whose
colour variables are full OKLCH colours under the design-token names and so
must map them. New browser check: a :root --ck-accent reaches the chat.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 23:14:53 -07:00