[Feature]: open files and browser tabs in a chosen editor group from the CLI
Author: johnmarktaylor91Created Sep 25, 2026Updated Sep 29, 2026
Problem or use case
Agents open things for me to look at, such as dashboards, reports and HTML pages. I keep agent terminals in the left editor group and a second group on the right for viewing. The desktop already supports this two-group layout. Nothing an agent can run from the CLI puts a tab in the right group, so every dashboard lands among the agent tabs and I drag it across by hand.
Current behaviour (Orca 1.4.210, desktop app paired to a remote Orca server):
orca file open <path.html> --worktree path:<repo> # editor tab, main (left) group
orca tab create --url file://<path.html> --worktree path:<repo> # browser tab, left group- Neither command has a group or split option.
tab createhas only--url,--worktreeand--profile, andfile openhas only--worktree. browser.tabCreatealready acceptstargetGroupId(browser-tab-create-params.ts), but the CLI never sends it (cli/handlers/browser-tab.ts).- On a paired client, the split exists only in the client's own layout. After first adoption,
placement is client-owned (
web-session-tabs-sync/apply-preparation-groups.ts,mirrored-browser-tabs.ts). New host tabs join the group the host snapshot names, which is the client's main group. - A browser tab created from the CLI runs in the server's Chromium and is streamed to the client, so heavy pages scroll choppily.
- "Open Preview to the Side" in the editor header (
openFilePreviewToSide,lib/file-preview.ts) already does what I want for HTML. It renders on the client and goes into the existing group to the right, creating that split only if none exists. It can only be triggered by a click.
Proposed solution
orca file open <path> --preview-side(or--split right|left): run the same client-side preview-to-side path from the CLI. HTML first, then Markdown, PDF and images. On a paired workspace it should run on the viewing client, as a placement hint published with the tab ("side" rather than a group id), because the server does not know the client's group ids.--group <id>onorca tab createandorca file open, plusorca tab groups list [--json]to list each group's id, position and tabs for a worktree.- Optional:
--split right|leftonorca tab create, meaning "the sibling group of the active group, created if missing".
Either 1 or 2 would let agent-driven dashboards land in the viewing panel instead of among the agent tabs.
Alternatives or additional context
- Workaround today: open the tab, then have the user drag it to the right group. A tab stays where
the user put it, so an agent can reuse one placed browser tab with
orca goto --page <id>. That tab is still streamed, and the first placement is manual. orca computercannot stand in. The tab strip ignores the accessibility press, and the provider's synthetic drags do not start a tab drag.
Related: #1499 proposes declarative rules that pin content types to groups. This is the smaller primitive: let one CLI call name the target group or side.
Source: stablyai/orca