mirror of
https://github.com/browser-use/browser-use
synced 2026-05-06 17:52:15 +02:00
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>