231 Commits
Author SHA1 Message Date
iamdoubz f8731adae3 feat(transcription): OnnxNpuTranscriber — NPU encoder + CPU greedy decode (T3.4) 2026-07-02 16:14:15 -05:00
iamdoubz 8fe6b5ceb1 feat(transcription): Whisper ONNX model catalog + downloader (T3.4) 2026-07-02 16:14:15 -05:00
iamdoubz e875c5de9a feat(transcription): Whisper log-mel front-end for NPU path (T3.4) 2026-07-02 16:14:15 -05:00
iamdoubz d7b98b06cd build(transcription): add npu feature (ort + OpenVINO EP, rustfft) (T3.4) 2026-07-02 16:14:14 -05:00
iamdoubz b97e5ebe85 feat(hardware): detect Intel NPU via ComputeAccelerator class (T3.4, FR-HW-1) 2026-07-02 15:55:00 -05:00
iamdoubz 0ffcd704b3 build(hardware): enable SetupAPI feature for NPU detection (T3.4) 2026-07-02 15:55:00 -05:00
iamdoubz d5f7b1ac95 feat(hardware): on-demand NPU runtime paths + readiness probe (T3.4) 2026-07-02 15:54:54 -05:00
iamdoubz 8530a22899 fix(transcription): reduce whisper.cpp encoder cost per streaming window
whisper.cpp's encoder always runs over a full, padded 30s mel window
(1500 encoder positions) unless audio_ctx is explicitly reduced. The
~4s live-transcription streaming windows were never setting it, so
every window paid the full 30s-equivalent encode cost on one serial
worker thread -- the actual cause of the reported 30-65s lag between
speaking and a segment appearing, not "CPU is just slow".

