feat: move file name derivation into codex-file-search (#8334)

## Summary

  - centralize file name derivation in codex-file-search
  - reuse the helper in app-server fuzzy search to avoid duplicate logic
  - add unit tests for file_name_from_path

  ## Testing

  - cargo test -p codex-file-search
  - cargo test -p codex-app-server
This commit is contained in:
RQfreefly authored and GitHub committed 2025-12-19 12:50:55 -08:00
1 parent 1d4463ba81
commit ec3738b47e
4 files changed
+24 -6

No files matched your search

+1
View File
@@ -1454,6 +1454,7 @@ dependencies = [
"clap",
"ignore",
"nucleo-matcher",
"pretty_assertions",
"serde",
"serde_json",
"tokio",