Galaxy Shell / docs
Docs / Interface e recursos

Usability guide

openspec/specs/usability/spec.md · Editar no GitHub ↗

Esta página ainda não tem tradução em português. O conteúdo abaixo está em inglês.

Nesta página

Usability guide

Purpose

A user-facing summary of how a person uses Galaxy Shell day to day: the screen, talking to the agent, windows and workspaces, and the steps that always stay in the user's hands.

Requirements

Requirement: The user approves what matters

Sending a message, granting a tool, approving a schedule, a theme or a source change, unlocking the session and taking a screenshot SHALL always need the user's own input in a protected control. Full text: section Core idea.

Scenario: Agent wants to unlock

  • WHEN the agent would need to unlock the session
  • THEN only the user's own input in a protected control can do it

Requirement: Real applications stay real

The agent SHALL arrange windows of external applications and MUST NOT imitate their content or drive the mouse and keyboard inside them. Full text: section Core idea.

Scenario: Agent works with an application window

  • WHEN the agent acts on an external application
  • THEN it arranges the window and does not drive the mouse or keyboard inside it

Requirement: Models without API key

The model selector SHALL offer only OpenCode free native models or ChatGPT plan models after logging in through the UI, with no API key and no paid fallback. Full text: section Talking to the agent.

Scenario: Provider quota exhausted

  • WHEN the provider quota is reached
  • THEN the turn can be blocked, because there is no paid fallback

Requirement: Window capture needs the user

Mostrar ao agente SHALL attach a capture of the focused window to the next message, and nothing is sent until the user sends. The agent MUST NOT start a capture. Full text: section Talking to the agent.

Scenario: Attaching a capture

  • WHEN the user presses Mostrar ao agente
  • THEN a removable thumbnail appears and nothing is sent until the user sends

Requirement: Interactive responses only prepare a draft

When a component wants to continue the conversation it SHALL only prepare a draft in the composer, and the user reviews and sends it. Generated components MUST NOT send messages, use tools, reach the network or the microphone. Full text: section Interactive responses.

Scenario: Component continues the conversation

  • WHEN an inline component asks to continue the conversation
  • THEN a draft appears in the composer and the user decides whether to send it

Requirement: Pinned components limit

Pinning SHALL keep a component in a column on the right of the chat, up to 4 per conversation, and the pinned copy starts fresh from the published document without the state of the inline copy. The column hides when the chat is narrower than 760 px. Full text: section Interactive responses.

Scenario: Narrow chat

  • WHEN the chat is narrower than 760 px
  • THEN the pinned column hides and returns when there is room

Requirement: Approval dialog behavior

The tool approval dialog SHALL start focus on Recusar, arm the allow button only after 1.5 s, and refuse on Escape. Only one dialog is open at a time and the next pending one opens after the answer. Full text: section Approvals.

Scenario: Pressing Escape

  • WHEN an approval dialog is open and the user presses Escape
  • THEN the request is refused

Requirement: Agent changes stay bounded

The agent SHALL change only the profile style.css for the look of the shell, only propose a theme that the user approves, and for source changes show a review card where only the user approves; approval takes effect at the next login and nothing is pushed or restarted. Every new or changed schedule needs approval and a scheduled turn cannot change schedules. Full text: section Changes the agent proposes.

Scenario: Source change approved

  • WHEN the user approves a source change in the review card
  • THEN the active checkout is updated for the next login and nothing is pushed or restarted

Requirement: Screenshots start from the user

Only user input SHALL start a screenshot; the agent MUST never see the pixels, and there are no screenshots while locked. Full text: section Screenshots.

Scenario: Agent asks for a screenshot

  • WHEN the agent wants to see the screen
  • THEN it cannot start the screenshot and never sees the pixels

Requirement: Lock and privacy limits

No agent tool SHALL lock or unlock the session, and the agent MUST never read notification content. The agent MAY read the accessible text of a window only after the user allows that window in Configurações, and consent is per window and lasts only for the session. Each close of an idle window needs the user's click. Full text: section Locking and privacy.

  • WHEN the agent asks for the text of a window the user did not allow
  • THEN the text is not read

Requirement: Canvas agent backs off

The agent SHALL get only bounded canvas actions (move, fit, arrange in a row) and MUST back off for 2 s after user input, so it never fights the user for the camera. Full text: section Canvas workspaces (optional).

Scenario: User moves the camera

  • WHEN the user acts on the canvas
  • THEN the agent backs off for 2 s

Requirement: Recovery outside the editable UI

Recovery SHALL stay outside the editable UI: the native menu and the /recovery page restore an earlier interface, frame or model change. Full text: section When something breaks.

