{"agent":"claude","input":"Add Spanish (es) as a second language to this Astro site, as the linked issue asks. Read astro.config.ts, astro-paper.config.ts, src/i18n/types.ts, src/i18n/index.ts, src/i18n/lang/en.ts, src/layouts/Layout.astro, src/components/Header.astro, src/utils/getPostPaths.ts, src/content.config.ts and the pages under src/pages first. Add es to i18n.locales, write src/i18n/lang/es.ts implementing every key of UIStrings, add src/pages/es/ with localised versions of the index, posts, tags, archives, search, about and 404 pages that reuse the existing layouts and components, add an optional lang field to the posts schema that defaults to the site language and filter each localised listing by it, add a Spanish about page to the pages collection, add a language switcher to Header.astro using getRelativeLocaleUrl, and pass the locale map to the sitemap integration. Run pnpm run lint, pnpm run format:check and pnpm run build, which includes astro check and pagefind, then open the preview in the browser and load the Spanish home, a post and the about page. Open a pull request that links the issue and lists every file added or changed.","resources":[{"url":"https://github.com/your-org/your-app"}]}