From 324f3a97ac5fb5b6f3d5ead205688fda5998f0d6 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 13 May 2026 17:47:49 -0400 Subject: [PATCH] Doc update --- documentation/TODO__Agents.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/documentation/TODO__Agents.md b/documentation/TODO__Agents.md index 9ba52989..ee85d7f6 100644 --- a/documentation/TODO__Agents.md +++ b/documentation/TODO__Agents.md @@ -20,19 +20,12 @@ guessing defaults. - [x] `native:copy-from-cache-to-temp` primitive added — copy to tmp, caller decides launch - [x] `native:launch-from-cache` executes a provided `native_template` string — AppleScript or `shell:` prefix; no Electron-side fallback - [x] `get_launch_profile()` in `launcher_file_cont.svelte` reads from device config then event config; resolves to a `native_template` string and passes it to `launch_from_cache` -- [x] Built-in Launcher defaults refactored into canonical profile names plus extension aliases +- [x] Built-in Launcher defaults refactored into canonical profile names plus extension aliases (`ae_launcher__default_launch_profiles.ts`) - [x] Device-level Launch Timing section added under Launcher Configuration → Device, with per-profile `launch_profiles[profile].post_delay_ms` overrides +- [x] **URL file launch support (2026-05-13)** — `event_file.extension = 'URL'` (or filename starting with `http://`/`https://`) is treated as a non-downloaded URL. Background sync skips URL files so they are never treated as cacheable hosted files. Shared `AE_Comp_Hosted_Files_Download_Button` now hard-bypasses the download path for URL records. In native mode, `handle_open_file()` routes to `native.open_external({ url, app: 'chrome' })` with `'default'` fallback. Health section crash fixed (guarded `native_device` against undefined in preview/edit mode). **Svelte-side migration — remaining before May 26:** -- [ ] **[Launcher] Built-in Svelte default profiles** — move the built-in presentation/media - policy objects into a Svelte constants file (e.g. `ae_launcher__default_launch_profiles.ts`). - Use canonical profile names plus extension aliases so the media family does not repeat the - same VLC config for every file type. Cover the core macOS set (`pptx`, `ppt`, `key`, `odp`, - `pdf`), the media set (`mp4`, `mkv`, `mp3`, and related media types), the Windows / - Parallels variants (`pptxwin`, `pptwin`, `odpwin`, `pdfwin`), and the URL/web-based - presentation path. Priority: `get_launch_profile()` already checks device config and event - config; add a 3rd fallback to these Svelte defaults before returning `null`. Keep the - fallback in Svelte, not in Electron. +- [x] **[Launcher] Built-in Svelte default profiles (2026-05-11)** — canonical profile constants live in `ae_launcher__default_launch_profiles.ts` with extension aliases and a `resolve_launch_profile()` 3-step fallback (device config → event config → built-in defaults). Covers macOS (`pptx`, `ppt`, `key`, `odp`, `pdf`), media (`mp4`, `mkv`, `mp3`, etc.), Windows/Parallels variants, and URL path. - [ ] **[Launcher] Composable open flow** — refactor `handle_open_file()` to use `copy_from_cache_to_temp` + `run_osascript` / `run_cmd` directly instead of the all-in-one `launch_from_cache`. Finer error handling at each step (verify copy succeeded before