Repository navigation
Deploy site to anoma.ly/hex: iOS Auto-Lock FAQ (#3097) - #3098
Open
opencode-agent[bot] wants to merge 62 commits into
Open
opencode-agent[bot] wants to merge 62 commits into
opencode-agent[bot] wants to merge 62 commits into
Conversation
…3063) * ios: add container-app-only StoreKit review prompt and Rate Hex link * ios: point HexLinks to anoma.ly/hex and add review prompt simulator scene
* chore(rune_ui): remove unused Storybook Playground UI, keep SCENES and --snap * fix(rune_ui): qualify scenes::fixture in Linux pane test * test(rune_ui): update Linux Labs goldens after removing Playground
…r vocabulary bias (#3069)
…eys) and Helium tab URL (#3068) * feat(labs): Suggest the last session (Annotate) Adds Labs › Suggest the last session (labs.annotate_last_session, off by default, every OS). When a capture is sent to a session by hand (a chip, the list, or a reroute), Hex remembers that session for the capture's site (the tab's origin), else its terminal folder, else its app, in <support>/annotation-router/last-picks.json. The next capture of the same one within a day gets that session as a weighed routing clue (smart::Source::LastPick: 80 points within an hour, 60 after), so it leads the capsule's suggestions as "last one went here". Why: across 13 real captures that were routed by hand, the router listed the right session as a suggestion in 2. The session picked last time for the same app was the right one in 8. It is a suggestion only. 80 points is under smart routing's send threshold, and Hex only auto-sends saved rules and Jev picks, so nothing new is sent on its own. Saved rules and every obeyed source still decide first, the clue is dropped when the session is no longer open, and Undo forgets the capture's own pick. With the lab off nothing is written or read. Verified: cargo nextest (labs, control::settings, capture_host::routing, routing::, i18n, rune_ui) and cargo clippy --locked --bin hex -- -D warnings on macOS. Not verified: a live capture, and Linux goldens for the Labs pane (one new row in the Annotate group). * feat(labs): Keep sending to the last session (Annotate) Adds Labs › Keep sending to the last session (labs.annotate_keep_sending, off by default, every OS), on the store Suggest the last session added. With it on, a capture made within five minutes of sending one of the same site, terminal folder or app to a session by hand gets the last-pick clue at send strength (95). With a clear lead that is a RouteAnswer::Rule marked AutoSendBy::LastPick: the capsule reads "Sending to X" with "Same as last" and the Undo ring, and the capture goes when the countdown ends. Always… is offered as it is after a Jev pick. A kept send counts as a pick, so a run of captures keeps going five minutes at a time. Undo forgets the pick and ends the run, whether it cancels the countdown or takes back a delivered send. A clue as strong from another source (a dev server's port, the terminal's own session) leaves it a suggestion, and saved rules and obeyed sources still decide first. Why five minutes: in 13 real hand-routed captures, the three made within five minutes of a pick for the same app all went to the same session; the one miss among repeats inside ten minutes was at eight. The store is read and written when either lab is on. The Worker's three hooks (sent, taken back, cancelled) live in last_pick.rs, which keeps routing.rs under the 1,500-line cap. Verified: cargo nextest (labs, control::settings, capture_host::routing, routing::, i18n, rune_ui: 975 passed), cargo clippy --locked --bin hex -- -D warnings and scripts/code-shape.py on macOS. Not verified: a live capture, the capsule drawing "Same as last", and Linux goldens for the Labs pane (one more row in the Annotate group). * refactor(labs): rename Keep sending to Repeat the last send Renames the lab added in ef398a118 before it ships: the card title "Keep sending to the last session" was cut off beside its New badge in Settings › Labs (mac-labs-screenshots snap). The title is now "Repeat the last send", and the id, setting, gate and feature follow it: annotate-repeat-send, labs.annotate_repeat_send, labs::annotate_repeat_send, Feature::AnnotateRepeatSend. Translations, docs and comments are updated. No behavior changes; the old key never reached a release. Verified: cargo nextest (labs, control::settings, capture_host::routing, routing::, i18n, rune_ui: 975 passed), cargo clippy --locked --bin hex -- -D warnings, scripts/code-shape.py, and a --snap of the Labs pane on macOS. * fix(annotate): read the tab URL from Helium Adds net.imput.helium to the Chromium browsers whose front tab URL the router reads through AppleScript. Why: a capture of Helium recorded no URL, so site rules, the localhost port lookup and the per-site last pick all fell back to "the app is Helium". All eight Helium captures on Ryan's Mac had an empty evidence.url. Verified: Helium answers `URL of active tab of front window` over AppleScript on macOS (run by hand against a live window), and the router's routing:: tests pass. Not verified: a live capture of Helium through Hex. * feat(labs): Arrow keys pick a session (Annotate, macOS) Adds Labs › Arrow keys pick a session (labs.annotate_arrow_suggestions, off by default, macOS). With it on, a capture answered with a guess or with recent sessions opens its Send-to list at once instead of the compact bar: up to five rows, suggestions first and then the newest sessions, the first one highlighted. The tap hands the capsule Up, Down, Return and Escape through a new CapsuleKeys::Arrows: the arrows move the highlight, Return sends to it (Shift-Return also saves a rule), and Escape or a click away folds the list and releases the keys. Other keys still reach the app in front unless the pointer moved onto the list, as with the plain suggestions. A rule's send, a failure and an empty list open nothing, and a list that was folded is not reopened by a later answer. With the lab off the capsule behaves as before. CapsuleKeys, CapsuleKey, takes and opens_search move unchanged from capture_host.rs to capture_host/capsule_keys.rs: capture_host.rs was at its code-shape ceiling (2,332 lines) and the new variant put it over. Verified: cargo nextest (labs, control::settings, capture_host, routing::, i18n, rune_ui: 1,053 passed), cargo clippy --locked --bin hex -- -D warnings and scripts/code-shape.py on macOS. Not verified: a live capture with the real key tap, and Linux goldens for the Labs pane. * test(goldens): Labs pane with the new Annotate labs Updates the five Labs goldens the Linux check rendered differently on this branch (check-linux.yml run 46196075394, golden-actual): rune-linux-labs-light, rune-mac-labs-dark/light and rune-mac-labs-yolo-mode-dark/light. Each was inspected: "New in Labs" now leads with Repeat the last send and Suggest the last session, and the All and Annotate counts rise with them. Nothing else in the frames moved.
The row opens anoma.ly/hex in the browser, so iPhone users who like Hex can find the desktop app (and its Meetings) from Home.
…or job to the launched Hex (#3074) Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com>
…tdown (#3071) The ring was rebuilt in poll after a hover handler had already re-run the view, and poll did not report the rebuild as a change, so the view kept the previous ring: held rings drained on and resumed ones stood frozen until the chip left.
…il ITN, and function-word stutter collapse (#3076)
…es (#3077) * perf(dictation): pre-encode completed pause-separated chunks during long captures * fix(linux,windows): pass pause_chunks to remaining engine.finish call sites
…Windows and Linux (#3078) * feat(dictation): add pure-Rust ONNX backend for Cleanup Tagger v2 on Windows and Linux * chore(i18n,golden): update Cleanup Tagger v2 lab translations and Linux UI goldens
…rn (#3084) Lazy 100 ms paste settle on macOS and Linux, 3 ms local Cmd+V pacing with 15 ms kept for remote and VM clients, non-blocking YOLO Return on the output worker loop, and background History saves flushed on stop.
… CoreAudio listeners (#3083) Stop treating idle Scope::All process taps as stalled when no system audio is playing, gate digital-silence refreshes on active output with a 30 s cooldown, and require actual audio packet delivery before resetting supervisor retry backoff. Replace 2-second default-output polling and 500 ms supervisor sleeps with native CoreAudio property listeners feeding a 150 ms debounced in-place tap swap, move the IOProc audio handoff onto a pre-allocated lock-free SPSC ring buffer, and fall back to ScreenCaptureKit after 3 consecutive active Scope::All tap failures.
…aker calibration (#3087) Calibration now judges only marks held for at least three looks, weighs them by how long they lasted, and needs three turns the microphone accounts for. A tile that never lights near the user while they talk at length, whether it stays dark or flickers only in their silences, is still unhealthy.
…Mobile (#3091) * fix(ios): use Dynamic Type text styles and scaled metrics across HEXMobile * fix(ios): split Home's idle trigger frame so it compiles SwiftUI has no frame(minWidth:height:); give the minimum width and the fixed height their own frame modifiers. * fix(ios): use a 16 pt page margin on Home, Settings and Hex's sheets One HexTheme.pageMargin replaces the 20 pt literals on Home, the keyboard hand-off, every Settings page, onboarding, the setup sheet, What's new, Send feedback, the Hex words review and Acknowledgements. * fix(ios): stack settings' segmented rows at large text sizes From XXL up, SettingsAdaptiveRow puts a row's label and description above its segmented choice instead of squeezing the label beside it, which broke Auto-start and Strength a letter at a time and pushed Settings › Keyboard off the screen at accessibility sizes (Keyboard, Auto-start, Hex key, Strength, Live words, Keep mic warm, Model). At those sizes SettingsSegments fills the width it has, or lists its segments one under another where a label would not fit on one line beside the others; Send feedback's kind and the Hex words review's choices get the same. At accessibility sizes Dictation language also puts its menu under the label, and menu values may take two lines. Smaller sizes lay out as before. * fix(ios): stack a settings row when its title would wrap beside the picker SettingsAdaptiveRow now picks its side-by-side layout only when the label's title fits there on one line (ViewThatFits), and otherwise stacks the label above a full-width picker, as it already does from XXL up. At the default text size this turns Auto-start's "Auto-/start" and three-line description back into readable lines. The description wraps beside the picker without deciding the fit, so choosing a segment with a longer description doesn't flip the row's layout. Rows whose title fits (Keyboard, Strength, Live words) lay out exactly as before. --------- Co-authored-by: vimtor <36263538+vimtor@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
* site(iphone): document iOS Auto-Lock limitation in FAQ * site(iphone): simplify Auto-Lock FAQ answer * site(iphone): mention Attention Aware Features in Auto-Lock FAQ --------- Co-authored-by: vimtor <36263538+vimtor@users.noreply.github.com>
…l, and port Cleanup v2.2 (#3100) * fix(ios): fix 1.0.6 App Store blockers, audio route bugs, Korean label, and port Cleanup v2.2 * fix(ios): address review findings on audio races, curly apostrophes, and localization
… is not padded as a gap (#3107) Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com>
Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com>
…, and report no streams in hex service (#3175) Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com>
Removes 28 dead or duplicate files, prunes unused dependencies and inactive feature flags, ratchets file-size ceilings down by 369 lines, scrubs private paths/hostnames/model codenames/dated logs across tests and docs, and fixes pre-existing rustfmt drift.
… dev formatting, and two-hit correction learning (#3183)
#3180 removed scrawl-capture's `helper` feature, but build.rs still compiled the Swift helper only when CARGO_FEATURE_HELPER was set, so target/release/scrawl-helper was never produced and build-app.sh failed to copy it into the bundle. Compile it on every macOS build. Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com>
Keep low row-2 thumb slides on the space bar, both before and after a swipe is promoted, and reclaim half the emoji dead strip beside space. Hold keys through a few points of border drift, keep claimed taps out of the journal, and clamp learned offsets. Correct the word before Return, add shed -> she'd, and stop rare two-key micro-roll swipes from typing junk while everyday words like "ok" still swipe. Keep slid space bars off the trackpad, protect Caps Lock through rollover, and log gapHitFrame.
…m prompt (#3185) Dictation pre-gates its audio, but files, meetings, and the local API reach the shared GGUF session directly. Qwen3-ASR reads its term list back as dictionary echoes on digital silence, room tone, clicks, and other transients, so apply the verified holds_no_speech gate where the vocabulary prompt is attached, next to the existing drop_vocabulary_echo pass. Parakeet's bias slot and warm-up runs are untouched. Co-authored-by: Kit Langton <kit@anoma.ly>
A pending swipe touch that the keys move onto a punctuation mark or digit is still on a character key: only a touch moved off the character plane, as a row-2 slide onto the space bar, forgets its stroke. This restores promotion for paths that cross a non-letter key before they travel a key's pitch, such as p to a past the period key on Dvorak punctuation. Add a synthetic Dvorak regression test for it.
…turn fix(ios): steady row-2 space slides, micro-roll swipes, and Return
…3187) Each sealed pause chunk is decoded as its own clip, so the offline decoder capitalizes its first word and can end it with a period the speaker never said. Joined back together, one sentence reads with a bogus mid-sentence capital ("that they No longer") or a period through its middle ("probably do. Onboarding audits"). Repair the seam only, between chunks and before the tail, never inside a chunk: drop a trailing period after a word that dangles mid-clause (unless the next chunk plainly opens a new sentence), then lowercase an ordinary capitalized start. Acronyms, camelCase, "I", active vocabulary and screen terms, and days, months, and languages keep their capital.
Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com>
…k to Submit (macOS) (#3194) Port Subtle Liquid Glass capsule material, center-out Liquid Coalesce recording wake, and hover Lock to Submit controls on macOS behind off-by-default Labs › Liquid Glass HUD (labs.liquid_glass_hud).
* feat(android): Labs › Hold space to move the cursor A tester asked to keep the space bar's hold for moving the cursor: today a still hold opens the dictation-language menu and ends the press, so hold then slide never moves the cursor. With the new lab on, a still hold for Android's touch-and-hold delay turns the space bar into a trackpad (a click says it took), one character per 12.6 dp from where the finger was held, as iPhone Hex's trackpad, and lifting types nothing whether or not it moved. Taps and plain slides are unchanged. The language stays in the Hex menu's Language page, and TalkBack's long click on the space bar still opens it. Off (the default), holding opens the menu exactly as before. Verified: :app:testDebugUnitTest (400 tests, including the new aHeldSpaceBarMovesTheCursorFromWhereItWasHeldAndTypesNothing) and the release build's R8 step pass; on an API 36 emulator, hold-slide moved the cursor, hold-release typed nothing, a tap typed a space, and with the lab off the hold opened the language menu. * android: Turkish for the space-bar hold lab's strings --------- Co-authored-by: Anomaly <anomaly@anomastudio.husky-tilapia.ts.net>
* feat(android): Labs › Hold space to move the cursor A tester asked to keep the space bar's hold for moving the cursor: today a still hold opens the dictation-language menu and ends the press, so hold then slide never moves the cursor. With the new lab on, a still hold for Android's touch-and-hold delay turns the space bar into a trackpad (a click says it took), one character per 12.6 dp from where the finger was held, as iPhone Hex's trackpad, and lifting types nothing whether or not it moved. Taps and plain slides are unchanged. The language stays in the Hex menu's Language page, and TalkBack's long click on the space bar still opens it. Off (the default), holding opens the menu exactly as before. Verified: :app:testDebugUnitTest (400 tests, including the new aHeldSpaceBarMovesTheCursorFromWhereItWasHeldAndTypesNothing) and the release build's R8 step pass; on an API 36 emulator, hold-slide moved the cursor, hold-release typed nothing, a tap typed a space, and with the lab off the hold opened the language menu. * feat(android): Labs › Hold delay for accents, symbols and the space bar A tester asked to adjust how long a long press takes. Letter holds used a fixed 300 ms and the space bar Android's touch-and-hold delay. The new Labs › Keyboard › Hold delay row offers Short (200 ms), Default (300 ms) and Long (500 ms), inside Gboard's Key long press delay slider (100 to 700 ms, 300 default). Default is today's timing exactly, so it is the lab off. The space bar keeps Android's delay at Default and is scaled by the same share otherwise (400 ms becomes 266 or 666 ms), so it always waits longer than a letter. Pop-ups, haptics and Delete's repeat are unchanged. Verified: :app:testDebugUnitTest (400 tests, including the new holdDelayDefaultKeepsTodaysTimingAndTheSpaceBarScales) and the release build's R8 step pass; on an API 36 emulator a held e showed its accents at 240 ms only with Short, at 350 ms with Default but not Long, and a 520 ms space hold opened the language menu with Short and Default but not Long. * android: Turkish for the space-bar hold lab's strings * android: Turkish for the hold delay lab's strings --------- Co-authored-by: Anomaly <anomaly@anomastudio.husky-tilapia.ts.net>
* feat(android): Labs › Hold space to move the cursor A tester asked to keep the space bar's hold for moving the cursor: today a still hold opens the dictation-language menu and ends the press, so hold then slide never moves the cursor. With the new lab on, a still hold for Android's touch-and-hold delay turns the space bar into a trackpad (a click says it took), one character per 12.6 dp from where the finger was held, as iPhone Hex's trackpad, and lifting types nothing whether or not it moved. Taps and plain slides are unchanged. The language stays in the Hex menu's Language page, and TalkBack's long click on the space bar still opens it. Off (the default), holding opens the menu exactly as before. Verified: :app:testDebugUnitTest (400 tests, including the new aHeldSpaceBarMovesTheCursorFromWhereItWasHeldAndTypesNothing) and the release build's R8 step pass; on an API 36 emulator, hold-slide moved the cursor, hold-release typed nothing, a tap typed a space, and with the lab off the hold opened the language menu. * feat(android): Labs › Hold delay for accents, symbols and the space bar A tester asked to adjust how long a long press takes. Letter holds used a fixed 300 ms and the space bar Android's touch-and-hold delay. The new Labs › Keyboard › Hold delay row offers Short (200 ms), Default (300 ms) and Long (500 ms), inside Gboard's Key long press delay slider (100 to 700 ms, 300 default). Default is today's timing exactly, so it is the lab off. The space bar keeps Android's delay at Default and is scaled by the same share otherwise (400 ms becomes 266 or 666 ms), so it always waits longer than a letter. Pop-ups, haptics and Delete's repeat are unchanged. Verified: :app:testDebugUnitTest (400 tests, including the new holdDelayDefaultKeepsTodaysTimingAndTheSpaceBarScales) and the release build's R8 step pass; on an API 36 emulator a held e showed its accents at 240 ms only with Short, at 350 ms with Default but not Long, and a 520 ms space hold opened the language menu with Short and Default but not Long. * feat(android): Labs › Emoji search in the emoji panel A tester asked why emoji can't be searched; Hex for iPhone can. With the new lab on, the emoji panel gets a Search emoji bar. Tapping it brings the keys back under a search field in the strip's place; every key types into the query (KeyboardEngine.emojiQuery), never the app's field, with no suggestions, corrections, swipes, adaptive touch or learning, and nothing kept. Results follow each key in two rows in the panel's extra height, so the keyboard keeps its height, ranked as iPhone Hex's EmojiLibrary.search plus EmojiSuggester's everyday boost, with recent emoji lifted among equals; an empty query shows recents, then the everyday emoji. A pick types into the app's field and joins Recently used; the close button and Return go back to the panel, and Back leaves for the letters (an OnBackInvokedCallback on Android 13+, the key on 12). Off, the panel is unchanged. The index is a new 86 KB asset (1,923 emoji: name words and keywords), generated from the iOS emoji index by android/scripts/build-emoji-search.py, read the first time a search opens and kept to emoji the phone can draw. No network request. Verified: :app:testDebugUnitTest (404 tests, including five new search tests in EmojiKeywordsTest) and the release build's R8 step pass; on an API 36 emulator in light and dark: search, pick, close, Return, Back, recents, and the lab off. * android: Turkish for the space-bar hold lab's strings * android: Turkish for the hold delay lab's strings * android: Turkish for emoji search's strings --------- Co-authored-by: Anomaly <anomaly@anomastudio.husky-tilapia.ts.net>
This branch was successfully deployed
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.
Promotes
devtoproductionto publish the iOS Auto-Lock FAQ entry onhttps://anoma.ly/hex/iphone(#3097).site/src/iphone.tsis the onlysite/file changed sinceproduction.git push origin dev:production) to keepproductionfast-forwarded todev.Requested by: @vimtor (victor via Slack)