Remote Control could expose a smaller tool set, but no code asks for it.
The reduced-tool option falls back to a helper always returning false and nothing passes it.
What's wrong with this entry?
The Remote Control setup now picks which tools it exposes based on a new option: in "serving remote tools" mode it exposes only the device-name tool, otherwise it also exposes the device-id tool. The option falls back to a helper that always returns false and no code passes it, so the two-tool set is what ships.
- The fallback is
function _Xr() { return !1; }; nothing in the build suppliesisServingRemoteTools. - The same setup now also passes a session-id getter into the socket client that talks to the remote device.
isServingRemoteTools
Strings lifted out of the shipped bundle, so the claim above can be checked against them.