@juicesharp/rpiv-btw 1.1.4 → 1.2.0

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 +10 -10
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
  [![npm version](https://img.shields.io/npm/v/@juicesharp/rpiv-btw.svg)](https://www.npmjs.com/package/@juicesharp/rpiv-btw)
12
12
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
13
13
 
14
- Ask a side question without polluting the main conversation. `rpiv-btw` adds `/btw <question>` to [Pi Agent](https://github.com/badlogic/pi-mono) — a lightweight side agent picks up a **read-only clone** of your current conversation and answers in a panel at the bottom of the terminal. The side agent remembers its own `/btw` thread for follow-ups, while your main chat keeps going — its transcript is never polluted.
14
+ Ask a side question without polluting the main conversation. `rpiv-btw` adds `/btw <question>` to [Pi Agent](https://github.com/badlogic/pi-mono) - a lightweight side agent picks up a **read-only clone** of your current conversation and answers in a panel at the bottom of the terminal. The side agent remembers its own `/btw` thread for follow-ups, while your main chat keeps going - its transcript is never polluted.
15
15
 
16
16
  ![The /btw side-question panel at the bottom of the Pi terminal](https://raw.githubusercontent.com/juicesharp/rpiv-mono/main/packages/rpiv-btw/docs/overlay.jpg)
17
17
 
@@ -51,13 +51,13 @@ Prior `/btw` questions from the same session appear above the banner, so follow-
51
51
 
52
52
  The side agent is a fresh, tool-less instance of the same primary model, handed a read-only clone of your current conversation. When you press enter, `/btw` sends it:
53
53
 
54
- 1. A snapshot of your main conversation so far — so it knows what you've been working on. The side agent only reads the clone, so nothing it does pollutes your main transcript.
55
- 2. Your previous `/btw` questions and answers in this session — so follow-ups make sense.
54
+ 1. A snapshot of your main conversation so far - so it knows what you've been working on. The side agent only reads the clone, so nothing it does pollutes your main transcript.
55
+ 2. Your previous `/btw` questions and answers in this session - so follow-ups make sense.
56
56
  3. The question you just typed.
57
57
 
58
58
  ### What it does *not* do
59
59
 
60
- - Your main conversation is never polluted. The side answer lives only in the panel and in memory — it's not written to the agent's transcript or to disk.
60
+ - Your main conversation is never polluted. The side answer lives only in the panel and in memory - it's not written to the agent's transcript or to disk.
61
61
  - `/btw` has no tools. The model answers in plain text.
62
62
  - History is lost when you exit Pi Agent. Your main session is unaffected.
63
63
 
@@ -71,11 +71,11 @@ The side agent is a fresh, tool-less instance of the same primary model, handed
71
71
 
72
72
  ```
73
73
  rpiv-btw/
74
- ├── index.ts — extension entry; registers command + hooks
75
- ├── btw.ts — state, message threading, model call
76
- ├── btw-ui.ts — bottom panel renderer
74
+ ├── index.ts - extension entry; registers command + hooks
75
+ ├── btw.ts - state, message threading, model call
76
+ ├── btw-ui.ts - bottom panel renderer
77
77
  └── prompts/
78
- └── btw-system.txt — system prompt for the side call
78
+ └── btw-system.txt - system prompt for the side call
79
79
  ```
80
80
 
81
81
  Pi Agent discovers the extension via `"pi": { "extensions": ["./index.ts"] }` in `package.json`.
@@ -84,10 +84,10 @@ Pi Agent discovers the extension via `"pi": { "extensions": ["./index.ts"] }` in
84
84
 
85
85
  | Symptom | Cause | Fix |
86
86
  |---|---|---|
87
- | `/btw requires interactive mode` | Running in `pi --print …` or RPC mode | `/btw` needs a terminal — run Pi interactively |
87
+ | `/btw requires interactive mode` | Running in `pi --print …` or RPC mode | `/btw` needs a terminal - run Pi interactively |
88
88
  | `/btw requires an active model` | No primary model configured | Set one with `/login` or edit `~/.pi/agent/models.json` |
89
89
  | Panel opens but answer never arrives | Model call failed or network dropped | Press `Esc` to cancel; check your provider credentials |
90
- | History missing after restart | Expected — no disk persistence | `/btw` history is per-Pi-process by design |
90
+ | History missing after restart | Expected - no disk persistence | `/btw` history is per-Pi-process by design |
91
91
 
92
92
  ## License
93
93
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@juicesharp/rpiv-btw",
3
- "version": "1.1.4",
4
- "description": "Pi extension: /btw side-question slash command — ask the same primary model a one-off side question without polluting the main conversation",
3
+ "version": "1.2.0",
4
+ "description": "Pi extension. The /btw slash command, for putting a one-off side question to the same primary model without polluting the main conversation.",
5
5
  "keywords": [
6
6
  "pi-package",
7
7
  "pi-extension",