Skip to content

Features

Use this page as a reference for everyday session controls. For setup and task-specific instructions, choose a guide below.

Sessions

Session browser. List, search, archive and replay every session. Sessions are grouped by project with status indicators and a + button to start new ones. Sessions and projects with no activity for seven days are archived by default. The delay and auto-archive toggle are available in Settings. On a platform’s first import on each machine, Ocman keeps sessions active in the last 24 hours and the 20 most recently active sessions, even if older. Older sessions go to the archive without changing the source tool’s history. Pinned sessions, running sessions and sessions awaiting input stay visible. This cleanup does not run again or affect histories already imported before the feature was added. Disabling auto-archive also disables this cleanup. The regular inactivity policy resumes after the first 24 hours. Under Settings → Sessions → Show archived sessions again, choose when new activity restores an archived session to the sidebar: Session halts is the default and waits for done, waiting, error, or interrupted status; Any activity restores it even while it is running. Sending or queuing a message in an archived session restores it without waiting for the turn to finish. This does not wake snoozed sessions.

Conversations open with recent messages. While the oldest loaded message is visible, ocman automatically fetches earlier history until it leaves the viewport or the first message is reached. This also works when hidden tool messages leave too little content to scroll.

Click a running shell command, or choose Show live output, to open its output in the conversation. The panel updates as the provider sends output and pauses rendering when you scroll it out of view. Scroll up inside the panel to read earlier lines without jumping to the latest output. Some providers only send output when the command finishes.

The clock button beside a session’s archive button snoozes it for 30 minutes, one hour, three hours, until tomorrow at 9:00 AM, or until next Monday at 9:00 AM. Custom… opens a date-and-time picker. Calendar times use your browser’s local timezone. Snoozed sessions return automatically within a minute of their wake-up time, including after an ocman restart. Activity does not wake them early. Opening a session keeps its archive or snooze status. Use Unarchive or Unsnooze on its sidebar row to restore it explicitly. Restoring also clears the owning project’s archive marker if it was hiding the session. Archiving a snoozed session again cancels its snooze. Snooze hides sessions even when they are pinned or awaiting input, keeping their pins for when they return. Enable Show snoozed in the sidebar filters to see them before their deadline. This filter defaults to off and is separate from Show archived.

Use Filter sessions → Project to select a project or return to All projects. Search the picker for a directory prefix such as github.com/nousefreak, then select its parent entry to include all projects beneath it. A project that also contains other projects has separate individual-project and subtree entries. The selection filters flat and grouped views, including opened and pinned sessions, and includes matching projects’ worktrees, prepared drafts and grouped remote checkouts. If the selected project disappears, the selector shows Unavailable project; choose All projects to clear it.

Always show prompts is enabled by default under Filter sessions. Sessions awaiting permission or an answer bypass the project, search, archived, child, Factory and routine filters in both sidebar views. Their project groups stay expanded while input is pending. Once answered, normal filtering resumes. The toggle is remembered across reloads.

The session sidebar orders rows by their last completed assistant turn, including errors, newest first. Streaming output, sending a prompt and reading a session do not move it. Sessions without a completed turn use creation time; pinned sessions keep their pin order.

Status you can trust. A session’s status comes from the agent’s own turn lifecycle rather than a guess about stored messages: busy while a turn runs, waiting when it finishes, error when it fails, and interrupted when the agent process stopped mid-turn (killed, crashed, machine rebooted) so the turn can never complete.

An interruption makes the session unread even if you already read its latest output. The sidebar and project indicator highlight it until you view the interrupted session in a visible tab. That acknowledgement survives a reload.

Live composer. Send messages, answer permission prompts, abort and compact a running session from the browser. Streaming output renders live. Plain Enter sends immediately, mid-turn included. Ctrl/⌘+Enter holds the message and delivers it one per turn as the session goes idle. Changing a session’s permission mode takes effect at once: switching to YOLO answers the prompts already waiting, and any the running turn or its subagents still raise.

Bash mode. Prefix a message with ! to run a shell command in the session’s working directory and capture the output in the thread.

In compact view, consecutive Read, Grep and Glob calls share a muted, expandable line such as Explored: 2 searches 4 files. Grep and Glob count as searches; Read counts as a file. The label changes to Exploring while a call is pending or running. Click the line to see the individual calls.

