improvement(extension): simplify page access and enable voice input
Summary
Chat asked for page access site by site, hid voice input in the extension, and required a manual reload after login. The extension now offers one optional Allow across websites action, puts the shared microphone beside Send, and resumes signed-in panels automatically. The same-user session recovery clears failed workspace/history reads; changing accounts reloads the document to discard the previous identity's cached data.
Remove per-site forms, permission lists, version callouts, and persistent shortcut instructions. Keep concise recovery actions and the keyboard-only focus alternative. Permission approval never sends a draft or starts background capture. Voice capture starts on a microphone click; Send, restart, and conversation changes discard obsolete transcripts. Blocked microphone access offers the browser settings action only when the extension bridge can handle it.
Rebased onto staging and preserve its existing go/ support from #9686. There is no competing alias or new go/ toggle. The staging app's go/ search-recovery handler must deploy before this extension is published. The existing 0.1.3 Store submission remains unchanged.
Type of Change
- Improvement
Testing
- Current head
4e537eb5: all checks finished — 57 success, 25 intended skips, one neutral notice for the documented disposable loopback database example. No failed or pending checks. Application CI and packaged extension CI succeeded. - Packaged transport: 32 passed. Hosted navigation: 10 passed. Access: 16 passed. Composer: 16 passed and one optional live-provider skip. Zero browser errors across the hosted suites. Link creation exercises validation, a real save, database state, and destination navigation.
- Red-first browser regressions now pass for initial login recovery, same-user login after cached 401 responses, and stale recording events affecting a newer recording. Voice also verifies microphone denial/grant, actual synthetic-device audio chunks, draft preservation, restart, and Send cancellation. Synthetic transcription is not live-provider proof.
- Native Chrome verified the microphone beside Send, page capture, page-access and shortcut controls, direct go/docs/ and sim/docs navigation, and the sim + Space keyword. An isolated review profile uses synthetic/public content; no user audio was recorded. Arc and co-installed Glean behavior are not claimed as verified.
- The reviewed gallery contains 107 actual captures covering every extension route, with voice, attachment, permission, recovery, and narrow-layout examples. Image hashes and per-capture provenance are retained.
- Cleanup and test-audit completed. Scoped Biome and the extension build passed. Full tests and app builds ran in CI. Greptile and Cubic both report 5/5; all nine threads are resolved.
Checklist
- Code follows project style guidelines
- Self-reviewed my changes
- Current-head checks complete
- Both reviews complete and all threads resolved
- Current-head screenshot gallery verified
- No camera, microphone, history, or management manifest permission added