* chore(deps): raise shared package floors to published versions
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.
* fix(widget): keep ChatKit embed under size budget
* test: isolate prompt delivery Git fixtures from hook environment
---------
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
* chore(chatkit): 0.14.2 — the broken-word audit runs in audit:responsive and the widget test
chatkit 0.14.2 exports `@bitbaum/chatkit/audit`: `findBrokenWords(root)` and
`BROKEN_WORDS_SOURCE`, every word drawn across two lines (words beside
- / . @ : _ and over 24 characters exempt). "Di / re / ct / or / y" is five
syllables nobody wrote, and reading the CSS never finds it — only laying the
words out does.
- `pnpm run audit:responsive` now fails a page/viewport on a cut word, listing
the page, the width and every word (the list names the cause: one word is a
narrow cell, all of them a `break-all` on an ancestor). Same retry path as
the overflow measure.
- scripts/test/widget-host-avoid-browser.ts serves the chat chunk
(public/widget-chat.js, built as build:widget builds it) from the mocked
origin, opens the panel with data-fc-chat="kit" at 390 and runs the same
measure on the panel. Mutation-proven: `word-break: break-all` on the panel
fails it with the greeting, starters and mode labels listed.
- No cut word found: the widget panel at 390, and / /sign-in /change /build
/fleet /pricing /sign-up /u/cato /docs/feedback-widget and two more public
pages at 320/390/768/1440 on the live site all pass.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE
* chore(chatkit): 0.15.0, and a variable read with its fallback has a default
chatkit 0.15.0 is additive over 0.14.2. Its stylesheet reads
var(--ck-n, 1), a per-element variable with the fallback at the point of
use, which widget-chat-css's "every other variable has chatkit's own
default" check counted as unset. It now counts a fallback as a default; the
colour check (every colour from the widget theme) is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE
---------
Co-authored-by: Claude <noreply@anthropic.com>
The widget's chat was the fleet's own hand-rolled chat; with
data-fc-chat="kit" it is now drawn by @bitbaum/chatkit, the thread and
composer Loki's own chat renders, over the same conversation model.
- widget/chat/: a separate lazy chunk (public/widget-chat.js, ~24 KB
gzipped, Preact standing in for React), fetched on first open, carrying
the tag's nonce. chatkit's CSS is rewritten for the shadow root (:root ->
:host, rem -> px) and coloured from the boot theme.
- widget/conversation-kit.ts maps the model's snapshot to what chatkit
draws; Fix this, the changes, the confirmation card, the About chips and
Continue in Loki go into chatkit's slots as the widget's own nodes.
- A chunk that cannot load leaves the panel's own view: no dead end.
- /widget-chat.js is public in the auth proxy, like /widget.js.
- Tests: widget-kit-browser (34 checks: ask, card, screenshot, fallback,
phone width, host hotkeys, weight budget), widget-chat-css, and
widget-self-contained now guards the chunk/panel seam.
Claude-Session: https://claude.ai/code/session_01BWXjqiHm8jFta4FXuc7Tck
Co-authored-by: Claude <noreply@anthropic.com>