* 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>
* 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>
* 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>
Move the recreate difficult-visual reconstruction method into its own reference, read only for dense multi-shot units, unfamiliar visual mechanisms or movement that still differs after a repair. Validate #heading fragments in registered workflow links and fix the stale production edit link.
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
* fix: complete automatic onboarding across installation entry points
* test: run onboarding regressions in CI and align host guidance
* test: isolate bootstrap onboarding from ambient Codex sessions
* test: publish synthetic account credentials atomically
* fix: rebind a vanished source registration during install preflight
The source preflight aborted the whole install with a raw realpath ENOENT
when the previously registered checkout had been deleted or moved, which is
exactly the uninstalled-source state sourceMarketplacePlan exists to rebind.
Resolve the recorded source defensively: a missing or non-directory path is
reported as a stale registration to replace, and rollback skips restoring a
path that no longer exists. Refusals for foreign, non-local, ambiguous or
actively installed sources are unchanged.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: preserve installed marketplace sources on inventory failures
* fix: recover verified stale sources and preserve onboarding delivery state
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* feat(motion): share Prism templates across Studio and MCP
* fix(packaging): select template environment in CI and full ZIPs
* fix(packaging): support the macOS archive tool
---------
Co-authored-by: lefarcen <935902669@qq.com>
Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>