Galaxy Shell / docs
Docs / Interface and features

Super mode, focus and the three states of the chat

openspec/specs/super-mode/spec.md · Edit on GitHub ↗

On this page

Super mode, focus and the three states of the chat

Purpose

Defines Super as a mode that pans the camera out and shows a text box, the three states of the chat (hidden, box, whole), Alt+scroll focus stepping, chat placement, and the switch of workspace during a response.

Requirements

Requirement: Switch during a response

A selection of an open workspace by the user SHALL run during a turn, under the live workspace_outputs lease, unless a dialog waits or an agent open_application, open_path or arrange_windows runs. The turn SHALL keep reading its own conversation, a selection SHALL change the live state in place, and create and archive SHALL still wait for the turn. Full text: section Binding contract (from AGENTS.md).

Scenario: Switch during a response

  • WHEN the user selects an open workspace while a turn runs and no dialog waits
  • THEN the selection runs under the live workspace_outputs lease and the turn keeps reading its own conversation

Requirement: No agent tool selects a workspace

No agent tool SHALL select a workspace. Full text: section Binding contract (from AGENTS.md).

Scenario: No agent tool selects a workspace

  • WHEN an agent tool tries to select a workspace
  • THEN there is no such tool; only the user selects

Requirement: agent_route is sent only by the core

Only the core SHALL send agent_route (control connection only, capabilities.agentRoute), so a new window of a process below OpenCode or started by the turn through the core opens on the workspace of the turn with no keyboard and no camera move on the workspace of the user. Full text: section Binding contract (from AGENTS.md).

Scenario: agent_route is sent only by the core

  • WHEN a process below OpenCode opens a window while the user is on another workspace
  • THEN the window opens on the workspace of the turn, with no keyboard and no camera move on the workspace of the user

Requirement: Dialogs and window actions of a left turn

A dialog of a turn that the user left SHALL take the keyboard only after the input rests, an agent window_action on the chat window of such a turn SHALL be refused, and the host SHALL name the origin of a card with a fixed line, never from agent text. Full text: section Binding contract (from AGENTS.md).

Scenario: Dialogs and window actions of a left turn

  • WHEN a turn that the user left raises a dialog
  • THEN the dialog takes the keyboard only after the input rests and the card origin is a fixed line

Requirement: Super tap pans out and shows the box

On a tap (a press and release of Super with no other key and no pointer button in between) the compositor SHALL run the fit all of the workspace on the focus output, with the zoom stopping at min(fit zoom, 1) and the fit viewport excluding the box rectangle, and SHALL set the chat to the box state. The overview, the lock and a transition SHALL refuse the fit. Full text: section Not changed by the tap.

Scenario: Super tap pans out and shows the box

  • WHEN the user taps Super on a Canvas workspace
  • THEN the camera pans out to the fit all at most at zoom 1 above the box and the chat shows only the box

Scenario: Tap in the workspace overview

  • WHEN the user taps Super in the workspace overview
  • THEN the compositor makes no fit and no dock change

Scenario: Tap while locked

  • WHEN the user taps Super while locked
  • THEN Super goes to the lock UI

Scenario: Tap during a held chat

  • WHEN the user taps Super during a held chat
  • THEN the tap goes to the box only after the user answers

Requirement: Second tap or Escape returns the camera

The second tap, or Escape on the box, SHALL hide the box and move the camera by what happened after the first tap: with nothing, back to where it was before the first tap; after an Alt+scroll step, a focus_next or a focus_previous, to center the focused window at the zoom from before the first tap; after a pan, zoom or fit by hand, the camera SHALL stay. A tap over the fit of one window gives that fit back, unless the window closed. Full text: section Super mode.

Scenario: Second tap or Escape returns the camera

  • WHEN the user taps Super again after panning by hand
  • THEN the box hides and the camera stays where the user left it

Scenario: Window closed

  • WHEN the window of a one-window fit closed before the second tap
  • THEN that fit is not given back

Requirement: Chat states and input

The hidden chat SHALL take no input. An application that takes the keyboard by an action of the user SHALL end the box and the whole chat, and a camera gesture that lands on a window SHALL hide only the box. Alt+scroll, a pointer press with Super held, a focus from the agent or the host, and a held chat (chat_hold) SHALL keep the chat. Full text: section The three states of the chat.

Scenario: Chat states and input

  • WHEN the user clicks an application window while the box shows
  • THEN the box and the whole chat end and the camera does not move for the hide

Requirement: Placement of the whole chat

The whole chat SHALL be centered on a workspace with no window and at a side (protected setting chatDockSide, right by default) on a workspace with windows. On a Grid workspace it SHALL float in a reserved margin that is no cell, takes no grid key and is no target of Super+Ctrl+arrows. The chat at a side SHALL be excluded from the fit viewport. Full text: section The placement of the whole chat.

Scenario: Placement of the whole chat

  • WHEN a workspace has at least one window and the whole chat shows
  • THEN the chat is a column at the chatDockSide side and fits use the content area minus that column

