summaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins/ui.lua
diff options
context:
space:
mode:
authorIgor Soarez <igor@soarez.org>2026-10-05 16:29:50 +0300
committerIgor Soarez <igor@soarez.org>2026-10-05 16:29:50 +0300
commit6a6c5821a0f368a53548f36a0bd63b035b8e1344 (patch)
tree9945da2002a49993e454fa1996bd01730278b7e5 /config/nvim/lua/plugins/ui.lua
parent09fd7f0294f975f53f72bc3551099f968341419e (diff)
pi: the session name in herdr's Agent sidebar
herdr labels every pi pane "pi", so with several open the rows cannot be told apart. herdr 0.9.3's socket API has pane.report_metadata, whose display_agent replaces that label without touching lifecycle state; this reports the session name there on start and on every rename, auto-named titles included. Interactive sessions only: a pi -p or subagent run from inside a pane inherits its HERDR_* variables and would otherwise rename the pane after itself. Checked against a fake herdr socket: a print-mode run sends nothing, while the socket accepted a control message. Outside herdr it returns at once. The pi APIs it uses -- ctx.mode "tui", getSessionName, session_info_changed's name -- are as in pi 1.0.0, and link/pi.sh links it in like any tracked extension. From change request e053eb.
Diffstat (limited to 'config/nvim/lua/plugins/ui.lua')
0 files changed, 0 insertions, 0 deletions