Mobile & PWA

OpenCode Manager is designed mobile-first and works as a Progressive Web App.

Mobile-First Design

The UI is optimized for mobile devices:

  • Touch-friendly controls
  • Responsive layouts
  • Adaptive components
  • Gesture support
Mobile Sessions View

Tab Bar

On mobile a tab bar sits at the bottom of the home, schedules, Assistant, repository, and linked-server project pages:

  • Sessions, Files, Assistant, and More, plus Git inside a repository and Schedules elsewhere (with a dot when there are unread run reports).
  • Files opens the current repository's files, or the Assistant workspace's files while you are in the Assistant; elsewhere it opens the general file browser.
  • In the web app a repository's schedules page switches the bar to Jobs, Detail, and Runs; the native app hides the bar there and shows the same tabs in a top strip.
  • With a linked server selected, the home page is Sessions, Assistant, Schedules, and More; Files is local-only. On a linked-server project it is Sessions, Git, Assistant, and More; Git opens the read-only Source Control panel.

The bar is hidden inside a session, where swipe gestures and the More drawer take over. That includes sessions on a linked server, whose header keeps a More button.

Session Picker

The session picker (/sessions) uses the same Activity, Sessions, and Projects tabs on mobile. Activity lists the sessions that need input, are running, or changed recently; Sessions searches sessions by title, with This project / All sessions to switch scope; Projects jumps straight to a repository. See Chat & Sessions for the Activity tab.

Mobile sessions sheet on the Activity tab, grouping sessions that need input, are running, or changed recently

Worktrees and Multi-run

The native app gives a repository's worktrees and multi-runs their own screens.

Worktrees

A repository's header shows its current branch in a tab strip. Once the repository has worktrees, Worktrees appears beside it with a count; with none, the header offers Worktree + instead. The Worktrees tab lists every worktree with the sessions running in it:

  • All, OpenCode, Schedules, and Git chips filter by owner and show how many worktrees each lists.
  • Expand all and Collapse all toggle the cards. Schedule worktrees nest under their schedule, and multi-run worktrees nest under their run group; each nested group has a Clean up action that removes all of its worktrees.
  • A worktree card starts a session with New session and removes the worktree with the delete action. Deleting asks for confirmation: OpenCode worktrees are removed with their sessions, schedule worktrees commit pending changes to their branch first, and other git worktrees are only removed when they have no uncommitted changes.

Create Worktree is in a repository's actions menu, and on the Branches tab in Source Control, next to + Branch. The sheet offers New branch and Existing branch modes, lets you search for the base branch, and reports how the worktree setup commands went.

Multi-run

The Multi-run button in a repository header opens the multi-run screen with Runs and New run tabs. New run sends one prompt to up to five models, optionally each in its own worktree started from a local or remote branch. Runs lists recent groups with each entry's live status and Open, Walkthrough, and Discard actions; Fuse results combines two to five ready entries into a new worktree session with its own synthesis model, base ref, and instructions.

Terminal

The native app has its own terminal screen, reached from the More sheet's Terminal row and from the Open terminal action on a worktree. It:

  • Shows the selected directory's terminals as tabs and starts a shell automatically when none is running; New terminal starts another.
  • Keeps exited terminals with an exited (code) badge. Closing a running terminal asks for confirmation, then stops it.
  • Places the key bar above the keyboard: Esc, Tab, Ctrl (armed for the next key), the arrow keys, and |, ~, /.
  • Opens a local dev URL printed in the terminal in the in-app Preview; other links open outside the app.
  • Opens the terminal that runs worktree setup as soon as setup starts, so its output appears without further navigation.

Project Actions

A repository or session header shows a Project actions play button. Its sheet lists every configured action with a running dot and a Stop row under each running one; Manage actions… opens the actions screen. Starting an action opens its terminal, and an action with Auto-open URL opens its resolved local URL in the in-app Preview. Running an untrusted repository action prompts with Trust and run, which lists every action and setup command that trusting covers.

Manage actions… is the native port of the Project Actions panel: add, edit, and delete personal actions, edit and reorder worktree setup commands, move actions and commands between My settings and the repository file, and review and trust an untrusted .ocm/project.json. Project actions are not available in the Assistant workspace.

Preview

More → Preview opens the native Preview screen. Its port picker lists This repo and Other ports, and its toolbar has a path field with Go, Reload, and Open in browser. Selecting a port creates a session and renders it inside the app; a preview that resolves to the Manager's own origin is refused, and a port that is not listening yet shows Waiting for port N… until a minute passes, then Port N is not listening with Retry.

The More sheet lists these workspace tools in order: Terminal, then Walkthrough on a session, then Actions on every repository except the Assistant, then Preview.