Requirement: A window the user opens hides the chat

A window that the user opens with /name in the composer or with Super+Return SHALL hide the whole chat, and the host SHALL hide it before it asks for the open. A response in progress SHALL never hide the chat, and a click outside SHALL hide it. This does not apply to a window the agent opens. Full text: section The model in one screen.

Scenario: A window the user opens hides the chat

  • WHEN the user opens an application with /name
  • THEN the chat hides before the open and the window takes the focus

Requirement: A window the agent opens

During a response the whole chat SHALL stay. From afar a new agent window SHALL be placed in free canvas space to the right of the rightmost window and the camera SHALL adjust without zooming in; from near it SHALL take the area beside the chat and the camera SHALL frame it at the fit zoom. The limits user_active (during user input and 2 s after), the 2 s rate limit and a held window refusal SHALL stay. Full text: section A window the agent opens.

Scenario: A window the agent opens

  • WHEN the agent opens a window while the camera shows several windows
  • THEN the window appears right of the existing windows and the camera only adjusts to keep it in view

Requirement: Holding Super

On a Canvas workspace, Super held alone with the pointer 24 px or more from the press point and outside the window with the keys SHALL pull the camera back to every window. On release over a canvas window that window SHALL take the keys and the camera go down to it; elsewhere the camera SHALL return. A Grid workspace, the overview and the lock have no hold. Any other key, button or scroll makes a chord. No agent tool or panel reaches it. Full text: section Holding Super.

Scenario: Holding Super

  • WHEN the user holds Super, moves the pointer 24 px or more outside the window, and releases over empty canvas
  • THEN the camera returns to where it was

Scenario: No hold on a Grid

  • WHEN the user holds Super on a Grid workspace, in the overview or locked
  • THEN there is no hold

Requirement: Alt+scroll steps the focus

Alt with no Super, Ctrl or Shift and a vertical scroll on a Canvas workspace SHALL be swallowed by the compositor and step the focus, down to the next window and up to the previous, in the order of the left edge, then the top edge, then the window id. Alt+scroll SHALL do nothing on a Grid workspace in phase 1, during a camera flight or with fewer than two windows, and Super+scroll and the pinch SHALL stay zoom. Full text: section Focus and Alt+scroll.

Scenario: Alt+scroll steps the focus

  • WHEN the user scrolls down with Alt held on a Canvas workspace
  • THEN the camera centers on the next window to the right and the keyboard goes to it

Scenario: Nothing to step

  • WHEN the user scrolls with Alt held during a camera flight or with fewer than two windows
  • THEN nothing happens

Requirement: Removed and unbound keys

Super+Shift+F SHALL be removed (the tap is the fit all), Ctrl+Shift+N SHALL go away in favor of Super+N, and Super+C and Super+Space SHALL NOT be bound. Full text: section Keys and visible counterparts.

Scenario: Removed and unbound keys

  • WHEN the user presses Super+Shift+F
  • THEN the key reaches the client and nothing of the compositor happens

Requirement: Visible counterparts of the keys

Every key of the mode SHALL keep a visible, operable counterpart whose tooltip and accessible name give its key mapping, as the rule of 2026-11-03 requires: the bottom bar and the Actions menu for the tap, the Actions menu for Alt+scroll, and the icon-only Nova conversa button for Super+N. Full text: section Keys and visible counterparts.

Scenario: Visible counterparts of the keys

  • WHEN the user opens the Actions menu
  • THEN the tooltip of Ver tudo e falar shows Super and the tooltips of the focus actions show Alt+scroll

Scenario: The new conversation button

  • WHEN the bottom bar shows the new conversation button
  • THEN it shows only its icon, and its tooltip and accessible name give "Nova conversa" and Super+N

Requirement: Keys of the compositor need a connected compositor

With no compositor connected (wm.connected of the state is not true), the first-run card, Configurações > Início and the welcome SHALL name only /, the card SHALL drop every explanation of Super, and the tooltips of the bar, the workspace tabs and the overview SHALL drop their key. Full text: section First use.

Scenario: Keys of the compositor need a connected compositor

  • WHEN the host runs with no connected compositor
  • THEN only / is named and no tooltip shows a compositor key

Requirement: Box state needs the capability

The core SHALL refuse the box dock state on a compositor without capabilities.chatBox and SHALL leave the camera field out there. The camera field SHALL go only with collapsed, else invalid_camera, and the overview, the lock and chat_hold refuse as before. Full text: section Wire contract (phase 1, as built).

Scenario: Box state needs the capability

  • WHEN the core asks a compositor without chatBox for the box state
  • THEN the core refuses it and omits the camera field

Requirement: Authority of the chat state

Only the protected host SHALL call /api/chat-dock, /api/chat-dock-side and /api/create. No agent tool, MCP entry, generated HTML, plugin panel or scheduled turn SHALL get the box state, the camera field, the new_chat request or the new user actions. Full text: section Wire contract (phase 1, as built).

