pi-branch-out 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -110,10 +110,14 @@ Routing is automatic and tried in this order:
|
|
|
110
110
|
5. iTerm2 — detected via `TERM_PROGRAM=iTerm.app`
|
|
111
111
|
6. Terminal.app — detected via `TERM_PROGRAM=Apple_Terminal`
|
|
112
112
|
7. Ghostty — detected via `GHOSTTY_RESOURCES_DIR` or `TERM_PROGRAM` containing `ghostty`
|
|
113
|
-
8.
|
|
113
|
+
8. Warp — detected via `TERM_PROGRAM=WarpTerminal`
|
|
114
|
+
|
|
115
|
+
If no backend is detected, macOS tries iTerm2 and Terminal.app before falling back to an Alacritty window; other platforms fall back to Alacritty. These fallbacks require `launchMode: "tab"`.
|
|
114
116
|
|
|
115
117
|
The Orca backend opens the fork beside the terminal that ran `/branch` and uses Pi's current working directory. Orca supports `right` (horizontal) and `down` (vertical) splits and requires `launchMode: "split"`.
|
|
116
118
|
|
|
119
|
+
The Warp backend opens the fork in a new tab in Warp's active window and uses Pi's current working directory. It works with Warp Stable on macOS and Linux when Pi runs on the same machine as Warp, not in an SSH session. It requires `launchMode: "tab"`; for splits inside Warp, run Pi in tmux with `launchMode: "split"`. Each launch writes a temporary [Tab Config](https://docs.warp.dev/terminal/windows/tab-configs/) named `tmp_pi_branch_*.toml`, which the new tab deletes as it starts. If a launch never opens a tab, delete the leftover file from `~/.warp/tab_configs/` on macOS or `${XDG_DATA_HOME:-$HOME/.local/share}/warp-terminal/tab_configs/` on Linux.
|
|
120
|
+
|
|
117
121
|
### Backend capability matrix
|
|
118
122
|
|
|
119
123
|
| Backend | `tab` | `split` — static directions | `split` — rotating policies |
|
|
@@ -124,6 +128,7 @@ The Orca backend opens the fork beside the terminal that ran `/branch` and uses
|
|
|
124
128
|
| iTerm2 | ✓ | `right` `down` | — (use fallback list) |
|
|
125
129
|
| Terminal.app | ✓ | — (error) | — (error) |
|
|
126
130
|
| Ghostty | — (new window) | — (error) | — (error) |
|
|
131
|
+
| Warp | ✓ | — (error) | — (error) |
|
|
127
132
|
|
|
128
133
|
Backends without a default for the requested `splitDirection` fail fast with an explicit error. Use a comma-separated preference list to select a supported direction across backends (e.g. `"counterclockwise,right"`).
|
|
129
134
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-branch-out",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Fork the current Pi session into a split terminal pane or new tab with rotating layout policies, and with optional model and message queuing, and support for cmux, tmux, iTerm2, Terminal.app, Ghostty, and Orca.",
|
|
3
|
+
"version": "0.1.8",
|
|
4
|
+
"description": "Fork the current Pi session into a split terminal pane or new tab with rotating layout policies, and with optional model and message queuing, and support for cmux, tmux, iTerm2, Terminal.app, Ghostty, Warp, and Orca.",
|
|
5
5
|
"keywords": ["pi-package", "pi", "pi-coding-agent"],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|