Files
browser-use/browser_use/filesystem
Magnus Müller e86182e11c feat(filesystem): add JSONL (JSON Lines) file support
Adds support for .jsonl file extension in the FileSystem class to enable
code-use mode to work with JSON Lines files (where each line is a valid
JSON object).

Changes:
- Added JsonlFile class implementing BaseFile interface
- Registered 'jsonl' extension in _file_types dictionary
- Updated external file reading to include .jsonl files
- Added state restoration support for JsonlFile
- Added comprehensive test coverage for JSONL file operations

Fixes issue where code agent rejected filenames like 'WebVoyager_data.jsonl'
with error "Invalid filename format. Must be alphanumeric with supported
extension."

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 10:07:07 -07:00
..
2025-05-31 17:30:21 +02:00