{"agent":"claude","input":"Write CLI tests for this Typer app. Read pyproject.toml, uv.lock, .python-version, README.md and main.py first, then run the CLI with uv run python main.py --help and against a scratch directory to see what it actually does: how a single @app.command is invoked, where error messages go and with which exit codes, how hidden files and directories are counted with and without --include-hidden, what --max-ext-length, --sort, --top, --tree and --show-examples change, and what --export-json writes. Add pytest to a dev dependency group and pythonpath = [\".\"] under tool.pytest.ini_options, then write tests/test_cli.py with typer.testing.CliRunner and tmp_path fixtures that pin each of those behaviours, including the exit code and message for a missing directory, a file path and an invalid --sort, and the JSON document's keys and counts. Pin current behaviour and mark anything that looks unintended with a comment; do not change main.py. Run uv run pytest on the pinned Python and open a pull request that pastes the output and notes any mismatch between the README and the CLI.","resources":[{"url":"https://github.com/your-org/your-app"}]}