Downloads and Repository Order

The native app downloads archives and files through the same server endpoints as the web app, then hands the result to the native share sheet, where you can save it to Files or send it on.

  • Download ZIP in a repository's actions sheet archives the whole repository.
  • The file browser header's Download menu offers Current folder, and Repository when the browser belongs to a repository.
  • Long-press a row for Download on a file or Download ZIP on a folder; the file preview header has Download file.
  • Each archive asks for confirmation first. The ignored-paths checklist and Download All work as they do on the web: tick individual ignored paths to include them, or select every one.

The home screen's sort sheet adds Reorder…. Choosing it switches the sort to Manual and opens a list where each repository moves up or down. The order is saved to the server, so the web app shows the same order.

Schedules

Scheduled repo jobs have their own screens in the native app, and unread run reports collect in an Inbox on the global Schedules tab.

Schedules Tab

The Schedules tab sits after Assistant on the home, Files, Schedules, and Assistant pages. It carries a dot while any run report is unread. Inside a repository the Git tab takes its place, so a repository's schedules open from the native More sheet's Schedules row, while the global list is reachable from that sheet's All Schedules row, which only appears on the home route.

The global screen has Inbox, Jobs, and History segments, and Inbox is the default:

  • Inbox carries the unread count and lists unread run reports, each with its job, repository, time, and a one-line preview, failed reports in red. Swipe a row for Re-run or Read, Mark all read clears the list, and Start reading (N) opens the first report.
  • Jobs is a compact table of every repository's schedules, with the enabled state, the job name over its repository and schedule, the next run, and the last run. A tap opens the job's latest run, or its schedule Detail when it has no runs yet; a long press opens its actions, and a swipe offers Run, Pause/Resume, and Delete.
  • History lists every repository's runs 50 at a time with Load more, marking unread runs with a dot. A row opens its run.

Each segment has a single Filter button that opens a pull-down menu: status and repository on Inbox, repository, status, mode, and sort on Jobs, and status, repository, trigger, and sort on History. The button sits beside a one-line summary of the applied filters and Clear, and the magnifying glass in the header opens search on Jobs and History.

Prompt templates moved to their own Prompts screen: search, New template, edit, and delete. A template stores a title, category, cadence hint, suggested schedule name and description, its own description, and the prompt. The header ⋯ menu opens it and also offers Mark all read.

New schedule on the global screen asks for a repository before the job can be saved. The form has General, Timing, Prompt, Skills, and MCP tabs: name, description, enabled state, agent, model override, and branch and workspace mode for repository jobs; interval and cron timing with a live summary; prompt templates; skill toggles and notes; and configured or schedule-only MCP servers.

A repository's Schedules screen has Jobs, Detail, and Runs tabs. Jobs searches and creates that repository's schedules. Detail shows the selected job's execution settings, permission summary, prompt, skills, and worktrees, where idle worktrees can be removed individually or with Remove all. Runs lists the job's history, with delete for finished runs and Clear history.

Run Detail

A run opens its own screen with Log, Assistant Output, and Error tabs; a cancelled run labels the last tab Details, and Assistant Output or Error is disabled while it has no content. The header shows the run's status and title, with the run number, timestamp, duration, and branch behind a disclosure on the title row that starts open here and collapsed in the report reader, which leaves the report more room. Open session opens the run's worktree session, or starts a repository session with the run's output and branch as context when the worktree was already removed. Cancel run stops a running run.

Opening a report from the Inbox or the notifications sheet reads reports in a row. The screen then shows N of M with up and down arrows and a progress bar, and Next continues to the next unread report; when none remain it shows All caught up and Done. Opening a finished run still marks it read. A run opened anywhere else offers Next to start reading, and the Inbox filters carry into the reader. Once a report is read it no longer counts toward the Schedules tab dot or the header notifications button.

Notifications

Every header that has one carries the same Notifications bell: the home and repository headers and the chat session header. It shows while something is waiting and counts the same things everywhere: pending permission requests, pending forms, and unread run reports together. The bell takes the permission colour while a permission is waiting and the form colour when only forms are, and the pill turns destructive while an unread report failed. A press opens the notifications sheet, which lists pending permissions first, then pending forms, then the unread reports, and shows All caught up when nothing is left. From the reports section a row opens the reader, Mark all read clears every report, and Open inbox opens the Schedules tab's Inbox, so the sheet replaces the separate reports tray and pending-request badges. A session's More button stays a plain menu, and its More menu's Inbox row still opens the Schedules inbox. The global Schedules header keeps its own dot and Inbox instead of a bell.

