pi-branch-out 0.1.5 → 0.1.7

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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -34,6 +34,8 @@ After installing, copy `extensions/branch-out/config.json.example` to `extension
34
34
 
35
35
  Both arguments are optional and independent.
36
36
 
37
+ `/branch` works while the parent is responding or running tools. The child starts with the session entries saved when you run the command; an unfinished streamed response and later tool results are not included. The parent continues its turn.
38
+
37
39
  - **`--model <query>`** — target model for the child session. Accepts a fully qualified `provider/model-id` or a fuzzy query scoped to the current provider. If the query does not resolve safely the child keeps the parent's model.
38
40
  - **`message`** — prefilled text in the child session's editor with a 10-second auto-submit countdown. Typing anything or pressing `Esc` cancels the countdown; `Enter` sends immediately.
39
41
 
@@ -102,7 +104,7 @@ rm /tmp/pi-branch-out-layout-state.json
102
104
  Routing is automatic and tried in this order:
103
105
 
104
106
  1. `--branch-out-terminal` flag override (always wins)
105
- 2. Orca — detected via `ORCA_WORKTREE_ID` and `ORCA_PANE_KEY`
107
+ 2. Orca — detected via `ORCA_WORKTREE_ID` and either `ORCA_TERMINAL_HANDLE` or `ORCA_PANE_KEY`
106
108
  3. cmux — detected via `CMUX_SOCKET_PATH`
107
109
  4. tmux — detected via `TMUX`
108
110
  5. iTerm2 — detected via `TERM_PROGRAM=iTerm.app`
@@ -110,7 +112,7 @@ Routing is automatic and tried in this order:
110
112
  7. Ghostty — detected via `GHOSTTY_RESOURCES_DIR` or `TERM_PROGRAM` containing `ghostty`
111
113
  8. Alacritty window
112
114
 
113
- The Orca backend matches `ORCA_PANE_KEY` to the exact tab and leaf returned by `orca terminal list`, then runs `orca terminal split` against that terminal handle. Orca defaults to a horizontal split that opens the new pane to the right; an explicit `down` preference creates a vertical split. `launchMode` must be `"split"` for Orca.
115
+ 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"`.
114
116
 
115
117
  ### Backend capability matrix
116
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-branch-out",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
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.",
5
5
  "keywords": ["pi-package", "pi", "pi-coding-agent"],
6
6
  "license": "MIT",