web: compose with Enter, share chat titles, reserve the star
Enter inserts a newline and Ctrl/Cmd+Enter sends; slash commands still run on Enter. Chat renames are stored in the server registry so every device sees the same title, with a one-time upload of old local titles. The star no longer covers the row status, and shell frames patch the background bar in place so the composer stays mounted while streaming.
This commit is contained in:
@@ -371,6 +371,18 @@ export class PipelinesRepository {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Records the shared chat title on the server (chat_rename), so every browser
|
||||
* and device lists the same name. Returns the updated session row.
|
||||
*/
|
||||
async renameChat(sessionId, title) {
|
||||
const response = await this.#client.call({
|
||||
type: Protocol.CHAT_RENAME,
|
||||
[ChatKeys.RENAME]: { session_id: sessionId, title: String(title ?? "").trim() },
|
||||
});
|
||||
return response[ChatKeys.SESSION] ?? null;
|
||||
}
|
||||
|
||||
/** Clears the closed state again, so a finished chat can be resumed. */
|
||||
async reopenChat(sessionId) {
|
||||
const response = await this.#client.call({
|
||||
|
||||
Reference in New Issue
Block a user