github dmellok/tesserae v0.36.2

latest releases: mcp-v0.8.2, mcp-v0.8.1, mcp-v0.8.0...
one month ago

Fixed

  • Capability hook no longer rejects every real network call after DNS. The egress check installed two socket hooks (one on socket.create_connection, one on socket.socket.connect) so raw-socket use couldn't bypass the hostname allowlist. Problem: stdlib's create_connection does getaddrinfo() and then calls sock.connect((ip, port)) internally, which our socket.connect hook then re-checked against the hostname allowlist. The IP isn't in the manifest, so every legitimately-declared widget (weather_now, clock_sunrise_sunset, anything talking to a real upstream) failed with CapabilityDenied: tried to connect to '188.40.99.226' but didn't declare it.

    The connect hook now skips the post-DNS call via a contextvar set inside the approved create_connection path; raw socket.socket().connect() outside that path is still checked.

    HA add-on users: the next supervisor pull picks up 0.36.2 and weather / sunrise / any other live-data widget will render again.

Don't miss a new tesserae release

NewReleases is sending notifications on new releases.