@juicesharp/rpiv-btw 1.2.1 → 1.3.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/btw-ui.ts +3 -3
- package/btw.ts +2 -2
- package/index.ts +1 -1
- package/package.json +4 -4
package/btw-ui.ts
CHANGED
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
* (f fork key deferred)
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
|
-
import type { ExtensionCommandContext, Theme } from "@
|
|
28
|
-
import type { OverlayOptions } from "@
|
|
27
|
+
import type { ExtensionCommandContext, Theme } from "@earendil-works/pi-coding-agent";
|
|
28
|
+
import type { OverlayOptions } from "@earendil-works/pi-tui";
|
|
29
29
|
import {
|
|
30
30
|
type Component,
|
|
31
31
|
Key,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
truncateToWidth,
|
|
35
35
|
visibleWidth,
|
|
36
36
|
wrapTextWithAnsi,
|
|
37
|
-
} from "@
|
|
37
|
+
} from "@earendil-works/pi-tui";
|
|
38
38
|
import { type BtwTurn, userMessageText } from "./btw.js";
|
|
39
39
|
|
|
40
40
|
const BTW_OVERLAY_OPTIONS: OverlayOptions = {
|
package/btw.ts
CHANGED
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
type Message,
|
|
16
16
|
type StopReason,
|
|
17
17
|
type UserMessage,
|
|
18
|
-
} from "@
|
|
18
|
+
} from "@earendil-works/pi-ai";
|
|
19
19
|
import {
|
|
20
20
|
convertToLlm,
|
|
21
21
|
type ExtensionAPI,
|
|
22
22
|
type ExtensionCommandContext,
|
|
23
23
|
type ExtensionContext,
|
|
24
24
|
type SessionEntry,
|
|
25
|
-
} from "@
|
|
25
|
+
} from "@earendil-works/pi-coding-agent";
|
|
26
26
|
import { showBtwOverlay } from "./btw-ui.js";
|
|
27
27
|
|
|
28
28
|
// ---------------------------------------------------------------------------
|
package/index.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* /new, /fork, /reload, /resume; lost on Pi process exit.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import type { ExtensionAPI } from "@
|
|
10
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
11
11
|
import { registerBtwCommand, registerInvalidationHooks, registerMessageEndSnapshot } from "./btw.js";
|
|
12
12
|
|
|
13
13
|
export default function (pi: ExtensionAPI): void {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juicesharp/rpiv-btw",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.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",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
]
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
45
|
+
"@earendil-works/pi-ai": "*",
|
|
46
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
47
|
+
"@earendil-works/pi-tui": "*"
|
|
48
48
|
}
|
|
49
49
|
}
|