The page validator in tools/figma-moonproto-contract-inspector/code.js counts ToBeConnected links with:
raw.match(/ToBeConnected:ui\\./g)
In a JavaScript regex literal that pattern matches a literal backslash after ui, then any character. Shared plugin data stores JSON such as ToBeConnected:ui.some-id, which has no backslash, so the validation summary's toBeConnected count stays 0.
Link checking itself is unaffected: isToBeConnected uses startsWith("ToBeConnected:ui.").
The page validator in
tools/figma-moonproto-contract-inspector/code.jscountsToBeConnectedlinks with:In a JavaScript regex literal that pattern matches a literal backslash after
ui, then any character. Shared plugin data stores JSON such asToBeConnected:ui.some-id, which has no backslash, so the validation summary'stoBeConnectedcount stays 0.Link checking itself is unaffected:
isToBeConnectedusesstartsWith("ToBeConnected:ui.").