hex/src/desktop
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 2bce0889c8
onboarding: don't offer or silently drop a found model this build can't run (#2756)
* onboarding: don't offer or silently drop a found model this build can't run (#2750)

A byte-identical Parakeet Ultra in the Hugging Face cache was mapped to the
Labs-gated catalog model, so the first run listed it as "On this computer".
Picking it validated to nothing: the tour had already latched its download
request, so the page waited at "0 of N MB" forever, with no error.

found::poll now keeps only found models this build offers (available()), so
the model step, the picker's found section and the held download all agree;
a Labs-off Parakeet Ultra file is no longer a row and no longer holds the
recommended download.

A pick that still can't run says so: onboarding records the error, clears the
pick and marks the tour's model failed, the page names the reason with Try
again, Use a model file…, and Continue without a model, and the Linux host
records the same validation error in transcription_error before refusing.

Tests: a_found_model_this_build_cannot_run_is_not_offered,
an_unavailable_pick_fails_the_page_instead_of_downloading_forever,
a_pick_that_cannot_start_stays_failed_until_another_pick,
a_model_this_build_cannot_run_says_why_and_starts_nothing.

* onboarding: a refused pick's reason never hides the next failure

pick_failure feeds the page only while the tour still reports that pick
(Flow::pick_failed), and Try again or Use a model file… clears it, so a
later download failure names itself instead of the old "X is unavailable".

A refused pick no longer sets ui.error: found.error already carries it, and
the window's error is Settings' Status on platforms without a listener card.

The docs now say what actually shows: the list returns to the recommended row
when the pick clears, and the reason with Try again, Use a model file…, and
Continue without a model is on the plain download page, which shows without
a list.

found::poll's filtering gets its own test, feeding a scan with one unusable
and one usable model.

* onboarding: a failed pick keeps its actions when its reason goes

Use a model file… no longer clears the refused pick's reason before the file
dialog: cancelling the dialog left the page at "Setting up Hex 0%" with the
retry and Continue without a model actions gone.

live.failed is also true whenever the tour still reports the pick failed, so
those actions stay even with no message, and an import's own error takes
priority over the pick's reason, so a failed file names itself.

Try again asks again for the choice the language capsule last set
(live.choice), which the docs now say.

Tests: a_failed_pick_keeps_its_actions_without_a_reason,
try_again_after_a_network_failure_asks_once.

* onboarding: a model file being prepared ends the refused pick

While an import loads, the service is preparing a model the window's
settings don't name yet, so the refused pick's reason and its Try again
stayed over the load; pressing Try again cancelled the import.

A pick is now only explained while nothing is being prepared, and choosing
a model file clears the refused pick (Flow::pick_replaced) so no download
of ours starts behind the import. A failed import still names itself first.

Try again also clears an old import's error, and the docs say so.

Tests: a_model_being_prepared_hides_the_refused_pick,
a_chosen_file_ends_the_refused_pick_without_a_new_download.
2026-11-24 16:24:01 -05:00
..
i18n macos 27.3: require keystroke permission for paste, request it, and fail visibly (#2757) 2026-11-24 16:00:56 -05:00
opencode_service prefer a wsl opencode service when the lab is on (#2112) 2026-11-20 19:14:28 -05:00
activity.rs macos 27.3: require keystroke permission for paste, request it, and fail visibly (#2757) 2026-11-24 16:00:56 -05:00
background_process.rs
events.rs Drop Copy new and the meeting paste shortcut (#2469) 2026-11-22 19:58:25 -08:00
file_dialog.rs feat(screenshots): Export asks where to save, and recordings dim around their target (#2297) 2026-11-21 17:18:56 -08:00
host.rs windows: retry the GPU once after a gpu-start crash, and show where speech runs (#2351) 2026-11-22 05:53:58 -05:00
i18n.rs macos 27.3: require keystroke permission for paste, request it, and fail visibly (#2757) 2026-11-24 16:00:56 -05:00
instance.rs
log_trim.rs
login_item.rs
onboarding.rs onboarding: don't offer or silently drop a found model this build can't run (#2756) 2026-11-24 16:24:01 -05:00
opencode_catalog.rs fix: label an unset OpenCode rewrite model as automatic and log the model that answered (#1961) 2026-11-18 02:40:37 -05:00
opencode_service.rs prefer a wsl opencode service when the lab is on (#2112) 2026-11-20 19:14:28 -05:00
permission_guide.rs macos 27.3: require keystroke permission for paste, request it, and fail visibly (#2757) 2026-11-24 16:00:56 -05:00
process_exit.rs fix(meetings): finish recordings across quits and update restarts (#1900) 2026-11-16 12:30:57 -05:00
tray_icon.rs
tray_menu.rs fix(meetings): report a stopping meeting truthfully over the CLI (#2708) 2026-11-24 09:51:36 -05:00