Releases: sanqiufong/slides-from-anything
Releases · sanqiufong/slides-from-anything
v1.0.3 — Fix OpenPPT vault-preview image loading
Fix: OpenPPT vault‑tab preview images now load
The daemon served vault preview HTML with relative assets/… paths plus a <base href> pointing at the standalone vault file route, which 404s on the daemon origin — so the OpenPPT Design Vault tab template‑preview <img> broke inside the iframe.
rewriteVaultPreviewHtml now:
- strips the broken
<base>tag, and - rewrites both absolute
/api/designs/<slug>/(asset|file)/…and relativeassets/…references to the daemon's/api/vault/designs/<slug>/asset?path=…endpoint.
It runs on both the local and external‑proxy preview paths, so production (community / packaged) is covered. Regression test added (daemon suite 797 passing).
v1.0.2 — Design Vault preview quality + Motion Choreography v1
Design Vault preview quality + Motion Choreography v1
Previews now lead with the real source screenshot instead of an LLM‑reimagined specimen:
- Clean screenshot‑led cards for websites (drop the redundant dark caption/gradient overlay).
- Fixed hero selection — never a logo or a desaturated intro frame as the hero.
- Additive
previewStrategy.heroAssetoverride: swaps a void intro hero for the earliest content viewport carrying the brand color.
Title & tag hygiene
- Strip nav/archetype boilerplate from display titles (e.g.
… - EarlyDogMenu Close→EarlyDog CloudOps). - Keep the internal
source-derived … systemarchetype out of user‑facing tag chips. - Remove hardcoded donor content (Vercel Ship / Astro Dither / Phantom / GT Mechanik) from fallback renderers; delete dead donor PPT renderers.
Color
- Deterministic accent‑palette floor so regenerated designs keep every saturated identity color.
- Propagate the widened palette to OpenPPT (contracts + daemon system prompt:
vaultAccentPalette).
Motion Choreography v1 — additive, flag‑gated (OD_MOTION_CHOREOGRAPHY, default on)
- Deterministic page‑level motion plan (entrance order/stagger/easing, transitions, page‑transition) derived from already‑captured evidence — no video decoding, no new dependencies.
- Surfaced in
design.mdand the PPT deck prompt; the disabled path is byte‑identical.
Acceptance: typecheck + guard green · daemon (796) + web (288) tests pass · design‑vault audits pass (14/14).