{"agent":"claude","input":"Persist user settings in this Textual app. Read src/toolong/cli.py, src/toolong/ui.py, src/toolong/log_view.py, src/toolong/log_lines.py, src/toolong/find_dialog.py and pyproject.toml first. Add src/toolong/settings.py with a dataclass holding show_line_numbers, tail, regex and case_sensitive, and load and save functions that use settings.json in the user config directory from platformdirs, overridable with a TOOLONG_SETTINGS path. A missing or corrupt file gives the defaults and a logged warning. Load once in UI.__init__, seed LogView's reactives and the find dialog's checkboxes from the saved values, and save when show_line_numbers, tail (only while can_tail), regex or case_sensitive change, writing through a temporary file and os.replace. Add pytest and pytest-asyncio to the dev group and write tests/test_settings.py using App.run_test and the pilot: toggling line numbers writes the file, a fresh app reads it back, a corrupt file falls back to defaults, and the regex checkbox is saved. Run poetry install, poetry run pytest and poetry run tl --help, document the file in README.md, and open a pull request with the output.","resources":[{"url":"https://github.com/your-org/your-app"}]}