aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/assistant/Segments.qml
AgeCommit message (Collapse)AuthorFilesLines
6 daysfeat(assistant): deck-it's chat look on the canvasDanilo M.1-1/+2
The canvas takes the deck-it Assistant tab's look: the backdrop picture faded in behind the chat through a soft elliptic mask (stronger while the chat is empty), and chat bubbles, the question on the right in an accent bubble with the user's avatar, the reply on the left with the assistant's face cropped from the backdrop. Thinking, tool chips and errors sit in the reply bubble; three dots bounce while it has no words yet. The pictures come from deck-it's config ([assistant] background, user_avatar, face), read once at startup with the system python3, so both follow one setting. MultiEffect's mask needs maskSpreadAtMin for a gradient to fade; the default thresholds cut it to a hard oval. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16fix(assistant): keep focus in the card, scope errors, guard linksDanilo M.1-2/+6
From review of the canvas. Escape stopped working in three ways, each leaving the keyboard grabbed with nothing to receive it: the history field hiding took focus with it, a disabled input could not hold focus while the daemon was down, and a click in a streaming reply focused text the next flush destroyed. The card now gives focus back to the input whenever it falls out, and the input is read-only rather than disabled. Only an error the daemon marks as ending the reply (turn) closes the live row; a command error, possibly another client's, used to freeze the reply mid-stream. The running tool comes from state events, hello included. Scrolling up during a stream no longer snaps back, since following stops when a movement starts. History snippets go through Notify.sanitize like any model output, links open only for http, https and mailto, and a line opening with inline triple-backtick code is no longer taken as a fence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16feat(assistant): the canvas, a view over the assistant daemonDanilo M.1-0/+90
The socket, the turn model and the window live in Assistant.qml, outside the window's loader, so closing the card loses nothing and a reply keeps streaming while it is closed. Tokens reach the model on a 50 ms tick rather than per token. Prose goes through Notify.sanitize, because model output can quote a search result and a remote image in it would be fetched on render. Code blocks get a copy button once their fence closes. The history panel lists conversations and searches them through the daemon's full-text index. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>