Scales audio_ctx proportionally to the window's real sample count
instead (audio_ctx_for_window), floored and capped to whisper.cpp's
own valid range. Verified with a controlled A/B against the real
base.en-q5_1 model: ~30% faster even under heavy concurrent CPU
contention on this machine, which is masking most of the improvement
--the fix targets the encoder's O(n^2)-ish attention cost specifically
(1500 -> ~201 positions for a 4s window), so the gain on an otherwise-
idle machine should be substantially larger.
2026-07-02 15:02:02 -05:00
iamdoubz aea79cef92 Merge pull request 'Chore ui' (#9) from chore_ui into main
Reviewed-on: #9
2026-07-02 13:40:00 -05:00
iamdoubz e084b0bee9 feat(branding): update app icon to the latest logo revision
Same speech-bubble-with-sparkles mark, now on its own gradient purple
background instead of a transparent one — cropped from the refined
logo source (mark + gradient, no wordmark text) rather than isolated
via color-keying this time, since the new source is already composed
as a clean standalone icon tile.
2026-07-02 13:36:26 -05:00
iamdoubz 700bcb8f2d feat(branding): replace placeholder app icon with the real logo mark
Cropped the speech-bubble-with-sparkles mark from the new
WhispAssist logo/promo graphic (not the full graphic — text and
illustration detail don't read at 16-32px), color-keyed its background
to transparent, and regenerated the whole icon set via `tauri icon`
(title bar, taskbar, system tray, installer). Removed the iOS/Android/
Appx/macOS outputs tauri icon generates by default — this project only
targets Windows.
2026-07-02 13:13:51 -05:00
iamdoubz 11c0dde8a3 fix(ui): remove the bright edge around the app in dark mode
html/body sit above .app in the DOM tree and were left with the
browser default (white background + 8px UA-stylesheet margin) — a gap
invisible against the light theme but a bright white outline around
the whole window in dark mode. Mirrors data-theme onto <html> (so the
dark token overrides actually apply up there) and zeroes the
html/body margin.
2026-07-02 13:03:58 -05:00
iamdoubz 7ac49e68fc style(ui): use the shared radius token in LevelMeter 2026-07-02 12:57:47 -05:00
iamdoubz 7427165229 feat(ui): polish the recording-consent notice
Replaces a hardcoded blue (#2563eb) primary button with the semantic
accent token, adds a ShieldAlert icon + heading, and gives it proper
elevation (shadow + radius) to read as a deliberate dialog rather than
a plain bordered box.
2026-07-02 12:57:42 -05:00
iamdoubz df82b0636d feat(ui): icon nav tabs + elevation for the Settings modal
Recording/Hardware/Storage/Calendar/Sync/Privacy nav tabs get matching
icons; the active tab now uses the accent color instead of an inverted
fg/bg swap. Check/X/AlertTriangle icons replace ✓/✗/✕/⚠ throughout
(connection test result, close button, third-party-cloud warning
banner, no-egress confirmation). The modal itself gets proper
elevation (shadow + larger radius) instead of a flat bordered box.
2026-07-02 12:57:36 -05:00
iamdoubz ecf38d5313 feat(ui): icon section headers + primary-button styling in the summary panel
Tags/Summary/Action items/Calendar event/Participants/Speakers each
get a matching icon and a consistent uppercase section-header style;
"Generate summary" becomes a proper primary (accent-filled) button;
the reminder bell emoji becomes a Lucide Bell icon that highlights in
the warning color once checked.
2026-07-02 12:57:27 -05:00
iamdoubz 1dd9d57b0f feat(ui): icon-based formatting toolbar for the notes editor
Bold/Italic/Heading1/Heading2/List/ListChecks Lucide icons replace the
letter/glyph toolbar buttons (bullet "•" and checkbox "☑" in
particular); export buttons get matching icons. Section labels for
Transcript/Notes get icons too, and the reprocess spinner animates
(respecting prefers-reduced-motion).
2026-07-02 12:57:19 -05:00
iamdoubz 9052d69912 feat(ui): polish the meetings list — icons, accent colors, hover states
Search icon inside the input, Trash2/Download/RotateCcw replacing
emoji, tag chips and the selected-item state now use the semantic
accent tokens instead of a hardcoded blue hex, and list rows get a
hover state + an accent-colored left border when selected.
2026-07-02 12:57:09 -05:00
iamdoubz d50342d865 feat(ui): rebuild header + design tokens
- Full semantic color token system (surfaces, text, borders, one
  accent color) replacing the previous 4-variable set — light/dark
  designed together, every pairing checked to >=4.5:1 (WCAG AA).
- Global custom scrollbar styling (thin, theme-aware) — the default
  OS scrollbar looked out of place against the app's own chrome.
- ThemeToggle replaces the plain theme <select>.
- Record/Stop buttons and the settings/warning icons are now Lucide
  SVG icons instead of Unicode glyphs (●■⚙⚠); the recording indicator
  is an animated pulsing dot (paused under prefers-reduced-motion)
  instead of a static red dot.
- Elevation (shadow tokens) and consistent radius scale.
2026-07-02 12:57:00 -05:00
iamdoubz 7ae146f99f feat(ui): add ThemeToggle — segmented Monitor/Sun/Moon control
Replaces the plain <select> theme dropdown with three icon buttons.
Defaults to "system" (Monitor), matching the existing behavior of
following the OS preference until the user picks an explicit override.
2026-07-02 12:56:51 -05:00
iamdoubz 4c40ebc939 feat(ui): add @lucide/svelte for consistent SVG icons
Replaces ad-hoc emoji/Unicode-glyph icons (record/stop dots, trash,
checkbox, bell, etc.) throughout the UI — explicitly recommended by
the ui-ux-pro-max design skill over font-dependent emoji icons, which
render inconsistently across systems and can't be themed/sized via CSS.
2026-07-02 12:56:34 -05:00
iamdoubz 09db187f13 Merge pull request 'Hermes 008' (#8) from hermes-008 into main
Reviewed-on: #8
2026-07-02 12:05:55 -05:00
iamdoubz 0f7526770d feat(ui): due-date input + remind-me checkbox per action item (T8.6, FR-CAL-5)
The due-date input is new too — action items previously had no way to
set one, which would have made the reminder checkbox unusable (a
reminder needs a due date to schedule against).
2026-07-02 11:59:34 -05:00
iamdoubz f27c19d8de feat(ui): add ActionItem.reminder_set to the TS type (T8.6, FR-CAL-5) 2026-07-02 11:59:27 -05:00
iamdoubz e04e95d6da docs: document ActionItem.reminder_set and confirm_action_items' reminder side effect (T8.6, FR-CAL-5) 2026-07-02 11:59:22 -05:00
iamdoubz 8a28854250 feat(reminders): schedule/cancel from confirm_action_items (T8.6, FR-CAL-5) 2026-07-02 11:59:15 -05:00
iamdoubz 7f97328a2d feat(reminders): persist reminder_set; save_action_items returns saved rows (T8.6, FR-CAL-5)
reminder_set was accepted on the model but hard-coded to 0 on insert
and never included in the UPDATE. save_action_items's return type
changes from () to Vec<ActionItem> so the caller (which needs the row
id to key reminder scheduling) doesn't need a second round-trip for
newly-inserted items. Also adds list_pending_reminders for startup
reconciliation.
2026-07-02 11:59:09 -05:00
iamdoubz 994ace4b3f feat(reminders): initialize reminder_set: false on drafted action items (T8.6) 2026-07-02 11:59:02 -05:00
iamdoubz 47706cc0f3 feat(reminders): add ActionItem.reminder_set field (T8.6, FR-CAL-5) 2026-07-02 11:58:56 -05:00
iamdoubz 26ad920182 feat(reminders): register module; init + startup reconcile (T8.6, FR-CAL-5)
Reschedules anything Windows' own toast schedule lost track of
(uninstall/reinstall, a changed AppUserModelID) — safe to run every
startup since schedule() is idempotent (cancels any existing entry for
the same action item id first).
2026-07-02 11:58:50 -05:00
iamdoubz f6e0de5486 feat(reminders): schedule/cancel via Windows scheduled toast notifications (T8.6, FR-CAL-5)
Chosen over an app-side polling timer specifically to honor NFR-RES-1
("no polling timers running when not recording") — Windows itself
delivers the toast at due_at, and a scheduled toast is cleared by the
OS after it fires, so there's no "already fired" bookkeeping needed in
this app either. Windows-only, matching hardware::dxgi's pattern: the
real WinRT implementation lives in a #[cfg(windows)] submodule behind
plain top-level functions.

Verified against the live Windows toast API (not just compiled): a
throwaway example scheduled a reminder, confirmed
GetScheduledToastNotifications() reported it back with the correct id,
then confirmed cancel() removed it.
2026-07-02 11:58:44 -05:00
iamdoubz 5b3ebb6cf0 feat(reminders): add windows-rs WinRT notification features (T8.6, FR-CAL-5)
Win32_UI_Shell (AppUserModelID), UI_Notifications + Data_Xml_Dom +
Foundation + Foundation_Collections (scheduled toast notifications and
IVectorView iteration for GetScheduledToastNotifications).
2026-07-02 11:58:34 -05:00
iamdoubz 5f033e90f2 feat(ui): bulk export button, reusing the tag/date filter state (T8.5, FR-STORE-4) 2026-07-02 11:35:46 -05:00
iamdoubz 3a4b1a5d2f feat(ui): add bulkExportMeetings client wrapper (T8.5, FR-STORE-4) 2026-07-02 11:35:41 -05:00
iamdoubz 368763cb1d docs: add bulk_export_meetings contract (T8.5, FR-STORE-4) 2026-07-02 11:35:36 -05:00
iamdoubz 10f0e31903 feat(export): register bulk_export_meetings command (T8.5, FR-STORE-4) 2026-07-02 11:35:31 -05:00
iamdoubz 5a5afa51e4 feat(export): add bulk_export_meetings (T8.5, FR-STORE-4)
Extracts export_meeting_to as a shared helper (was duplicated inline
in export_meeting) so single and bulk export share identical
fetch+render logic. bulk_export_stem sanitizes+suffixes filenames with
an id prefix — meeting titles are very often duplicates ("Untitled
meeting") and would otherwise silently overwrite each other in a
batch. A meeting that fails to export is skipped rather than aborting
the whole run; also fixes export_meeting's doc comment, stale since
T8.4 added pdf/docx.
2026-07-02 11:35:24 -05:00
iamdoubz db838d9741 feat(ui): note-template picker before starting a recording (T8.1, FR-NOTE-5) 2026-07-02 11:26:20 -05:00
iamdoubz 21d2b40961 feat(ui): thread templateId through recording.start() (T8.1, FR-NOTE-5) 2026-07-02 11:26:14 -05:00
iamdoubz 181e874a2a feat(ui): add NoteTemplate type, listNoteTemplates, templateId param (T8.1, FR-NOTE-5) 2026-07-02 11:26:09 -05:00
iamdoubz 04628bcb46 docs: document template_id column and list_note_templates/start_recording (T8.1, FR-NOTE-5) 2026-07-02 11:26:05 -05:00
iamdoubz 31e644a671 test: fix calendar_link_smoke_test for NewMeeting.template_id (T8.1) 2026-07-02 11:25:59 -05:00
iamdoubz 9a2177dd62 feat(templates): register list_note_templates command (T8.1, FR-NOTE-5) 2026-07-02 11:25:53 -05:00
iamdoubz 2f56891d40 feat(templates): apply templates at all 4 notes-render call sites (T8.1, FR-NOTE-5)
Adds StartRecordingArgs.template_id + list_note_templates command;
renames built_in_template to summary_prompt_bias to disambiguate it
from the new NoteTemplate concept (same meeting-type identifiers,
different purpose). Also fixes refresh_notes_and_notify (the
rename/merge-speaker refresh path) to route through
Store::update_notes instead of a raw std::fs::write — it was bypassing
T8.2's FTS reindexing, a gap missed there because this call site uses
meeting_dir(meeting_id) without the & that my earlier grep matched on.
2026-07-02 11:25:48 -05:00
iamdoubz 6b5b359438 feat(templates): persist template_id; finalize_meeting returns it (T8.1, FR-NOTE-5)
NewMeeting/Meeting gain template_id; finalize_meeting now returns it
(fetched via one cheap scalar SELECT) so callers that only have
segments/speakers in memory (not a fetched Meeting) can resolve the
template without a separate round-trip.
2026-07-02 11:25:41 -05:00
iamdoubz f63076ad06 feat(templates): NoteTemplate catalog + apply in to_markdown (T8.1, FR-NOTE-5)
4 built-in templates (Standup, 1:1, Sales Call, Retro), keyed by the
same meeting-type ids commands::summary_prompt_bias already uses for
LLM-prompt biasing — one identifier space shared by both, but two
independent lookups (structuring notes.md vs. biasing a summary
prompt). Section headers are prepended as an empty scaffold above the
auto-rendered speaker dialogue.
2026-07-02 11:25:34 -05:00
iamdoubz 67354642ab feat(templates): add meetings.template_id column (T8.1, FR-NOTE-5)
Templates themselves are a built-in Rust catalog, not a DB table —
this just remembers which one a meeting picked, so re-rendering
notes.md on reprocess/resume keeps the same section structure.
2026-07-02 11:25:27 -05:00
iamdoubz fd220641ac feat(ui): add Export PDF / Export Word buttons (T8.4, FR-NOTE-4) 2026-07-02 11:03:01 -05:00
iamdoubz 7b03b12f25 feat(ui): extend exportMeeting's format type to include pdf/docx (T8.4, FR-NOTE-4) 2026-07-02 11:02:57 -05:00
iamdoubz 06bdf6d469 feat(export): wire pdf/docx formats into export_meeting (T8.4, FR-NOTE-4) 2026-07-02 11:02:52 -05:00