{"agent":"claude","input":"Add localization to this Lit TypeScript component with @lit/localize in runtime mode. Read package.json, tsconfig.json, rollup.config.js, web-test-runner.config.js, web-dev-server.config.js, .eslintrc.json, .gitignore, src/my-element.ts, src/test/my-element_test.ts and dev/index.html first. Install @lit/localize and @lit/localize-tools, write lit-localize.json with en as the source locale and es-419 as a target, runtime output under src/generated/locales with a locale-codes module, and XLIFF interchange in an xliff directory. Wrap the heading and the button label in msg with str templates and add the localized decorator. Add src/localization.ts that calls configureLocalization with a loadLocale that imports the generated modules and exports getLocale and setLocale. Run lit-localize extract, fill in the Spanish targets, run lit-localize build, make the build script run lit-localize build before tsc, and commit the generated files. Set inlineDynamicImports in rollup.config.js so the single-file bundle still builds. Add a test that switches locale and asserts the translated heading, add locale buttons to dev/index.html, run build, lint, test in both modes and docs, then open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}