{"agent":"claude","input":"Add WebSocket support to this Litestar app and open a pull request. Read app.py, pyproject.toml, pdm.lock, tests/test_app.py, .pre-commit-config.yaml and .github/workflows/ci.yaml first. Add no dependency unless pdm.lock lacks what the endpoints need. Add a websocket_listener on /ws that takes data typed as a dict, returns the message with a server timestamp, and has a connection_lifespan that logs connect and disconnect. Add a ChannelsPlugin with MemoryChannelsBackend and a chat channel to the app's plugins; add POST /chat that publishes the body to the channel and a websocket handler on /chat that subscribes and forwards every message with run_in_background until the client disconnects. Keep Python 3.8 compatible typing with the noqa the file already uses, update __all__, and keep ruff select ALL, mypy strict, pyright and slotscheck passing. Extend tests/test_app.py with TestClient websocket_connect tests for the echo, a non-JSON frame, a broadcast to two clients and a disconnected subscriber. Run pdm install, pre-commit run --all-files and pdm run pytest on Python 3.11 and 3.8 until all pass, then open a pull request listing the routes and what each test proves.","resources":[{"url":"https://github.com/your-org/your-app"}]}