@tryinget/pi-activity-strip 0.8.0 → 0.9.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/README.md CHANGED
@@ -132,6 +132,7 @@ The shortcut toggles exclusive keyboard mode. On entry, the first card is select
132
132
  - **Codex telemetry:** Codex keeps a thread index naming every session's rollout file, working directory and title. A process binds to its thread by an open rollout descriptor, or, before any task has run, by being the only session created in that directory after the process started; anything ambiguous binds nothing. The rollout tail then reports the running tool and its command, turn count, approval and sandbox policy, prompt and reply. Reading the index needs the runtime's built-in SQLite, and a host without it degrades to a process-only card.
133
133
  - **Claude Code telemetry:** cards read live state from the tail of the session transcript, giving the topic, current tool and its target, last prompt, latest reply, turn count and activity clock with no configuration. That format is internal to Claude Code and can change between releases, so a transcript that no longer parses degrades to a process-only card rather than inventing activity. Optional hooks add the one state a transcript cannot express, that a session is blocked waiting for you; run `claude-hooks` for the settings fragment. Only low-frequency events are hooked, so nothing runs per tool call. OpenTelemetry is deliberately not used: it reports aggregate usage and cost, not which tool a session is running now.
134
134
  - **You are here:** the block at the ribbon's left names the focused window's project in large type with its folder beneath (home written as `~`, cut from the front so the deepest folder stays visible), and the matching card carries a solid accent ring. With no agent window focused it shows the session counts instead.
135
+ - **Window list and jump by number:** whenever the ribbon is expanded (a hovered card, or a typed number) the brand column shows a list of every agent window on every workspace, alphabetically by project, one line each: the project name, its workspace (`ws2`) and its Niri window number (`#432`), with the window you are in ringed. The card row scrolls to keep the focused window's card in view as Niri focus moves. Hovering the brand column itself is an overview: every card on the ribbon opens its details at once, while hovering a single card opens just that one. Hovering takes the keyboard so a number can be typed at once. Leaving the ribbon hands it straight back and closes the list, and so do 3 seconds without a key while nothing is typed, so a pointer resting on the ribbon cannot keep swallowing typing meant for the window below; a click on the ribbon takes it again. Typing narrows the list by project name (any part, any case: `ext` finds `pi-extensions`) or by window number; the row Enter will open is highlighted. Enter on a number jumps to the listed window with that number, else to a project whose name contains the digits, else to exactly that number (one with no live window moves nothing and says so); Enter on a name opens the first match like clicking it; Backspace edits and Escape closes. While only hover holds the keyboard (no click, not keyboard mode), a number reaches only a listed agent window, and a key that cannot be part of a search (space, Tab, arrows, a Ctrl/Alt/Super shortcut) or Enter on something matching nothing cancels the search, closes the list and hands the keyboard back, so most typing meant for the window below does not turn into a jump. A short command that happens to be part of a project name (`pi` + Enter) still opens that project; that is the price of name search on hover. Clicking an entry focuses it like its card, presenting a hidden tab first. In keyboard mode (`pi-activity-strip focus-strip`) typing a digit opens the list directly. After any jump the ribbon gives the keyboard back at once.
135
136
  - **Appearance:** the ribbon reads the same theme files Ghostty reads. It resolves the `theme` setting for the desktop's current colour scheme, including the `light:…,dark:…` form, and takes colours set directly in the config over the theme file, exactly as Ghostty layers them. State colours reuse the terminal's own meanings, so green is settled, yellow is working, red failed, and the cursor colour marks a session waiting for you. The panel derives every shade from eight named colours, so a theme change is a handful of values and one stylesheet reload rather than a restart. A theme that cannot be read falls back to a neutral palette.
136
137
  - **Height repair:** showing or hiding the ribbon changes the output working area, and a window whose height is not automatic keeps the old value. After each change the strip compares window heights before and after, and resets to automatic only those windows still sitting at a height the moving windows just vacated. A height nobody vacated is never touched, each window is reset at most once per height, and a pass is bounded.
137
138
  - **Two identity keys:** a Ghostty surface id is a per-process handle that can drift away from the value a long-lived Pi process captured at startup, while the 32-hex session token in the same title never does. Memory therefore stores both, and lookups prefer the exact surface. A session token that two windows claim is ambiguous and binds nothing; two terminals resuming one logical session in the same window are both placed there.
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "schema": "pi-activity-strip-native-artifact.v1",
3
3
  "target": "x86_64-unknown-linux-gnu",
4
- "sha256": "99b6f36e858b9c241c5aa73f7517c0f5f418673f54d9fa245156272c39bf004b",
4
+ "sha256": "575cd45de37a3f5670d062f978d70a65f9b9db908136528d46d419fcc491fcd0",
5
5
  "cargoLockSha256": "f8ebc11bc721c569af982169e448a5ea4fed15bc06001017d97acda22b1c890b",
6
- "sourceSha256": "b272f4f3131cc4335ed6324ad051042fbd3d577b16944189fcdeaed7e776628f",
6
+ "sourceSha256": "94b019017ebe22b0e10511a996a0d878a5f7139259c70715dd53b9cbd1cbb087",
7
7
  "rustc": "rustc 1.98.0 (88d9e12ae 2026-08-18)",
8
8
  "glibcFloor": "GLIBC_2.34",
9
9
  "neededSonames": [
10
10
  "libgtk4-layer-shell.so.0",
11
11
  "libgtk-4.so.1",
12
12
  "libcairo.so.2",
13
+ "libgraphene-1.0.so.0",
13
14
  "libgio-2.0.so.0",
14
15
  "libgobject-2.0.so.0",
15
16
  "libglib-2.0.so.0",