{"agent":"claude","input":"Add private messaging to this Socket.IO chat. Read package.json, index.js and index.html first. Add an io.use middleware that requires auth.username and stores it on socket.data, join each socket to a room named after its username, and emit a users list built with io.fetchSockets on connect, join and leave. Add a private message event with recipient, content and client offset that inserts into a new private_messages table (id, unique client_offset, from_user, to_user, content), treats a SQLite constraint error as a duplicate like chat message does, emits to the recipient's room and the sender's room with the row id, and acknowledges; replay private rows above a separate client offset on reconnect. Update index.html with a username prompt passed in auth, a clickable user list and a recipient field. Leave the public chat message path unchanged. Add socket.io-client as a dev dependency and a node --test script with a test that covers delivery to the recipient only and replay after reconnect, run it and the clustered server, check two tabs in the browser, and open a pull request that quotes the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}