Scenario: Broken interface change

  • WHEN an interface change breaks the shell
  • THEN recovery restores the earlier interface

Status

Doc status: current contract. User-facing summary, status as of 2026-11-03 with later updates. Checked 2026-11-10.

Introduction

How a person uses Galaxy Shell day to day: what is on the screen, how to talk to the agent, how to manage windows and workspaces, and which steps always stay in the user's hands. This is a user-facing summary of the current contracts; the linked documents hold the details and the evidence. Status as of 2026-11-03.

Galaxy Shell is experimental. Several flows below are proven in tests, in a browser or in nested QA but not yet in the live session or on real hardware; the Known limits section lists them.

Core idea

The desktop is a conversation. A central chat talks to an agent (through OpenCode), and the agent can answer with text, with interactive HTML components inside the message, or by acting on the desktop: opening applications, arranging real windows, changing the look of the shell and even proposing changes to its own sources.

Three principles shape the experience:

  1. One conversation, many ways to answer. A reply can be a paragraph, a filterable table, a chart or a form, rendered inline. There is no need to open another window or copy code (interactive responses).
  2. Real applications stay real. The agent arranges windows of external applications; it does not imitate their content or drive the mouse and keyboard inside them.
  3. The user approves what matters. Sending a message, granting a tool, approving a schedule, a theme or a source change, unlocking the session and taking a screenshot always need the user's own input in a protected control.

What is on the screen

Element Where What it does
Chat center of the screen (floating and centered on a Canvas workspace) conversation history and the message field (composer)
Composer bottom of the chat the only send field; model selector, Voz (voice) and Mostrar ao agente (attach a window capture)
Top bar top of each output date, time and the notification bell at the center; system indicators on the right
Workspace bar bottom bar one tab per workspace (conversation); a right click opens the workspace menu
Quick settings click the indicators on the right of the top bar volume, microphone, brightness, Wi-Fi, Bluetooth, battery, power saver, media and per-application mixer, session actions
Notifications popups at the top center; history in the bell notifications from any application (notifications)
Tray top bar tray icons and their menus (system tray)
Wallpaper behind everything animated hexagonal crystals (or aurora), tinted with the profile color (wallpaper)
Configurações indicator next to the model selector protected settings: profile color, wallpaper effect, Canvas, chat blur, multi-output workspaces, window text consent and more

The whole interface is web (React, moving to HeroUI in phases, see HeroUI migration). Smithay composes it and draws only effects such as blur behind the glass areas.

Onboarding

A new profile shows a two-step card above the composer of an empty chat (the order of the Super mode of 2026-11-04, super-mode.md):

  1. O essencial: the six keys by task, shown as icon tiles with the key as a chip (the sentence of each task is its accessible name and tooltip) (Veja tudo e fale com o agente: Super, again to go back; Abra um app: / and the name; Troque de janela: Alt+scroll; Troque de workspace: Super+←/→ or Super+Shift+scroll; Suas conversas: Super+S; Nova conversa: Super+N; the tooltip of a tile with a Super key says that Super is the key with the system symbol, Windows or ⌘, and no line of the card repeats it) and the trust rule: interactive responses only prepare a draft, sensitive tools ask first, and Mostrar ao agente attaches the focused window. Continuar goes on and sends nothing.
  2. Escolha a cor do seu perfil: a swatch applies the color at once, so it is easy to try several. Voltar returns to the essentials; Pronto closes the card for good.

Super+T, Super+Shift+T, Super+L and Print left the card; the Início tab of Configurações lists them after the six essentials, and the Actions menu shows them. History: until 2026-11-04 the color came first and the essentials were Super, Super+S, /nome, Super+T and Super+Shift+T, Super+L and Print.

The welcome of an empty conversation names three keys: Super vê tudo e abre a caixa para falar, / abre um app, Alt+scroll troca de janela.

The step lives only in the page: a reload during step 2 shows step 1 again, because only Pronto records the choice. A color chosen in Configurações or set by the chat also closes the card, and then the second step does not show. To see it again, open Configurações, tab Início, and press Ver o onboarding de novo: the card shows again above the composer (also over a conversation with messages) until its Pronto. The replay lives only in the page and sends nothing to the core.