Scenario: Authority of the chat state

  • WHEN an agent tool or generated HTML tries to change the chat dock state
  • THEN it has no reach; only the protected host calls the routes

Requirement: Out of scope

The mode SHALL NOT offer a setting to turn it off (the rollback is a git revert), the agent SHALL NOT press Super, Alt+scroll or Enter (no mouse or keyboard automation of application content), no generated HTML, plugin panel, scheduled turn or agent tool SHALL access the chat state, the camera mode or the new conversation key, and the consent rules of AGENTS.md stay. The lock screen and the approval dialogs keep their palette and their flow. Full text: section Out of scope.

Scenario: Out of scope

  • WHEN a user looks for a setting to disable Super mode
  • THEN there is none

Scenario: Lock screen and approval dialogs

  • WHEN the mode is in use
  • THEN the lock screen and the approval dialogs keep their palette and their flow

Status

Doc status: partly landed. Landed: phase 1 (Super mode, three chat states, 2026-11-04) and the switch during a response of phase 3 (2026-11-06). Not landed: phase 2 groups and the new conversation during a response (/api/create still waits). Checked 2026-11-10.

The model in one screen

  • Super is a mode, not a chat key. A tap pans the camera out to show every window of the workspace and shows only the text box, at the bottom center. Typing brings the whole chat. Enter on the empty box brings the whole chat. A second tap, or Escape, undoes both: the camera returns and the box goes away. Outside the tap, the chat and the camera are independent.
  • Focus is what is on the screen. The zoom is locked to windows, so the camera always rests on windows; the focus is the set of visible windows, one window alone or a group. Alt+scroll steps the focus: each tick moves the camera to the next focus, in spatial order from left to right. A Grid workspace of today is one focus. Super+scroll stays zoom.
  • The whole chat has one placement rule. Centered on a workspace with no window; at a side (a protected setting, right by default, the current width) on a workspace with windows. On a Grid workspace it floats in a reserved margin, not in a cell. A response in progress never hides it. A window the user opens with /name or Super+Return hides it. A click outside hides it.
  • A window the agent opens while the chat is at the side: from afar (the camera shows several windows), it appears in free space to the right of the existing windows and the camera only adjusts to keep it in view; from near (the zoom of one window), it takes the area beside the chat and the camera frames it there at the fit zoom.
  • An empty workspace shows only the box; a response that starts expands it to the whole chat.
  • Keys: Super+N replaces Ctrl+Shift+N; Super+Shift+F goes away (the tap is the fit all); Super+C and Super+Space do not exist.
  • First use: the essentials by task first (Super, /, Alt+scroll, Super+S, Super+N), the color after; Super+T and Super+Shift+T move to Configurações.
  • Phases: 1 the Super mode and everything above, with the Grid of today as one focus; 2 the groups (a specification of its own); 3 a new conversation during a response.

The three states of the chat

State What shows How it starts How it ends
Hidden Nothing of the chat; no input reaches it A click outside the whole chat; an application that the user gives the keyboard to (a click, the end of Alt+Tab, a grid key, a window of the overview), from the box or the whole chat; a camera gesture that lands on a window, from the box only; a window the user opens with /name or Super+Return; the second Super tap or Escape on the box Super tap (to the box), an approval or a chat_hold (to the whole chat), the chat button of the bottom bar
Box Only the composer, at the bottom center of the output, over the windows, with no history A Super tap; an empty workspace Typing or Enter on the empty box (to the whole chat); the second Super tap or Escape (to hidden); an application that takes the keyboard (to hidden)
Whole chat The conversation and the composer Typing in the box; Enter on the empty box; a response that starts while the box shows (a scheduled turn too; never from hidden); an approval; the review card and the first-run card while the box shows; a dialog of the chat that opens while the box shows; the chat button A click outside; a window the user opens; Super tap while the whole chat shows goes to the box and pans out

An application that takes the keyboard by an action of the user ends the box and the whole chat (2026-11-04, the user: "Quando foca no aplicativo o chat não tá sumindo (bug)"; before it a press that picked a window kept the box). The paths are a press, the release of Alt+Tab or Super+Tab on an application (during the hold the chat stays a target), a grid key and a window of the overview. A camera gesture that lands on a window (the settle of a pan or a pinch, Super+scroll up) hides only the box, because its fit left room for the whole chat. Four things keep the chat: Alt+scroll, which is the choice from afar in the section Focus and Alt+scroll; a pointer press with Super held; a focus from the agent or the host, which is no input of the user; and a held chat (chat_hold). A press on the wallpaper, on empty canvas or on a bar keeps the box. The camera does not move for any of these hides, and a click still fits the window.

