Commit Graph
5 Commits
Author SHA1 Message Date
BlackAngelTV 9226500a56 feat(frontend): render Markdown answers and speak them while they stream
Two things made Jarvis feel worse than it was. Its Markdown arrived as raw
syntax, because egui has no Markdown widget and the bundled fonts have a
single weight per family; the renderer therefore builds its own styled
LayoutJob, which keeps the bubble sizing already in place and tolerates a
half-streamed answer instead of printing markers. And the voice only started
once the whole answer was generated, so a long reply was read out after a
silence as long as the reply itself; the stream is now cut into sentences as
soon as their punctuation arrives, and the spoken text drops the Markdown and
the code blocks, since nobody wants asterisks and backticks read aloud.

The client also wakes the model on the first keystroke of a draft or when
recording starts, so the load happens while the sentence is still being
written, and it now sends a history the backend accepts: empty assistant
bubbles left by an abandoned answer are dropped, and only the last fifty
messages travel, which a long conversation used to overflow.
2026-10-06 20:03:41 +02:00
BlackAngelTV 04f3236a7c feat(frontend): toggle recording with the mic button or Ctrl+Space
Holding the button to talk forced the hand to stay on the mouse for the whole
sentence; a press to start and a second press to stop keeps both hands free and
matches how the cumulative capture is transcribed anyway. The shortcut mirrors
the button from either tab, and is consumed so the space never reaches the
compose box.
2026-10-06 19:45:19 +02:00
BlackAngelTV e2457d98da feat(frontend): add companion voice mode and expressive avatar
Split the client into two tabs so the user can either write to Jarvis or
talk to it. The companion screen centres the animated avatar and exposes a
large push-to-talk button; the transcript from local Whisper is sent to the
backend as text JSON exactly like a typed message, so the network contract
stays text-only.

Give the avatar a distinct expression per mood (thinking, listening,
speaking, happy, error, idle) and apply one dark, rounded theme so the app
looks consistent everywhere.
2026-10-06 19:10:30 +02:00
BlackAngelTV b9e23cf975 feat(frontend): manage projects and their context in the desktop client
A conversation that only lives in memory is lost when the window closes, and
long answers used to be cut off at the window edge because a scroll area
inherits the layout of the parent it is added to. Projects give each exchange a
durable context, the reload and verification actions make that context
observable instead of a black box, and laying the text out before drawing the
bubble keeps every answer inside the column.
2026-10-05 21:39:55 +02:00
BlackAngelTV 38f088c8fe feat(frontend): add native Rust client with SSE chat and local voice
Keep speech-to-text and text-to-speech on the machine so only text
travels to the backend while the backend still speaks JSON to Ollama.
2026-10-05 20:40:12 +02:00