A host that sends Permissions-Policy: microphone=() (the fleet's starter
template, and orangecat.ch for a while) made every take fail with
'blocked', which the person cannot fix, while every Composer and
DictationField still drew the mic. useDictation's supported is now false
when the page's policy refuses the microphone; microphoneAllowedByPolicy is
exported for apps that draw their own. A browser without the policy API
behaves as before. Found by the package audit of 2026-11-12; Loki's widget
hand-rolled the same check.
Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq
Co-authored-by: Claude <noreply@anthropic.com>
ChatSpeaker gains kind (agent | person) and onBehalfOf, drawn as
'Loki [Agent] · for Georgy' in the thread and on the streaming turn.
Labels translatable and optional; existing apps unchanged.
Claude-Session: https://claude.ai/code/session_019MDtmumjtt5TjdvRDGHoa5
Co-authored-by: Claude <noreply@anthropic.com>
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).
The owner's finding, 2026-11-06: every product installs the shared packages
and the text boxes people type in are still made by hand, with no microphone;
two comment systems were written in one week. This gives the two remaining
shapes of "a person types words" a component, so there is nothing to build
locally.
- DictationField: a labelled text area (or one line) with the composer's
microphone — Web Speech, the recording fallback, the take with its timer,
kept for a retry — appending to what is there; 16px, 44px targets.
Optional improve={{ run, suggestions }}: one tap or say/type what to change;
working, failure and Undo in words, the text untouched on failure. No model
call or prompt here; run is the app's.
- CommentThread: oldest first, the box is Composer, a transport the app
implements (post, optional remove), optimistic removal rolled back with a
message, a refused post keeps the draft, text not markup, a sign-in link
for a signed-out reader, times in a stated timeZone.
- VoiceBar/VoiceProblem are one implementation shared by Composer and the
field; Composer behaves as before.
- Styles after the ChatApp boundary: the embedded sheet keeps its budget.
- test/browser-field.mjs + fixture page; render tests; README; 0.23.0.
verify: format, lint, typecheck, build, 142 unit tests, and all five browser
suites (the four existing ones unchanged) pass.
Claude-Session: https://claude.ai/code/session_019MDtmvpWNTLxXNfwUHS7MD
Co-authored-by: Claude <noreply@anthropic.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
* fix(scroll): back at the bottom by hand, the jump button goes (0.22.1)
A finger rocks back a pixel or two as it lifts; that last touchmove read
as scrolling up and paused following at the bottom, so the jump button
stayed over the reply chips with nowhere to jump to (OrangeCat's
Diplodoctor chat on Android, 2026-11-01). A touch that ends at the very
bottom, or a downward scroll that arrives there, resumes following.
Browser test on ChatScreen at 390px with real touch: fails on 0.22.0,
passes now; a real tap on the button still lands at the latest message.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtms1H9g9uu7AdDgJzLQ
* feat(replies): when an answer ends on a question, the chips answer it
Under four questions about a sore finger, Diplodoctor's chips were "I have
more info" and "Consult a doctor": a tap answered nothing. On its live
model, 2 of 9 chip sets answered the question; 7 of 9 with this sentence.
In REPLIES_INSTRUCTION, every fleet chat gets it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtms1H9g9uu7AdDgJzLQ
---------
Co-authored-by: Claude <noreply@anthropic.com>
With `transcribe`/`transcribeUrl` and no `prefer`, a press used to start on
the browser recogniser, which on Android ends the take at the first pause
whatever `continuous` says. OrangeCat's bot chats passed no `prefer`, so a
person speaking to Causius was cut off after one or two seconds while the
Cat's composer in the same app (`prefer: "server"`) listened to the end.
- New default: server first whenever there is a server leg; browser first
only without one, or with an explicit `prefer: "browser"`.
- `dictationLeg()` is the rule, pure and tested; `start()` uses it.
- Browser test: the take outlasts a 5.5 s pause; the Android recogniser test
asks for the browser leg through the demo's `?prefer=browser`.
- browser-scroll.mjs: read the file before writing the head, so a 404 no
longer crashes the run with "headers already sent" (failed on main too).
- 0.22.0.
Claude-Session: https://claude.ai/code/session_019MDtmsZNxP7CFqQUe4uV3t
Co-authored-by: Claude <noreply@anthropic.com>
* fix(replies): a bare reply array with no fence is still the replies
extractReplies took the replies only from the fenced block the
instruction asks for. A model that forgets the fence and ends its answer
on the bare JSON array (Causius in OrangeCat\x27s companions home,
2026-10-30) showed that array as text in the bubble. A complete array of
two to six short strings as the last paragraph is now read as the
replies and taken out, once the answer is complete; while streaming it is
left alone, and an array inside an answer is never touched. 0.21.3.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmrXvMqAqZtbpQ4x3et
* fix(sheet): a sheet taller than the screen stays on it and scrolls
Sheet had no height cap (the native dialog cap is overridden so a bottom
sheet can reach the edge), so a panel taller than the viewport grew past
the top of the screen: OrangeCat's New bot sheet, a shelf of five bots over
the name, shape and colour form, opened with its title, close button and
first row cut off on a phone and on a 900px desktop (2026-10-31).
The dialog and its panel are capped at the viewport and the panel scrolls,
head in view, page behind it still. The browser test makes a sheet 3,000px
tall and measures it. 0.21.5.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmrXvMqAqZtbpQ4x3et
* chore(styles): regenerate the embedded chat stylesheet for 0.21.5
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmrXvMqAqZtbpQ4x3et
---------
Co-authored-by: Claude <noreply@anthropic.com>
Citation handles were read only as [F1] and [D1], so Solon's law answers
([L1]) and Substrata's web sources ([W12]) showed the bare handle with no chip,
link or sources row. A handle is now one or two capital letters and a number,
the pattern speakableText already used. With no citation map the answer is
not grounded and [A1] is shown as written; in a grounded answer an unknown
handle is still dropped. 0.21.4.
Claude-Session: https://claude.ai/code/session_019MDtmuxKPxNit33QRcXSCC
Co-authored-by: Claude <noreply@anthropic.com>
extractReplies took the replies only from the fenced block the
instruction asks for. A model that forgets the fence and ends its answer
on the bare JSON array (Causius in OrangeCat\x27s companions home,
2026-10-30) showed that array as text in the bubble. A complete array of
two to six short strings as the last paragraph is now read as the
replies and taken out, once the answer is complete; while streaming it is
left alone, and an array inside an answer is never touched. 0.21.3.
Claude-Session: https://claude.ai/code/session_019MDtmrXvMqAqZtbpQ4x3et
Co-authored-by: Claude <noreply@anthropic.com>
Problem: every entry from 0.19 to 0.21.1 sat under an 'Unreleased' heading although all of them are published, and 0.21.0 had no entry. Change: each release has its own version heading; 0.21.0's entry is written from its commit message (bitbaum/chatkit#48).
ChatScreen wrapped the footnote in a <p>. Substrata puts a key panel, a paragraph and a form in it; browsers close the <p> while parsing the server HTML, React hydrates a different tree and throws error #418 on /chat. Reproduced in a Substrata dev build (In HTML, <p> cannot be a descendant of <p>) and confirmed gone with a div. Class and styles unchanged.
The composer and ChatApp read images and text and refuse every other file, so
an app that reads PDFs (@bitbaum/chatkit/pdf) could not use the paperclip,
paste, drop or ChatAppHandle.send for them without a bridge. attach.readFile
(file, { limits, notes, images, room, progress }) returns the attachments to
stage (one file may become several), a note, or undefined to leave the file to
chatkit. Files are now read one at a time so images/room count the file
before. readAttachmentFiles is the same for code outside the box.
Found moving OrangeCat's Cat onto ChatApp: its PDF reading (live since
2026-10-27) had no place to plug in.
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE
Co-authored-by: Claude <noreply@anthropic.com>
An empty `accept` means "anything", and Brave on Android answered the Files
input with Camera, Camera, Recorder and "Photos & Videos" — no file browser,
so a PDF could not be picked at all (OrangeCat, 2026-10-27, from a phone).
Files now asks for PDF and text only (FILES_ACCEPT, one "document" family),
which takes every capture app off the table; the type is still decided
after the pick. Release 0.20.1.
Claude-Session: https://claude.ai/code/session_019MDtmt7KKvAA6LzcgFqXA3
Co-authored-by: Claude <noreply@anthropic.com>
* feat(pdf): read a PDF someone attaches, as text or as pictures of its pages
No model on a free chain reads a PDF file, so a PDF never leaves the device
as one. @bitbaum/chatkit/pdf reads it in the browser with pdf.js:
- a PDF with a text layer comes back as text, page markers kept;
- one without (slides exported as pictures, a scan) comes back as its pages,
four to a sheet at 784px a page, for a model that can see.
chatkit-copy-pdf-assets copies pdf.js's worker and decoders into the app's
static folder; readPdf takes their URL. Without the decoders, JPEG 2000
pages (macOS's "reduce file size" export) draw blank. The legacy build is
used so older iPhones read PDFs too; pdf.js loads only on the first PDF.
Found on OrangeCat 2026-10-27: a 17-slide investor deck (no text layer,
JPEG 2000 images) could not be shared with the Cat at all. Checked in
Chromium against that deck: 5 sheets, every slide legible.
Release 0.20.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmt7KKvAA6LzcgFqXA3
* docs(pdf): describe the app's static folder without naming it as a chatkit path; chain the copy into build (pnpm skips prebuild)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmt7KKvAA6LzcgFqXA3
---------
Co-authored-by: Claude <noreply@anthropic.com>
The first four products to move onto ChatApp (heidi#226, orangecat#1447,
solon#309, substrata#262) each listed what it could not do and wrote a
workaround. This closes those gaps, additively:
- ChatApp ref (ChatAppHandle: send, fill, focus, newChat, openConversation),
initialMessage (once, StrictMode-safe) and deepLinkParam (fills, never
sends unless deepLinkAutoSend)
- Retry re-sends the failed turn's pictures
- ChatTurnError: the failure reason travels with its own turn
- stopKeepsPartial, per ChatApp and per turn
- starters with lang, historySlot/historyEmpty, attachExtras rows in the
attach sheet, chips on the sent message (chipsFor), onTemporaryEnd with
turn.chatId, renderFooter(m, { isLatest, index, send, fill }), thread.after
- the live Stop button is a 44px target
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE
Co-authored-by: Claude <noreply@anthropic.com>
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>
* docs: the fleet's chats side by side
Every product renders chatkit's Composer, most render ChatScreen and
ChatThread, but the app around them — chat list, New chat, Temporary chat,
titles, rename/delete, restore on reload, the queue, attachment defaults —
is written again in each product. One table, read from each repo's main
on 2026-10-27, with the file each cell comes from.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE
* feat(app): ChatApp, the whole chat app every product shares
The pieces were shared; the app was not. ChatApp composes ChatScreen,
Composer and ChatThread and owns what each product re-implemented:
- the header (Chats · title · New chat · More with Temporary chat, Share,
Rename, Delete) as frosted pills, with headerStart/headerEnd slots;
- the chat list: a <dialog> drawer on a phone (Escape, focus trap and
restore from the browser; opens on its close button, not the search
box), a rail when wide; search, Today/Yesterday/Earlier, one row
anatomy (title, date, one "…" → Rename · Delete as equal cells);
- New chat; Temporary chat that writes nothing and ends on leaving;
- titles from the first message (Heidi's rule) or makeTitle();
- the open chat restored on reload (or driven by conversationId);
- turns per conversation that keep running in the background, Stop that
keeps what arrived, Retry on a failure, a queue behind a running answer;
- attachments on by default, staged above the text, shown in the turn.
Storage is an adapter: ConversationStore (list/get/create/append/rename/
remove) with localConversationStore (versioned, never throws, quota drops
the oldest) and httpConversationStore (Heidi's REST shape,
serverWritesTurns for routes that store turns themselves). The product
supplies the transport and its words.
Additive: ChatScreen, Composer and ChatThread behave as before;
ChatMessageData gains optional attachments and Composer an optional
stagedPosition. Unit tests cover grouping, titles, search, dates, restore
and both stores (with storage that throws and a quota); test/browser-app.mjs
drives demo/app.html at 390px and 1440px.
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>