dcbe640fae
Adds the duplicate-detection UI: - api/duplicates.ts: getDuplicates / dismissDuplicate / resolveDuplicate, plus the cluster and merge-field types. - /files/duplicates: an offset-paginated list of clusters. Each cluster shows its files (auth-loaded thumbnails via a reusable Thumb component); the user clicks a file to mark it the survivor, then per other file: Merge, Delete, or "Not a dup" (dismiss). The list reloads after each action so it stays consistent with the rescan-gated server state. - DuplicateMergeDialog: a bottom sheet to merge two files field-by-field — each scalar from the kept or other file, metadata keep/other/merge, tags & pools keep-or-union, with a swap-survivor toggle and an optional trash-the-other box. - Entry point: a Duplicates action in the files Header next to Trash. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sv
Everything you need to build a Svelte project, powered by sv.
Creating a project
If you're seeing this, you've probably already done this step. Congrats!
# create a new project
npx sv create my-app
To recreate this project with the same configuration:
# recreate this project
npx sv@0.13.2 create --template minimal --types ts --install npm frontend
Developing
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.