Talking to the agent

  • Send a message: type in the composer and press Enter. The field grows up to 180 px without covering the messages, and the draft survives a UI reload.
  • Open an application without the model: type / and part of its name. Up to eight suggestions appear; arrows and Enter (or a click) open one, Escape clears. Search ignores case and accents.
  • Pick a model: the selector next to the composer offers OpenCode's free native models, or ChatGPT plan models after logging in through the UI. There is no API key and no paid fallback, so provider quotas can block a turn.
  • Show a window to the agent: Mostrar ao agente attaches a capture of the focused application window to the next message. A removable thumbnail appears first; nothing is sent until the user sends (capture). The agent cannot start a capture.
  • Voice (optional, experimental): after python3 scripts/setup-voice.py, the Voz button turns on local speech to text in Portuguese. The answer still comes from the remote model.
  • Memory: ask "remember that..." or "check your memory"; memory lives in the profile.
  • Several conversations: each conversation is a workspace with its own history, windows and pinned components. Archived conversations can be reopened with their history.

Interactive responses

A reply can contain live HTML inside the message. Buttons, filters and forms work in place. When a component wants to continue the conversation, it only prepares a draft in the composer; the user reviews and sends it. Generated components cannot send messages, use tools, reach the network or the microphone.

Pinning: the pin button next to a component's title keeps it in a column on the right of the chat (up to 4 per conversation). The pinned copy starts fresh from the published document; it does not carry the state of the inline copy. The column hides when the chat is narrower than 760 px and returns when there is room.

Approvals

When the agent asks to use a sensitive tool, a modal dialog shows the action, the tool, the conversation and every argument. The focus starts on Recusar (refuse), the allow button arms only after 1.5 s, and Escape refuses. Schedule and theme approvals use the same dialog. Only one dialog is open at a time; the next pending one opens after the answer. On a hidden Canvas chat, an approval brings the chat back (self-maintenance).

