7 Commits
Author SHA1 Message Date
BlackAngelTV 036a0d1ad7 fix(frontend): keep silence out of the transcript
Cutting the live capture at a pause can hand over a piece made only of silence,
typically the end of a recording. Whisper does not return nothing on those: it
invents a line, which then ended up inside the question. A piece with no speech
in it is now dropped instead of transcribed, and so is a silent tail at the end
of the capture, so the words already transcribed are the whole question.
2026-10-06 20:26:53 +02:00
BlackAngelTV 15dadb3afb feat(frontend): transcribe the microphone while the user is still speaking
Waiting for the release before starting reduced the whole cost to the moment it
is most visible: the Whisper model load and the inference over the entire
recording landed together after the button press. The capture is now cut into
pieces as it arrives — inside a pause when there is one, so a word is never
split in two, and at four seconds at the latest — and each piece is queued to
the voice thread in order. By the time the user stops, only the tail is left to
transcribe; a tail too short to hold a word is not even sent. The model load
happens during the first sentence instead of after it, the recognised text
appears live as it is spoken, and the pieces are joined back into one question.
2026-10-06 20:24:03 +02:00
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