{"agent":"codex","input":"Add a sitemap and robots.txt to this React Router app and open a pull request. Read package.json, react-router.config.ts, vite.config.ts, app/routes.ts, app/root.tsx, app/routes/home.tsx and the public directory first. Add resource routes app/routes/sitemap[.]xml.ts and app/routes/robots[.]txt.ts, each exporting only a loader, and register them in app/routes.ts as sitemap.xml and robots.txt. Build the sitemap's loc values from a SITE_URL environment variable, falling back to the request origin, over a list of public paths exported from a new app/sitemap.ts with a function for dynamic entries. Return application/xml with a Cache-Control header for the sitemap and text/plain for robots.txt, which must include a Sitemap line. Run npm run typecheck, npm run build and npm run start, fetch both URLs with curl -i and paste the responses in the pull request. Do not change root.tsx or the home route.","resources":[{"url":"https://github.com/your-org/your-app"}]}