Skip to content

refactor(core): split file system path rules#174

Merged
haasonsaas merged 1 commit into
mainfrom
codex/file-system-paths-split-20260526
May 26, 2026
Merged

refactor(core): split file system path rules#174
haasonsaas merged 1 commit into
mainfrom
codex/file-system-paths-split-20260526

Conversation

@haasonsaas
Copy link
Copy Markdown
Contributor

Summary

  • move managed-file path resolution, filename validation, supported extension lists, and read-memory preview helpers into crates/browser-use-core/src/file_system/paths.rs
  • preserve existing internal/test-facing re-exports for resolve_file_action_path and supported_text_extensions
  • reduce crates/browser-use-core/src/file_system.rs from 1,173 lines on main to 840 lines

Validation

  • cargo check -p browser-use-core
  • cargo test -p browser-use-core file --lib
  • cargo test -p browser-use-core --lib
  • cargo fmt --check
  • git diff --check

@haasonsaas haasonsaas merged commit 5f2f3f7 into main May 26, 2026
3 checks passed
@haasonsaas haasonsaas deleted the codex/file-system-paths-split-20260526 branch May 26, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant