# UnifiedFiler v1.9.8-fix1 Notes

This fix aligns FilePicker and FileSaver with the FileExplorer This Device behavior.

## Changes

- This Device / LocalDisk now shows a local-folder attach card when no local folder is mounted.
- FilePicker uses the mounted local folder for browsing and selecting files/folders.
- FileSaver uses the mounted local folder as the save destination and writes through `LocalDiskAdapter.write()`.
- `showOpenFilePicker()` / `showSaveFilePicker()` one-off fallback is no longer the default dialog workflow. Hosts can explicitly enable it with `localFileFallback: true` or `localSaveFallback: true`.
- LocalDiskAdapter now sanitizes File System Access API `types.accept` metadata to avoid passing MIME patterns like `text/*` as extensions.

## Host API

- `FilePickerControl.mountStorage(adapterId)`
- `FileSaverControl.mountStorage(adapterId)`

## Browser note

The folder attach workflow uses `window.showDirectoryPicker()`. Browsers that do not support File System Access API can still use the opt-in one-off fallback modes where appropriate.
