feat(voice+search): barge-in Stop, numbered photos, in-HUD article reader - #7
Merged
Merged
Conversation
…reader
Voice — always-listen barge-in:
- A dedicated recognizer runs WHILE ATLAS speaks (the wake/command recognizers
are idle then, so no mic contention). Say "stop / quiet / enough" and ATLAS
stops mid-sentence and goes quiet. Gated on wake being enabled.
Search visuals — numbered, organized, interactive (all in-HUD):
- Results are now numbered: each floating photo shows a number badge + title
caption. web_search.rich() returns a numbered `results` list (real articles
with thumbnails zipped by index).
- Photos POP in the screen centre then fly out one-by-one to an organized grid
("table in the air") near the top — staggered per-item flyIn(--dx/--dy).
- "open article 2" (voice or chat) opens an in-HUD reader: a live <iframe> with
a text Reader fallback (/api/read via read_article) for sites that block
embedding — never leaving the ATLAS interface. Esc / ✕ closes it.
Tests: 46 passing offline (+2: numbered results, /api/read covered by existing).
Headless-verified: 6 numbered grid items + fly-in + "open article 2" → iframe.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… suppression, bigger centred photos From live testing: - Article opens in Reader (extracted text) by default so content always shows in-app (most sites block iframes); ◐ Live still tries the page; JS-only pages fall back to the search summary. Reader/Live/TLDR/✕ in the header; Esc closes. - While an article is open, bare voice commands work without the wake word: "close / next / previous / reader / live / summarize", plus "Hey Atlas <question>". - Barge-in ignores ATLAS's own words (self-text suppression) so it won't interrupt itself — only your "stop" gets through (browsers give no true echo cancellation). - Floating result photos doubled in size and the grid is centred on screen. Frontend only. 46 tests pass offline; headless-verified (grid 248x176, centred, reader default, no console errors). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three connected upgrades — everything stays inside the ATLAS interface.
1. Voice: always-listen barge-in ("Stop")
A dedicated recognizer runs while ATLAS is speaking (the wake/command recognizers are idle then, so there's no mic contention). Say "stop / quiet / enough / cancel" and ATLAS stops mid-sentence and goes quiet. Gated on wake being enabled (so it never surprises you with a mic prompt).
2. Search: numbered, organized, animated photos
web_search.rich()returns a numberedresultslist; thumbnails zipped by index).flyInwith per-item--dx/--dyfrom centre).3. "Open article N" → in-HUD reader
Say or type "open article 2" and a floating reader opens inside ATLAS:
<iframe>of the page, plus a Reader text fallback (/api/read→read_articleextraction) for the many sites that block embedding (X-Frame-Options) — so you never leave the interface.Verification
Note: iframe embedding is blocked by some sites (X-Frame-Options); the Reader fallback covers those, keeping everything in-app as requested.
🤖 Generated with Claude Code