{"agent":"claude","input":"This project prints \"[DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed\" or fails to clean a directory on a newer Node.js. Find every call to fs.rmdir, fs.rmdirSync, fs.promises.rmdir and any rmdir imported from fs or fs/promises that passes a recursive option, in source, scripts and build tooling. Ignore calls without the option. For each call, record where the path comes from (a constant, a config value, an environment variable, user input) and whether the code assumes the path exists. Replace each with the matching fs.rm, fs.rmSync or fs.promises.rm call using { recursive: true, force: true }, and remove existence checks that force makes redundant. Where the old code relied on an error for a missing path, keep that by leaving force off, and say so. Note for each call that fs.rm also deletes a regular file where rmdir would have thrown, and flag any call whose path is not fixed by the program. Then verify: install dependencies, and run the project's build or clean script twice in a row on the oldest Node.js version the project supports and on the newest release available, running with --throw-deprecation on the versions that still warn, so any remaining deprecated call fails loudly. If package.json has no engines field, propose one whose minimum is at least 14.14.0. Report any native dependency that failed to install on a version you tried. Open a pull request with each call, its replacement, and the commands and output from both runs on each version.","resources":[{"url":"https://github.com/your-org/your-app"}]}