Tapping a pending permission never leaves the screen you are on. The sheet row, and the bell when that request is the only thing waiting, reopen the app-wide permission dialog on that exact request, which asks for the decision and offers Open session for when you want the transcript. The Approvals home-screen quick action opens the dialog on the next waiting request once the pending list has loaded, and opens the notifications sheet when no permission is waiting. A long command or edit diff starts as a short preview; tapping its more lines note shows all of it before you decide. The dialog asks the request's question at body text size, keeps Allow Once, Allow Always (only when the request can be saved) and Deny in one row with equal widths, and asks for a reason only after Deny is pressed: the reason field appears above those actions with Cancel to return to the decision, and the sheet shrinks its body so the field and buttons stay above the keyboard. While more requests are queued, Next request (N more) in its header moves the dialog to the next one without answering the request on screen. A lone pending form still opens its session, because a form can only be answered there.

Installing as PWA

iOS

  1. Open OpenCode Manager in Safari
  2. Tap the Share button (square with arrow)
  3. Scroll down and tap Add to Home Screen
  4. Name the app and tap Add

Android

  1. Open OpenCode Manager in Chrome
  2. Tap the menu (three dots)
  3. Tap Install app or Add to Home Screen
  4. Confirm installation

Desktop

Chrome

  1. Look for the install icon in the address bar
  2. Click Install
  3. App opens in its own window

Edge

  1. Click the menu (three dots)
  2. Select Apps > Install this site as an app
  3. Name and install

PWA Features

App Shell Caching

Static assets are cached for faster loads:

  • App shell (HTML, CSS, JS)
  • Icons and images
  • Fonts and static assets

Full functionality requires network connection to the backend.

Background Updates

When a new version has downloaded, a banner at the top of the app reads A new version of OpenCode Manager is available. Tap Reload to switch to it. The banner stays until you reload. The app checks for updates when it regains focus and about once a minute.

Native-Like Experience

  • Runs in its own window
  • No browser chrome
  • App icon on home screen
  • Task switcher integration

Mobile Keyboard

iOS Keyboard Handling

Special handling for iOS virtual keyboard:

  • Input field stays above keyboard
  • Viewport adjusts automatically
  • No content hidden behind keyboard

Enter Key Behavior

On mobile, pressing Enter:

  1. Closes the virtual keyboard
  2. Sends the message

Use Shift+Enter for new lines.

Composer Key Bar

While the composer is focused, a key bar along the bottom of the composer inserts the characters that are awkward to reach on a soft keyboard:

  • / cmd - open command suggestions
  • @ mention - mention a file, agent, or skill
  • ! bash - shell mode (only on an empty prompt)

Tap an active key again to remove its trigger. The composer frame shows COMMAND, MENTION, or BASH while a mode is active. The key bar is hidden while a permission request is waiting for the session.

Suggestions fill the space above the composer with the best match closest to your thumb. Tap one to insert it, long-press to read its full description, or swipe a command to the right until RUN appears to run it immediately.

Pick an agent with the agent button, and use the composer + menu to accept all permissions, turn Sandbox commands on or off for the session (see Agent Sandboxing), arm goal mode, attach an image or PDF, or Dictate.

Swipe Navigation

Navigate with gestures:

Swipe Right

Swipe from the left edge to go back to the previous view, wherever a back target exists.

Swipe Left

On a session route, swipe from the right edge to open the More drawer.

Swipe Requirements

  • Start from the left edge (first 30px) to go back
  • Swipe at least 80px right

More Drawer

The More drawer shows the current repository and branch, unread schedule reports when there are any, and, on a session route, a Sessions row with Assistant beneath it. Below those comes any ungrouped tool — Secrets on a repository page, All Schedules on the home page — then a Workspace group (Files, Source Control, Terminal, Walkthrough, Preview) and a Project group (MCP, Skills, Reset Permissions, Schedules, Actions), with Settings and Logout at the bottom. On a linked-server session or project the groups reduce to MCP, Skills, Source Control, and Terminal, because the other tools are Manager-local.

The Sessions tab opens the session picker as a sheet, with the same Activity, Sessions and Projects tabs as the desktop picker, the linked-server switcher, and add-repo. With a linked server selected, the sheet lists that server's projects and sessions instead of local repositories. Use / and @ in the composer for commands and file mentions.

Touch Optimizations

Larger Touch Targets

All interactive elements have minimum 44x44px touch targets for easy tapping.

Row Actions

Per-item actions are available without a context menu:

  • Files: open the ⋮ menu on a row (long-press the row in the native app) for download, rename, and delete
  • Messages: use the copy button on a message block
  • Sessions: swipe a session left to reveal delete, or use manage mode to delete several