pi-side-chat 0.1.0 → 0.1.1
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 +11 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,11 +18,13 @@ This exists for the annoying in-between moments. You're in the middle of a longe
|
|
|
18
18
|
|
|
19
19
|
Without a side chat, you either interrupt the main agent, open a completely separate Pi session with no context, or context-switch out to the browser. None of those feel great.
|
|
20
20
|
|
|
21
|
-
`pi-side-chat` gives you a fork of the current conversation in an overlay. It starts with the same context, stays separate from the main thread, and
|
|
21
|
+
`pi-side-chat` gives you a fork of the current conversation in an overlay. It starts with the same context, stays separate from the main thread, and persists across close/reopen cycles until you explicitly clear it.
|
|
22
22
|
|
|
23
23
|
## Install
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
```bash
|
|
26
|
+
pi install npm:pi-side-chat
|
|
27
|
+
```
|
|
26
28
|
|
|
27
29
|
Restart Pi and it will be auto-discovered.
|
|
28
30
|
|
|
@@ -32,12 +34,14 @@ Open side chat with `Alt+/` or `/side`.
|
|
|
32
34
|
|
|
33
35
|
Ask a question and press `Enter`.
|
|
34
36
|
|
|
35
|
-
Press `Esc` to close it.
|
|
37
|
+
Press `Esc` to close it. Reopen with `Alt+/` to continue where you left off.
|
|
36
38
|
|
|
37
39
|
**Toggle focus**: Press `Alt+/` again to switch back to the main editor without closing the overlay. The side chat stays visible but unfocused. Press `Alt+/` once more to refocus it.
|
|
38
40
|
|
|
39
41
|
**Toggle mode**: Press `Ctrl+T` to switch from read-only mode to edit mode if you need write access.
|
|
40
42
|
|
|
43
|
+
**Start fresh**: Press `Alt+R` to re-fork from the latest main context, or `Alt+N` for a blank conversation.
|
|
44
|
+
|
|
41
45
|
## What it does
|
|
42
46
|
|
|
43
47
|
### Forks the current conversation
|
|
@@ -93,7 +97,9 @@ It opens near the top of the screen so the main editor stays visible underneath.
|
|
|
93
97
|
|-----|--------|
|
|
94
98
|
| `Alt+/` | Open side chat. When already open, toggles focus between side chat and main editor. |
|
|
95
99
|
| `Enter` | Send message |
|
|
96
|
-
| `Esc` |
|
|
100
|
+
| `Esc` | Interrupt streaming, or close side chat when idle |
|
|
101
|
+
| `Alt+R` | Close and reopen with fresh context from main |
|
|
102
|
+
| `Alt+N` | Close and reopen with empty conversation |
|
|
97
103
|
| `Ctrl+T` | Toggle between read-only mode and edit mode (enables write/edit/bash) |
|
|
98
104
|
| `PgUp` / `Shift+↑` | Scroll up |
|
|
99
105
|
| `PgDn` / `Shift+↓` | Scroll down |
|
|
@@ -150,7 +156,7 @@ pi-side-chat/
|
|
|
150
156
|
|
|
151
157
|
- Only one side chat can be open at a time.
|
|
152
158
|
- Side chat will not open on top of another visible overlay.
|
|
153
|
-
-
|
|
159
|
+
- Closing preserves the conversation; reopening restores it. Use Alt+R or Alt+N to start fresh.
|
|
154
160
|
- Side chat does not merge messages back into the main thread.
|
|
155
161
|
- Bash overlap detection is heuristic. It catches common write cases, not every possible shell write.
|
|
156
162
|
- `peek_main` is on-demand, not a live streaming view.
|