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:
@@ -61,6 +61,7 @@ export const Protocol = Object.freeze({
|
||||
CHAT_CLOSE: "chat_close",
|
||||
CHAT_REOPEN: "chat_reopen",
|
||||
CHAT_STAR: "chat_star",
|
||||
CHAT_RENAME: "chat_rename",
|
||||
// The shared live stream (C5). `chat_subscribe` attaches this connection to one
|
||||
// session's stream (body: the session id); the server then pushes `chat_event`
|
||||
// frames without a matching request id, so every client watching a session sees
|
||||
@@ -114,6 +115,7 @@ export const ChatKeys = Object.freeze({
|
||||
SUBSCRIBE: "chat_subscribe",
|
||||
EVENT: "chat_event",
|
||||
ANSWER: "chat_answer",
|
||||
RENAME: "chat_rename",
|
||||
// The composer's payloads (C8/C9). `chat_interrupt` deliberately has no key of
|
||||
// its own: its body is the same `chat_query` the other session-scoped commands
|
||||
// carry (internal/protocol/chat.go ChatQuery, Chat.kt interruptRequest), so a
|
||||
|
||||
Reference in New Issue
Block a user