mirror of
https://github.com/bitbaum/substrata.git
synced 2026-12-04 06:08:02 +01:00
* feat(ask): Ask is @bitbaum/chatkit, with a working microphone The chat was hand-built: a Dictate button with no server leg (dead on Firefox and on Chromium without Google speech), no Retry or Copy, a scroll that jumped to the bottom on every token, Enter ignoring IME composition, and a composer of mismatched controls. It is now the fleet's chat: chatkit's ChatThread and Composer, with Substrata's parts in its slots — evidence under each answer (records / unreviewed leads / web pages, never merged), the model or own-key control, the starters. - /api/transcribe: ai-kit 1.20 speechChain + looksLikeSilence (moved there from Heidi so every app shares them); rate limited per address. - Retry replaces the failed turn instead of repeating the question. - Text files attach as before; a picture says it is not read yet. - --ck-* mapped to Substrata's tokens in globals.css; ask.css 523 -> 225 lines (only the dock, page and Substrata's own parts remain). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(ask): one model control, composer pinned in the dock, links models mistype Seen on the new chat at 390px and in the dock: - the model select (as wide as its longest model id) and 'Your AI key' wrapped the composer onto three rows: one select now, its last choice opens the key panel; - in the dock the composer scrolled out of the panel under a long answer: pinned, with the panel header sticky so Close stays in reach; - Gemini closed links with ']' and gpt-oss wrote '[Title] (url)': both repaired in tidyAnswer. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>