Tab configs / warpctrl: place tabs in a named group without activating them
Summary
There is no way to put a newly opened tab into a named tab group without driving the UI or changing which tab is active. Requesting two small, model-only additions so external tools (tab configs, warpctrl) can place tabs in groups without stealing focus.
Use case
A local orchestrator opens one tab per task via warp://tab_config/<name> and wants each tab to land in a named, colored group (e.g. "QA Lab", "PR Desk"), without changing the user's active tab, keyboard focus or foreground app.
Current gaps (master 3f37d69, installed stable 0.2026.09.02)
TabConfig(app/src/tab_configs/tab_config.rs) hasname, title, color, panes, paramswithdeny_unknown_fields; no group field.add_tab_with_pane_layout(app/src/workspace/view.rs) inherits the active tab's group (NewTabPlacement::AfterCurrentTab) and always callsactivate_tab_internal, so the new tab becomes active and focused.warpctrl(crates/local_control/src/catalog.rs) has no group actions;tab.createtakes onlytab_type,tab.moveonly a direction. Targeted actions runactivate_targetfirst, which switches the visible tab.warp://launchsupportstab_groupsbut always opens a new window (open_in_active_window: false), so it cannot join existing groups.
Proposal
- Tab config key
group = { name = "QA Lab", color = "green" }: resolve by name in the target workspace, create if missing, append the new tab to that group, and do not inherit the active tab's group. - Tab config key (or
?activate=0onwarp://tab_config/...)activate = false: insert the tab withoutactivate_tab_internal/focus_active_tab, leaving the active tab and responder unchanged. - For existing tabs,
warpctrlactionstab.group.set {name, color?}andtab.group.clear, targeted by explicit tab id and not routed through the activatingworkspace_action.
Happy to send a PR for 1 and 2 if the direction is acceptable.
@ereid7
Here's what I found while triaging this issue:
I confirmed this is not currently covered by the documented Tab Config or URI scheme behavior. The request is well-specified as a feature gap for programmatic grouping plus non-activating tab creation, not a crash or regression.
Maintainer details
I concluded that feature request to let Tab Configs and warpctrl place tabs into named tab groups without activating or focusing those tabs..
Triage summary
This is a feature request for programmatic tab grouping and non-activating tab creation across Tab Configs / warp://tab_config/... and warpctrl. The report is well-specified: the user wants new tabs to be inserted into a named, optionally colored group without stealing focus, plus group set/clear operations for existing tabs through local control.
Evidence
app/src/tab_configs/tab_config.rscurrently deserializesTabConfigwithdeny_unknown_fieldsand only supportsname,title,color,panes,params, and the skippedsource_path, so agrouporactivatekey would be rejected today.app/src/workspace/view.rsopens a tab config viaopen_tab_config_with_params(...), which callsadd_tab_with_pane_layout(...). That path computes insertion/group membership from the active tab andNewTabPlacement, inserts the tab, and then callsactivate_tab_internal(...), which focuses the active tab.app/src/uri/mod.rshandleswarp://tab_config/<name>by resolving the config and dispatchingworkspace.open_tab_config(...); it supportsnew_window=truebut not an activation or group query parameter.crates/local_control/src/catalog.rsandcrates/local_control/src/protocol.rsdefine tab actions and params for create, activate, move, close, rename, and color, but no group set/clear action or group parameter shape.- Existing launch configs support
tab_groups/ per-tab group indices inapp/src/launch_configs/launch_config.rs, but thewarp://launch/...URI path opens withopen_in_active_window: false, so that mechanism does not satisfy the requested existing-window tab placement workflow.
Duplicate check
I scanned all open issues in the repository and found related but non-duplicate requests: #15252 asks for Tab Configs to create a tab group containing multiple tabs, #11545 is the broader original warpctrl/local-control feature request, and #16111 asks for additional inspection data for safe target staging. None cover the same combination of named-group placement for a newly opened single Tab Config, non-activation, and warpctrl group set/clear actions, and there are fewer than two strong duplicate candidates.
Routing
No regression, crash, data loss, or security impact is described, so high-priority escalation is not warranted. This likely needs product/API design for the exact Tab Config TOML shape, URI parameter behavior, and local-control action contract before implementation.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
+1 from a second real-world use case, and a data point on the "join an existing group" case.
Use case. I run a local launcher (a small macOS app) that opens my coding-agent sessions in Warp. I keep ~20 sessions organised in 6 named, coloured groups (e.g. "ORCHESTRATOR", "PROSPECTION", "APPS"). The launcher lets me pick which sessions to start, and it needs to put them in the right group of a window that is already open.
What I tested on stable 0.2026.10.21 (macOS):
warp://launch/<name>withtab_groupsworks well, but it always opens a new window. It can't add a group to a window that already has one.warp://tab_config/<name>adds the tab to the active window, but the tab lands in the group of the active tab (always right after it). So with two groups in a window, I can't choose where a new tab goes without first clicking a tab of the target group by hand.- A
groupkey in a Tab Config TOML is rejected today (deny_unknown_fields), consistent with the triage notes above.
What would solve it for me, in order of importance:
group = { name = "...", color = "..." }in a Tab Config, resolved by name in the target window and created if missing, without inheriting the active tab's group (point 1 of the proposal).activate = false(or?activate=0on the URI), so that opening several tabs in a row doesn't keep stealing focus (point 2).
I'd be happy to test a build or a branch for this. Thanks for the triage!
+1 for this feature. I'd also like to suggest extending it to Warp's URI scheme.
Tab groups are a great way to organize terminal sessions, especially when working across multiple projects. However, when opening tabs programmatically using warp://tab_config/<name>, there's currently no way to place them directly into an existing group. Having to move each new tab manually becomes repetitive.
Launch Configurations are helpful, but they create new groups rather than reuse existing ones.
A few additions that would make this much more useful:
- Group assignment in saved Tab Configs, for example
group = { name = "Development", color = "blue" }. - Group targeting through the URI scheme, for example
warp://tab_config/<name>?group=Development. - Reuse existing named groups, with the option to create one if it doesn't already exist, without producing duplicates.
The non-activating insertion suggested above would also be useful, allowing new tabs to open in the background without interrupting the current workflow.
Thanks for considering this. It would make tab groups much more practical for anyone who regularly opens terminal sessions programmatically.