sticky-prompt-line0.1.1
Pi extension that shows the nearest off-screen user prompt as a one-line sticky transcript marker.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
sticky-prompt-line
Tiny Pi extension that shows one dim sticky line when you scroll up in the fullscreen transcript.
It shows the nearest user prompt above the current transcript top. The line stays to one row, truncates overflow with ..., and jumps to that prompt when clicked.
Use
From this checkout:
pi --extension ./index.js
Or add the package path to your Pi extensions config.
Check
npm run check
Notes
Pi does not expose role-tagged transcript positions through the public extension API. This extension reads the fullscreen scroll view and Pi's cached rendered child heights, identifies user-message components, and jumps directly to the measured row. It does not count assistant prompt markers, estimate tool heights, render components again, or patch renderers.
This relies on private runtime fields (getPrimaryScrollView, child, mouseLayout, and user-message text) and the UserMessageComponent class name. Pi upgrades may require changes.
Missing measurements hide the line. The extension skips containers whose rendered height differs from their cached child heights rather than guessing offsets. It does not support custom transcript wrappers that change row order or add padding.