Command palette and slash commands. ⌘K jumps between sessions, settings and actions. Global session search also finds phrases of three or more characters in stored prompts and replies on this machine, even in older sessions. Matching conversations show an excerpt. Sessions on remote machines still match by title or directory only. /new [title], /clear and /wt cover the common actions, and renaming is keyboard-driven.

Use /permissions to review requested permissions and create session-scoped allow, ask or deny rules, including editable command wildcards. These rules control Ocman’s approvals without changing native agent settings.

Diffs and changes. Syntax-highlighted diffs inline in the thread, plus a Changes sidebar that combines session edits with the working-tree git diff.

Analytics. Historical metrics for session activity, response and tool time, token usage, and estimated costs. Open Activity for live background tasks and process resources.

Analytics → Performance shows total waiting time per agent, split into agent response and tool time. It follows the project, time, agent and model filters. Parallel tools count once within each request. Tool time includes permission and question waits; incomplete timings appear as unknown. Totals sum request durations, so they are not elapsed session time when sessions run in parallel.

Analytics → Session trends shows message activity and parallel sessions over time. The concurrency chart follows the project and date filters. Each point is the peak simultaneous session count within its bucket, starting at one hour and widening for longer ranges. Completed assistant timings reconstruct the history on the local machine. Overlapping messages in one session count once, subagents count separately, and tool time counts as active. Idle gaps and unfinished messages are excluded.

Model picker. Per-platform favourites and a refreshable catalog, so new models appear without a restart.

Selecting or sending a model remembers it for that session in this browser, including when you reopen the session or reload the page. Selecting an agent with its own model also updates the remembered choice. Assistant responses do not replace it, even if they report a different model.

Click the project name in the header to open Project defaults. Choose a default model, agent, permission mode, and whether new conversations use a new worktree or the current checkout, then Save. These preferences belong to that project on that machine and are shared by its sibling worktrees. A composer choice overrides the default for that conversation. Use inherited default clears an override. Worktrees are used only when the project supports them. The startup model preference does not change the project’s model fallback list.

Project pages share Sessions, Worktrees, and Settings tabs. Switching tabs preserves the selected machine, session search, time range, and archived filter in the URL. The project and global session lists share one filter model: they start at your default time range and hide archived sessions until you turn on Show archived. Their Prompts, Duration, Cost and Started columns sort when you click the header, and the order is kept in the URL. Settings shows inherited defaults and project overrides in a table; Edit defaults opens the same editor as the project name. The ordered fallback model list remains separate, with reorder, remove, clear, and fallthrough controls. Wide tables scroll within the page on phones. Fallback lists are currently shared by project path and can only be edited from the local machine. Remote project pages show them read-only; startup defaults remain editable for the selected machine.

Permission modes are Plan only, which denies edits and shell commands; Auto-accept edits, which allows edits and asks for shell commands; and YOLO, which allows everything without asking. Saving YOLO requires confirmation. The saved mode applies before the first prompt in new checkout and worktree conversations. Existing conversations keep their current permissions.

Phone layout

At widths of 640px and below, Sessions, Projects, Inbox, and More sit in a bottom tab bar. More opens a sheet containing the other destinations, including Factory, Routines, Artifacts, Usage, and Settings. Conversations hide the tab bar to leave room for the composer and retain their session-list and details controls in the header.

Session and project lists use compact, touch-sized rows on phones. Phone layouts keep the app’s square-edged controls. Controls use 44px minimum touch targets, with space between separate actions rather than tightly joined icon buttons.

The browser’s native back gesture works with navigation history. On phones, Back first closes the More sheet or the conversation’s session-list or details panel. Closing these controls explicitly consumes that same history entry. There is no custom edge-swipe handler competing with the browser gesture. The send button stays round and is capped at 44px on phones. The composer uses 8px side gutters without an extra background panel. Attachments use a paperclip on phones and desktop.

Desktop and tablet widths above 640px keep their tables and existing navigation. The Sessions page also offers All, Running, and Waiting phone filters. Waiting includes pending permissions and questions; these filters do not affect desktop results when the window is resized. Inbox uses a list-to-reader layout on phones.

Worktrees and parallel work

