Files
loki/src/hooks
CatoandClaude Fable 5.1 f883de4c20 feat(loki): chatkit 0.10 (the row under an answer, studio voice) and temporary chat (#1361)
* feat(loki): chatkit 0.10 — the row under an answer is the fleet's, read in the studio voice

Copy · Listen · Share · Try again · Bad answer under every answer are
chatkit's AnswerActions now (0.10.0): Listen reads the answer in the studio
voice (createServerSpeaker, made inside the tap so a phone does not mute it,
the phone's own voice as the fallback) and the row becomes a small player —
Stop and the time so far — while it reads. Loki's own copy of the flattening
(speech-text) and the browser-voice hook are gone; the path re-exports
chatkit's for the voice modules. The composer's placeholder is one row on
the narrowest phone, from the same release.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

* chore(deps): chatkit 0.10.0 pinned to main

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

* feat(loki): temporary chat — never listed, gone when you leave

"Temporary chat" in the start screen's menu (and a thread's): the next
conversation is created `ephemeral` (conversations.ephemeral, drizzle 0126).
It is never in the rail, the start screen or an export — every list reads
ephemeral = false — and it is deleted the moment the person leaves it: a new
chat, a switch to another thread, a closed tab (the delete goes with
keepalive). The daily sweep (crons/sweep-temporary-chats, 04:40 UTC) takes
any left behind by a dead phone. The header says "Not saved — gone when you
leave" while one is open or armed. lib/loki/temporary-chat.ts holds the
leave rule, pure and tested (scripts/test/loki-temporary-chat.ts).

The workspace's two drawers moved to WorkspaceDrawers to stay under the
line cap.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

* chore(drizzle): format the generated 0126 meta

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

* fix(crons): the temporary-chat sweep writes its outcome down

cron-outcome-persistence: every cron-authed route records what it did with
logDebug, since the journal holds about a day.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-21 07:33:11 +02:00
..
2026-08-31 09:23:30 +00:00