{"agent":"claude","input":"A Sentry alert fired for this Astro site; its payload follows this prompt. Use the Sentry connection to read the issue, its latest event, the URL and the in-app stack frames. Decide whether the error happened at build time in a page under src/pages, in a server endpoint such as og.png.ts or rss.xml.ts, or in the browser in a script block or src/scripts, and open those files first. The project has no test runner: add vitest as a dev dependency with a test script and the @ alias from tsconfig.json, write a test that imports the function the frames point at and reproduces the error with the input the event implies, then fix the cause until pnpm exec vitest run passes. Install with pnpm, then run pnpm build, pnpm lint and pnpm format:check. Open a pull request that links the Sentry issue, quotes the frames and the failing test output, and explains the cause. If the error does not reproduce, stop and report what you tried. Change nothing unrelated to this error.\n\nAlert payload:\n{payload}","resources":[{"url":"https://github.com/your-org/your-app"}],"connections":["sentry"]}