The options a WatchSession.restart may change.
Everything a session can be opened with, less three. watch because a patched restart is still
a watch session. signal because it belongs to the session's whole life rather than one boot of
it. And the reporters, because they are how this session's own results() and events() feeds
are attached — a patch replacing them would leave both open and permanently silent, so the type
refuses the mistake rather than a runtime check catching it.
const widen: SessionPatch = { inputs: ['test/', 'e2e/'] }; const narrow: SessionPatch = { filter: 'Cart' };
Omit<UserRunOptions, "signal" | "reporter" | "reporters">