Files
chatkit/dist
CatoandClaude f6c26f054c fix(dictation): no microphone on a page whose policy refuses one (#81)
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>
2026-11-12 08:02:41 +01:00
..