widgetByName returns nothing when the input is connected. Traverse the graph link to the source node and read its first widget value instead. Also fix custom_map always being empty when refinement_key is set. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>