Sound check on the phone page (probe for issue #1); timing logs for name checks and previews; 0.4.1

- apps/even-client: a collapsed "Sound check" on the phone page. Finds out whether the page
  may play sound in the Even app, without a touch, in the background, and which outputs it can
  see. Plays only on a button press; sends nothing to the bridge.
- services/bridge: wake.checked (every name check) and preview.done log the clip length and the
  duration, never the words.
- tests: hands free after a recording in Agents with menu, wake and preview all on; the log
  lines carry only the fields above.
- docs: 0.4.0 rollout and Dan's device report; security 3c, 3e, 3f; 0005 records that the
  Round 20 reading of "agent sub-app" was wrong (not changed here).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Dan
2026-11-29 11:24:16 -08:00
co-authored by Claude Fable 5.2
parent e4c102a539
commit b57505406b
9 changed files with 365 additions and 5 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import type { Controller, Snapshot } from '../core/controller.ts';
import { BridgeApiError, BridgeNetworkError, normalizeBridgeUrl } from '../net/bridgeClient.ts';
import { mountSoundCheck } from './soundCheck.ts';
/**
* Phone-side page: pairing, status, diagnostics, typed input and disconnect.
@@ -141,7 +142,7 @@ export function mountPhoneUi(root: HTMLElement, controller: Controller, defaults
logView,
]);
root.append(el('h1', { textContent: 'Hermeven' }), message, pairing, status, conversation, diagnostics);
root.append(el('h1', { textContent: 'Hermeven' }), message, pairing, status, conversation, mountSoundCheck(document, window), diagnostics);
const rows = (list: HTMLElement, entries: Array<[string, string]>) => {
list.replaceChildren(...entries.flatMap(([k, v]) => [el('dt', { textContent: k }), el('dd', { textContent: v })]));