{"agent":"claude","input":"Replace the appdirs package with platformdirs in this Python project. First list every import of appdirs and every call, with its exact arguments (appname, appauthor, version, roaming, multipath) and what the code stores in the returned directory. List every other place the package is named: setup.py or pyproject, requirements files, tox.ini, conda environment files, CI workflows, docs and type stub packages such as types-appdirs. Run the existing tests and save the output; install any system tool the CI workflow installs first. Before editing, install both libraries in one environment and write a throwaway script that calls each directory function this project uses, with this project's arguments, through both libraries, and prints both paths and whether they are equal. Do it for Linux directly, and for macOS and Windows by evaluating each library's platform-specific implementation with the home, LOCALAPPDATA and APPDATA locations supplied by hand; label those rows as computed, not observed. Also run it for user_data_dir, user_config_dir, user_cache_dir, user_state_dir, user_log_dir and site_data_dir whether or not the project calls them, and report any row that differs. If a directory the project actually uses would move on any platform, stop and report it with both paths instead of changing the dependency. Otherwise make the change everywhere the package is named, keeping the same function calls. Read the Python versions the project supports from its classifiers, tox envlist and CI matrix, find which platformdirs release pip would select on the oldest one, and confirm that release has every function the code calls; add a lower bound only if one is needed and say why. Run the tests again. Do not commit the comparison script; put its output in the pull request. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}