Workspace-style tabs with multiple terminal sessions inside one project tab
Summary
Workspace-style project tabs should support multiple independent terminal sessions inside one top-level tab (for example: Claude Code + local server + extra shell).
Problem
I want one top-level tab to behave like a project workspace and keep all related sessions grouped together. In agentic coding workflows, this commonly means running an agent in one session and local runtime/development commands in additional sessions in the same workspace. The current model does not provide a true workspace-with-internal-sessions/sub-tabs flow for this use case.
Reproduction steps or desired workflow
- Open a project as a single top-level tab/workspace.
- Start Claude Code (or another CLI agent) in one terminal session inside that workspace.
- Open a second terminal session in the same workspace to run a local server.
- Optionally open a third+ terminal session for tests/logs/other commands.
- Switch among these sessions within the same workspace context without splitting the project across multiple top-level tabs.
Artifacts
Warp version
v0.2026.04.27.15.32.stable_02
Operating system
macOS
@Manoj7ar
I reviewed the previous comment and agree with the framing: this is not primarily a pane-layout request. Warp can already host multiple sessions in one top-level tab via split panes and tab configs, but the requested behavior is a workspace-scoped session switcher where related terminal/agent sessions stay grouped under one project tab without all being visible at once.
Implementation should start with product/design mocks before code: define the internal session-strip UX, keyboard switching, close/rename/reopen behavior, how a session can be promoted into a split, and how this interacts with vertical tabs and saved tab configs. This should stay under needs-mocks for now rather than ready-to-implement.
Reasoning
Maintainer-facing notes:
- Existing tab structure:
TabDataholds aViewHandle<PaneGroup>(app/src/tab.rs:135), so a top-level tab already owns a group of pane/session state rather than a single PTY. Window persistence storesWindowSnapshot.tabs: Vec<TabSnapshot>and each tab stores aPaneNodeSnapshotroot (app/src/app_state.rs:44,app/src/app_state.rs:62). - Existing pane/session model:
PaneGroupownsPaneDatapluspane_contents: HashMap<PaneId, Box<dyn AnyPaneContent>>(app/src/pane_group/mod.rs:827).PaneDatais a split tree ofPaneNode::Branch/PaneNode::Leafand filters hidden panes viavisible_pane_ids()(app/src/pane_group/tree.rs:44,app/src/pane_group/tree.rs:472). User-created sessions today are visible panes; hidden panes exist for implementation-specific cases such as move/job/closed/temporary replacement/child-agent, not a general user-facing session stack (app/src/pane_group/tree.rs:55). - Existing navigation/UI: vertical tabs already has a setting-level distinction between displaying every pane and displaying one tab row.
VerticalTabsDisplayGranularity::{Panes,Tabs}is persisted in settings (app/src/workspace/tab_settings.rs:330), andpane_ids_for_display_granularityrenders either all visible panes or only the focused pane (app/src/workspace/view/vertical_tabs.rs:5033). Summary mode also exists behindVerticalTabsSummaryMode, but none of these creates internal session tabs; they summarize or navigate the current split-pane tree. - Existing automation/workaround: tab configs can open multiple
terminal,agent, orcloudpanes and commands in one top-level tab (app/src/tab_configs/tab_config.rs:99,resources/bundled/skills/tab-configs/SKILL.md). This is useful for launch layouts, but it still creates split-pane layouts rather than switchable hidden/internal sessions.
Likely implementation direction:
- Product/design first: this needs mocks for the internal session strip, empty/new-session affordance, session titles/status indicators, and interactions with vertical tabs. The existing
needs-mockslabel is appropriate. - Reuse
PaneGroup/PaneId/TerminalPaneas much as possible rather than inventing a separate PTY store. The new abstraction likely belongs above or besidePaneData: either a user-visible session stack within aPaneGroup, or a newSessionGroupthat can contain one or more visiblePaneDatalayouts plus inactive session leaves. - Preserve split panes as the side-by-side mode. The requested “promote to split” behavior can be modeled as moving a session from the inactive/internal group into the visible
PaneDatatree. The reverse operation needs a product decision. - Persistence and restoration must be designed up front because
TabSnapshot.rootcurrently represents the tab’s visible pane tree. A stacked/session-group model will likely require new snapshot data for inactive internal sessions, migration/default behavior for existing tabs, and decisions about undo-close/reopen behavior. - Tab configs should probably grow a session-group representation only after the product model is settled; today their schema is pane-tree-only.
Duplicate check against the provided open/recent issues did not find a likely duplicate. The closest issues are different surfaces: #9539 is a vertical-tabs settings popup click bug, #9550 is external editor state for CLI agents, #9545 is drag-and-drop image handling for CLI agents, and #9525 is stale tab title text for Claude Code.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
-
Ideally one side tab should have a workspace like horizonal tabs like it is done in cmux for example
-
Third-party CLI agents like Claude Code, Warp Agent/Oz, local shell/server sessions, cloud agents, or all of these
@oz-agent did you check my last reply?
@oz-agent I think the key distinction here is that this is not a pane-layout request, it’s a workspace session model request.
Current primitives in Warp:
- top-level tabs = project/context containers
- split panes = simultaneous visible processes
- vertical tabs = navigation surface
What’s missing is:
workspace-scoped session groups
Meaning:
Project A (top-level tab)
├── Claude Code
├── Local dev server
├── Test runner
└── Logs shell
with internal session switching (cmux-style), instead of:
- opening separate top-level tabs (context fragmentation), or
- keeping everything in visible splits (screen-space pressure).
Why this matters for agent workflows:
Agents increasingly need companion processes:
- local app server
- test watcher
- logs
- scratch shell
Those are part of the same working context but different runtime sessions.
A useful implementation shape could be:
-
WorkspaceTab- owns project root + file tree + context
-
SessionGroup- owns multiple PTYs/agent sessions
-
internal tab strip for session switching
-
optional “promote to split” for side-by-side workflows
That keeps the project as the unit of organization, while sessions become internal runtime units.
Feels especially aligned with Warp’s move toward agent-native workflows.
Yes please, much needed feature
@oz-agent Could you take a stab at this? Also review my previous comment And prepare for implementation
Yes please, Cmux implementation is pretty good, needed feature for Warp
Workspaces are truly a killer feature in cmux — definitely something that would be very desirable in Warp.
Yes please, much needed feature
nvm, started implementing already. gonna make a pr soon
One design dimension that hasn't come up in this thread: is the workspace a first-class movable entity or a container scoped to one tab/window? cmux treats it as the former — workspaces can be reordered, renamed, and moved across windows (cmux move-workspace-to-window), with the window↔workspace edge as an ownership pointer rather than nesting.
Worth surfacing now since the upcoming project primitive on the May–June 2026 roadmap (#9233) and the multi-root workspace work in #8875 will set the entity model that #9382 inherits. Cross-window movement is one shape of that decision worth getting on record before mocks.
How that choice ripples into the design
- Identity & persistence: workspace as entity = save/restore keys off the workspace (id, name, contained sessions), not off a tab tree. Composes naturally with #8875's Launch Configurations approach.
- Keybindings: cycle-within-window vs cycle-across-all-workspaces are different operations once a workspace can outlive its current window.
- CLI/automation: cmux exposes
list-workspaces,select-workspace --workspace workspace:4,reorder-workspace,move-workspace-to-window— workspaces addressable by stable id independent of which window currently owns them. - Drag/drop: dragging a workspace section header into another window's vertical tab area becomes a meaningful operation, not just intra-window reordering.
- Multi-root composition: workspace with cross-window identity stacks cleanly on #8875's "Add Folder to Workspace" — each workspace carries its own root set.
cmux model reference: skills/cmux/references/windows-workspaces.md.
One personal note: this is one of the higher-leverage missing primitives for my multi-project workflow right now — would really like to see it land. @tokezooo, since you mentioned a PR is already in progress (4/30 comment) — let me know if any of these would help: concrete cmux CLI/internals comparisons, a strawman API surface for the workspace entity, a prototype of the cross-window movement piece, or mock/spec feedback. Happy to contribute.
Per CONTRIBUTING.md, needs-mocks issues wait for the Warp design team to land mocks before implementation can begin. Would the team be open to accepting contributor-produced Figma mocks (or rough wireframes) as design input or draft material on this thread? Happy to take a stab if it would help unblock the design phase — fully understanding the team retains the final design call.
@oss-maintainers @oz-agent — flagging this question for visibility; not asking for a label change.
@Eridanus117
Per CONTRIBUTING.md, needs-mocks means implementation should wait for Warp design-team mocks; I would not treat contributor mocks as unblocking the readiness state by themselves.
Contributor-produced Figma mocks or rough wireframes still look useful as design input for this thread. The safest path is to attach a view-only Figma link, screenshots, or rough wireframes here and call out the open product decisions they explore—especially workspace identity vs. tab-scoped container, cross-window movement, and internal session switching vs. visible splits—so maintainers/design can review them.
No label change is needed from this response.
Reasoning
Response mode selected because #9382 is already triaged and the explicit @oz-agent trigger asks a specific follow-up question about whether contributor-produced mocks can help while preserving the existing needs-mocks state.
Readiness guidance: CONTRIBUTING.md says feature requests are gated by readiness labels, that needs-mocks means design mocks are required before implementation can begin, and that contributors should wait for the Warp team to land mocks before implementation. This supports answering that community mocks can be shared as draft input, but should not be treated as canonical design or as a readiness-label change.
Code context: the current client model is window-owned workspaces containing top-level tabs, not a separate first-class workspace/session-group entity. app/src/workspace/view.rs:899 defines Workspace, with tabs: Vec<TabData> and active_tab_index at app/src/workspace/view.rs:901-902. app/src/tab.rs:134-135 defines each TabData as backed by a ViewHandle<PaneGroup>. app/src/pane_group/tree.rs:53 and app/src/pane_group/tree.rs:114 model visible split-pane trees, while app/src/workspace/active_session.rs:21 tracks only the active terminal session per window. app/src/workspace/registry.rs:11 maps workspaces by window id, and app/src/workspace/cross_window_tab_drag.rs:1-20 documents cross-window tab transfer at the tab/window level.
Duplicate search: enumerated all open non-PR issues via gh api --paginate repos/warpdotdev/warp/issues?state=open&per_page=100, excluding #9382, for 3264 comparison candidates. #9875 (group vertical tabs by project/repo root) is adjacent because it groups existing top-level tabs; #8875 (multi-root workspace) and #9233 (roadmap) are related design-context issues. None share both the same title intent and requested capability of multiple independent internal sessions inside one workspace/top-level tab, and fewer than two likely duplicates were found, so no duplicate recommendation is warranted.
Suggested current triage posture remains unchanged: enhancement with triaged, repro:unknown, os:mac, area:agent, area:window-tabs-panes, area:workspace, and needs-mocks. This response intentionally omits labels because response-mode artifacts do not request label mutations.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
@oz-agent — following your 2026-05-04 advisory greenlight on contributor design input for #9382 + #9233, sharing a comparison doc.
TL;DR. Tried to make the #9382 design space concrete by comparing how cmux (already factors window→workspace→pane→surface) maps onto Warp's current window→tab→PaneGroup model. Surfaced three product decisions #9382 + #9233 jointly imply. Sharing as design input — not a feature request, not asking for a label change. Looking for maintainer input on which direction (or alternative) feels right. Figma mocks will follow as a separate comment.
Three open decisions (full discussion in the Gist):
- D1 — workspace identity. Tab-scoped grouping (cheap, no UUID; #9233 Project owns durable identity), vs. first-class identity (own UUID, separate
WorkspaceRegistry, cross-window persists). - D2 — cross-window movement. Extend
CrossWindowTabDragfor multi-tab drag, vs. command-palette/CLI flow, vs. persistence-level move (serializeWindowSnapshot.tabs), vs. workspaces don't cross windows. - D3 — meaning of "multiple sessions inside one project tab". Workspace groups N tabs (visible-pane sessions only), vs. tab-level invisible session stack (single tab, multiple background sessions, foreground swap), vs. both.
Each option has an affirmative case + a cost in the doc; cmux's choice is shown for contrast, not as a recommendation. Refs pinned to warpdotdev/warp@a057a10 and manaflow-ai/cmux@76d5f59 so line refs survive main advancing.
Full doc + 2 ASCII mocks: https://gist.github.com/Eridanus117/b7c1bf5ab86fae6d829308abf65a7361
If a decision is mis-cut or there's a fourth axis worth adding, will revise.
@Eridanus117
Thanks for writing this up. The comparison is useful design input, and the three decision cuts look like the right axes to bring to product/design before implementation.
The most important distinction to preserve in the mocks is D3: grouping several existing Warp tabs under a project is a different product shape from adding a single project tab with an internal session stack. The latter is closer to the original #9382 request because it lets Claude Code, a dev server, tests, and logs remain part of one project context without forcing every session to be visible as a split pane.
For next design input, the highest-signal mocks would be variants that make D1 + D3 explicit: (1) project/tab-group owns multiple visible sessions, (2) one project tab owns an internal session switcher plus "promote to split", and (3) first-class project/workspace identity that can move across windows. I would treat D2 as dependent on that entity decision: if the project/workspace becomes first-class, cross-window movement should preserve that identity; if it stays tab-scoped, extending tab drag is probably enough. No label change from this pass; needs-mocks still looks appropriate until Warp design chooses the interaction model.
Reasoning
Response mode selected because #9382 is already triaged and the triggering comment is a specific @oz-agent design-input follow-up, not a fresh lifecycle triage request. Current labels already match the issue shape: enhancement, triaged, repro:unknown, os:mac, area:agent, area:window-tabs-panes, area:workspace, needs-mocks. Duplicate scan enumerated all 3265 open non-PR issues and found related but non-identical issues: #8875 covers multi-root file-tree/workspace roots, #9875/#9950 cover vertical-tab grouping visuals, #6882 covers project-based session restoration, and #9233 is roadmap context for the Project primitive. Fewer than two open issues match the same requested capability, so this should not be treated as a duplicate.
Relevant code context: app/src/app_state.rs:45 defines persisted WindowSnapshot { tabs: Vec<TabSnapshot>, active_tab_index, ... }; app/src/app_state.rs:62 defines TabSnapshot as one pane-tree root plus per-tab panels; app/src/tab.rs:106/app/src/tab.rs:134 show TabData owns one ViewHandle<PaneGroup>; app/src/pane_group/tree.rs:31 and app/src/pane_group/tree.rs:86 model the current tab contents as a visible split-pane tree (PaneData / PaneNode); app/src/pane_group/mod.rs:3880 adds new terminal sessions as split panes, with hidden child-agent panes as a special case rather than a user-facing internal session stack; app/src/workspace/registry.rs:11 keys the current WorkspaceRegistry by WindowId, so the current Workspace view is window-scoped, not a first-class movable project/workspace entity; app/src/workspace/cross_window_tab_drag.rs:84 and app/src/workspace/cross_window_tab_drag.rs:1398 implement cross-window movement at the tab level by transferring a tab's pane group between windows; app/src/workspace/view/vertical_tabs.rs:718 and app/src/workspace/view/vertical_tabs.rs:4300 show vertical tabs can render panes or tabs and focused-session/summary modes, but that is presentation over the existing tab/pane model. app/src/projects.rs:21 has a lightweight persisted project path list, and #9233 says the upcoming Project primitive is the natural place to settle durable identity before implementing #9382.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz