@juicesharp/rpiv-warp 2.13.5 → 2.13.6
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/CHANGELOG.md +5 -0
- package/README.md +4 -2
- package/docs/events.md +1 -1
- package/index.ts +6 -4
- package/package.json +2 -2
- package/title-spinner.ts +4 -4
- package/warp-notify.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to `@juicesharp/rpiv-warp` are documented here.
|
|
|
5
5
|
Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
6
|
Versioning: [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.13.6] - 2026-10-12
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- The tab-title spinner keeps the session name: while a turn runs a named session now reads `⠴ - <session> - <repo>` instead of collapsing to `⠴ - <repo>`, so concurrent named tabs stay distinguishable. Unnamed sessions are unchanged.
|
|
12
|
+
|
|
8
13
|
## [2.13.5] - 2026-10-12
|
|
9
14
|
|
|
10
15
|
## [2.13.4] - 2026-10-11
|
package/README.md
CHANGED
|
@@ -42,8 +42,10 @@ Nothing to configure, no key to supply.
|
|
|
42
42
|
prompt submitted, question asked, tool finished, turn stopped, gone idle) reach
|
|
43
43
|
Warp as structured notifications carrying the project name, your query and the
|
|
44
44
|
assistant's reply.
|
|
45
|
-
- **A tab that shows Pi is still working** — a braille spinner
|
|
46
|
-
title for the whole turn
|
|
45
|
+
- **A tab that shows Pi is still working** — a braille spinner takes over Pi's
|
|
46
|
+
mascot in the tab title for the whole turn (`⠴ - <repo>`, or
|
|
47
|
+
`⠴ - <session> - <repo>` once the session is named, so named tabs stay
|
|
48
|
+
distinguishable while they run), then the original label comes back.
|
|
47
49
|
- **A Blocked badge that never sticks** — an ESC-aborted question is drained at
|
|
48
50
|
turn end instead of leaving the badge lit.
|
|
49
51
|
- **No false idle mid-task** — the running prompt is re-announced every 15
|
package/docs/events.md
CHANGED
|
@@ -53,7 +53,7 @@ The tab-title spinner uses three more sequences:
|
|
|
53
53
|
|
|
54
54
|
| Sequence | Bytes | Used for |
|
|
55
55
|
| --- | --- | --- |
|
|
56
|
-
| OSC 0 | `ESC ] 0 ; <title> BEL` | writing the animated tab title |
|
|
56
|
+
| OSC 0 | `ESC ] 0 ; <title> BEL` | writing the animated tab title — `<frame> - <repo>`, or `<frame> - <session> - <repo>` for a named session |
|
|
57
57
|
| CSI 22;0t | `ESC [ 22;0t` | pushing the current title onto the xterm title stack on spinner start |
|
|
58
58
|
| CSI 23;0t | `ESC [ 23;0t` | popping it on spinner stop, restoring Pi's `π - <repo>` title verbatim |
|
|
59
59
|
|
package/index.ts
CHANGED
|
@@ -144,11 +144,13 @@ function readBranch(ctx: ExtensionContext): SessionEntry[] {
|
|
|
144
144
|
return ctx.sessionManager.getBranch() as SessionEntry[];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
// Mirror Pi's
|
|
148
|
-
//
|
|
149
|
-
// mascot verbatim on stop.
|
|
147
|
+
// Mirror Pi's own tab title: `<mascot> - <repo>`, or `<mascot> - <session> - <repo>`
|
|
148
|
+
// once the session is named. We replace the mascot while retaining the complete
|
|
149
|
+
// title structure; push/pop restores Pi's mascot verbatim on stop.
|
|
150
150
|
function titleSuffix(ctx: ExtensionContext): string {
|
|
151
|
-
|
|
151
|
+
const project = basename(ctx.cwd);
|
|
152
|
+
const sessionName = ctx.sessionManager.getSessionName()?.trim();
|
|
153
|
+
return sessionName ? ` - ${sessionName} - ${project}` : ` - ${project}`;
|
|
152
154
|
}
|
|
153
155
|
|
|
154
156
|
export default function (pi: ExtensionAPI): void {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juicesharp/rpiv-warp",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Pi extension. Native Warp terminal notifications, dispatched via OSC 777 on Pi lifecycle events.",
|
|
6
6
|
"keywords": [
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
"@earendil-works/pi-coding-agent": "*"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@juicesharp/rpiv-config": "^2.13.
|
|
62
|
+
"@juicesharp/rpiv-config": "^2.13.6"
|
|
63
63
|
}
|
|
64
64
|
}
|
package/title-spinner.ts
CHANGED
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
* Title-preservation strategy: the original Warp tab title (e.g.
|
|
17
17
|
* `π - rpiv-mono`, set by Pi at startup) MUST survive the animation
|
|
18
18
|
* round trip — and during the animation, only the FIRST character (the
|
|
19
|
-
* Pi mascot) is swapped for the rotating glyph; the suffix (` - <repo
|
|
20
|
-
* stays put.
|
|
19
|
+
* Pi mascot) is swapped for the rotating glyph; the suffix (` - <repo>`,
|
|
20
|
+
* or ` - <session> - <repo>` for a named session) stays put.
|
|
21
21
|
*
|
|
22
22
|
* on agent_start(suffix) → CSI 22;0t (push current title)
|
|
23
23
|
* while running, every 160ms → OSC 0 (write `<glyph><suffix>`)
|
|
24
24
|
* on agent_end → CSI 23;0t (pop — original restored)
|
|
25
25
|
*
|
|
26
|
-
* The suffix is supplied by callers in `index.ts` from
|
|
27
|
-
*
|
|
26
|
+
* The suffix is supplied by callers in `index.ts` (`titleSuffix`, from the
|
|
27
|
+
* session name and `ctx.cwd`); on a stop, push/pop restores whatever the
|
|
28
28
|
* terminal had before — typically Pi's `π${suffix}`. Push/pop is
|
|
29
29
|
* supported by Warp, iTerm2, Ghostty, tmux, Linux console; terminals
|
|
30
30
|
* that don't implement it ignore the CSI silently.
|
package/warp-notify.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* - CSI 22;0t / CSI 23;0t — xterm window-title stack push/pop. Used
|
|
17
17
|
* by `title-spinner.ts` to snapshot Warp's existing tab title before
|
|
18
18
|
* the animation starts and restore it verbatim on stop, so the
|
|
19
|
-
* `π - <repo>` label Pi sets
|
|
19
|
+
* `π - [<session> - ]<repo>` label Pi sets survives the spinner round
|
|
20
20
|
* trip.
|
|
21
21
|
*
|
|
22
22
|
* Each call on Unix opens, writes, and closes the fd — no fd cache
|