* fix: rename Capabilities to Features in the model editor
The model editor section called Capabilities mostly holds switches for which features users see on a model, such as image generation, web search and the code interpreter, so the name led admins to expect it to describe what the model itself can do. The section is now called Features, and its tooltip no longer says the connected model and provider must support every switch, since each switch's own description says what it needs.
* Leave the English value of the new tooltip empty like its neighbours
* 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
New **pt-BR** translations for items introduced in the latest releases, plus a small consistency pass across existing strings. Placeholders preserved. No logic changes.
Opening a long Markdown file from a terminal's Files froze the whole tab, and typing inside a code block froze it again on every keystroke. The editor guessed the language of every code block that names none by trying every language it knows, about 15 ms per block, so a 750 KB file with a thousand such blocks blocked the page for 19 seconds. Code blocks with no language, or one the editor does not know, now show as plain text, as chat and the read-only file view already show them, and the same file now freezes the page for about 2 seconds. Code blocks that name a language the editor knows are highlighted as before. The same goes for the other places that use this editor, such as notes and the message box with rich text on.
Fixes#34486
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
A chat whose saved messages form a loop, an earlier message stored as the reply to a later one, never opened: the tab froze and its memory grew until it crashed, again on every reload. The chat now stops following the loop once it reaches a message it has already shown, the same way switching between response versions already handles it, so the chat opens and shows its messages.
Fixes#34477
* fix: a repeating automation the model created opens with a Save button although nothing changed
Opening a daily, weekly or monthly automation the model created in a chat showed Save right away, as if something had been edited, because the page took the start date such a schedule is saved with for a change of its own. Save now only shows once a field is edited.
Fixes#34427
* fix: editing an automation the model created can move its runs to other dates
An automation the model creates from a chat stores its repeating schedule with a start date. Editing only its name or another field on the automation's page dropped that start date. A schedule meant to start later then began running right away, and one that repeats every other week could move by a week. Editing other fields now leaves the schedule as it was, and changing the schedule itself saves the new one as before.
Fixes#34430
Opening a daily, weekly or monthly automation the model created in a chat showed Save right away, as if something had been edited, because the page took the start date such a schedule is saved with for a change of its own. Save now only shows once a field is edited.
Fixes#34427
* 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
In the Add and Edit Terminal Connection dialogs, Save did nothing while API Key was empty, so a terminal server that needs no key could only be added or changed after typing some text into the key field. API Key is optional again, as it was in 0.13.3 and as it is in the other connection dialogs.
Fixes#34086
Clicking the browser notification for a reply inside a channel thread opened the channel with the thread closed, so the reply was not visible. The in-app notification for the same reply already opened the thread. Clicking the browser notification now opens the thread, and a notification for a regular channel message (not in a thread) still opens the channel.
Fixes#34232