{"agent":"claude","input":"Add account deletion to this app. Read lib/db/schema.ts, lib/db/migrations/0000_initial.sql, lib/db/queries.ts, app/(auth)/auth.ts, app/(auth)/actions.ts, components/chat/sidebar-user-nav.tsx, components/chat/sign-out-form.tsx and tests/e2e/auth.test.ts first. Add deleteUserById to queries.ts that deletes, inside one transaction and in the order the foreign keys allow, the user's suggestions, documents, votes, messages, streams, chats and then the user; reuse the steps deleteAllChatsByUserId already takes. Add a deleteAccount server action that reads the session, refuses without one or for a guest, calls the query and signs out. Add a Delete account item with a confirmation to the user menu, hidden for guests. Do not add a migration or change the schema. Add a Playwright test in tests/e2e/auth.test.ts that registers, deletes the account and confirms the login fails. Run pnpm check and the auth spec against a migrated Postgres, quote the results, and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}