{"agent":"claude","input":"This websocket server fails with \"TypeError: handler() missing 1 required positional argument: 'path'\" after the websockets package was upgraded. Read the dependency files and report the pinned version, then create a clean virtual environment on a current Python, install the current websockets release, and report the version that was resolved. Start the server and connect to it with a small client; save every traceback the server logs, in the order they appear, and the close code the client sees. Find every connection handler passed to websockets.serve and list each with its file, line and signature. Change two-argument handlers to take the connection only, and read the request path from websocket.request.path where the old path argument was used. Replace websocket.request_headers with websocket.request.headers. Do not add a version pin below 14 to keep the legacy implementation. Start the server again, connect, exchange at least one message in each direction through the server's own protocol, and report the messages and the server log. Update the pin to the version you tested. Open a pull request with the before and after server logs, the resolved version, and the list of changed lines.","resources":[{"url":"https://github.com/your-org/your-app"}]}