Correction of 2026-11-04 (the user: "quando eu clico para selecionar uma janela em overview, já deveria fechar o chat, não esperar eu clicar no app uma segunda vez"): a press selecting a distant Canvas application below the input threshold hides the box on that first press, before the click fits the window on release. The regular hit test excludes these distant windows, so it previously treated this selection as empty canvas and kept the box. The explicit selection path now applies the same outside-press rule to its resolved application. A held chat, a Super chord, and a press on the chat itself retain their existing exceptions; dragging distant windows still moves them without forwarding a click to the client. Regression: selecting_a_far_canvas_window_hides_the_chat_box_on_the_first_click in native/smithay/src/canvas_tests.rs.

The box is the state that existed until 2026-11-02 (the compact collapsed chat that expanded at the first letter) with one difference: it shows only when the user calls it with Super or when the workspace is empty; it never stays on the screen by itself after the user dismissed it.

The box takes the keyboard when it appears. Escape on the box with a /name suggestion open clears the suggestion first; Escape with no suggestion hides the box. The draft survives a hide, as it survives a reload today. As built, Escape in the message field also hides the whole chat, with the same camera request; the compositor returns the camera only from the fit all of a tap.

Shared views keep the current rule: each output has its own chat window and its own chat state of the same conversation; the tap acts on the focus output.

Super mode

The tap

A tap is a press and release of Super with no other key and no pointer button in between, as LogoTap in native/smithay/src/input.rs defines it today. A Super+scroll or a pinch during the press keeps the zoom and is no tap, as today.

On the tap:

  1. The compositor runs the fit all of the workspace on the focus output (the rule of canvas_fit_all, with two differences of the tap since the nested QA of 2026-11-04: the zoom stops at min(fit zoom, 1), because the user asked the tap to pan out and it never enlarges a small window, and the fit viewport also excludes the box rectangle at the bottom, so the windows show above the box; Super+Shift+F goes away). A camera that already shows everything at zoom 1 may barely move; a view zoomed above 1 goes to at most 1. The fit_all action, Super+scroll and canvas_organize keep their own fit. On a Grid workspace it recenters the camera (this is what the code already does; the comment at input.rs:591 and the table of canvas-windows.md that say "no fit" are wrong today and get corrected). The overview, the lock and a transition refuse the fit, as today.
  2. The chat goes to the box state, whatever it was. The compositor records that the box came from a tap, so the next tap or Escape knows to return the camera.

The second tap, or Escape on the box, hides the box and moves the camera by what happened after the first tap:

  • Nothing: the fit all is still the target, and the camera returns to where it was before the first tap (the view.previous of the fit toggle). A tap over the fit of one window gives that fit back with its target, unless the window closed (nested QA of 2026-11-04: a window that opened fitted came back at zoom 1).
  • The last camera move was an Alt+scroll step (or a focus_next or focus_previous action): the camera flies to center the focused window at the zoom from before the first tap, so the user goes to what they chose and never stays at the far zoom with no way back (decision of 2026-11-04, nested QA). While the keyboard is on the box, which is the Escape path, the window is the one of the last step.
  • The user panned, zoomed or fitted by hand, at any point after the steps: the camera stays where the user left it.

Typing in the box, or Enter on the empty box, shows the whole chat and leaves the camera where it is, also on a fitted window: a pure dock change moves no camera, and the next fit uses the viewport of that moment. Hiding the whole chat later (a click outside) leaves the camera where it is. Only the tap moves both.

Not changed by the tap

The hidden chat still takes no click, no Alt+Tab and no overview card. The approval flow still shows the whole chat (chat_dock {state: expanded} plus chat_hold), and a Super tap during a held chat goes to the box only after the user answers, as today a tap cannot hide a held chat. Locked, Super goes to the lock UI. In the workspace overview the compositor makes no fit and no dock change, and still sends chat_focus: the core closes the overview (focusChatComposer, as it did before this work) and sends focus_chat, so a box or a whole chat stays as it is and a hidden chat shows the box. Correction of 2026-11-04 (nested QA): this text said that the tap changes nothing there.

Holding Super

Added on 2026-11-04 at the request of the user ("quando eu apertar windows e apontar o mouse para fora da janela ele já move para outra janela, na verdade dá zoom out, mas assim que soltamos o win se tiver em alguma janela já desce nela"). On a Canvas workspace, Super held alone with the pointer at least 24 px from where it was at the press, so a shaking hand adds nothing, and outside the window with the keys (the chat too, when it has them) pulls the camera back to every window. The chat does not change, so the fit stays above the box only while the box shows, and beside the column of a whole chat. A second Super key changes nothing, and the lock ends the hold and gives the camera back at once. The release of Super then is no tap:

  • On a canvas window: that window takes the keys and the camera goes down to it. A fit before the hold stays a fit, of the new window, and on the same window it comes back as it was. Otherwise the camera centers it at the zoom before the hold, at least 1. From the box of a tap the same holds for what was on the screen before that tap: its fit of a window, or its zoom. The landing hides the box, unless the core holds the chat.
  • On anything else (empty canvas, the chat, a bar, another output, the overview): the camera returns to where it was.

