LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Merge slideshow-titles into slideshow-templates (origin/main: headless sessions load main's SAM3 model and the slide templates; format-locale keys from both; whats-new and tracker summary)
Jason Baldwinb061563383b8
diff --cc crates/mcp/src/headless.rsindex d939002b9,1a55be6b6..a20dabba0--- a/crates/mcp/src/headless.rs+++ b/crates/mcp/src/headless.rs@@@ -32,9 -32,8 +32,8 @@@ impl Drop for Headlessimpl Default for Headless {fn default() -> Self {- Self::new(- Session::new().with_fs().with_default_denoise_models().with_system_clock().with_default_face_models().with_default_slide_templates(),- )+ let session = Session::new().with_fs().with_default_denoise_models().with_system_clock().with_default_face_models();- Self::new(session.with_default_sam3_model())++ Self::new(session.with_default_sam3_model().with_default_slide_templates())}}@@@ -45,14 -44,8 +44,8 @@@ impl Headless/// A headless session with the procedurally generated demo library.pub fn demo() -> Self {- Self::new(- Session::with_demo()- .with_fs()- .with_default_denoise_models()- .with_system_clock()- .with_default_face_models()- .with_default_slide_templates(),- )+ let session = Session::with_demo().with_fs().with_default_denoise_models().with_system_clock().with_default_face_models();- Self::new(session.with_default_sam3_model())++ Self::new(session.with_default_sam3_model().with_default_slide_templates())}fn photo_or_active(&self, p: &Value) -> Result<PhotoId, String> {diff --cc crates/ui-egui/locales/de-formats.jsonindex ed7549c32,f5f1b88e3..484752fb6--- a/crates/ui-egui/locales/de-formats.json+++ b/crates/ui-egui/locales/de-formats.json@@@ -229,13 -231,7 +231,16 @@@"1 task is still running: {names}. Quitting stops it.": "1 Aufgabe läuft noch: {names}. Beenden bricht sie ab.","{n} tasks are still running: {names}. Quitting stops them.": "{n} Aufgaben laufen noch: {names}. Beenden bricht sie ab.","{what} merge cancelled": "{what}-Zusammenfügung abgebrochen",+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "Übersprungen: {n} lokale Fotos{0:.0} – Alben enthalten Bibliotheksfotos (zuerst zu „Meine Fotos“ hinzufügen)",+ "New Folder in “{name}”": "Neuer Ordner in „{name}“",- "Moved {} photo(s)": "{} Foto(s) verschoben"++ "Moved {} photo(s)": "{} Foto(s) verschoben",+ "Applied {name}": "{name} angewendet",+ "Delete “{name}”?": "„{name}“ löschen?",+ "Updated {name}": "{name} aktualisiert",+ "Exported to {path}": "Exportiert nach {path}",+ "Saved template {name}": "Vorlage {name} gespeichert",+ "Imported {name}": "{name} importiert",+ "Skipped {problem}": "Übersprungen: {problem}",+ "…and {more} more": "…und {more} weitere",+ "Template preview: {name}": "Vorlagenvorschau: {name}"}diff --cc crates/ui-egui/locales/es-formats.jsonindex 167288981,f2abad69c..b55db9157--- a/crates/ui-egui/locales/es-formats.json+++ b/crates/ui-egui/locales/es-formats.json@@@ -229,13 -231,7 +231,16 @@@"1 task is still running: {names}. Quitting stops it.": "1 tarea sigue en curso: {names}. Salir la detiene.","{n} tasks are still running: {names}. Quitting stops them.": "{n} tareas siguen en curso: {names}. Salir las detiene.","{what} merge cancelled": "Combinación {what} cancelada",+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "Fotos locales omitidas: {n}{0:.0} — los álbumes contienen fotos de la biblioteca (añádelas primero a Mis fotos)",+ "New Folder in “{name}”": "Nueva carpeta en «{name}»",- "Moved {} photo(s)": "{} foto(s) movida(s)"++ "Moved {} photo(s)": "{} foto(s) movida(s)",+ "Applied {name}": "Se aplicó {name}",+ "Delete “{name}”?": "¿Eliminar «{name}»?",+ "Updated {name}": "Se actualizó {name}",+ "Exported to {path}": "Exportado a {path}",+ "Saved template {name}": "Plantilla {name} guardada",+ "Imported {name}": "Se importó {name}",+ "Skipped {problem}": "Omitido: {problem}",+ "…and {more} more": "…y {more} más",+ "Template preview: {name}": "Vista previa de la plantilla: {name}"}diff --cc crates/ui-egui/locales/fr-formats.jsonindex f5c7823fa,bc9d0ed2b..a350f4caa--- a/crates/ui-egui/locales/fr-formats.json+++ b/crates/ui-egui/locales/fr-formats.json@@@ -229,13 -231,7 +231,16 @@@"1 task is still running: {names}. Quitting stops it.": "1 tâche est encore en cours : {names}. Quitter l'arrête.","{n} tasks are still running: {names}. Quitting stops them.": "{n} tâches sont encore en cours : {names}. Quitter les arrête.","{what} merge cancelled": "Fusion {what} annulée",+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "Photos locales ignorées : {n}{0:.0} — les albums contiennent des photos de la bibliothèque (ajoutez-les d’abord à Mes photos)",+ "New Folder in “{name}”": "Nouveau dossier dans « {name} »",- "Moved {} photo(s)": "{} photo(s) déplacée(s)"++ "Moved {} photo(s)": "{} photo(s) déplacée(s)",+ "Applied {name}": "{name} appliqué",+ "Delete “{name}”?": "Supprimer « {name} » ?",+ "Updated {name}": "{name} mis à jour",+ "Exported to {path}": "Exporté vers {path}",+ "Saved template {name}": "Modèle {name} enregistré",+ "Imported {name}": "{name} importé",+ "Skipped {problem}": "Ignoré : {problem}",+ "…and {more} more": "…et {more} de plus",+ "Template preview: {name}": "Aperçu du modèle : {name}"}diff --cc crates/ui-egui/locales/ja-formats.jsonindex e40560762,b905a5afb..817592216--- a/crates/ui-egui/locales/ja-formats.json+++ b/crates/ui-egui/locales/ja-formats.json@@@ -229,13 -231,7 +231,16 @@@"1 task is still running: {names}. Quitting stops it.": "1件のタスクが実行中です:{names}。終了すると停止します。","{n} tasks are still running: {names}. Quitting stops them.": "{n}件のタスクが実行中です:{names}。終了すると停止します。","{what} merge cancelled": "{what}合成をキャンセルしました",+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "ローカル写真{n}枚をスキップしました{0:.0}:アルバムに入れられるのはライブラリの写真です(先にマイフォトに追加してください)",+ "New Folder in “{name}”": "「{name}」に新規フォルダ",- "Moved {} photo(s)": "{} 枚の写真を移動しました"++ "Moved {} photo(s)": "{} 枚の写真を移動しました",+ "Applied {name}": "{name} を適用しました",+ "Delete “{name}”?": "「{name}」を削除しますか?",+ "Updated {name}": "{name} を更新しました",+ "Exported to {path}": "{path} に書き出しました",+ "Saved template {name}": "テンプレート {name} を保存しました",+ "Imported {name}": "{name} を読み込みました",+ "Skipped {problem}": "スキップ: {problem}",+ "…and {more} more": "…ほか {more} 件",+ "Template preview: {name}": "テンプレートのプレビュー: {name}"}diff --cc crates/ui-egui/locales/pt-br-formats.jsonindex 6b5b32988,15debd727..90df29fbc--- a/crates/ui-egui/locales/pt-br-formats.json+++ b/crates/ui-egui/locales/pt-br-formats.json@@@ -229,13 -231,7 +231,16 @@@"1 task is still running: {names}. Quitting stops it.": "1 tarefa ainda está em andamento: {names}. Sair a interrompe.","{n} tasks are still running: {names}. Quitting stops them.": "{n} tarefas ainda estão em andamento: {names}. Sair as interrompe.","{what} merge cancelled": "{what} mesclagem cancelada",+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "Fotos locais ignoradas: {n}{0:.0} — álbuns contêm fotos da biblioteca (adicione-as às Minhas fotos primeiro)",+ "New Folder in “{name}”": "Nova pasta em “{name}”",- "Moved {} photo(s)": "{} foto(s) movida(s)"++ "Moved {} photo(s)": "{} foto(s) movida(s)",+ "Applied {name}": "{name} aplicado",+ "Delete “{name}”?": "Excluir “{name}”?",+ "Updated {name}": "{name} atualizado",+ "Exported to {path}": "Exportado para {path}",+ "Saved template {name}": "Modelo {name} salvo",+ "Imported {name}": "{name} importado",+ "Skipped {problem}": "Ignorado: {problem}",+ "…and {more} more": "…e mais {more}",+ "Template preview: {name}": "Prévia do modelo: {name}"}diff --cc crates/ui-egui/locales/ru-formats.jsonindex 177857dc4,a7ff2a355..ee8b6aaa4--- a/crates/ui-egui/locales/ru-formats.json+++ b/crates/ui-egui/locales/ru-formats.json@@@ -229,13 -231,7 +231,16 @@@"1 task is still running: {names}. Quitting stops it.": "Ещё выполняется задача: {names}. Выход прервёт её.","{n} tasks are still running: {names}. Quitting stops them.": "Ещё выполняется задач: {n} — {names}. Выход прервёт их.","{what} merge cancelled": "{what}: слияние отменено",+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "Пропущено локальных фото: {n}{0:.0} — в альбомах только фото из библиотеки (сначала добавьте их в «Мои фото»)",+ "New Folder in “{name}”": "Новая папка в «{name}»",- "Moved {} photo(s)": "Перемещено фото: {}"++ "Moved {} photo(s)": "Перемещено фото: {}",+ "Applied {name}": "Применено: {name}",+ "Delete “{name}”?": "Удалить «{name}»?",+ "Updated {name}": "Обновлено: {name}",+ "Exported to {path}": "Экспортировано в {path}",+ "Saved template {name}": "Шаблон {name} сохранён",+ "Imported {name}": "Импортировано: {name}",+ "Skipped {problem}": "Пропущено: {problem}",+ "…and {more} more": "…и ещё {more}",+ "Template preview: {name}": "Просмотр шаблона: {name}"}diff --cc crates/ui-egui/locales/uk-formats.jsonindex d334f2649,e846acab3..65abda2b4--- a/crates/ui-egui/locales/uk-formats.json+++ b/crates/ui-egui/locales/uk-formats.json@@@ -229,13 -231,7 +231,16 @@@"1 task is still running: {names}. Quitting stops it.": "1 завдання ще виконується: {names}. Вихід зупинить його.","{n} tasks are still running: {names}. Quitting stops them.": "Ще виконуються завдання ({n}): {names}. Вихід зупинить їх.","{what} merge cancelled": "Об’єднання {what} скасовано",+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "Пропущено локальних фото: {n}{0:.0} — в альбомах лише фото з бібліотеки (спершу додайте їх до моїх фото)",+ "New Folder in “{name}”": "Нова тека в «{name}»",- "Moved {} photo(s)": "Переміщено фото: {}"++ "Moved {} photo(s)": "Переміщено фото: {}",+ "Applied {name}": "Застосовано: {name}",+ "Delete “{name}”?": "Видалити «{name}»?",+ "Updated {name}": "Оновлено: {name}",+ "Exported to {path}": "Експортовано до {path}",+ "Saved template {name}": "Шаблон {name} збережено",+ "Imported {name}": "Імпортовано: {name}",+ "Skipped {problem}": "Пропущено: {problem}",+ "…and {more} more": "…і ще {more}",+ "Template preview: {name}": "Перегляд шаблону: {name}"}diff --cc crates/ui-egui/locales/zh-hans-formats.jsonindex 0d6aa11ef,8cf3a7d86..e58415aca--- a/crates/ui-egui/locales/zh-hans-formats.json+++ b/crates/ui-egui/locales/zh-hans-formats.json@@@ -229,13 -231,7 +231,16 @@@"1 task is still running: {names}. Quitting stops it.": "仍有 1 个任务在运行:{names}。退出将停止它。","{n} tasks are still running: {names}. Quitting stops them.": "仍有 {n} 个任务在运行:{names}。退出将停止它们。","{what} merge cancelled": "已取消 {what} 合并",+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "已跳过 {n} 张本地照片{0:.0}:相册只能收录图库中的照片(请先添加到我的照片)",+ "New Folder in “{name}”": "在“{name}”中新建文件夹",- "Moved {} photo(s)": "已移动 {} 张照片"++ "Moved {} photo(s)": "已移动 {} 张照片",+ "Applied {name}": "已应用 {name}",+ "Delete “{name}”?": "删除“{name}”?",+ "Updated {name}": "已更新 {name}",+ "Exported to {path}": "已导出到 {path}",+ "Saved template {name}": "已保存模板 {name}",+ "Imported {name}": "已导入 {name}",+ "Skipped {problem}": "已跳过:{problem}",+ "…and {more} more": "…还有 {more} 个",+ "Template preview: {name}": "模板预览:{name}"}diff --cc crates/ui-egui/locales/zh-hant-formats.jsonindex e3e30a19b,75981129b..5b021a9e5--- a/crates/ui-egui/locales/zh-hant-formats.json+++ b/crates/ui-egui/locales/zh-hant-formats.json@@@ -229,13 -231,7 +231,16 @@@"1 task is still running: {names}. Quitting stops it.": "仍有 1 個工作在執行:{names}。結束將停止它。","{n} tasks are still running: {names}. Quitting stops them.": "仍有 {n} 個工作在執行:{names}。結束將停止它們。","{what} merge cancelled": "已取消{what}合併",+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "已略過 {n} 張本機照片{0:.0}:相簿只能收錄圖庫中的照片(請先加入我的照片)",+ "New Folder in “{name}”": "在「{name}」中新增資料夾",- "Moved {} photo(s)": "已移動 {} 張照片"++ "Moved {} photo(s)": "已移動 {} 張照片",+ "Applied {name}": "已套用 {name}",+ "Delete “{name}”?": "刪除「{name}」?",+ "Updated {name}": "已更新 {name}",+ "Exported to {path}": "已匯出到 {path}",+ "Saved template {name}": "已儲存範本 {name}",+ "Imported {name}": "已匯入 {name}",+ "Skipped {problem}": "已略過:{problem}",+ "…and {more} more": "…還有 {more} 個",+ "Template preview: {name}": "範本預覽:{name}"}diff --cc docs/control-protocol.mdindex bee1fa1d9,89abc10da..cd4ea38a4--- a/docs/control-protocol.md+++ b/docs/control-protocol.md@@@ -80,13 -80,17 +80,21 @@@ filmstrip is visible| `engine.execute {command: "slideshow.layout"}` | `{margins?, marginLeft?, …, zoomToFill?, strokeBorder?, castShadow?, backdropColor?, colorWash?, backgroundImage?, …}` (see `engine.commands`) | The slideshow's slide layout (Layout, Options, Backdrop), saved with the library; omitted keys keep their value, `{}` reads it; out-of-range numbers are clamped, a wrong type or unknown key is refused and nothing changes || `engine.execute {command: "slideshow.overlays"}` | `{identityPlate?: {enabled?, text?, image?, size?, color?, opacity?, anchor?, offsetX?, offsetY?, relativeTo?, behind?}, ratingStars?: {enabled?, color?, size?, anchor?, …}, texts?: [{text?, size?, color?, opacity?, anchor?, offsetX?, offsetY?, relativeTo?, shadow?, shadowOpacity?, shadowOffset?, shadowRadius?, shadowAngle?}], addText?, removeText?, showWatermark?, watermark?}` (see `engine.commands`) | The overlays drawn on every slide, saved with the library: sizes and offsets are fractions of the slide's shorter side, anchors `topLeft`…`bottomRight` of the `slide` or the `photo`; text overlays expand tokens (`{caption}`, `{exposure}`, `{date}`, the file-naming tokens…; unknown tags show as typed); `watermark` takes the export watermark's keys. Replies with the settings and `warnings` || `engine.execute {command: "slideshow.titles"}` | `{intro?: screen, ending?: screen}`, a screen being `{enabled?, color?, content?: "none"\|"identityPlate"\|"text", text?, overrideColor?, textColor?, scale?, duration?: seconds\|null}` | The intro and ending screens, saved with the library: a background colour and, centred, the Overlays identity plate or the screen's own text, in the plate's colour or `textColor` when `overrideColor` is on, `scale` = its height as a fraction of the slide's shorter side; `duration` null = the slide duration. The intro plays once before the first photo, the ending after the last when repeat is off. Replies with the settings and `warnings` |-| `engine.execute {command: "slideshow.preview"}` | `{id?, title?, width?, height?, path?}` | One slide composed with the layout and overlays, as the slideshow plays it (with `title: "intro"\|"ending"`, that title screen instead → `{title, enabled, width, height, plate}`): a PNG written to `path`, or returned base64 in `png` without one; `{id, width, height, cell, photo, overlays}` (`cell` and `photo` are `[x0, y0, x1, y1]` in slide pixels; `overlays` lists `{kind, box}` for each drawn overlay). Sides 16–4096; one side given takes the other from the aspect preview |+| `engine.execute {command: "slideshow.preview"}` | `{id?, title?, template?, width?, height?, path?}` | One slide composed with the layout and overlays, as the slideshow plays it (with `template: id`, with that template's settings instead, leaving the library's alone: the Template Browser's hover preview) (with `title: "intro"\|"ending"`, that title screen instead → `{title, enabled, width, height, plate}`): a PNG written to `path`, or returned base64 in `png` without one; `{id, width, height, cell, photo, overlays}` (`cell` and `photo` are `[x0, y0, x1, y1]` in slide pixels; `overlays` lists `{kind, box}` for each drawn overlay). Sides 16–4096; one side given takes the other from the aspect preview |+| `engine.execute {command: "slideshow.templates.list"}` | `{}` | The Template Browser: `{templates: [{id, name, builtin, group, description?, path?}], previous, folder, problems}` — built-ins (`builtin:…`, our own designs) then user templates (`user:<file>`, files in `<settings>/slideshow-templates`, at most 1000); `problems` lists files skipped and why |+| `engine.execute {command: "slideshow.templates.apply"}` | `{id}` or `{name}`; `{id: "previous"}` | Replaces the playback (prepare previews kept), layout, overlays and titles settings with the template's, saved with the library. No undo: the replaced settings become `previous` for the session → `{applied, name, warnings, previous, settings}` (`warnings`: a background photo not in this library, an unreadable plate or watermark image…) |+| `engine.execute {command: "slideshow.templates.save"}` / `update` / `rename` / `delete` | `{name, replace?}` / `{id}` / `{id, name}` / `{id}` | Save the current settings as a user template (`<name>.json`; path separators and reserved characters become `_`, a taken or built-in name is refused unless `replace`), update one with the current settings, rename (its file follows), delete. Built-ins can't change |+| `engine.execute {command: "slideshow.templates.import"}` / `export` | `{path}` / `{id, path}` | Import a template `.json` (at most 256 KB; format, version and every setting checked; a taken name gets " (2)") → `{id, name, renamed, warnings}`; export any template as `.json` || `app.quit` | — | Close the app |+ White balance (`develop.set` with `wb.temp` / `wb.tint`, `develop.wb`, `develop.wbPick`) is in Kelvin and tint on+ raws with colour matrices — in the file (DNG) or measured for the camera model (`lightcraft_raw::spectral`; issue+ #730) — where As Shot reads the file's as-shot white; rendered files and raws without matrices use a relative scale+ whose 6500 K / 0 is the as-shot look (the Edit panel shows it as −100..+100). The stored `wb` of such a Kelvin raw+ says `"scale": "kelvin"`; a partial settings JSON given to `develop.merge` or a preset whose `wb` sets `temp` / `tint`+ **without** `scale` keeps the relative meaning it always had (6500 = as shot) on every raw, so agents that mean+ Kelvin on a Kelvin raw pass `"scale": "kelvin"` or use `develop.set` / `develop.wb`.+Image navigation is also available directly as the UI command `view.navigate`, with`{zoom?: "fit" | "fill" | {"percent": number}, pan?: [x, y]}`. Percentage zoom accepts fractionalvalues greater than 0 and at most 800; pan is the normalized image centre, with coordinates from 0 to 1.diff --cc docs/parity-checklist.mdindex e26118b57,c5176970d..bca6695ce--- a/docs/parity-checklist.md+++ b/docs/parity-checklist.md@@@ -49,13 -49,13 +49,13 @@@ cited here still exists. Formerly docs/| U. Map & location (MAP) | 0 | 1 | 1 | 0 | — | 0/1 (0%) || V. Preferences (PREF) | 6 | 2 | 2 | 2 | 1/1 (100%) | 4/5 (80%) || W. Cloud & AI infrastructure (CLOUD / AI) | 1 | 0 | 1 | 2 | — | — |- | X. Cross-cutting behaviours (BEHAV) | 18 | 6 | 1 | 1 | 8/8 (100%) | 6/9 (67%) |- | Y. Menus | 82 | 0 | 4 | 8 | 47/47 (100%) | 23/23 (100%) |- | Z. Keyboard shortcuts (desktop) | 75 | 3 | 3 | 1 | 49/52 (94%) | 23/24 (96%) |- | Lightroom Classic extras | 35 | 20 | 28 | 9 | — | 23/25 (92%) |- | **Total** | 399 | 54 | 66 | 36 | 192/200 (96%) | 143/155 (92%) |+ | X. Cross-cutting behaviours (BEHAV) | 23 | 6 | 1 | 1 | 8/8 (100%) | 7/10 (70%) |+ | Y. Menus | 84 | 0 | 4 | 8 | 47/47 (100%) | 23/23 (100%) |+ | Z. Keyboard shortcuts (desktop) | 76 | 3 | 3 | 1 | 49/52 (94%) | 23/24 (96%) |-| Lightroom Classic extras | 36 | 18 | 31 | 8 | — | 24/26 (92%) |-| **Total** | 409 | 52 | 69 | 35 | 192/200 (96%) | 145/157 (92%) |++| Lightroom Classic extras | 36 | 21 | 28 | 8 | — | 24/26 (92%) |++| **Total** | 409 | 55 | 66 | 35 | 192/200 (96%) | 145/157 (92%) |- Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **82.1%** of 519 in-scope rows — P0 98.0% of 200 · P1 95.2% of 155 · P2 50.0% of 163.-Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **82.1%** of 530 in-scope rows — P0 98.0% of 200 · P1 95.2% of 157 · P2 51.5% of 172.++Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **82.4%** of 530 in-scope rows — P0 98.0% of 200 · P1 95.2% of 157 · P2 52.3% of 172.<!-- /parity:summary -->## Top gaps and shortcut notesdiff --cc docs/whats-new.mdindex 2ec98299c,f67841250..2d4bff106--- a/docs/whats-new.md+++ b/docs/whats-new.md@@@ -2,27 -2,36 +2,55 @@@## 2026-10-11+ ### Open Library knows a Lightroom catalog+ - Choosing a Lightroom Classic catalog folder in File → Open Library… (or one of its `Previews.lrdata` /+ `.lrcat-data` folders, or the `.lrcat`) no longer makes an empty LightCraft library inside it (issue #891). The+ library open now stays, and LightCraft says "This is a Lightroom catalog, not a LightCraft library" and offers+ **Import Lightroom Catalog…** with that catalog, or Cancel. `lightcraft-cli --library` refuses those folders too.++ ### Canon EOS R5 Mark II+ - Canon EOS R5 Mark II C-RAW files that opened as "preview only" (more than half of them, depending on the+ scene) now develop from their sensor data with every editing tool, like the camera's other raws. Photos+ imported earlier switch over with Photo ▸ Reload from Disk.++ ### Switching libraries+ - File ▸ New Library… asks for a name, then where to put it, and opens the new library (issue #902).+ - File ▸ Open Recent Library lists the last 8 libraries; ones that are gone (moved, drive disconnected) are greyed+ out. Clear Recent Libraries empties the list.+ - The open library's name shows under My Photos at the top of the left panel and in the window title.+ - `lightcraft-cli --library` given a library's own file (`catalog.snap`) opens its folder instead of failing with+ "File exists".+ - Agents use `app.newLibrary {path, name}`, `app.recentLibraries` and `app.clearRecentLibraries`.++ ### Edit in PhotoCraft+ - Right-click a photo ▸ Edit In ▸ Edit in PhotoCraft (or Photo ▸ Edit In, ⇧⌘E) renders a copy with your edits, stacks it+ with the original and opens it in PhotoCraft. LightCraft finds PhotoCraft where its installer put it (Windows,+ macOS, Linux packages, AppImage, Flatpak), and says so if it isn't installed, before making a copy.+ - The copy is a 16-bit PSD by default, which PhotoCraft saves straight back to with File ▸ Save; when you come back to+ LightCraft the copy shows what you saved.+ - Settings ▸ General ▸ External Editing: the format (PSD or TIFF), colour space and bit depth for PhotoCraft and for+ the other editor (Edit in Other Editor, now ⌥⌘E), and where PhotoCraft is if you use a portable copy.+ - Export can write PSD too (flat, 8- or 16-bit).++### Slideshow templates+- Settings ▸ Slideshow now opens with a template browser, like Lightroom Classic's Template Browser. A template holds+ everything about how a slideshow looks and plays: the playback timing and fades, the layout, options and backdrop,+ the overlays and the intro and ending screens. Click one to apply it; point at one to see it on the selected photo in+ the preview beside it without changing anything.+- Five built-in templates of our own: Plain Black (the photo on black), Gallery Wall (a light wall, a white mat and a+ soft shadow, with the caption and rating under the photo), Edge to Edge (photos cropped to fill the screen), Cinema+ Wide (16:9 with black bars, the title in the corner, fades through black and a closing card) and Shooting Data (the+ exposure, ISO, focal length, camera and lens under each photo on a dark backdrop).+- Save the current settings as a template of your own; right-click it to update it with the current settings, rename,+ export or delete it, and import templates others share with you. Your templates are `.json` files in the settings+ folder's `slideshow-templates` folder, shared by all your libraries.+- Applying a template can't be undone with Edit ▸ Undo (slideshow settings are library preferences), so the settings it+ replaced are listed as "Previous settings" until you quit: click that to go back.+- A template file that can't be used (damaged, from a newer LightCraft, too large) is listed as skipped instead of+ stopping the others, and a template whose identity plate image or background photo isn't there still applies, with a+ note saying what is missing. Agents use `slideshow.templates.*`, and `slideshow.preview {template}` renders a template+ without applying it.+- ## 2026-10-10-### Slideshow intro and ending screens- A slideshow can now open with an intro screen and close with an ending screen, like Lightroom Classic's Titlespanel. Each is switched on on its own and has a background colour and, centred on it, your identity plate (the one