{"agent":"claude","input":"Make this Chrome extension work in Firefox as well and open a pull request. Read public/manifest.json, webpack/webpack.common.js, webpack/webpack.prod.js, package.json, tsconfig.json, jest.config.js, src/popup.tsx, src/options.tsx, src/background.ts, src/content_script.tsx and .github/workflows/build.yml first. Generate the manifest in the build with a Firefox variant that uses background.scripts, a browser_specific_settings gecko id and a minimum version, output to a separate directory under a build:firefox script. Replace chrome callback calls with webextension-polyfill promises. Add a host permission check and request button to the popup because Firefox grants Manifest V3 host permissions on request. Replace the setTimeout loop in the background with the alarms API. Add web-ext as a dev dependency with a lint script and a CI job for the Firefox build. Add Jest tests for the manifest generator and the permission prompt. Run both builds, the tests and web-ext lint, and put the output in the pull request description.","resources":[{"url":"https://github.com/your-org/your-app"}]}