opencode-mobile holds native iOS and Android clients for controlling
sessions on a user-managed opencode server: OpenCode Mobile and Hex Code.
This file defines stable product vocabulary. It does not describe current implementation status, feature plans, or detailed UI behavior.
The server normally runs on the user's development machine. A mobile client
reaches it through a user-managed LAN, VPN, HTTPS endpoint, or tunnel. Requests
can target an added project by sending its worktree path as directory.
The primary client app in this repository, for iOS and Android.
A second, experimental, voice-first client app in this repository. It shares
the network and data layer with OpenCode Mobile and has its own screens and
design. hexcode is its code and module name.
The HTTP server that exposes opencode projects, sessions, messages, events, and control operations to the mobile client.
A saved configuration for one reachable opencode server.
It contains the base URL, username, securely stored password, and ordered list of added-project worktree paths. It describes how the client reaches a server, not a user account.
The first-run screen shown when no Connection Profile exists.
It is distinct from the unavailable state shown when a saved server cannot currently be reached.
A project worktree the user chose to show for a Connection Profile.
Adding a project is local curation. It does not create or modify a project on the server.
The project context used for a server request.
With directory={worktree}, it means that worktree. Without directory, it
means the server process boot worktree.
A live shell on the connected opencode server for an added project.
It is not a session and is not part of Session Chat.
Avoid: PTY as a product label, SSH, TUI attach, session shell command.
A conversation and work stream managed by opencode for the current project.
A session created from a parent session to perform delegated work.
Avoid: subagent as the product name.
A session action that removes a session from active lists while retaining it on the server.
Avoid: delete, hide, dismiss.
A session action that permanently removes a session and its associated data.
Avoid: archive, remove when archive is meant.
A user or assistant item in a session timeline. A message contains ordered, typed message parts.
A typed content item inside a message, such as text, reasoning, a tool call, or a file.
A device file included with a prompt and represented as a file part after send.
Avoid: upload when no separate upload operation exists, project file context, agent mention.
The agent-owned, view-only work list for one session.
Avoid: user todo list, checklist, Plan.
One ordered item in a Session Todo List. Its status is pending,
in_progress, completed, or cancelled.
A named command from the server catalog that runs against a session instead of being sent as a normal prompt.
Avoid: client slash action, slash command when the distinction matters.
A curated local action in Session Chat, such as new session, fork, undo, redo, or compact.
It is not loaded from the server command catalog.
An agent from the server catalog that can be referenced with @ without
becoming the selected turn-owning agent.
Avoid: subagent.
A structured reference to a mentionable agent in a prompt.
It does not change the selected agent and is not an Attachment.
The provider and model selected for the next prompt, with an optional server-provided Variant.
A server-provided model behavior or reasoning option. Default means the
client sends no explicit variant.
Avoid: Thinking Effort as the general product label.
The Model Selection explicitly chosen on this device as the starting choice for new sessions in the same Connection Profile and added project.
A request for the user to approve or deny an action before the session can continue.
A request for one or more structured answers before the session can continue.
It is not a permission request.
A read-only collection of file diffs selected for review. Sources can include the last turn, working tree, or current branch relative to its default branch.
The line-level representation of one changed file in a Change Set.
Formatted display of message text. Raw markdown remains the source for sending, copying, and restoring text to the composer.
A session-scoped inspection view for model context, token usage, message accounting, and cost.
The server-sent event connection used while the app is active. The client refreshes after reconnect instead of promising background delivery.