Under the hood
Background fork worker processes are now excluded from checks meant for the main session
What
Two internal checks that identify agents other than the main session were updated to also exclude agents flagged as forkWorker (background processes spawned to run forked work). Previously these checks only excluded agents by their type or by a bareFork option.
Why
This keeps background fork workers from being mistakenly treated as if they were the main interactive session, which should make behavior that depends on this distinction more accurate.