Any other key, a button or a scroll during the hold makes a chord: the camera stays where that action leaves it. A hold that stays on the focused window is still a tap. A Grid workspace, the overview and the lock have no hold. No agent tool, scheduled turn, generated HTML or plugin panel reaches it.

Focus and Alt+scroll

The focus is the set of windows on the screen. The camera cannot rest on empty canvas: the zoom stops at 1 at the nearest window and a fit always frames windows (canvas-windows.md, phase 4). So "the focus" of the user is one window alone, or a group of windows that the camera frames together.

  • Alt+scroll steps the focus. Each tick moves the camera to the next focus, at once, with no confirmation on release (the user chose this over an Alt+Tab-like highlight). Down is the next focus to the right, up the previous to the left. The order is spatial, by the left edge of the window on the canvas, then by the top edge; it is the same from afar and from near.
  • From near (the zoom of one window): the camera centers on the next window without changing the zoom, as the agent focus of a canvas window does today; the keyboard goes to it.
  • From afar (after a tap, several windows in view): each tick centers the camera on the next window and keeps the zoom; the keyboard goes to it; the box stays. This is the "scroll dentro do overview" of the user: the choice from afar, in the same gesture.
  • Grid workspace: the whole Grid is one focus in phase 1 (a locked camera). Alt+scroll does nothing on a Grid workspace in phase 1, and the grid keys and Alt+Tab keep their meaning.
  • Alt+scroll no longer reaches clients. Some applications use it for horizontal scroll or tab change; the compositor swallows it from phase 1, in the same way it swallows Super chords. This is a documented trade-off.
  • Super+scroll and the pinch stay zoom about the pointer. Super+Equal, Super+Minus, Super+Ctrl+0 and Super+F stay.

Alt+Tab keeps its current behaviour (most recent first, any window of the workspace) as the keyboard path for windows out of view.

The placement of the whole chat

One rule, by the state of the screen, with no mode to switch by hand:

  • No window on the workspace: the whole chat is centered, with the geometry of today (canvas::dock_placement, 2/5 of the content width held to 480..760, 3/4 of the height held to 360..900).
  • At least one window: the whole chat is at a side, with the same width and the full content height minus the margins. The side is the protected setting chatDockSide (chat_dock_side, still on the wire since 2026-11-02 and moving nothing); its control returns to Configurações > Janelas, right by default. The chat at a side is excluded from the fit viewport: a fit of a window or of all windows uses the content area minus the chat column (the camera_exclusive: "dock" declaration of before 2026-11-02, which is still a valid value).
  • The box is at the bottom center regardless of the side, over the windows, and takes no part of the fit viewport, except the fit of a tap, which frames the windows above it.
  • Above a reserve. On an output whose bottom bar declares a reserve (the app dock of the theme Lumen, which takes no strip), the box sits at the bottom center above that reserve, the whole chat in its column or centered ends above it, and the fit of a tap frames the windows above that box. The Grid formation leaves the same height at the bottom, and a maximized, zoomed, floating or Canvas window ignores it and reaches the edge. With no reserve nothing changes (openspec/specs/window-layers/spec.md, The app dock bar).
  • Grid workspace (the floating chat of the primary output, or a shared Grid): the formation shrinks to the content area minus a reserved margin at the chat side, and the whole chat floats in that margin. The margin is not a cell: it takes no grid key, is no tile and is no target of Super+Ctrl+arrows. With the chat hidden or in the box state, the formation uses the whole content area again, so a show or a hide of the whole chat on a Grid relays out the windows once.
  • Several outputs: the rule applies per view; the chat of an extra output follows the windows of that view.

A window the user opens

A window that the user opens with /name in the composer or with Super+Return hides the whole chat (the intention was the application). The host hides it before it asks for the open, so the compositor does not place the window as seen from afar; a refused open leaves the chat hidden, and its error shows at the next open of the chat. The window takes the focus and, on Canvas, the camera fits it as open_application does today. This does not apply to a window the agent opens, even on an empty workspace.

A window the agent opens

During a response the whole chat stays. The placement of the new window follows the camera of the moment:

  • From afar (the camera shows more than one window, or the fit target is All): the new window is placed in free canvas space to the right of the rightmost window of the workspace, at its own size, and the camera adjusts the fit so that the new window is in view, without zooming in. The user keeps seeing everything.
  • From near (zoom 1 of one window, which is the common "one app on the screen", even when others exist out of view): the new window takes the area beside the chat and the camera frames it there at the fit zoom, also for an agent focus of a window that exists; the window that had the focus leaves the view, and Alt+scroll or a tap brings it back.
  • No window yet: the chat moves from the center to its side first, and the new window takes the rest of the content area; the camera frames it in the area beside the chat.

This replaces, for the agent, the open_application placement fit of today (canvas-windows.md, phase 7): the fit viewport excludes the chat column, and the "from afar" case keeps the zoom. The agent limits stay: user_active during user input and for 2 s after it, the 2 s rate limit, and a held window refuses.