Changes the agent proposes

  • Look of the shell: the agent can change only the profile style.css, with preview, journal and rollback. A broken change can be undone from recovery.
  • Profile color: pick one main color (12 presets or a custom #RRGGBB) in Configurações or in the first-run card, or ask the agent. Every tone of the light and dark modes is derived with AA contrast (color palette).
  • Themes and GPU effects: the agent can only propose a theme; the compositor compiles it and the user approves it (themes).
  • Source changes: the agent edits a separate proposal worktree, runs the fixed project gates and shows a review card with the diff, the files and the gate results. Only the user approves. Approval updates the active checkout and takes effect at the next login; nothing is pushed or restarted (source change review card).
  • Scheduled intents: "every weekday at 9:00, open my development workspace" becomes a stored prompt that the core sends at that time. Every new or changed schedule needs approval, and a scheduled turn cannot change schedules (scheduled intents).

Configurações

Configurações opens from the indicator next to the model selector. It is one protected panel with tabs on the left and frameless groups on the right (no cards, nothing to expand); only the content scrolls, and below 640 px the tabs become one row on top.

Tab Groups
Início the essentials of the onboarding and Ver o onboarding de novo
Aparência profile color, wallpaper effect, chat glass, window frames
Janelas Canvas (and its lens, chat side and sharp zoom), screen corners (hot corners), overview planes, manual window control
Privacidade per-window consent to read application text
Conta ChatGPT login

The panel opens on Início and remembers the last tab while the page lives; a login in progress opens it on Conta. The arrow keys move between tabs and Esc closes the panel. Every tab stays mounted, so the host fills and focuses controls of any tab; the controls call the same typed routes as before.

Windows and workspaces

The default layout is the cell grid (tiling spec). The agent can open, focus, move, arrange and close windows through typed tools, and the keyboard gives the user the same control directly.

Keyboard and gestures

Action Behavior
Super (tap) shows every window and the box to talk (the message field alone); again: the camera returns and the box hides
Super+N new conversation (replaces Ctrl+Shift+N since 2026-11-04)
Alt+scroll on Canvas, the next (down) or previous (up) window, left to right
Super+S / three-finger swipe up opens or closes the overview of all workspaces
Super+← / Super+→, three-finger horizontal swipe previous / next workspace
Super+Shift+scroll, or the wheel over the bar previous / next workspace, from anywhere on the screen
Click on a workspace tab opens that workspace and zooms out to show all its applications; on the current one only zooms out. Also during a response, under the live lease (openspec/changes/super-mode/design.md, Phase 3)
Super+1…9 / Super+0 workspace 1…9 / 10
Super+Shift+← / Super+Shift+→ moves the focused window to the monitor on that side
Super+left drag / Super+right drag moves / resizes a window; it then floats
Super+Alt+arrows moves the focus to the nearest window on that side
Super+Ctrl+arrows moves the focused window one cell, or swaps it with a smaller one
Super+Ctrl+Alt+→/↓ and ←/↑ grows / shrinks the focused window by one cell
Super+Shift+Space toggles floating
Super+F / Super+G the focused window covers the grid, and back / fills the grid again
Super+T toggles the focus layout
Super+Shift+T switches the workspace between Grid and Canvas (needs the Canvas setting)
Super held, pointer to a window, release zooms out while held, then goes down to that window (Canvas)
Alt+Tab / Super+Tab switches windows
Super+Enter / Super+Q opens a terminal / closes the focused window
Print / Shift+Print / Alt+Print screenshot UI / whole screen / focused window
Super+L locks the session
Super+Escape ends the session
Escape closes the overview; in the palette or sidebar, returns to immersive mode; in the message field of the floating chat, hides it (and after a Super tap returns the camera)

The overview

Super+S shows every workspace as a card with a live preview. The composer moves to the top of the overview and keeps its draft, so a message or a /app search works from there too.

Canvas workspaces (optional)

With Canvas on in Configurações, Super+Shift+T turns a workspace into an infinite canvas with a camera (canvas windows):

  • A pinch zooms about the pointer; Super+scroll down fits every window and Super+scroll up returns to 1:1 at the nearest window and stops there; Super+Equal / Super+Minus zoom about the center; a pinch in and Super+Equal stop at zoom 1 too (a pinch begun above 1 after a fit does not go higher), and only a fit may exceed zoom 1; Super+Ctrl+0 zooms 1:1 on the focused window.
  • Super+F fits the focused window (press again to go back); a Super tap or a double click on empty canvas fits all (Super+Shift+F was removed on 2026-11-04).
  • Alt+scroll steps between windows: the camera centers on the next window at the same zoom, and it gets the keyboard.
  • The chat has three states (super-mode.md): hidden, the box (only the message field, at the bottom center) and the whole chat. A new or empty workspace shows the box; typing or Enter on the empty box shows the whole chat; Escape, a second Super tap or a click outside hides it; the Chat button of the bottom bar shows the whole chat or hides it. The whole chat is centered while the workspace has no window, and a column at a side (Configurações > Janelas > Lado do chat, right by default) while it has windows. A response in progress or an approval shows the whole chat. History: from 2026-11-02 to 2026-11-04 a Super tap showed or hid the whole centered chat and a new canvas started with it hidden.
  • A maximize request of an application becomes a camera fit of that window; a fullscreen request (F11) of the window with the keyboard covers its whole output until the client, a Super tap, a workspace switch or another window ends it (canvas windows, 2026-11-12).
  • The agent gets only bounded canvas actions (move, fit, arrange in a row) and backs off for 2 s after user input, so it never fights the user for the camera.
  • Canvas lens (optional): a cylinder warp of the canvas, set in Configurações (inverted sphere view).

Several monitors (optional)

With the multi-output setting on, each monitor has its own workspaces and its own chat. A right click on a workspace tab opens a menu that moves the whole workspace to another monitor (multi-output workspaces).

Window frames

Application windows can have custom web frames; the agent sets their style through typed parameters. The shell and recovery never have a frame.

Screenshots

Print opens a protected UI with region, screen and window modes; Shift+Print and Alt+Print save at once. The PNG goes to the Pictures folder and to the clipboard. Only user input starts a screenshot; the agent never sees the pixels, and there are no screenshots while locked (screenshots).

Locking and privacy

  • Lock: Super+L, or a session action in quick settings. A protected web page asks for the password and PAM checks it. No agent tool locks or unlocks (lock screen).
  • Notifications: the agent never reads notification content. Do not disturb and the history live in the bell panel; Limpar tudo clears it.
  • Window text: the agent can read the accessible text of a window only after the user allows that window in Configurações. Consent is per window and lasts only for the session.
  • Idle windows: the core may suggest closing idle windows to save memory; each close needs the user's click.

When something breaks

  • Recovery stays outside the editable UI: the native menu and the /recovery page restore an earlier interface, frame or model change.
  • Supervisors restart the host and the core on a crash, and a known-good Smithay build stays as fallback at login (automatic recovery, project loading).
  • The conversation is not available while the core, the provider or the compositor is down. A reload of the UI keeps the conversation and the draft.

Known limits

  • Experimental: sustained performance, physical keys and several flows still need validation on real hardware.
  • Proven in tests, browser or nested QA but not yet in the live session: screenshots, the lock screen on real monitors, notifications in the shared session and parts of multi-output workspaces.
  • Not implemented: mouse or keyboard automation of application content, screen recording, XEmbed tray icons, collapsing pins or placing them on the window grid, dragging windows between overview cards (excluded by design).
  • The HeroUI migration ships in phases; surfaces not yet migrated keep their earlier look.
  • The voice answer still depends on the remote model, and provider quotas can block any turn.