{"agent":"claude","input":"Add a table of contents to the posts of this Astro blog and open a pull request. Read package.json, astro.config.ts, src/content.config.ts, src/pages/posts/[...slug]/index.astro, src/layouts/PostLayout.astro, src/i18n/lang/en.ts, src/i18n/types.ts and a few posts under src/content/posts first. Write src/components/TableOfContents.astro that takes the headings array render returns, keeps depth 2 and 3 with the third level nested, and renders a nav with a labelled heading and links to each slug, styled with the theme's Tailwind classes. Add an optional toc boolean to the posts schema that turns it off per post. Render the component in the post page between the date row and the article when the post has at least two headings, and skip it when a heading's text is Table of contents so posts that already use the remark plugin do not get two lists. Add the label to the i18n strings and types. Do not change astro.config.ts or any post. Run pnpm run lint, pnpm run format:check and pnpm run build, open a built post in the browser and check the links land on their headings, and paste the command output in the pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}