mirror of
https://github.com/nexu-io/openmotion.git
synced 2026-12-02 05:29:33 +08:00
* feat(skills): streamline unchanged template file delivery * test(ci): run unchanged template delivery regressions * fix(skills): exclude render outputs and caches from template packages HTML packaging for unchanged template delivery only filtered tool caches, so a project that had produced a Studio render shipped renders/*.mp4 (and dist/, output/ or arbitrary .hyperframes cache files) inside HTML/ and HTML.zip while the receipt still pinned the revision and claimed sourceUnchanged. Mirror the WorkspaceStore non-source directories and restrict .hyperframes to the pinned native entries plus history-id, so the package holds exactly the pinned source. Extend the delivery test fixture with render outputs and cache files and assert the receipt, the written tree and the ZIP contain only pinned source. Generated-By: looper 0.16.2 (runner=fixer, agent=pi) * fix(skills): reject unpinned drift and quoted CSS imports in template packaging HTML packaging accepted any file the workspace added after the pinned project read, so a native manifest or ordinary source written mid-delivery was shipped under the old revision with sourceUnchanged: true, and the second scan could not notice because both scans contained it. Packaging now requires the scanned source set to equal the pinned inventory plus editor-only metadata (.hyperframes/history-id), and dotted entries mirror WorkspaceStore caches. Quoted CSS @import targets were also missed by the dependency scan, so a missing or remote stylesheet still produced dependencies: "local". Quoted imports are now resolved relative to their containing file, including inside HTML <style>. Generated-By: looper 0.16.2 (runner=fixer, agent=pi) * fix(skills): scope quoted import validation to active CSS * fix(skills): ship vendored dist dependencies in template packages Excluding `dist` at any depth mirrored the WorkspaceStore revision and dropped files the page actually loads, so packaging `vendor/gsap-3.14.2/dist/gsap.min.js` was skipped and the dependency check then rejected decision-tree, nyt-graph and product-promo with MISSING_DEPENDENCY. Keep render outputs, node_modules and caches out of the package but treat store-ignored dist trees as packageable non-revision content: scan them, ship them, and allow them outside the pinned inventory while unpinned source additions still fail. Restore a `vendor/.../dist/...` dependency case in the delivery tests and describe the packaging rule accurately. Generated-By: looper 0.16.2 (runner=fixer, agent=pi) --------- Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com> Co-authored-by: 罗高 <luogao@users.noreply.github.com>