Commit Graph
6 Commits
Author SHA1 Message Date
CJ Pais 93c9ee05ef catalog from @handy-computer/models package (#2299)
* feat: use shared model catalog

* fix: preserve other model quants on deletion

* fix: offer retired model replacements

* fix: preserve unreadable model caches

* fix: report model deletion failures

* refactor: simplify model availability and cache reuse

* fix: match cached repos to the catalog by exact name

HF repo ids are case-insensitive, so another tool can cache a catalog repo
under other casing. Matching it case-insensitively relabelled the file with
the catalog's casing, which on a case-sensitive filesystem points at a
folder that doesn't exist, so the model vanished. Exact matching (as on
main) keeps such a file listed under the casing it was found at.

* fix: harden model deletion and catalog check on Windows
2026-10-20 13:23:01 +08:00
Brian McBrayerandCJ Pais 141f981d4d fix: emit parseable names for compound shortcut keys (#1862)
* fix: emit parseable names for compound shortcut keys

global-hotkey rejects spaced tokens like "scroll lock", so Scroll Lock
and similar keys failed to register from the Tauri shortcut recorder.
Store compact names both backends accept, keep friendly UI labels, and
add a standalone regression test for the mapping.

* test: assert compound shortcut keys parse on both backends

Locks the #1848 compact-name invariant against both global-hotkey and
handy-keys so the Tauri recorder fix cannot silently break HandyKeys.

* test: only assert compound keys parse successfully on both backends

Drop the spaced-form failure checks; the useful guarantee is that the
compact names work with both Tauri and HandyKeys parsers.

* refactor: drop unused legacy spaced-key normalize path

getKeyName already emits compact compound names in the same binary, and
normalizeKey is only used during live recording — so the spaced→compact
fallback never ran in practice and only preserved the old bug shape.

* test: streamline shortcut key coverage

---------

Co-authored-by: CJ Pais <cj@cjpais.com>
2026-09-19 15:13:46 +08:00
CJ Pais 6fa850612e fix 'no' not showing up + add ci so shouldnt happen again (#2001) 2026-08-30 09:28:54 +08:00
CJ Pais 31d8fc2442 introduce transcribe.cpp (#1529) 2026-07-01 20:38:20 +08:00
Viren Mohindra e3c9f5814f ci: run full build and quality checks on push to main (#1091)
* ci: add full build and quality checks on push to main

Adds a new main-build.yml workflow that runs the full 7-platform build
matrix on every push to main, uploading artifacts for 30 days. Also
adds push-to-main triggers to code-quality, test, and nix-check
workflows. The nix full build now always runs on main pushes (not just
when nix packaging files change), catching the expensive breakage that
currently requires manual verification before each release.

* ci: fix permissions and clarify nix full-build intent

- narrow contents: write to contents: read in main-build.yml — no
  release assets are uploaded here so write access is unnecessary
- update nix-check comment to reflect that the full build always runs
  on push to main (not just when nix files change), matching intent
2026-03-19 14:39:09 +08:00
Viren Mohindra e1a484f70f ci: reduce PR check time from ~30 min to ~1 min (#1073)
* ci: reduce PR check time from ~30 min to ~1 min

- merge lint + prettier into single code-quality workflow
- add concurrency groups to cancel stale runs on rapid pushes
- add path filters so irrelevant changes skip checks
- make full nix build opt-in via "nix" label (eval-only by default)
- add nix store caching via magic-nix-cache-action
- cache trusted-signing-cli binary on windows builds
- upgrade setup-bun from v1 to v2

* ci: add workflow path filters and expand nix build triggers

- add .github/workflows/** to path filters on code-quality and nix-check
  so CI runs when workflow files themselves change
- include tauri.conf.json and build.rs in nix full-build diff check since
  these can break nix sandbox builds independently of cargo builds
2026-03-18 17:25:56 +08:00