{"agent":"claude","input":"Migrate this Node.js app from the aws-sdk v2 package to the modular AWS SDK v3 clients. Read package.json, the lockfile and every file that requires aws-sdk or a package that takes an S3 client, such as multer-s3. List each service client, each operation, every use of .promise(), aws.config.update, and each response field the code reads. You have no AWS credentials. Write a small local HTTP server that implements, path-style, just the S3 operations this app calls, with cases for an empty bucket and a missing key, and point the SDK at it with an endpoint override. Install from the lockfile and, on the unchanged code, call every route against it and record status, body and whether the process survives. Then port: one S3Client configured explicitly with region and credentials, Command objects with send(), streams for object bodies, and whatever version of multer-s3 works with a v3 client. Do not change route paths or response bodies. Repeat the same calls and show the results side by side. For each response field you listed, say whether its type or its value for an empty result changed. Remove aws-sdk, run npm install, and report node_modules size and npm audit before and after. Report the Node version the new packages require. Fix a crash you can reproduce only in a separate commit. Add the route checks as a test script. Open a pull request with every command and its output.","resources":[{"url":"https://github.com/your-org/your-app"}]}