{"agent":"claude","input":"This Discord bot crashes at startup on discord.js 14 with a TypeError reading FLAGS, because the Intents export is gone. In a clean install from the lockfile, run node index.js with no token and record where it stops; then install discord.js 14, run it again and capture the TypeError with its line. Read what the installed 14 release exports rather than working from memory, and port the bot: GatewayIntentBits in place of Intents.FLAGS, isChatInputCommand in place of isCommand, EmbedBuilder in place of MessageEmbed if used, and REST, Routes and SlashCommandBuilder imported from discord.js instead of @discordjs/builders, @discordjs/rest and discord-api-types. Remove those three packages from package.json and set engines to the Node range discord.js 14 requires. Do not log in to Discord and do not register commands. Show that node index.js on 14 now reaches the token check, run the existing tests, and open a pull request listing each renamed export with file and line and both startup transcripts.","resources":[{"url":"https://github.com/your-org/your-app"}]}