{"agent":"claude","input":"Write snapshot and unit tests for this Textual application. Read pyproject.toml, src/toolong/cli.py, ui.py, log_view.py, log_lines.py, format_parser.py, timestamps.py and help.py first. Add pytest and pytest-textual-snapshot to the Poetry dev group and a testpaths setting in pyproject.toml. Create tests/fixtures/access.log with a few Apache combined log lines and tests/fixtures/app.jsonl with a few JSON lines. In tests/test_snapshots.py use the snap_compare fixture with a fixed terminal_size on a non-running UI instance for: the viewer on the access log, the viewer on the JSONL file, the help screen after pressing f1, the find dialog after its key, two files as tabs, and two files merged, using run_before to wait for lines to load where needed. In tests/test_format_parser.py and tests/test_timestamps.py write unit tests for the combined, JSON and default formats and for TimestampScanner. Never test the stdin piping path in cli.py. Run pytest --snapshot-update once, inspect every SVG under tests/__snapshots__, run pytest again without the flag, refresh poetry.lock, and open a pull request that lists each test and attaches the snapshots.","resources":[{"url":"https://github.com/your-org/your-app"}]}