Keys and visible counterparts

Key Action Visible counterpart (openspec/specs/contextual-actions/spec.md)
Super (tap) Pans out and shows the box; again, returns the camera and hides the box "Ver tudo e falar" in the bottom bar and in the Actions menu, with "Super" in the tooltip
Escape on the box Clears a /name suggestion, else hides the box and returns the camera The close affordance of the box
Enter on the empty box Shows the whole chat Same
Chat button of the bottom bar Shows the whole chat (camera unchanged); lit while the whole chat shows; hides it when lit The button itself, with no key (the key path is Super then Enter)
Alt+scroll Next or previous focus "Próxima janela" and "Janela anterior" in the Actions menu, Window group, with "Alt+scroll" in the tooltip
Super+N New conversation The icon-only "Nova conversa" button, whose tooltip and accessible name give "Super+N"; Ctrl+Shift+N goes away
Super+S Overview of all conversations Unchanged
Super+F, Super+scroll, pinch, Super+Equal, Super+Minus, Super+Ctrl+0 Camera, unchanged Unchanged
Super+Shift+F Removed; the tap is the fit all The "Enquadrar tudo" action shows "Super"
Super+C, Super+Space Do not exist

The Actions menu, the first-run card and the Início tab of Configurações show the new mappings; every key keeps a visible, operable counterpart, as the rule of 2026-11-03 requires. The hidden chat of today has no counterpart, which this specification corrects.

First use

The first-run card inverts its steps: step 1 "O essencial", step 2 the color. While the box shows, a pending card expands it to the whole chat, once for each pending card (each empty conversation on a profile with no color yet, each press of "Ver o onboarding de novo"), so a fresh profile sees the card at the first login. A whole chat counts as shown, so a later tap keeps the box. The essentials, by task, in six lines (the line of the workspaces since 2026-11-06, openspec/specs/contextual-actions/spec.md):

Task Key
Veja tudo e fale com o agente Super (de novo: volta)
Abra um app / e o nome
Troque de janela Alt+scroll
Troque de workspace Super+←/→ ou Super+Shift+scroll
Suas conversas Super+S
Nova conversa Super+N

