Download responses built the header in five places. Studio's render download and the shared studio host stripped quotes and non-ASCII from the plain parameter, but the diagnostics, integration-guide, asset, brand-kit and project-archive downloads did not, and the two sanitised sites disagreed on the delimiter set: one escaped ! alongside '()* and the other did not.
Node rejects CRLF with ERR_INVALID_CHAR, so this was never response splitting, but a bare quote passed straight through into a header value. Add shared/http-header.ts with the reasoning and route every site through it, including the render download, which keeps its portable OpenMotion<extension> plain name through the helper's override.
The override is sanitised inside the helper, so passing a plain name explicitly cannot bypass the rule. RFC 5987 attr-char technically allows !, and the shared encoder escapes the whole delimiter set anyway: percent-encoding an allowed character stays valid, and one predictable rule is easier to trust than a per-site choice.
Two sites still built their own header when this change first landed: the scenario bundle download ran a second sanitizer over the plain name and the Design Studio project download interpolated the raw name with only quotes removed. Both now use attachmentDisposition, with the scenario caller defaulting its name first, so no download response keeps a private rule that can drift from the shared one.
Covered by a unit test for the sanitiser and encoder, including an explicit override and the attr-char rationale, and by the server suite. The scenario bundle, scenario run, design project and archive suites run in CI; locally they need FFmpeg, symlink privileges and the refreshed dependency tree this checkout does not carry.
Validation:
- node --experimental-strip-types --test tests/server.test.ts
- npm run check
- node --test tests/ci-scope.test.mjs
Unify each template’s existing guide preview, preserve its authored content, support declared drafts and native project continuation, and register privacy-preserving guide analytics.
Includes reviewed retry, source-bundle, handbook and build-path fixes. Latest main conflicts are resolved; all 15 checks pass.
* Connect Explore, media scenes and studios in the creative workspace
* Keep the related template preview open while retrying playback
* Exercise the project MCP entry in the review handoff browser test
* Ship the Studio soundtrack and complete navigation translations
* Localize Studio entry points and searchable destination names
---------
Co-authored-by: pftom <26423749+pftom@users.noreply.github.com>
* fix(studio): ship Skill cover videos and GIFs with the app
Every bundled Skill cover video was silently dropped from the npm
distribution: the studio/build walk only collected html/js/css/json/svg/
png/jpg/webp/fonts/txt, so 12 local cover mp4 files never shipped and their
cards fell back to the motif illustration. Collect gif and mp4 there and
assert both ship.
Also bundle the anime-js and lottie-web GIF covers (MIT, source credited)
instead of hot-linking raw.githubusercontent.com, which some networks cannot
reach, and let the editor server serve image/gif from editor-assets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(studio): bundle the motionmaxxing cover and fall back to its poster
Folds in #527. The cover video and poster now ship with the app instead of
being hot-linked from raw GitHub, and a failed cover video falls back to its
poster before the motif illustration.
Each 16:9 before/after panel is scaled whole into its half of a 1280x720
frame, so the split cover shows both panels without cropping. The cover
inventory records motionmaxxing (Apache-2.0) and the two bundled GIFs (MIT),
and the GIF test asserts both covers resolve to local assets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: zhanghuihua <zhanghuihua@huihuideMacBook-Pro.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Unify Studio navigation, provider settings, and local Agent workflows
* Serve the public provider notice from the editor file handler
The provider icon set added by this branch publishes
packages/design-system/providers/NOTICE.md through publicDesignFiles, but
serveEditorFile rejected .md because its MIME table only knew application
assets. The distribution regression test requests every public design file
and got 404 for the notice, so the attribution file was unreachable in the
editor package.
Map .md like the existing application server does (text/plain, UTF-8) so
the published notice is served with its bytes intact.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* Include the provider icon manifest in the bundled adapter fixture
export-adapters.ts and the bundled runtime import
packages/design-system/index.js, which now also imports provider-icons.js to
publish the provider artwork. The adapter fixture copied every runtime file
the export reads except that new module, so the bundled launch failed with
ERR_MODULE_NOT_FOUND for provider-icons.js in the distribution regression
job.
Copy the icon manifest into the fixture alongside index.js, matching the
runtime distribution list that already ships it.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
---------
Co-authored-by: pftom <pftom@pftomdeMacBook-Pro.local>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>