@juicesharp/rpiv-btw 2.3.0 → 2.4.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.
- package/docs/architecture.md +8 -7
- package/package.json +1 -1
package/docs/architecture.md
CHANGED
|
@@ -7,12 +7,13 @@ how state is stored, and how the package tolerates different Pi host versions.
|
|
|
7
7
|
|
|
8
8
|
```
|
|
9
9
|
rpiv-btw/
|
|
10
|
-
├── index.ts —
|
|
11
|
-
├── btw.ts — state,
|
|
12
|
-
├── btw-
|
|
13
|
-
├──
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
├── index.ts — entry; registers the command + 3 hooks
|
|
11
|
+
├── btw.ts — state, snapshots, threading, the model call
|
|
12
|
+
├── btw-budget.ts — history cap + branch fit
|
|
13
|
+
├── btw-messages.ts — BtwTurn + message-text extractors
|
|
14
|
+
├── btw-ui.ts — bottom-anchored overlay and key handling
|
|
15
|
+
├── pi-compat.ts — host-tolerant pi-ai /compat loaders
|
|
16
|
+
└── prompts/btw-system.txt — system prompt for the side call
|
|
16
17
|
```
|
|
17
18
|
|
|
18
19
|
Pi discovers the extension through the manifest block in `package.json`:
|
|
@@ -134,7 +135,7 @@ to migrate when it is removed.
|
|
|
134
135
|
|
|
135
136
|
## Messages and errors
|
|
136
137
|
|
|
137
|
-
Every
|
|
138
|
+
Every notify and overlay error string the package can produce:
|
|
138
139
|
|
|
139
140
|
| String | When |
|
|
140
141
|
| --- | --- |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juicesharp/rpiv-btw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
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",
|