* fix: a prompt from an embed goes to the wrong chat or to two chats at once
With a note open and its chat beside it, a prompt sent by an embed in that chat was picked up by that chat and by the main chat behind the note tab, so a tool embed's "ask the chat" button opened two confirmation dialogs. In a side chat the same button asked the prompt in the main chat. Each embed now belongs to the chat that shows it, and only that chat takes its prompt; a prompt from anywhere else goes to the page's main chat as before.
Fixes#34152
* fix: route a prompt from any embedded frame to the chat that shows it
The chat a prompt belongs to is now read from where the sending frame sits on the page, for every frame and not only tool embeds, so artifacts and inline HTML in a chat tab or beside a note also reach the right chat. A prompt that comes from no frame goes to the main chat.
* Name the message's source chat apart from the chat object
When a reply stopped to wait for a tool approval, the chat treated it as finished: Regenerate showed up on it while the approval was still open, and in a voice call the answer that followed the approval was never spoken. The chat now shows such a reply as still in progress until the approval is answered and the answer is complete, so Regenerate stays hidden and a voice call speaks the answer.
Fixes#34572
* fix: switching an optional valve to Custom in the chat controls shows an error
Switching an optional valve, such as an optional on/off setting, from Default to Custom in the Valves section of the chat controls saved the still empty box right away, and the server refused it with "Error updating function user valves". Emptying the box later failed the same way. Switching to Custom now saves once something is entered, and an emptied optional on/off or number valve goes back to its default; optional text valves still save an empty text.
Fixes#34475
* Drop a comment that restates its condition
* Name schema entries the way the schema helpers do
After pressing Send now on a queued message, the Stop button sometimes stayed up once the answer had finished, and the chat looked busy until the page was reloaded; it showed up mostly in side chats. When the answer ended while the chat was still updating to show the queued message, the chat kept an outdated view of the answer and went on treating it as running. The chat now looks at the latest state of the answer once it has updated, so the Stop button goes away when the answer ends.
Fixes#34553
When the terminal refused to list the open folder, for example after its API key changed, pressing Refresh above the Files list kept the old entries on screen and said nothing. Refresh now clears the list and any ticked items and shows "Failed to load directory. Check your Terminal connection in Settings → Integrations.", the same as opening the folder does, and the next Refresh lists the folder again once the terminal answers. The list also reads itself again after a sort change, showing hidden files, a file change or a change on the terminal, and those reads show the same message when they fail.
Fixes#34550
Sending the first message from a folder whose default terminal points at a working directory that does not exist showed "Working directory is unavailable", but it still created an empty New Chat in the folder and switched to it, with the typed message gone from the message box. Now the warning still shows, but no chat is created: the folder page stays open and the message stays in the message box, ready to send once the directory is fixed.
Fixes#34367
* fix: an unsaved edit in a terminal file is lost when another chat is opened
An edit typed into a file opened from the terminal's Files tab and not saved yet was gone after opening another chat and coming back: the file's tab showed the last saved version and lost its unsaved mark, without any warning. The app keeps such an edit in memory when you leave a chat, but a second copy taken while the chat was being closed, when the editor was already gone, overwrote it with one that had no edit in it. Now the edit and its unsaved mark are back when you return to the chat, the same as after switching to another tab in the same chat.
Fixes#34107
* fix: a workbook saved while leaving the chat comes back on its first worksheet
When a workbook save was still running as you switched to another chat, the workbook came back on its first worksheet instead of the one you had open. The late save result now keeps the rest of the file's view, so the worksheet you were on is still selected when you return.
* fix: an unsaved edit in a terminal file is lost when another chat is opened
Shortens the note on why the file view keeps its last full state after the chat is closed.
* Say why the view is reused after teardown
* Name the kept view like the file's other remembered values
A recording made in a note was named after the date and time in the display format of the user's language, which puts a colon in the name in every language and slashes in many (English, French, Japanese and others). Object stores that reject colons in object names refused the upload with InvalidObjectName, and on every storage the slashes cut the name short, so an English recording was saved as just "2026 3:25 PM.webm". Recordings are now named like "Recording-2026-11-16 15-25-06.webm" in every language, which every storage accepts and which still sorts by date.
Fixes#34543
When a tool call failed, the short label the model gives each call was hidden, and one failed call also hid the labels of the other calls grouped with it. Failed calls now keep their label, on their own and in a group. The red cross still marks the failure, and calls without a label keep the text they showed before.
Scrolling up through a long chat in Firefox kept throwing the view back down while older messages loaded, sometimes by several screens. Firefox does not hold the view in place when messages above it settle to their real height, so it now shows them at full height from the start. When two loads fired back to back it also shifted the view a second time on top of the app's own adjustment, so in every browser the adjustment now follows where the first message sits instead of how much the page grew. Measured on a 150 message chat, scrolling up in 100 px steps: Firefox went from 74 steps where the content jumped (largest jump 1197 px) to 8 steps (largest 123 px); Chromium stays at 3 steps and 101 px.
Fixes#33994
* fix: the file browser's right-click menu opens outside the window near the lower or right edge
A right click on the empty part of the Files list opened its menu down and to the right of the pointer whatever space was left, so near the lower edge of the window most of its entries were out of reach and near the right edge it was cut off. The menu now opens upwards when there is no room below the pointer and to the left when there is no room to its right, so all of it stays inside the window.
Fixes#34097
* fix: the file browser's right-click menu opens outside the window near the lower or right edge
Writes the menu placement the same way the Ask about this file box already does.
* feat: outline of a Markdown file's headings in the terminal file preview
Long Markdown files in a terminal's Files preview could only be navigated by scrolling, which gets slow in a report with hundreds of sections. The preview toolbar now has an Outline button that lists the document's headings, indented by level, and picking one with the mouse or keyboard jumps straight to that section. The button shows only for Markdown files that have headings, and not in the Source view.
* feat: show the Outline button on every Markdown file
The Outline button in a terminal's Files preview only appeared when the file had headings, and the check that decided this missed some headings and counted front matter as one. It now shows on every Markdown file outside the Source view, and for a file without headings the list shows "No results".
* Leave the English catalog out of the outline change
* Keep the English catalog as it is on the base
With Enforce Temporary Chat switched on and Allow Temporary Chat switched off in the group permissions, all of that user's new chats were opened as temporary chats and never saved, even though the user has no Temporary Chat button at all. Enforce Temporary Chat now only applies to users who are allowed temporary chats, as in v0.13.3, so these users get normal saved chats again.
Fixes#34536
The plus menu in the chat input has an entry called Add Context that opens the options for attaching webpages, files, notes, knowledge and chats. The name suggests it always adds to what the model already has, but when nothing is attached yet, the first knowledge base or note you attach restricts the model to just that item. The entry is now called Attachments, which names what the options inside it are.
Relates to #34424
Picking an emoji for a folder on the folder page saved the emoji and showed it on that page, but the folder's row in the sidebar kept the plain folder icon until the page was reloaded. The sidebar now picks up the new emoji right away, just like it already does after renaming the folder from the folder page.
Fixes#34374