{"agent":"claude","input":"On Node.js 22 this project fails with \"SyntaxError: Unexpected identifier 'assert'\". Find every import that uses an import assertion (assert { type: ... }) in sources, scripts and config files, including build tool configs that Node loads directly. For each one, say which npm script or command loads that file. Install dependencies from the lockfile, then run every script in package.json that could load an affected file, plus the test script, on Node 22, and report which fail and which pass; if the tests pass while the build fails, say so explicitly. Read package.json engines, .nvmrc and any CI files to learn which Node versions the project supports. If a minimum of Node 22 (or 20.10 / 18.20 and later) is declared, change assert to with. If no range is declared or older versions are included, replace the JSON import with reading and parsing the file through node:fs and import.meta.url, which works on every Node version with ES modules. Do not change the bundler, its plugins or their versions. Rebuild and compare the list of files in the output directory with what the config declares. If no CI job runs the build, propose one in the pull request description but do not add it. Open a pull request with the failing output, the passing output, the file list and the reason for the variant you chose.","resources":[{"url":"https://github.com/your-org/your-app"}]}