You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add tmux support to brev open command
- Add EditorTmux constant and update all validation functions
- Implement openTmux() with session management (brev-<workspace> naming)
- Add ensureTmuxInstalled() for automatic tmux installation
- Follow same patterns as VSCode/Cursor/Windsurf implementations
- Support session reconnection and creation with proper working directory
- Handle tmux-specific error cases and installation requirements
- Use interactive SSH execution for seamless tmux session access
Co-Authored-By: Alec Fong <[email protected]>
* Simplify tmux session name to 'brev' for consistency
- Change session name from 'brev-<workspace>' to just 'brev'
- Ensures users always connect to same session regardless of workspace name changes
- Addresses PR feedback from @theFong
Co-Authored-By: Alec Fong <[email protected]>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Alec Fong <[email protected]>
Copy file name to clipboardExpand all lines: pkg/cmd/open/open.go
+69-8Lines changed: 69 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -33,11 +33,12 @@ const (
33
33
EditorVSCode="code"
34
34
EditorCursor="cursor"
35
35
EditorWindsurf="windsurf"
36
+
EditorTmux="tmux"
36
37
)
37
38
38
39
var (
39
-
openLong="[command in beta] This will open VS Code, Cursor, or Windsurf SSH-ed in to your instance. You must have the editor installed in your path."
40
-
openExample="brev open instance_id_or_name\nbrev open instance\nbrev open instance code\nbrev open instance cursor\nbrev open instance windsurf\nbrev open --set-default cursor\nbrev open --set-default windsurf"
40
+
openLong="[command in beta] This will open VS Code, Cursor, Windsurf, or tmux SSH-ed in to your instance. You must have the editor installed in your path."
41
+
openExample="brev open instance_id_or_name\nbrev open instance\nbrev open instance code\nbrev open instance cursor\nbrev open instance windsurf\nbrev open instance tmux\nbrev open --set-default cursor\nbrev open --set-default windsurf\nbrev open --set-default tmux"
0 commit comments