Repository navigation
Description
Problem or use case
Folder workspaces can only be created from the desktop sidebar (+ on a project group header → "Create Folder Workspace"). There is no way to create one from the CLI or from Orca Mobile:
orca worktree createalways makes a Git checkout, so it cannot add a folder workspace to a project group.- Project groups do not appear in
orca project listororca repo list, so the CLI cannot discover the group to create into. The only place I found its id was theORCA_PROJECT_GROUP_IDenvironment variable inside an existing folder workspace terminal. - The runtime already exposes
folderWorkspace.createover RPC (src/main/runtime/rpc/methods/folder-workspace.ts, paramsFolderWorkspaceCreate:projectGroupId,name, ...), andagent.launchcan already targetcreate-folder-workspacesince feat(agent-launch): create a folder workspace and start its agent in one host operation #26083, but no CLI command calls either. - Mobile's Create Workspace modes (Smart, GitHub, Linear, GitLab, Branch, Name) all create Git worktrees, so a project group made of several repos has no create path on the phone either.
My setup: a parent folder with several separate Git repos, imported as one project group. Each task gets its own folder workspace at the parent level. When an agent (or I, from the phone) wants to start a new task, it has to stop and ask me to click the + in the desktop sidebar.
Proposed solution
Expose the existing create path in the CLI, for example:
orca folder-workspace create --project-group <id|name|current> --name <name> [--reference <url-or-jira-key>...] [--agent <id> --prompt <text>] [--json]
or let orca worktree create accept a project group target and create a folder workspace there. current would resolve to the project group of the calling folder workspace, like --parent-worktree active does for worktrees. With --agent, this could go through the create-folder-workspace target of agent.launch.
It would also help if orca project list (or a new orca project-group list) listed project groups with their ids.
Alternatives or additional context
- Mobile: a "Folder workspace" mode in Create Workspace for project groups would cover the same need from the phone.
- Related: [Feature]: CLI command to remove a folder workspace #34522 (CLI removal of folder workspaces), [Feature]: Let
orca worktree setedit folder workspaces #33435 (worktree setfor folder workspaces). - Today's workaround is clicking + on the project group in the desktop app.
Activity