/wt creates a git worktree under <repo-parent>/.worktrees/<repo>/<slug>/ and runs the session in it. Worktrees give parallel sessions separate files and staging areas without requiring separate agent runtimes. By default, OpenCode shares one server across projects on the machine; a separate platform connection can have its own server. Child sessions inherit the parent’s “Allow always” permissions and its live permission mode, so a YOLO parent doesn’t spawn children that stall on prompts.

Forge integration

PRs and issues from the project’s upstream forge (GitHub or Forgejo) appear in a sidebar pane. Expand a row to read the body, then launch a session in the project, or check the PR branch out into a fresh worktree. The prompt comes from a template you control in Settings.

The selected PRs/Issues tab and each tab’s state and Mine filters are saved in your browser across projects, pane reopening, and page reloads. Controls stay visible during upstream detection and hide when no supported upstream is found, without clearing your preferences.

Refreshing keeps existing rows, expanded details, and CI badges visible until the new results arrive. A failed refresh leaves the list available for retry.

GitHub reads from the sidebar and link previews share one cache per token. A list, CI status or preview is fetched at most once a minute; conversations reuse the same cached data. The pane’s refresh button forces a fresh fetch, up to 10 times a minute. Automatic polling may refresh expired data at most 60 times an hour. Over either limit, ocman shows the cached data. As a backstop ocman never spends more than half of the GitHub quota reported in the X-RateLimit-* headers (2,500 of 5,000 requests per hour for a token, 30 of 60 anonymously). Factory delivery checks always read live data.

Each PR shows its CI status as soon as its row is visible. A running build is re-checked every 5 seconds while the row stays on screen. Once every check has finished, the result is remembered for that commit (also across reloads) and not fetched again. If CI is re-run on the same commit, press the pane’s refresh button: it forgets the remembered results and checks every visible PR again.

A commit with no checks is confirmed twice more, 30 seconds apart, before its empty result is remembered. Failed requests retry with delays from 5 to 60 seconds and honor forge rate-limit deadlines. Polling pauses when the browser tab is hidden; scrolling a row away and back preserves its retry deadline.

The circle’s colour shows CI status. A diagonal slash marks a draft or a PR the forge reports as unmergeable. A small green checkmark at the bottom right means at least one reviewer has approved and no reviewer has an outstanding change request. Dismissed reviews do not count. Approval does not mean the PR is mergeable or that all required reviews are complete.

Hover over the circle for CI, mergeability, and approval status. Unknown mergeability stays unslashed. Visible rows fetch review approval alongside mergeability and retry when either status is unavailable. The pane’s refresh button rechecks both, even when the PR head has not changed. Failed status requests back off from 15 to 60 seconds and honor forge rate-limit deadlines, including when a row leaves and re-enters the viewport. Authorization and other permanent client errors wait for an explicit refresh.

Guides

Also included

  • Managed agents. Ocman launches opencode serve and its Claude Code and Codex supervisors headlessly on one tmux server of its own, ocman-agents, without loading your tmux configuration. Launch and restart do not control your default tmux server. Inspect managed sessions with tmux -L ocman-agents list-sessions on the owning machine. Existing managed OpenCode processes are reused while healthy. V2 can also reuse OpenCode’s registered background service. Other external instances are not adopted. Instances on the earlier ocman-opencode and ocman-provider servers keep running and ocman still stops them there; sessions launched on your default tmux server by older versions must be stopped manually before ocman relaunches them.
  • Terminals. In-app browser terminals backed by tmux. They use a separate server, tmux -L ocman-term, so they do not appear in your default server’s session list. To attach outside ocman, run tmux -L ocman-term attach-session -t ocman-term on the owning machine. After upgrading from the shared-server version, reopen terminals in ocman. Old shells remain accessible with tmux -L default attach-session -t ocman-term until you finish and close them; running shells are not migrated or killed. Copying in tmux copy mode writes to the browser user’s clipboard, including for remote terminals. If the browser blocks automatic copying, click Copy to clipboard in the terminal. This requires tmux’s set-clipboard option to be on or external, not off. Existing custom bindings that pipe to host tools such as pbcopy still run those tools.
  • Auth. Optional password gate with rate-limited logins and signed cookies. Off by default on localhost.
  • PWA and desktop. Installable as a Progressive Web App, or run the native macOS build.
  • OpenTelemetry. Optional traces and metrics to any OTLP collector.