{"agent":"claude","input":"Convert this Manifest V3 Chrome extension from JavaScript to TypeScript. Read manifest.json, every .js and .html file in the extension, README.md, and the repository root's package.json, eslint.config.js and .prettierrc.json first. Move the scripts to src/*.ts and add a tsconfig.json with strict mode, ES2022 target and lib with DOM, chrome-types as the types, and dist as the output; add a package.json in the extension directory with typescript and chrome-types as dev dependencies and a build script that runs tsc and copies the manifest, HTML, CSS and icons into dist. Keep the scripts as classic scripts, not modules. Type the DOM lookups with querySelector generics, narrow window.open and tab ids, type the rule objects as chrome.declarativeNetRequest.Rule and make the condition type a literal union. Delete the old .js files, ignore dist in .gitignore, ESLint and Prettier, and update the README's load-unpacked path. Run npm run build, the root npm run lint, and a Puppeteer smoke check that loads dist and reads getDynamicRules from the service worker. Open a pull request with the tsc, lint and smoke-check output.","resources":[{"url":"https://github.com/your-org/your-app"}]}