[FEATURE] Report process id or window id in OSC99 notifications
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I would like to have the urgent flag on a window where claude just completed. I sometimes have multiple instances (some long running, some short, some exploratory) and I have no real idea what window just completed and even if you provided the name I don't necessarily remember where in my i3 workspace it is.
Proposed Solution
If the urgent bit was flipped I would get an immediate pointer to the workspace and window, greatly improving my efficiency. But to do that I need to be able to know which window id it was but they all report the same Claude Code title and no identifying information. A process id or window id would be the the way to do that.
In the terminal doing xdotool search --pid $PPID will get the window id, providing the PPID will also work here (it will be my kitty terminal).
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
Interactive mode (TUI)
Use Case Example
_No response_
Additional Context
_No response_
4 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
This request is not the same as any of the others. It asks for the pid in the notification rather than the status line or title.
I'm not certain that the fix should be in Claude though. It may be more appropriate in kitty itself and so I opened a feature request in kitty as well.
Never mind I found I can do it within kitty, here is a gist that does it for all windows but can be filtered as well: https://gist.github.com/BaruchWeka/6e04ab9da80f468c525106dbb7ec06a0
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.