The four steps 0.41 left in the README are done:
- One frame: TypingBox (typing.tsx) draws the voice bar, box, strip, text,
tools row and the take's problem for both. The field's tools row is the
composer's ck-tools, so its paperclip and microphone are bare icons like
the composer's (they were bordered circles). Frame and text share one set
of rules in styles.css; each shape keeps only its differences.
- One text hookup: useTypingText (dictation + appendTranscript +
clipToMaxLength + the latest-text ref).
- One submit-key rule: submitKeyAction in composer.ts, exported.
- Same controls on both: Composer `attachments`; DictationField
`handleRef` (DictationFieldHandle) and `attachExtras`.
Public APIs are additive. All existing tests unchanged; new unit, render
and browser checks (390px, 320px dark, desktop).
Claude-Session: https://claude.ai/code/session_019MDtmv1SAs6YZn4FrewbXR
Co-authored-by: Claude <noreply@anthropic.com>
A framed Composer drew Attach and the microphone as filled circles next
to a bare model chip; they are bare icons now, as in the inline composer.
DictationField had the double box 0.39.1 removed from the composer: a
host's input rounding and focus ring drew inside its frame. Both are
measured inside the hostile-host demo.
Claude-Session: https://claude.ai/code/session_019MDtmwF5V6xdaNTSbg9ouh
Co-authored-by: Claude <noreply@anthropic.com>
Found on OrangeCat (owner's phone, 2026-11-15) in the Cat chat: the site's
*:focus-visible ring and rounded textarea rule drew a second box inside the
composer. The Messenger was guarded; the plain Composer was not. The guard
now sits on every composer's field and the Messenger's copy is gone.
test/browser.mjs measures the focused field inside a hostile host
stylesheet (one shared demo helper, demo/hostile-host.ts): FAIL before
(ring + 6px radius), PASS after. Embedded sheet 10,996 B gzipped (budget
11,000), by dropping a rule that set an outline only to remove it.
Claude-Session: https://claude.ai/code/session_019MDtmwF5V6xdaNTSbg9ouh
Co-authored-by: Claude <noreply@anthropic.com>
Measured on Loki's chat, 2026-11-13: three quick messages in a new chat
became three conversations, two queued messages vanished on reload, and a
question whose answer died with the page showed nothing under it, forever.
- send-queue (pure): takeQueuedFor, queuedFor, storableQueue,
serializeQueue, parseStoredQueue, unansweredTurn.
- ChatThread takes `unanswered` and says so, with Try again when onRetry
is given; ChatApp passes it.
test/send-queue.test.js; verify (format, lint, typecheck, build, tests,
browser tests) passes.
Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq
Co-authored-by: Claude <noreply@anthropic.com>
The empty chat's starters wrapped into a row of pills. A row of choices is
never wrapping pills (fleet AGENTS.md, "One shape per kind"; OrangeCat UX
audit 2026-11-12, auth-firstrun#5). .ck-starters-list is now a column and
each .ck-starter a full-width, left-aligned, 44px row. Checked in
test/styles.test.js and test/browser-app.mjs at 390px and 1440px.
Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn
Co-authored-by: Claude <noreply@anthropic.com>
* Messenger: people talking to people, and to the agents among them (0.26.0)
OrangeCat's direct messages were built in the app, so what was wrong with
them could not be fixed for the next product: an agent's answer in a
conversation between two people looked like the other person's, nothing
said an agent was taking part, top bar and a two-row box took half a
phone, and nothing could be attached. This is the messenger as a package.
@bitbaum/chatkit/messenger: Messenger (the whole screen) and its parts
useMessenger, ConversationList, MessageThread, MessageAttachments. The app
implements MessengerTransport; the package has no database, websocket or
storage. styles/messenger.css is the embedded sheet plus the Messenger's
section, without ChatApp.
- An agent is told from a person by the shape of its face, an Agent mark
with whom it answered for, and an outlined bubble; the top bar says it
is in the conversation; naming it shows that it is thinking, and says
so if it never answers.
- Files: Camera, Photos, Videos, Files, checked against the attachment
policy before an upload starts, photos shrunk in the browser, progress
and Try again per file, a full-screen viewer, a film drawn as its still.
- The thread: runs, day lines, a New line, ticks from readState, a failed
message kept with Try again, earlier messages loaded above with the
reader's place kept, one bubble per message however often it arrives.
- Composer: layout="inline", attachmentsAlone, attach.take, attach.accept,
a "videos" source, files dropped onto the box. Defaults unchanged.
The state is one pure function (messengerReducer), tested in Node.
test/browser-messenger.mjs drives demo/messenger.html at 390px, 320px
dark and 1280px. It found two defects before any product did: a read mark
that cleared the badge without telling the server, and a page of history
that pulled the reader to the end of the thread.
threadkit 0.1.2 (attachment policy, mention matcher, readState) is merged
and tagged but not on npm, so those rules are carried word for word in
src/thread-rules.ts with threadkit's own tests; the file says when it goes.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6
* test(messenger): wait for the opened conversation before reading its thread
Side by side, the conversation that was open can still be on screen with a
"New" line of its own, so the check read the old thread on a slow runner.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6
---------
Co-authored-by: Claude <noreply@anthropic.com>
The composer's text area drops its outline, and the only sign of focus
was a 1px border stepping from 90% to 82% grey: 1.5:1 against the
composer in light, 1.35:1 in dark, and no change at all in ChatScreen's
floating composer (measured on bitbaum.orangecat.ch, 2026-11-12).
While the composer holds focus its border now takes --ck-focus, a new
overridable variable that defaults to the secondary ink (--ck-fg-2):
5.7:1 in light and 7.0:1 in dark with the design tokens, in every
composer shape including ChatScreen's dock. Still a 1px border with no
ring, so the box keeps its quiet look and its size. An app can set
--ck-focus to its own colour.
test/browser.mjs tabs to the composer on the demo and the full screen
at 390 and 1280px, light and dark, and checks that the border changes,
that it contrasts at least 3:1 with the composer's own background
(computed in the page), and that the composer measures the same focused
and unfocused. The contrast and dock checks fail without this change.
Claude-Session: https://claude.ai/code/session_019MDtmsSWTTpVpe4wh3v1sb
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>
* 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>