Super+T, Super+Shift+T, Super+L and Print leave the card and stay in Configurações > Início and in the Actions menu. Since 2026-11-13 each line of the card is an icon tile with its key as a visible chip; the sentence of the task is the accessible name and the tooltip, and "Super é a tecla com o símbolo do sistema (Windows ou ⌘)" is no line of the card but part of the tooltip of every tile whose key includes Super. The welcome text drawn on the wallpaper of an empty conversation (#chat-welcome) shows the first three lines permanently, in every empty conversation, as the visible entry the usability review asked for.

The keys of the compositor work only while it is connected. With no compositor connected (wm.connected of the state is not true: macOS, npm run desktop on another desktop, a core that has not connected yet), the card, Configurações > Início and #chat-welcome name only /, the card drops the line about Super, and the tooltips of the bar, the workspace tabs and the overview drop their key (desktopKeys of host/settings-state.js, ui-src/host/desktop-keys.js; AGENTS.md, Contextual discoverability). Since 2026-11-09.

Wire contract (phase 1, as built)

The contract that both worktrees of phase 1 followed. Names and shapes are final.

Chat dock states

expanded (the whole chat), collapsed (hidden: nothing drawn, no input, as since 2026-11-02) and box (new). They are valid everywhere the core validates a dock state: canvasWorkspaces[].chatDock.state, canvasWorkspaces[].views[].chatDock.state, floatingChat.state, gridViews[].chatDock.state, the chat_dock command and window-session.json. The box is the composer alone in a window rectangle at the bottom center of the content area, 640 x 180 logical pixels (canvas::box_placement), 12 px above the bottom bar area. It takes pointer and keyboard input like the whole chat and takes no part of the fit viewport (except the fit of a tap, canvas::fit_viewport_above) or of the popup area. In Rust, ViewState.dock: DockState (Shown, Box, Hidden, serde expanded, box, collapsed); chat_hidden stays the hidden check of input and visibility.

chat_dock and /api/chat-dock

  • Compositor command (control connection, from the core): {"action": "chat_dock", "state": "expanded" | "collapsed" | "box", "output"?: <name>, "camera"?: "return"}. camera: "return" goes only with collapsed (else invalid_camera) and does what a second tap does after the hide (return_from_tap): when the fit target of the view is the whole workspace (a tap or a fit all), the camera flies back to the camera before it; when the last move since the tap was an Alt step, it flies to center the focused window, or the window of that step, at the zoom before the tap; after a pan or a zoom by hand, and on a Grid, the camera stays. The overview, the lock and chat_hold refuse as before (chat_held for collapsed and box while held).
  • Core route POST /api/chat-dock (shell token, protected host only): {state, output?, camera?} with the same validation. chatDockStates in core/smithay.js is ["expanded", "collapsed", "box"]. The core refuses box on a compositor without capabilities.chatBox and leaves camera out there, because an older compositor refuses unknown fields. expandCollapsedChatDock (approvals) and the hold safety net expand from collapsed and from box.

Capability

capabilities.chatBox: true from a compositor that implements this contract (the box, camera: "return", Alt+scroll, new_chat, the user actions below). The core validates it as a boolean and the host reads it in the state that it already gets.

Input requests

  • chat_focus: unchanged shape (generation, kind). The compositor sends it after a tap that already fitted all (on a Canvas at most at zoom 1 and above the box; on a Grid, recentered) and set the chat of the focus output's view to the box (a held chat stays whole). The core closes an open overview, picks the focus output, sends focus_chat {output?} and publishes {kind: "chat_focus", output?}; the host focuses the message field. focus_chat no longer toggles the chat: it gives the keyboard to a box or a whole chat, and sets a hidden chat to the box first, or to the whole chat while held.
  • A second tap on a box that a tap showed (the per-view flag box_from_tap, cleared by any other dock change) hides it and moves the camera as section "The tap" says; no request. The tap keeps the zoom before its fit in the view (tap_zoom, cleared with box_from_tap and by a pan, a zoom or a fit by the user in user_camera, zoom_to and set_fit); an Alt step keeps it and records the window and the camera that it left, and a camera that no longer is that one moves no more.
  • new_chat: Super+N (no Shift, Ctrl or Alt), generation and kind only. The core runs the code of POST /api/create, with its busy refusal, and drops a refused key. After a new conversation it runs the path of chat_focus (focus_chat, then the event to the host), so the keyboard lands in the composer of the new workspace, as after the "Nova conversa" button.

User actions

chat ("Ver tudo e falar", "Super") does what a tap does; fit_all keeps its function and its own fit (no cap at zoom 1, no box rectangle) with the key label "Super"; focus_next and focus_previous (group window, "Próxima janela" and "Janela anterior", "Alt+scroll") step the focus as Alt+scroll does and are hidden on a Grid workspace. There was no new_chat user action; the icon-only "Nova conversa" button of the bar gives "Super+N" in its tooltip.

Alt+scroll (compositor)

Alt with no Super, Ctrl or Shift, with a vertical scroll, on a Canvas workspace: the compositor swallows the axis and steps the focus, down to the next and up to the previous, in the order of the left edge, then the top edge, then the window id. Each tick (one discrete step, 120 units of v120 or 15 of continuous scroll) gives the keyboard to the next window and centers the camera on it at the same zoom, also when it is already in view. One event takes at most four steps and drops the rest, and the end of a touchpad scroll clears the rest of a step. The box stays. On a Grid, in the overview, locked, during a camera flight or with fewer than two windows, nothing happens (on a Grid the axis reaches the client as before). Super+scroll, the pinch, Super+Equal, Super+Minus, Super+Ctrl+0 and Super+F are unchanged.

Placement (compositor)

With no top-level application window the whole chat is centered (canvas::dock_placement). With one or more it is a column at the chatDockSide side (right by default): the width of the centered chat, the content height minus the 12 px margins; fit_viewport excludes the column while the whole chat shows. A change of the dock alone does not fit a fit target again: the target is keyed by its client size and the fit viewport of the content area or the lens, without the column, so a client resize or an output change fits it again in the viewport of that moment, and showing or hiding the column leaves the camera. A fullscreen request hides the chat and then fits in the area with no column. On a Grid the formation leaves a margin of the same width at that side while the whole chat shows, and the chat floats in it; the margin is no cell. The box and the hidden chat exclude nothing. A new workspace and a workspace whose last application window closed start in the box (whole while chat_hold holds it). The agent placement of an open_application fit or an agent focus on a Canvas workspace with the chat whole or in the box: from afar (fit target all, or more than one window in view) a new window goes 48 px to the right of the rightmost window, top aligned with the topmost one, and the camera flies to the fit of all with the zoom held at or below the current zoom; from near the camera frames the window at the fit zoom in the fit viewport, beside the column while the whole chat shows, and an agent focus of an existing window does the same. The limits user_active, rate_limited and a held window stay.

Keys

Removed: Super+Shift+F (the key reaches the client). Ctrl+Shift+N was a host key only; the host removed its handler. Added: Super+N and Alt+scroll. Super+Return also hides the chat of the focus output's view, unless held. Super+C and Super+Space are not bound.

Host

  • The box (chatDock.state === "box" for the chat of this window: the primary chat, or an output chat by its own view): the body class chat-box shows only the composer region (the field, the model selector, Voz, Mostrar ao agente) and hides the conversation, the welcome, the pins, the progress lines, the review card, the memory notice and the first-run card.
  • In the message field, after the /name suggestion takes its keys: Escape sends /api/chat-dock {state: "collapsed", camera: "return"} while a floating chat shows (box or whole), and the draft stays. In the box, the first printable key sends {state: "expanded"} and stays in the field; Enter on an empty field sends expanded and nothing else; Enter with text sends the message, then expanded.
  • Before a /name dispatch the host sends {state: "collapsed"} (no camera). When a response starts (a scheduled turn too) a box expands: the host decides at the first poll with a busy conversation (not state.busy, which a workspace switch sets too), so a hidden chat stays hidden and a Super tap during a running response keeps the box. The approval and the review card expand from box as from collapsed; the first-run card and its replay expand from box once for each card; a dialog of the chat document (#account-dialog) expands first and then opens, so nothing renders in the 640 x 180 window. The class chat-box is off while the workspace overview is open. A refused dock request shows its error in the field, except chat_held and the refusal of a workspace switch ("Aguarde a troca de sessão."), which are expected and silent; the start of a response tries again at the next state after a refusal by a switch. The pick of a /name clears the field's line at once, before the open waits for its window (2026-11-16); a refused open puts the line back while the field is still empty in the same conversation, and its error shows there. A confirmed open shows no success text, and the notice of an open with no confirmed window shows in the error line.
  • A chat that becomes the box closes open settings (2026-11-04: the dialog was left clipped in the small window), as a press outside does, and the field takes the keys. A pending ChatGPT login keeps its dialog and asks for the whole chat again. A dialog opened during a box that refused to expand stays, because no state changed.
  • The bottom bar has a chat button (#chat-toggle, "Chat", a lucide icon, left of "Nova conversa") wherever the chat of the bar's workspace floats; it is lit (data-active="true") while the whole chat shows and sends expanded from collapsed or box, else collapsed, with output on an extra output. "Nova conversa" is icon-only and gives "Super+N" in its tooltip and accessible name; the host has no Ctrl+Shift+N handler.
  • The welcome of an empty conversation lists Super, / and Alt+scroll. The first-run card shows the essentials first and the color second; the Início tab lists the essentials and then Super+T, Super+Shift+T, Super+L and Print. The Actions panel hints name Alt+scroll for windows and Super+scroll for the zoom. Configurações > Janelas shows "Lado do chat" again (/api/chat-dock-side), right by default; the core reads an unset profile as right since 2026-11-04 and keeps a saved left.

Persistence

window-session.json stays at version 1. A saved box restores as box and a saved expanded as the whole chat (the core sends chat_dock with the state only on a compositor with chatBox, where a new canvas starts in the box; an older compositor needs no request for the whole chat); collapsed restores as before; an unknown state restores as the whole chat, like expanded. Rollback: an older core rejects a whole canvasWorkspaces list that has a saved box, so a rollback loses the restore of the cameras once.

Authority

Only the protected host calls /api/chat-dock, /api/chat-dock-side and /api/create. No agent tool, MCP entry, generated HTML, plugin panel or scheduled turn gets the box state, the camera field, the new_chat request or the new user actions. The agent reads the dock state in desktop_state, where box is now a valid value.

Not in phase 1 (as built)

  • The welcome of an empty conversation shows only while the chat is not floating, as before; a floating chat (every Canvas workspace and the primary Grid) does not show it. The spec asked for it "in every empty conversation"; changing where it shows is left open.
  • The two Alt+scroll actions share their labels with the Alt+Tab actions, as the contract names them; the key mapping tells them apart.

Out of scope

  • Mouse or keyboard automation of application content; the agent cannot press Super, Alt+scroll or Enter.
  • Any access of generated HTML, plugin panels, scheduled turns or agent tools to the chat state, the camera mode or the new conversation key; the consent rules of AGENTS.md stay.
  • The lock screen and the approval dialogs keep their palette and their flow.
  • A setting to turn the mode off. There is none; the rollback is a git revert.

Binding contract (from AGENTS.md)

This section holds, word for word, the rule that AGENTS.md kept for this feature until 2026-11-10, when AGENTS.md was reduced to the short invariants (openspec/changes/audit-2026-11-10/design.md, F10). It binds exactly as AGENTS.md does; AGENTS.md keeps the short invariant and points here. Change both in the same commit.

  • A switch during a response (openspec/changes/super-mode/design.md, Phase 3; since 2026-11-06): a selection of an open workspace by the user runs during a turn, under the live workspace_outputs lease, unless a dialog waits or an agent open_application, open_path or arrange_windows runs. The turn keeps reading its own conversation, a selection changes the live state in place, and create and archive still wait for the turn. No agent tool selects a workspace. Only the core sends agent_route (control connection only, capabilities.agentRoute), so a new window of a process below OpenCode or started by the turn through the core opens on the workspace of the turn with no keyboard and no camera move on the workspace of the user; a dialog of a turn that the user left takes the keyboard only after the input rests, an agent window_action on the chat window of such a turn is refused, and the host names the origin of a card with a fixed line, never from agent text.