* feat(game-studio): add Game Studio tab, local game service and MCP game tools
Game Studio page with template waterfall, My games sidebar, landscape/portrait choice and
auto-open of Agent-created drafts; local game projects service with rooms, playtest,
simulate and cover capture; openmotion_game_* MCP tools; openmotion-game handbook ported
from the MIT higgsfield-ai/skills handbook; coop-3d and arcade-2d starter kits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(game-studio): register game tools, dedupe handbook provenance, fix search and code reload
Register the openmotion_game_* tools in MCP counts, onboarding scenarios and tracking
dimensions; keep them out of WebMCP. Move the shared MIT provenance note to PROVENANCE.md.
Studio search now matches localized titles, and the Code tab reloads its source.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(game-studio): harden game service and fix invite copy and code fullscreen
Case-insensitive reserved paths and request-id saves; sandbox CSP for game documents;
WebSocket fragment count, time and buffer limits; AST-based determinism check;
single-player start for playtest and cover capture; atomic batch writes with rollback.
Studio: clipboard-write for embedded games and Code-tab fullscreen on the stage.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(game-studio): trim KayKit characters below 1 MiB for the storage policy
Keep 12 common clips per character (meshes, skin and bones unchanged) so Knight.glb and
Mage.glb stay ordinary Git files; update the character README and the 3D handbook.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(game-studio): hand drafts to the user's Agent; derive the WebSocket test nonce
Drafts show "Waiting for your Agent" until the Agent sets building. The draft page offers
Copy instruction and Open in Codex (prefill only) with the full instruction: game id, brief
and steps. GET /api/games/:id/handoff returns it for any workspace draft, including drafts
created elsewhere and remixes; creation now includes the portrait layout in the instruction.
Tests derive the RFC 6455 sample nonce at runtime so release scanning stays strict.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(game-studio): spin the detail status only while the Agent is building
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(game-studio): exercise all twelve game tools in the packaged MCP smoke test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(game-studio): vendor acorn so packaged builds can run the game rules sandbox
Packaged builds ship without node_modules, so openmotion_game_simulate failed with
"Cannot find module 'acorn'". Ship acorn 8.19.0 (MIT, license in the file header) under
shared/vendor and import it relatively. Verified in a node_modules-free copy of the phase1
file list: create plus reference simulation wins at tick 809.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(game-studio): resolve browser and trailer dependencies from the host runtime root
Packaged builds install npm dependencies under the data directory, so playtest, cover
capture and trailer recording failed with "Cannot find module 'puppeteer-core'" and the
trailer looked for HyperFrames in the plugin folder. Server and phase1 hosts now pass their
runtime root; puppeteer, HyperFrames checks, the trailer's Phase1Service and render queue
use it (source checkouts fall back to the plugin root). Verified in a node_modules-free
phase1 file copy: playtest, cover, simulate, publish and a trailer through ready.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(game-studio): isolate catalog entries, smoke-test solo logic and run the game suite in CI
Review follow-ups:
- The catalog skips and reports a game folder it cannot read (an orphan or malformed
game.json) instead of failing GET /api/games; create and remix remove their folder when
a step fails, so a partial create no longer leaves an orphan.
- Validation runs the bounded logic.js smoke check for every game with rules. Single-player
games follow validateAction as live play does, the loop stops when the game ends, and a
kit game missing logic.js is reported. Room checks stay multiplayer-only.
- tests/game-projects.test.ts runs in the Distribution browser lane (Chrome and native
export cases skip themselves when unavailable) and leaves the unscheduled list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(game-studio): stabilize scrolling and animate build indicator
* fix(game-studio): validate runtime before browser discovery
Resolve the requested runtime dependencies before detecting Chrome so missing-runtime diagnostics remain deterministic on Linux. Preserve all tests and emit failed Game Studio assertions as GitHub check annotations.
* fix(game-studio): stop waiting for network silence during capture
Wait for the document load and visible canvas while retaining room, startup and runtime assertions. Add a real polling regression that reproduces the 20-second navigation timeout and verifies successful background responses during capture.
---------
Co-authored-by: zhanghuihua <zhanghuihua@huihuideMacBook-Pro.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: zhanghuihua <zhanghuihua@Mac.lan>
Co-authored-by: stevenguotj <stevenguotj@stevengotjdeMBP.lan>
* Unify Explore cover fallbacks and action feedback
* Polish Explore template actions and section headings
* Remove provider logos from Explore model headings
* Refine Explore selection, attribution, and cover actions
* Use a neutral panel for the Explore footer
---------
Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>
* feat(audio): rebuild Sound Studio workbench, inline voice auditions, and playback dock
- Add the 7-tab Audio / Sound Studio workbench (live Music, Sound effects, and Text to speech tabs alongside capability-preview upcoming tabs) with dedicated top navigation dropdown and route separation.
- Add inline voice auditions (bundled Kokoro-82M Apache-2.0 and BytePlus Vivi samples plus official ElevenLabs preview URLs), unified live generation/asset stream rows, interactive waveforms, and cross-tab Recreate hydration.
- Refine the bottom audio player dock into a compact single-row playback controller with click-to-locate and inline voice playback without opening the full dock; hide redundant Advanced JSON panels for built-in models and place Custom voice ID inline inside the Voice section.
- Expose built-in OpenDesign account audio fallbacks and fal ElevenLabs Sound Effects v2 generation options with full i18n and unit test coverage.
* fix(audio): hide raw JSON advanced panel for OpenDesign Cloud music models
* fix(studio): resolve i18n key collisions and register Sound Studio CSS in token gate
* feat(studio): give the Sound Studio a home with a banner and audio templates
The Sound Studio entry now opens a home page laid out like the 3D Studio:
a page-level back button, an intro banner with a featured template, and
an audio template grid. Each template card shows its type, duration,
recommended model and prompt; "Use prompt" opens the generation page
with the prompt filled in, and "Generate audio" opens it directly.
The top-nav Audio entry keeps the existing generation page. The two
entries shared one route, so the home uses `home=1`
(`?page=sound&home=1`); other studios are unchanged.
Templates add four repository-owned clips (two example scores, interface
cues and flight effects). Cues and effects are re-encoded to AAC and
posters resized to 800px WebP, adding about 575 KB to the Studio build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(studio): add more Sound Studio templates
Adds eight sound templates synthesized for this page (ambient pad,
notification chime, success sound, interface tap, transition whoosh,
title impact, tension riser, keyboard typing) and two narration
templates, bringing the home to 16 templates. Each clip is generated
in code and owned by the project; covers are gradient waveform images.
Together they add about 390 KB to the Studio build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(studio): open the same generation page as the top-nav Audio menu
After #719 the top-nav Audio entry opens the scene's generation page
(`?page=create`). Generate audio and Use prompt on the Sound Studio home
now open that page too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(studio): list only templates with an audio preview on the Sound Studio home
Narration templates have no preview yet, so the home shows the 13 music
and sound-effect templates. The Text to speech example on the generation
page is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(distribution): ship the Sound Studio template previews
The packaged Studio rejects unregistered media. Register the
fingerprinted template audio used offline by the Sound Studio home
alongside the welcome soundtrack, and assert that it ships.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: zhanghuihua <zhanghuihua@Mac.lan>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Find npm for the OpenDesign connector on Homebrew Node and report why preparation failed
Packaged installations omit the connector, so the service installs it with npm on
first sign-in. The npm path was derived as `<execPath>/../lib/node_modules/npm`.
`process.execPath` is the resolved binary, so a Homebrew Node reports its Cellar
directory, where npm lives under `libexec`; npm never started, every attempt
failed within ~70 ms as `connector_unavailable`, and the cause was discarded.
- Move connector discovery and installation to gateway/account-connector.ts.
npm is looked up via `npm_execpath`, beside Node (including Homebrew's
libexec layout), then by following `npm` on PATH.
- Classify failures as npm_missing, install_failed or start_failed. The local
log keeps the npm output; telemetry adds only `connector_problem`.
- The account summary carries a manual command that installs into the private
`<data>/account/runtime` directory, which the next Retry finds without a
restart and regardless of the service's PATH, replacing the `npm -g` advice.
- The npm installer prepares the connector during setup, while the terminal's
npm and proxy settings are available; failures stay non-fatal.
* Show the sign-in component failure with Retry and a copyable install command
When the connector is unavailable the account panel now offers Retry instead of
"Sign in again" and shows the install command in a copyable block below the
reason, using design-system tokens.
* Address review: bound installer preparation, shell-safe command, reuse code block
- The installer prepares the connector before host registration, so a host
starting the service cannot run a second npm into the same directory, and
stops after 60 seconds; the service installs it at sign-in otherwise.
- The manual command single-quotes the directory on POSIX shells.
- An explicit OPENMOTION_ACCOUNT_CLI path gets no install command, since the
private installation would not be used.
- A data directory that cannot be created is reported as install_failed.
- The panel reuses the shared code block and a Copy command button, as the
Agent settings do, instead of a new style.
- Test the failure telemetry against the event schema.
* Use a neutral install path in the account panel test
The release content scan rejects home-directory paths in source.
* Ask to check the configured connector path instead of offering a hidden command
When OPENMOTION_ACCOUNT_CLI names the connector, the summary omits the install
command, so the failure message no longer refers to one.
---------
Co-authored-by: heggria <bshengtao@gmail.com>
* feat(design): add Design Studio project contract and locale resources
* feat(design): port Open Design templates, systems, skills, craft and scenario guides
* feat(design): add shared design-projects service, HTTP adapter, 4 MCP tools and openmotion-design Skill
* feat(design): add Design Studio HTML preview editor, scene tabs, Explore and MCP handbook entries
* feat(design): polish Design Studio UI, live preview bridge, packaging and stdio MCP E2E tests
- Upgrade Design Studio visual design: editorial hero and elevated composer dock with Design System swatches, Design Skill picker, and example prompt pills; edge-to-edge ScaledPreviewThumb gallery cards; dot-grid device frame canvas with dimension captions; syntax-highlighted line-numbered CodeViewer; inline project rename and Open-in actions; symmetrical 8-card Explore template shelf
- Keep preview bridge mounted for live HTML previews without iframe reloads on tool toggle, prevent overlay pointer capture from swallowing annotation popover clicks, and eliminate redundant initial raw preview fetches
- Complete all 10 non-English locale dictionaries in design-ui.json and design-editor-ui.json
- Register library/design and docs/design-studio.md in distribution packaging, include openmotion-design in package Skill checks, exercise all 4 openmotion_design_* tools in phase1-package.mjs, and schedule design test suites in CI
- Add live stdio MCP subprocess E2E coverage and CodeViewer/DesignProjectList Vitest coverage
* chore(design): remove redundant More studios dropdown from DesignSceneTabs
* feat(design): add Mobile App scenario with 390x844 phone preview default
* perf(design): freeze idle rAF/WebGL/CSS animations in preview thumbs and unmount offscreen iframes
* feat(design): reuse Motion Brand Kits for Design Studio picker with hover preview and detail modal
* feat(design): add Motion-aligned Design template detail preview modal with responsive stage and navigation
* feat(design): support @ mention autocomplete and composable multi-select templates, skills and prompts in composer
* fix(design): unify studio bar tab heights to eliminate layout shift between image and design scenes
* fix(design): keep Design Studio sub-navigation bar on a single responsive row
* feat(design): move Design Studio composer to floating bottom dock with scrollable middle template gallery
* chore(design): assign dedicated mobile-app templates from Open Design catalog without overlap with prototype
* feat(design): curate flagship-first template ordering and clean gallery-first card styling
* fix(design): constrain BrandKitPicker popover max-width and scroll container height to prevent overflow
* fix(design): align active scene tab styling with Text-to-Image and match search input and button heights
* fix(design): center editor toolbar with 3-column grid and remove idle pill background on annotation tools
* refactor(design): move Preview/Code and viewport selector into canvas toolbar and use compact annotation icons
* fix(design): remove inner textarea focus ring and align composer border radii
* fix(design): match filter input height to 32px md Button height
* fix(design): eliminate leaked media-surface border on composer textarea and align template detail stage with Motion
* docs(design): include mobile-app in Design Studio scenario documentation
* feat(design): make Copy to Agent prompts self-contained with MCP install and live workspace setup
* fix(design): replace opaque region fill with crisp translucent marquee and smart popover placement
* fix(design): remove internal-link demo URL and duplicate i18n keys that overwrote Studio translations
* feat(design): keep drawn pen strokes visible during compose, add visual previews in annotations, and focus on click
* fix(design): make toolbar Comments counter button toggle the Comments panel with active state
* fix(design): auto-size project title input and remove leaked media-surface fill and gap
* test(design): pass anchor in phase1 package comment smoke and target platform-export scenario by data attribute
* fix(design): address PR review findings on entry restore, preview isolation, coordinates, save revisions, and icons
* fix(design): reject overlapping write/delete paths, enable conflict overwrite retry, and hoist optional annotation bindings
* fix(design): fetch latest project and file before rebasing discarded code draft
* fix(design): clear codeLoading in finally when discard reload fails
---------
Co-authored-by: pftom <pftom@pftomdeMacBook-Pro.local>
Co-authored-by: pftom <pftom@pftomdeMBP.lan>
Co-authored-by: pftom <pftom@Mac.lan>
* Extract Open Design UI and report component adoption and detached styles
* Invalidate cached Studio builds when Open Design UI source changes
* Compare UI metrics against the tested merge parent in PR CI
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* feat(brand-kit): map catalog artwork sources, improve favicon/cover fetching, and stabilize gallery grid
- Add scripts/sync-brand-websites.ts and update library/brand-kits/websites.json
and catalog.json to map upstream source URLs, same-site coverPages, and pinned
preview coverImages across the Brand Kit catalog.
- Serve favicon and cover endpoints for every Brand Kit entry via websiteUrl or
sourceUrl with GitHub origin/repo deduplication, relaxed explicit OG fallback,
preload/noscript/itemprop/AVIF support, extra favicon fallback paths, and a
single browser-UA retry only on 403/406 responses.
- Replace initial SVG/initial-letter flashes with shared loading skeletons for
covers and favicons, lock Brand Kit card geometry to 16:9 inside a row-major
CSS Grid, and drop offscreen queued artwork loads to prevent layout jitter.
- Update backend/Studio unit tests and Brand Kit documentation.
* fix(brand-kit): address PR #689 review feedback
- Initialize stop before start/release in BrandArtworkImage so the
no-IntersectionObserver synchronous fallback never hits a TDZ ReferenceError
or leaks a queue slot; add regression test coverage in BrandKitPage.test.tsx.
- Remove unreachable coverAspect state and onCoverAspect callback in
TemplateGalleryCard and TemplatePoster.
- Align docs/brand-kits.md and docs/product/architecture.md with the fixed-aspect
row-major Brand Kit grid and loading skeletons.
---------
Co-authored-by: pftom <pftom@pftomdeMacBook-Pro.local>
Co-authored-by: pftom <pftom@pftomdeMBP.lan>
* Migrate Studio actions to the component library and add a UI inspector
* Read inspector counts after mount and wait for live updates in Chrome
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* Bring library categories and global brand kits into Explore navigation
* Align responsive navigation coverage with main
* fix(explore): keep industry dropdown single-line across viewports and expose template submission
---------
Co-authored-by: pftom <pftom@pftomdeMacBook-Pro.local>
* Feature model cases, studios and MCP workflows in Explore
* Remove the unused model collection class from Explore
* Use one scene compatibility rule for reference-only models
* Show Explore highlight arrows at scrollable edges
* Keep the Explore opening above model stories and space Studio headers
* Assert archived video requests independently of poster loading
* Adapt responsive navigation coverage to compact actions
* Fix responsive navigation ARIA selector and wait for compact layout
* Align Studio navigation badges inline with their labels
* Use shared open-design-ui Button in Explore and template preview controls
---------
Co-authored-by: pftom <26423749+pftom@users.noreply.github.com>
Co-authored-by: pftom <pftom@pftomdeMacBook-Pro.local>
typecheck:backend named seven entry files. tsc follows imports, so the real checked set was 119 files, but 46 backend files were never reached at all: every scripts/*.ts, several shared/ modules including editor-daemon and workspace-studio, tracking/browser.ts, and ten more.
The JavaScript helpers had a related blind spot. Several TypeScript modules import the design-system and motion-package modules, and without allowJs those imports resolve to any, so nothing compared the call site with what the helper accepts.
Move the same compiler requirements onto a tsconfig.backend.json project that covers the root modules, shared/, gateway/, tracking/ and scripts/, with allowJs enabled so the imported JavaScript joins the program. checkJs stays off, so the JavaScript participates in resolution and inference without starting a JavaScript type-checking migration. Coverage rises from 119 to 180 files in the same run. integrations/dsh stays out: it ships its own tsconfig and typecheck script and needs the optional DSH client dependency the root checkout does not install.
The wider net immediately found one real mismatch, server.ts passing dataDirectory to collectDiagnostics while the helper declared no parameter shape. That is fixed with the missing JSDoc contract rather than a cast at the call site.
Verified by injecting a type error into scripts/distribution.ts: the previous command still exited 0, the project reports it.
distributionFiles() selected files only through the caller-supplied predicate,
so whether local maintainer material could ship depended entirely on the
positive allowlist. The archive assertion in tests/npm-package.test.ts cannot
enforce it: the suite deliberately writes renamed sentinels, so the real names
are asserted against an archive that cannot contain them.
Route every selection through one rule that drops the reserved root-level
paths (AGENTS_PR_RULE.md, PR_SKILLS.md, PRE-PR.md, codex-security, superpowers,
humanizer, AUDIT_PR). Matching is root-anchored so AGENTS.md, CLAUDE.md and
nested documents such as docs/superpowers/specs remain distributable.
The new test exercises the selection rule directly and was confirmed red-green.
* feat(library): add holiday sale promo, countdown and carousel skills
Three optional Library Skills generate editable HyperFrames sale films from JSON: a one-offer promo with exact was/now prices, a split-flap countdown to the true days or hours left, and a 3-7 product carousel. --check rejects contradictory prices, past deadlines, missing photos and text that will not fit. Adapted from MIT-licensed iart-ai Skills; listed on the Studio Skills page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(library): exact cent pricing, strict dates and fitted promo codes in sale skills
Compute sale prices in whole cents and re-check the discount after rounding; reject impossible calendar dates instead of letting Date.parse roll them over; size the promo code chip to the frame width. Adds regression tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(library): fit long localised prices, cap shown percentage, accept minute-precision dates
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(library): rebuild holiday sale films as one continuous photo-led world
Photos stay on screen and reframe, a sale tape scrolls and a badge spins for the whole film, and Anton display type moves through line masks instead of slide-style fades. Countdown takes up to four photos that change as the number rolls. Ships Anton (SIL OFL) with each Skill; credit moves to the top corner; carousel cover rebuilt from the new sample.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(library): give each holiday sale skill its own look
Promo stays an editorial poster; countdown becomes a timer (scrolling type wall, draining dial, dealt photo cards, ticket end card); carousel becomes a gliding product shelf with a pull-back end shot. Fit display type to Anton's real glyph widths so headlines, prices and codes are not clipped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(library): countdown end card leads with the product photo
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(library): coverflow carousel, own sample covers, clearer category name
Carousel cards now move as a 3D coverflow and fan into an arc at the end. Promo and countdown covers are excerpts of films rendered by the Skills. Rename the Chinese label of the Product ads category to 商品广告.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(library): countdown puts the product in front of a giant number; promo card keeps its subject
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(library): price sale films in each currency's minor unit and save rebuildable image paths
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(library): animate the promo sale price in the currency's minor unit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(library): fail when the holiday-sale film.mjs copies drift from the canonical one
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>
* Make Explore the home of the multimodal workspace
* Close the project list before switching to the narrow editor drawer
---------
Co-authored-by: pftom <pftom@pftomdeMacBook-Pro.local>
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(install): consolidate setup and public Skill instructions in docs
* docs(install): use the public Motion guide short link
* feat(dsh): add interactive template recommendation cards
* feat(onboarding): share three-card welcomes across hosts and DSH
* fix(dsh): automate setup and complete native onboarding
* fix(dsh): preserve native shell and panel controls
* fix(dsh): enlarge card videos without prompting the agent
* fix(dsh): align template cards with Codex presentation
---------
Co-authored-by: lefarcen <935902669@qq.com>
Co-authored-by: lefarcen <lefarcen@users.noreply.github.com>
* feat(library): add design-styles skill
Add the optional openmotion-design-styles Library Skill: 21 design-style
cards and 2 layout cards, a plan checker and a glyph-subset font helper,
registered for install and distribution, with a Studio Skills page card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(library): keep existing fonts on failed downloads and subset all script strings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(library): check the end credit only in on-screen text
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(studio): link the design-styles card to its upstream repository and give it a card-wall cover
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(studio): slow the design-styles cover to 16 s and keep it English-only
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(studio): give each style card on the design-styles cover its own ground, typeface and composition
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(library): validate numeric scene seconds, subset template-literal text, record font licences; use the upstream promo as cover
- style.mjs check rejects non-numeric scene and plan seconds
- font subsetting keeps the static text of template literals
- fonts writes each family's licence text and a SOURCES.md record from google/fonts
- Skills page cover is an excerpt of the upstream design-style promo film, credited in docs/readme/ASSETS.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(library): stage font licences before writing, crop the cover's caption strip fully
- style.mjs fonts downloads every WOFF2 and licence into memory and writes the
fonts, licences, SOURCES.md and fonts.css only after all succeed; a failed
lookup leaves the project unchanged (regression test added).
- Regenerate the design-styles cover and poster with the bottom 108 px of the
1080 px source cropped so no part of the upstream caption bar remains.
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>
AGENTS.md and the template repository guide both require template.json entry.files paths, byte lengths and SHA-256 values to match the staged source. The check validated the shape of that record and verified source/manifest.json against the files on disk, but it never compared the two lists against each other. A stale entry.files block therefore passed CI while consumers read it as the published identity of a template: the onboarding preview builder and the template recommendation cards both take those paths and hashes as fact.
The per-template loop now walks entry.files and matches each path against the source manifest, failing on a path that is missing from the manifest or on a changed byte length or hash. Paths also pass through the existing safe-path check, so a traversal attempt in that block fails the check rather than the consumer.
Review follow-up: the stale-identity message pointed at templates:manifest, which only rewrites source/manifest.json and cannot repair entry.files. It now names template.json entry.files, which is the file that has to change.
Validation: npm run templates:check -- --final-tree passes. All nine editable templates carry entry.files, 116 entries in total, and every one already matches, so the check is green before it protects anything. tests/template-library.test.ts passes 18/18 and npm run check passes.
Check the reported MP4 duration alongside the video duration with the existing tolerance. Cover audio tails within and beyond that tolerance with FFmpeg fixtures.
Co-authored-by: ShawnSiao <21096533+ShawnSiao@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>
* Add the optional Style Recipes library Skill
Add openmotion-style-recipes: eleven written style recipes for presenter
overlays, narrated explainers, product and brand pieces and a
shortlist-first method for cutting long recordings into shorts. Register
it with the standalone library installer (no retired forwarding folder),
the positive distribution list, package tests and the library docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Mention Style Recipes in the Chinese library overview
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Split style recipes into eleven Library Skills and address review
- One Library Skill per recipe (openmotion-highlighter-notes, ...),
each with a folded-block YAML description.
- Media steps discover providers and model IDs with openmotion_media_use,
then generate with openmotion_assets_use, keeping the consent step.
- npm run check now validates Library Skill frontmatter.
- Installer, distribution list, package tests and docs (library README,
docs/skills.md, architecture inventory) list the fourteen canonical
Library names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Add 96 single-style Library Skills and Skills-page cards
- 85 new Library Skills (96 style recipes in total with the eleven
already on this branch), each a SKILL.md with look, motion timings,
inputs, what to avoid and review checks, plus agents/openai.yaml.
- Skills page: 96 cards with 8-second OpenMotion sample covers rendered
with HyperFrames (each under 450 KB) and copy in all 11 languages.
New categories Talking-head, Product ads and Editing; the analytics
skill_category enum is extended to match. Talking-head cards follow
the first card.
- Skills grid lays cards out row by row so catalog order is reading
order (CSS multi-column filled column by column).
- Installer, distribution list, package and install tests and docs list
the 99 canonical Library names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Split style-Skill card copy into per-locale files
skills-ui.json grew past the repository's 1 MiB ordinary-file limit.
Card copy for the 96 style Skills now lives in
studio/src/i18n/skill-library/<locale>.json (110-160 KB each) and is
merged with the other UI bundles in messages.ts. The localization test
checks the combined set.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Refine Skills-page covers, categories and Chinese titles
- Six categories: merge Talking-head and Editing into "Talking-head & editing"; move brand openers, campaign cards and physical-product Skills to their matching categories; drop the `editing` tracking value.
- Presenter covers use the Micah avatar style (CC BY 4.0, see skill-covers/ATTRIBUTION.md), smaller, slower speech, no bald hosts.
- Consumer-product covers rebuilt on generated product photos with motion overlays; cinematic-logo cover uses a cast-metal emblem.
- Chinese titles lead with the scenario; descriptions follow the main-branch style.
- Gallery order spreads presenter and photo covers so similar cards never sit side by side.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(skills): reword AI Assistant Tour technique so the DOM-realm source check does not misfire
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>
* feat: add transcription and unified caption editing workflows
* Fix caption integration regressions and align explicit timeline modes
* Update bundled adapter and render fixtures for caption preview integration
* Resolve caption parsing from the isolated native runtime
Avoid importing native dependencies from the dependency-free ZIP at server startup. Load the HTML parser from the installed runtime for caption operations and cover isolated server import plus caption authoring.
* fix: preserve caption panel widths and manual editing intent
* fix: retain new caption selection during preview refresh
Keep newly created captions selected while the preview replaces its old clip list. Cover the stale-preview ordering with a failing-before/passing-after regression and verify pacing draft cancellation and recreation in Chromium.
* docs: add OpenMotion star history to the READMEs
* docs: bundle the dated star history chart across README locales
---------
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
* Improve onboarding preview quality within the HTML budget
* Align remaining onboarding guides with the four-template pool
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
* feat(library): add growth teardown skill
Add the optional openmotion-growth-teardown library Skill. It turns a
company name into a sourced growth-map film: a research method for dated
growth moves and metric points, the growth.json contract with a
validator, an evidence collector (cropped page screenshots, video
thumbnails and thumbnail walls, favicons, sitemap list cards), a
generator for an editable nine-scene HyperFrames project and a
deterministic cue-synchronized score with no third-party audio.
Register the Skill in the distribution lists, the standalone library
installer and the package tests, and document it in the library index,
Skill routing, product architecture and change record.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(library): correct growth teardown build input and number formatting
Build from evidence/growth.json so collected images, walls and logos
reach the film, keep integer zeros when compacting large values
($10B no longer renders as $1B), and detect the standalone score entry
point with fileURLToPath so encoded or Windows paths still write audio.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(library): make growth teardown projects rebuildable
Rewrite image, wall and logo paths in the project's growth.json to the
copied assets so out/ rebuilds on its own, key thumbnail-wall cache
files by video id so a changed query never reuses stale thumbnails, and
validate metric point order with the same date parsing the curve uses.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(library): support standalone growth teardown installs
Resolve GSAP from OPENMOTION_HOME as well as the working directory and
explain the fix when it is missing, and rewrite existing logo, evidence
and wall paths relative to the evidence output so later builds find them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(library): brand growth teardown films as OpenMotion
Open each film with the OpenMotion wordmark, lead every scene headline
with the OpenMotion mark and sign the outro with the wordmark, while the
analysed company keeps its own logo. Read the marks from the design
system in a checkout and ship unchanged copies for standalone installs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(studio): list growth teardown on the Skills page
Add the growth teardown as an OpenMotion-authored skill under
Explainers, with a cover excerpt rendered by the Skill and copy in all
supported interface languages. Its detail shows the OpenMotion skill
source instead of an upstream repository, and the copied instruction
names the OpenMotion skill.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(studio): name the growth teardown card for companies
Rename the Skills page card to "Company growth teardown" in every
interface language so the card says what it analyses.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(studio): name the growth skill card growth reverse-engineering
Use "Growth reverse-engineering" for the Skills page card in English
and matching names in every other interface language.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(studio): list growth reverse-engineering second on the Skills page
Move the OpenMotion growth skill directly after the motionmaxxing entry
and pin that order in the Skills page test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(studio): fill the Skills gallery row first
Distribute Skills cards across columns in catalog order (card N goes to
column N % columns), using the same width breakpoints as before, so the
first row reads left to right in catalog order while columns keep their
staggered heights.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(growth-teardown): address review notes on validation, stat, docs and card order
- --check now requires 1-6 moves per lane and full http(s) source URLs,
and requires plays[].stat.value, so these inputs fail with a message
instead of crashing the build or rendering "undefined".
- Enforce the documented limits: label <= 28, instruction <= 220.
- Chinese library README, docs/skills.md and the architecture inventory
now name four canonical Library Skills including growth teardown.
- Skills page keeps cards in one catalog-ordered DOM list for keyboard and
screen readers; measured heights place card N in column N % columns.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(growth-teardown): generate brand mirrors and translate the source label
- Add the Skill's two brand marks to the design-token mirrors, so
npm run design:tokens refreshes them and npm run check fails on drift.
- Add the 'OpenMotion skill' source label to all ten Skills UI locales
and assert it exists while any Skill has no upstream repository.
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>
Co-authored-by: zhanghuihua <zhanghuihua@Mac.lan>
* fix(onboarding): preserve welcome and resume native activation
* fix(onboarding): show only welcome when recommendation cards fail
* fix(onboarding): separate presentation and activation acceptance
* fix(onboarding): embed three-of-nine project previews in HTML
* fix(onboarding): simplify card descriptions and titles
* fix(onboarding): reduce recommendation pool to five templates
* fix(onboarding): encode embedded project previews as WebM
* fix(onboarding): reconcile preview documentation and remove unused media
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Reserve historical 0.6.x publication ordering, prepare 0.0.1 descriptions, and preserve native validation, immutable snapshots and no-regression controls. No package publication is performed by this merge.
* fix(storage): allow cleanup of an over-budget checkout
* fix(storage): use the PR base for cleanup validation
---------
Co-authored-by: lefarcen <935902669@qq.com>