- Notifications
You must be signed in to change notification settings - Fork 629
Open
Description
Summary
Add support for a deeplink (or CLI command) that switches to an existing named tab instead of always opening a new one. For example:
warp://action/focus/tab?name=my-project warp://action/focus/tab?path=/Users/me/projects/my-project Use Case
I'm building a Raycast extension that integrates with Warp as my primary terminal. When I select a project, I want to switch to the existing Warp tab where that project is already open (with its active sessions, history, and context), rather than opening a new blank tab.
Currently:
warp://action/open/folder?path=...always opens a new tabAction.Openwithdev.warp.Warp-Stablealso opens a new tab- There is no way to focus an existing tab programmatically
The workaround today is simulating Cmd+Shift+P (command palette) via AppleScript to type the tab name and press Enter, which is fragile and slow.
Proposed API
# Focus tab by name (matches tab title) warp://action/focus/tab?name=ctf # Focus tab by working directory path warp://action/focus/tab?path=/Users/me/Development/ai/ctf # Focus tab or open new one if not found (fallback) warp://action/focus/tab?name=ctf&fallback=open This would enable proper integration with launcher tools (Raycast, Alfred), IDE extensions, and automation scripts that want to switch context without losing existing terminal state.
Environment
- Warp on macOS
- Integrating via Raycast extension and AppleScript
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels