Commit Graph

168 Commits

Author SHA1 Message Date
Dery Ferdika
f4ac2ed0e1 fix(http): use one sanitised rule for download disposition headers (#623)
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
2026-11-23 11:18:48 +08:00
open-design-crew[bot]
06fbff8a7e feat(studio): migrate core workspace routes and shared URL contracts to semantic paths (Phase 4c) (#829)
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-22 17:23:08 +08:00
open-design-crew[bot]
e4e58f6a9e feat(studio): migrate creative studios domain routes to semantic paths (Phase 4b) (#826)
Some checks failed
Motion standalone checks / Template library policy (push) Has been cancelled
Motion standalone checks / Maintainability report (push) Has been cancelled
Motion standalone checks / Source checks (push) Has been cancelled
Motion standalone checks / Workspace reliability (macos-15) (push) Has been cancelled
Motion standalone checks / Workspace reliability (windows-2025) (push) Has been cancelled
Motion standalone checks / Studio regression (1/2) (push) Has been cancelled
Motion standalone checks / Studio regression (2/2) (push) Has been cancelled
Motion standalone checks / Distribution browser regression (push) Has been cancelled
Motion standalone checks / Distribution regression (push) Has been cancelled
Motion standalone checks / standalone (push) Has been cancelled
DSH integration / Optional DSH plugin (push) Has been cancelled
Motion release controls / controls (push) Has been cancelled
Publish hosted template catalog / publish (push) Has been cancelled
* feat(studio): migrate creative studios domain routes to semantic paths (Phase 4b)

* fix(studio): make ScenarioHub scrollable inside .om-explore-host

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-22 16:50:45 +08:00
open-design-crew[bot]
5e487c2ac5 feat(studio): add LegacyQueryRedirect and migrate standalone routes to semantic paths (Phase 4a) (#825)
* feat(studio): add LegacyQueryRedirect and migrate standalone routes to semantic paths (Phase 4a)

* chore: ensure PR CI

* fix(studio): guard semantic standalone paths against retained-session artifact redirect

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
Co-authored-by: open-design-crew[bot] <4197780+open-design-crew[bot]@users.noreply.github.com>
2026-11-22 15:23:20 +08:00
open-design-crew[bot]
af77bd9091 feat(studio): integrate React Router Data Router, KeepAliveOutlet, useBlocker guard, and SPA route fallback (#821)
* feat(studio): integrate React Router Data Router, KeepAliveOutlet, useBlocker guard, and SPA route fallback

* fix(studio): map SPA pathnames, await router navigation commits, localize blocker error, and schedule spa-routes CI

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-22 12:41:29 +08:00
Haoran Zhou
1d5a158759 feat(studio): unify image/video studio layout, creation hero, provider picker and default quality (#816)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-22 01:35:15 +08:00
Haoran Zhou
a5ebbd7df6 fix(skills): preserve template compositions under dense briefs and partial previews (#815)
* fix(skills): preserve template compositions under dense briefs and partial previews

* refactor(skills): decouple single-owner edit/source rules and multimodal adaptation

* docs(skill): align bottom adaptation link with conditional read scope

* fix(prompts): restore zh-CN delivery suffix matched by catalog test

* docs(skills): list template/adaptation in same-source section table

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-22 00:47:33 +08:00
Haoran Zhou
777c6982b8 fix(studio): polish image/video forms, multi-shot defaults, workflow badge and mega-menu transitions (#806)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 20:38:45 +08:00
Haoran Zhou
706f1f35c4 feat(studio): align image & video playstyle naming across EN and all 10 locales (#801)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 19:11:11 +08:00
MasonJJ
ee82767c13 [OPEND-5572] feat(sound-studio): redesign waveforms, live playback flow, voice cards and audio track library (#794)
* feat(sound-studio): redesign waveforms, live playback flow, voice cards and audio track library

- Extract real 128-bucket PCM audio waveforms with noise gating and smoothing on probe and playback decode
- Redesign Sound Studio waveforms into pixel-crisp 1:1 SVG bars with generous horizontal breathing room, pointer-capture drag scrubbing, monochrome played progress, accent needle, and 60/120fps direct-DOM living playback flow
- Redesign Speech voice selector into clean typographic studio cards with authentic localized timbre traits, isolated inline auditioning, balanced featured grids for large catalogs, and single-column layout for single-voice models
- Refine Audio track library filtering, server-side audioKind queries, voice metadata display, overflow actions, and bottom player dock polish across dark and light themes

* fix(sound-studio): preserve cross-tab starter drafts and persist resolved audioKind

- Route Music, SFX, and Speech starter Use actions through selectSoundTab/reuseInScene with the target draft and resolved SFX model parameters so draftKey transitions never drop prompts or SFX settings
- Persist resolved audioKind on audio AssetVersion records during generation (using model id, mode, modelId, and label) and uploads, keeping id-only inference as legacy fallback across gateway filtering and Sound Studio UI
- Add regression tests covering cross-tab starter handoff and opaque model ID audioKind classification

* fix(sound-studio): split structured vs advanced JSON params on draftKey transitions

- Split persisted or cross-tab draft.parameters via parameterDraftFromParams using the model's structured generationOptions fields so schema-less BYOK raw JSON keys stay in advanced and never leak into ParameterDraft.values
- Seed parameterDrafts once per draftKey transition rather than on local SoundComposer handleParamChange updates
- Add regression test verifying editing and clearing raw JSON on a schema-less BYOK audio model

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
2026-11-21 18:57:19 +08:00
Haoran Zhou
b87b33f84c feat(studio): match image and video features by model capabilities instead of ID allowlists (#796)
* feat(studio): match image and video features by model capabilities instead of ID allowlists

* test: fold model-capabilities tests into scheduled generation-options suite

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 18:35:23 +08:00
Haoran Zhou
dfd32c5be6 feat(studio): Image 4K Upscale hero tile, Video Omni reference cleanup, and streamlined Generations header (#793)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 18:02:48 +08:00
Tom Huang
9060f47d0d feat(scenario): add dual-mode Workflows workspace, shared Assets, and MCP write-back (#781)
* Add scenario workflows foundation, Design asset import and Wave 1 contracts

Implement the Wave 1 scenario workflow contracts, shared domain service,
Design Studio binary asset import, ZIP bundle exporter and Studio boundary
files while preserving the 22 public MCP tools:

- Shared browser-safe contracts in shared/scenarios.ts, shared/scenario-runs.ts
  and shared/scenario-content.ts covering all five scenarios, 21 scenario
  commands, starter HTML recipes, idempotent HTML image embedding, localized
  social drafting and Agent handoff builders.
- Design Studio binary asset import via DesignProjects.importBinaryFile(),
  openmotion_design_edit action=import_asset, POST /api/design/projects/:id/import-asset
  and designClient.importAsset().
- Domain service (gateway/scenario-runs.ts), ZIP bundle builder
  (gateway/scenario-bundle.ts) and HTTP download route (gateway/scenario-http.ts),
  wired under openmotion_assets_use action=scenario with tracking schema parity.
- Studio scenario client, scenarioCovers.ts, stepContract.ts and ODUI-compliant
  boundary stubs for parallel Wave 2 UI implementation.
- Node test coverage in tests/scenario-content.test.ts, tests/scenario-runs.test.ts,
  tests/scenario-bundle.test.ts and tests/design-import-asset.test.ts registered
  in .github/workflows/ci.yml.

* Implement scenario workflow step workbenches and unit tests

- Add reusable BindingSlot with pool picker, chip removal and drag-and-drop
- Implement BriefStep with dynamic brief fields, debounced autosave, revisions, downstream prompt seeding, AI influencer script editor, Gemini 4 Neon rail/availability and Black Friday discount badge
- Implement WebPageStep with starter/template/existing project creation, live viewport preview, live HTML slot targeting, single and chained Embed all, and design version previews
- Implement MediaStep (image, video, audio) and MotionPanel with scene/audio tabs, catalog model picker, offscreen-pausing video, offline provider-setup recovery with upload/workspace import, and Motion project creation/linking
- Implement SocialPackStep with offline drafting, regeneration variants, character/title limit counters, hashtags, media reordering and token-only live card previews
- Implement ExportHubStep with step overview, pool readiness checks, ZIP bundle export with persistent download card and Agent handoff actions
- Wire StepRouter with token-only opaque steps.css and add Vitest suites for all five step workbenches

* Implement scenario workflow shell, shared asset pool, and run state

Add useScenarioRun state hook with auto-resume, lazy run creation, optimistic revision conflict recovery, visibility-aware job polling, and window focus refresh. Implement ScenarioCard, ScenarioHub, ScenarioHeader, ScenarioStepper, PoolItemPreview, AssetPoolPanel, IterationHistory, StepExportMenu, ScenarioWorkspace, opaque token-only scenario.css, and Studio unit tests.

* Wire scenario workflow navigation, routing, MCP handbook, 10-locale i18n and docs

Implements Worker D integration for end-to-end scenario workflows:
- Routing & URLs: scenario/scenarios pages with category, run UUID, and step validation plus breadcrumb labels
- Top nav & Explore: Workflows split tab with 3-column mega menu, ExploreSpotlight primary workflow CTAs + 5th AI Influencer slide, ScenarioHighlights rail, CapabilityIndex Workflows column, landing cross-links, and WorkspaceFrame host wiring
- MCP handbook: scenario-workflows capability (preserving exact 22 phase-1 tool union), scenario-black-friday and design-embed-assets recipes, and setup-prefixed Black Friday handoff
- 10-locale i18n: scenario-ui.json (526 keys x 10 locales covering shared/scenarios.ts plus all scenario-shell and scenario-steps UI keys), studio-navigation-ui.json, and mcp-ui.json updates
- Docs & tests: mcp-phase1-tools.md, product architecture, scenario-workflows.md guide, openmotion-design SKILL note, and full Vitest + Node MCP test coverage

* Register scenario stylesheets in tokenGate and complete 10-locale i18n coverage

- Register scenarioNavigation.css, scenario.css and steps.css in
  studio/src/styles/tokenGate.test.ts and define the four remaining
  token-only scenario CSS classes (.om-scenario-host,
  .om-scenario-header-category, .om-scenario-step-tab-title,
  .om-scenario-history--empty).
- Add the missing 'Download started' translation across all 10 non-English
  locales in studio/src/i18n/scenario-ui.json for 100% 10-locale coverage.

* Fix Scenario Workflows Wave 3 E2E and visual findings

- Treat full content-step selection as an unfiltered export bundle so README.md and unattached uploaded pool files are included
- Auto-activate newly saved iterations in ScenarioRuns.addIteration while preserving promote for older versions
- Suppress duplicate raw error toasts on SCENARIO_CONFLICT after useScenarioRun displays the localized conflict notice
- Map raw step statuses, pool kinds, job states, and copy tone/promo code labels through localized UI keys across all 10 locales
- Restore light/dark Explore hero CTA contrast hierarchy and make the Workflows mega menu compact so the footer is visible without clipping at 1440x900
- Stack the scenario step header vertically below 767px to avoid squeezing the step title on mobile viewports

* fix(scenario): replace alarming export-hub step warning stack with calm readiness hint

* feat(scenario): replace intimidating brief form with guided fill-in-the-blanks prompt composer

* polish(scenario): auto-size inline blank pills snugly to text content

* feat(scenario): add guided page composer, filter layouts, and codify workflow UX rules

* Enhance scenario workflows with semantic step colors, icons, and unified composers

Add consistent semantic color-coding and richer icons across the scenario
workflow shell and every step workbench without removing any capability:

- ScenarioStepper & ScenarioWorkspace: add step-type color accents (brief,
  image, web-page, video, audio, social-pack, export-hub), flow connectors,
  live progress bar, tinted step header badge, Step N / M pill, and next-step
  icon cues.
- ScenarioHeader, ScenarioCard & AssetPoolPanel: color-code category pills,
  step preview chips, shared asset pool header/filter chips, and asset kind
  badges using existing packages/design-system tokens.
- MediaStep, SocialPackStep, WebPageStep, BriefStep, MotionPanel, BindingSlot
  & ExportHubStep: unify Media and Social steps into single composer cards
  matching Brief and WebPage, render official PlatformIcon glyphs for social
  channels, add colored section/slot/stat icons, and remove redundant orphan
  toolbars while preserving all generation, upload, embed, edit, compare,
  MCP handoff, and ZIP export actions.
- Update studio/src/i18n/scenario-ui.json across all 10 non-English locales.

* Refine scenario workflows layout, controls, and dual-track MCP write-back

- Refine input and Select dropdown borders across design-system adapter/application CSS and workflow steps, eliminating thick stacked outlines and clipped option borders
- Flatten nested wireframes and unify top chrome, stepper, step composers, and open canvas sections with plain consumer-product terminology and 10-locale translations
- Add desktop drag-resizer, keyboard/double-click reset, persistence, and collapse/reopen toggle with auto-expand on pick for the right Shared assets sidebar
- Add StepCapabilityBar for in-step direct image/video generation alongside run-bound MCP write-back prompts and window focus/visibility sync across creation steps
- Consolidate workflow export actions into the header and Shared assets sidebar and fix backend text-ref type narrowing in scenario bundle generation

* feat(scenario): add dual-mode Agent mode, preview stage, draft history, and polish UX

Add Step-by-step and Agent mode workspace views with grouped Skills pipeline, concise MCP prompt generation, visual preview stage, draft history dialog, selective Assets import/export, 10-locale i18n coverage, and tokenGate CSS fixes.

* fix(i18n): remove duplicate base-dictionary overrides from scenario-ui.json

Drop duplicate '{count} selected' and 'Copied. Paste into your Agent.' entries from scenario-ui.json so ProjectArchives and TemplateLibraryDialog retain their canonical translations.

* feat(scenario): add stage preview artwork, refine Agent Teams UX and disclosure styling

* fix(scenario): address PR #781 review feedback across steps, templates, HTML embed and side-effect mutations

---------

Co-authored-by: pftom <pftom@pftomdeMacBook-Pro.local>
2026-11-21 17:21:46 +08:00
Tom Huang
242fbb0220 fix(gateway): expand and harden Local Agent model discovery across all 29 CLIs (#789)
- Add ACP discovery for Antigravity, Gemini CLI, Copilot CLI, DeepSeek Harness (with isolated temporary session patch), Hermes, Devin, Grok Build, CodeBuddy, Qoder, Reasonix, Cline and IBM Bob, plus companion binary/config fallbacks for Mistral Vibe and Amp
- Prefer ACP configOptions over legacy availableModels, support async config_option_update notifications, extract per-model reasoning levels (thought_level, thinking and _meta.reasoningEfforts), detect -32000 auth errors and delete probe sessions when supported
- Discover Codex models via fast paginated app-server model/list with debug models fallback, Claude Code via non-prompt stdio control_request initialize with alias fallback, and Pi via RPC get_available_models with --list-models fallback
- Fix CLI line, Pi table and --help choice parsers to handle tab/column layouts, carriage-return spinners, display labels and Claude [1m] suffixes, and forward --effort when advertised
2026-11-21 17:21:28 +08:00
Haoran Zhou
34df9b1aea feat(studio): justified Generations feed, in-place unblur placeholders & unified playstyle labels (#785)
* feat(studio): justified modality-native Generations feed, in-place unblur placeholders, unified playstyle labels

* fix(studio): remove Upload button and lock Generations feed to AI-generated assets

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 17:10:13 +08:00
huihui-crypto
ba3aaf2f60 feat(game-studio): add Game Studio with local game service and MCP game tools (#767)
* 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>
2026-11-21 16:47:41 +08:00
Haoran Zhou
c2054da8f3 fix(media): tighten OpenDesign sign-in and Go-to-Plus upgrade handoff (#742)
Ensure multimodal onboarding, narrow-panel deep-linking, and post-checkout recovery work end to end across Gateway, Studio, and Skills:

- Compute the recommended openmotion_open_preview entry in media inspect settingsHandoff (agent_media_upgrade_go, agent_media_upgrade_free, agent_media_signed_out, agent_media_key_rejected) and filter rejected keys out of models discovery.
- Exclude Free/Go accounts (mediaEntitlement=not-included) from media capabilities while keeping account.available intact for text models.
- Deep-link account setup entries to provider=account so narrow (<=680px) embedded panels open directly on the OpenDesign sign-in / Upgrade to Plus guide.
- Align MCP handbook prompts, previewHandoff instructions, and openmotion-media Skill guidance with in-place OpenDesign sign-in and Upgrade to Plus, stopping agent_media_handbook from shadowing specific entries.
- Add checkout-return focus/visibility billing refresh, inline billing-unavailable retry, contextual low-balance and rejected-key handling, and a monotonic billing request guard with Go->Plus model catalogue sync.

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-20 20:27:20 +08:00
Haoran Zhou
d19367403b feat(video): add Video Mega Menu and video features (camera control, multi-shot, native audio) (#738)
* feat(video): add Video Mega Menu and video features (camera control, multi-shot, native audio)

* fix(video): lock native-audio toggle with explicit note and add video feature MCP handbook scenarios

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-20 19:57:45 +08:00
MasonJJ
492ab3e2d9 feat(audio): rebuild Sound Studio workbench, inline voice auditions, and playback dock (#739)
* 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
2026-11-20 19:49:15 +08:00
Haoran Zhou
8b1c76dc80 feat(studio): unify image creation with fixed OpenDesign models and image features (#734)
* feat(studio): unify image creation with fixed OpenDesign models and image features

- Image menu and creation page list a fixed model set (OpenDesign models first,
  Codex Image last), with provider then model pickers.
- Open background removal, relight and character consistency as image scenes,
  following the measured OpenDesign image model capabilities: per-model
  reference limits, GPT Image 2.6 quality and transparent background, Seedream
  sizes, and a 2 MiB reference limit.
- The OpenDesign account submits image jobs the connector cannot express
  (transparent background, several references) to the same media API with its
  control key, so signed-in users get the same features as an API key.
- Transparent results preview on a checkerboard; remove the creation page back
  arrow; add missing translations.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

* fix(studio): address PR #734 review feedback on library BYOK preservation, featureMode scope, MCP handbook, and architecture docs

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2026-11-20 19:36:31 +08:00
lefarcen
c322ccca7a chore(media): host Skill cover WebP posters and remove bundled copies (#701)
* chore(media): host Skill cover WebP posters and remove bundled copies

* fix(tests,docs): align packaging assertions and storage docs with hosted Skill posters
2026-11-20 19:00:29 +08:00
Haoran Zhou
2757e52d87 fix(media): enforce OpenDesign parameter contracts, CLI errors, and first-frame references (#732)
* fix(media): enforce OpenDesign parameter contracts, CLI errors, and first-frame references

- Validate paired aspect_ratio/resolution and mutually exclusive size/output parameters for OpenDesign account and Cloud image models even when capabilities.profiles are absent.
- Classify local vela CLI flag errors without HTTP status codes as invalid_request instead of misreporting network or sign-in failures.
- Expose maxInputImages on OpenDesign account video models and forward first-frame images via `vela video gen --first-frame`.
- Enforce the 2 MiB OpenDesign reference image upload limit before queueing account or Cloud media jobs.
- Reset draft.parameters on model or modality switches in AssetComposer, and restrict reference pickers and "Use as reference" / "Edit as new version" actions to image assets.
- Update provider/assets/architecture documentation and add backend and Studio regression tests.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

* docs(mcp): align FAQ, schemas, and docs with account first-frame and 2 MiB limit

- Update the MCP Connect reference-image FAQ and all 10 locale translations in studio/src/i18n/mcp-ui.json to reflect OpenDesign account first-frame video support (one image) and the 2 MiB upload limit.
- Propagate the 2 MiB OpenDesign reference image upload limit (while keeping 20 MB for other local adapters) to shared/phase1-tools.ts, mcp-tools.ts, docs/model-gateway.md, and skills/openmotion-media/references/jobs.md.
- Extend tests/mcp-onboarding.test.ts to verify the updated FAQ and schema copy.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2026-11-20 18:50:52 +08:00
Ray Xi
4987ec1037 [OPEND-5490] feat(cinema): dynamic video parameters, ticked duration slider, and native audio toggle (#695)
* [OPEND-5490] feat(cinema): derive video duration options from capabilities.durations

* test(studio): scope duration option lookup to the active listbox

* feat(cinema): add slider duration picker, quick parameter cards, and Seedance native audio toggle

* fix(cinema): pass wan-2.7 audio flag, polish defaults, and guard video refs

---------

Co-authored-by: Codex <codex@openai.com>
2026-11-20 18:39:23 +08:00
open-design-crew[bot]
306fd78bb3 feat(studio): refine creative nav menus, model links, and Motion new project card (#719)
Co-authored-by: 范桢 <fanzhen@refly.ai>
2026-11-20 17:47:18 +08:00
open-design-crew[bot]
f3884e656e Fix OpenDesign sign-in connector setup on Homebrew Node and explain failures (#716)
* 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>
2026-11-20 01:05:30 -08:00
Q-baobao
5817760863 Refresh the Black Friday reference collection (#714)
Co-authored-by: Q-baobao <Q-baobao@users.noreply.github.com>
2026-11-20 16:29:31 +08:00
Heggria
bfe83e68a8 Fix OpenDesign sign-in handoff, Free/Go media guidance and Codex discovery (#704)
* Wait for the service's authorization expiry before cancelling OpenDesign sign-in

OpenMotion killed the connector ten minutes after a sign-in started, but the
account service keeps a device authorization open for fifteen minutes and the
connector already waits for that expiry. Killing it early made the connector
cancel an authorization the user was still completing in the browser, so a
sign-in finished in minutes 10-15 failed and had to be repeated.

Keep a 16-minute backstop only, so the service's own expiry decides.

* Open the subscription page in the sign-in browser with an account intent

Manage subscription and Upgrade to Plus were plain links inside Studio. When an
Agent host shows Studio in its own browser, they opened there, while the
connector had signed the user in through the system default browser, so
OpenDesign asked the user to sign in again before upgrading. Nothing checked
that the browser held the same account, so a purchase could land on another
account.

The local service now builds the entry-tagged dashboard address, requests a
one-time account intent with the installation's control key for a confirmed
production sign-in, and opens /login?intentId=... in the system default
browser. The console then confirms the account before continuing to the plan
page. Without an intent the plain dashboard opens; when no browser can be
launched, Studio opens the returned link itself.

* Report Free and Go accounts as not including media whatever their balance

Free and Go plans entitle text models only; account credits never unlock media
models on them. The hint reported not-included only for a non-positive
balance, so a new account with a signup grant or a Go subscriber with its
allowance got unknown. Agents then skipped the Go upgrade guidance and sent a
user who had just bought Go back to the generic setup page.

Free and Go now report not-included regardless of balance; hasBalance is still
returned for balance messages.

* Accept Codex in media discovery and document its image route

Settings lets users pick Codex for images, but openmotion_media_use rejected
provider=codex with invalid_enum, so an Agent following that choice failed to
list Codex models. Discovery (inspect, reference, models) now accepts Codex and
returns a Codex provider guide. Project-direct generate still does not accept
Codex and now says to use openmotion_assets_use with codex:image-generation,
which already supports it.

* Keep a subscription link when the fallback popup is blocked

The fallback opened the subscription page only after the local service
replied, when browsers no longer treat the click as a user gesture.
A blocked popup now leaves a Continue in browser link next to the
button. The standalone button and link keep their content width.
2026-11-19 23:42:51 -08:00
MasonJJ
1c00882623 Remove the API directory from Studio navigation (#706)
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
2026-11-20 14:58:18 +08:00
Tom Huang
ef577a7844 feat(design): integrate Open Design HTML workflows, MCP tools, and Design Studio editor (#699)
* 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>
2026-11-20 14:38:40 +08:00
Haoran Zhou
7c9bf3455a feat(studio): improve provider setup UX, Free/Go guidance, and OpenDesign generation options (#702)
* fix(studio): surface provider setup, Free/Go upgrade guidance, and OpenDesign media options

- Show a non-blocking subscription upgrade banner with a direct Manage subscription link in Studio when the signed-in OpenDesign account reports mediaEntitlement: not-included, and prefer totalAvailableCreditsUsd over balanceUsd when reading account billing.
- Show a direct Configure <provider> or Sign in with OpenDesign action in Studio when a selected model belongs to an unconfigured provider, routing straight to that provider or Account settings.
- Derive quick generation options for OpenDesign Cloud and account image/video models from published capabilities (paired aspect_ratio + resolution profiles with fallback to sizes, quality, and video ratio/resolution/duration), pack Cloud image aspect_ratio + resolution into output on submission, filter compatible image resolutions in GenerationParameters, and let Shorts Studio default to 9:16.
- Add localized UI copy across all 10 non-English locales, update generation-options documentation, and add unit tests covering backend parameter resolution, billing precedence, and Studio UI flows.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

* fix(media): enforce edit profile envelope and document Cloud image wire shape

- Validate and filter OpenDesign image aspect_ratio/resolution choices against the active generations vs edits profile envelope across shared/generation-options.ts, gateway/service.ts, and Studio GenerationParameters.
- Reject lone aspect_ratio or resolution values (and size/output conflicts) in gateway/opendesign.ts before uploading references when no capabilities.profiles envelope is available to complete the pair.
- Update opendesign.md, account.md, and docs/generation-options.md to document the Cloud output wire envelope, active profile pairing rules, and auto-completion behavior.
- Add regression tests covering distinct generations/edits envelopes and unprofiled Cloud image rejection.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2026-11-20 14:22:41 +08:00
open-design-crew[bot]
977f71b8b1 Clarify Explore card types and 3D Studio availability (#697)
* Clarify 3D Studio availability and preserve Agent Skills

* Align Explore coverage with the curated six-skill 3D collection

* Align 3D capability guidance with the pending Studio workflow

---------

Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>
2026-11-20 13:54:47 +08:00
Tom Huang
0675d5be73 fix(explore): complete responsive grids, simplify header and add signature footer (#690)
* fix(explore): complete responsive grids, simplify header and add signature footer

* docs(architecture): update Explore navigation note after removing masthead

---------

Co-authored-by: pftom <pftom@pftomdeMacBook-Pro.local>
2026-11-20 11:59:41 +08:00
Tom Huang
bc2f449ac3 feat(brand-kit): map catalog artwork sources, improve favicon/cover fetching, and stabilize gallery grid (#689)
* 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>
2026-11-20 11:36:35 +08:00
open-design-crew[bot]
e60bdffd5d Refine Explore media navigation and MCP client switching (#673)
* Refine Explore media navigation and MCP client switching

* Align media previews and show MCP clients in a logo grid

* Align Explore cards and stabilize community switching

* Use brand colors for Explore Skill badges

* Share pill sizing between Skill and template style labels

* Demonstrate image edits and simplify studio navigation and video forms

* Exercise the visible navigation and assets menu at compact widths

* Show a speaker scene change and remove audio form covers

* Reveal the speaker scene with a divider inside the shared preview frame

* Demonstrate shot framing and play the image-edit comparison automatically

* Illustrate the shot still with a text-free framing sketch

* Name the shot reference generator and demonstrate framing one photograph

* Loop shot reference preview on hover and keyboard focus

---------

Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>
2026-11-20 11:16:11 +08:00
Tom Huang
19e4920002 Browse template collections and Skills in Explore and open Brand Kit globally (#665)
* 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>
2026-11-19 23:37:08 +08:00
open-design-crew[bot]
63e5b78c88 Refine the Black Friday collection and Skill carousel (#672)
Co-authored-by: fengcao <fengcao@fengcaodeMacBook-Pro.local>
2026-11-19 21:04:18 +08:00
open-design-crew[bot]
7621018d2a fix(media): recover interrupted account image downloads and task history layout (#666)
* fix(media): resume account image downloads and preserve task row heights

* fix(media): restart original image after an unsatisfiable range

* fix(media): reconcile recovery outputs and clean cancelled queued downloads

---------

Co-authored-by: stevenguotj <stevenguotj@stevengotjdeMBP.lan>
2026-11-19 19:38:16 +08:00
huihui-crypto
b8d16f3bab feat(explore): add the Gemini 4 Neon model hub (#659)
* feat(explore): add the Gemini 4 Neon model hub

Why
Gemini 4 Neon is the newest frontier release, and the most-shared Gemini 4
films on X are code-made motion. Explore had no place to show them or to
explain how to use the model in OpenMotion.

What
- Explore spotlight: a third slide, after Motion Studio and Black Friday,
  opens the Gemini 4 Neon hub (page=model-hub&hub=gemini-4).
- Hub page: template-library header (back, search, GitHub, close); hero with
  sign-in or connect-your-own-key actions and connection status; a
  left-to-right waterfall of 91 community videos ranked by X views, with five
  scene filters, viewport autoplay and an X view badge.
- Video detail reuses the template detail surface: stage, credits, video
  information, recreation instruction, production notes, Recreate and
  Contribute actions, similar videos and a per-video motion.md download.
- Availability section reads the live gateway catalog; Gemini 4 is shown as
  usable only when a provider serves it.
- Data: 91 videos from the public X collection and a teammate's candidate
  pool, deduplicated by post, media ID and cover hash; palettes extracted
  from covers; motion.md written from frame review per the template upload
  SOP. Media stays on the original posts; cards credit each author.
- Design system: adds the X mark to platform artwork (Simple Icons, CC0).
- Copy localized in all 11 interface languages.

Not included
- OpenDesign Cloud does not serve Gemini 4 yet; backend wiring is separate.
- CMS entry for these references follows the separate CMS process.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(explore): keep the Explore feed unchanged and share the hub summary

- The spotlight shows Motion Studio, Black Friday, Gemini 4 Neon and Product portrait.
  The feed still leaves out the same three featured scenes as main, so it is unchanged.
- The hub hero and the spotlight slide share one summary: the hottest Gemini 4 videos on X are all here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(studio): address model hub review

- Video detail: dialog, resources and similar-shelf labels read as videos
- Signed-in people see plan copy instead of a second sign-in prompt
- Remove unused hub facts, uses, sources, styles and translations
- Card previews render beside the cover button, not inside it
- Document the page=model-hub route in the route table and site map

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 18:49:00 +08:00
huihui-crypto
abee49082d fix(mcp): keep skillId out of user-facing Skill recommendations (#661)
Recommendations show each Skill's title and a one-line reason, like template
recommendations; the Agent keeps skillId for its own openmotion_get_skill call.

Co-authored-by: zhanghuihua <zhanghuihua@Mac.lan>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 18:13:13 +08:00
huihui-crypto
f0e8525426 feat(mcp): define when Agents list, recommend and read library Skills (#658)
* feat(mcp): define when Agents list, recommend and read library Skills

Adds skillDiscoveryGuide to the phase-one initialize instructions and the
openmotion_list_skills description: call it for technique/recipe or
Skill-recommendation requests and recurring formats, recommend at most three
Skills with a reason and wait for the user's choice, read the choice with
openmotion_get_skill, prefer host-installed Skills, and treat listing as
side-effect free. The handbook example and docs follow the same rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(mcp): align Skill recommendations with template discovery

Recommend two or three Skills (one if only one fits, never pad), matching
template browsing, and state that suggesting Skills for a described
recurring format is deliberately more proactive than template discovery.

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>
2026-11-19 17:55:18 +08:00
huihui-crypto
492540ffc2 feat(mcp): split library Skills into openmotion_list_skills / openmotion_get_skill (#648)
* feat(mcp): split library Skills into openmotion_list_skills / openmotion_get_skill

Skills no longer ride on the template tools. list_templates returns
templates only (no kind=skill rows, no skillTotal) and get_template rejects
Skill IDs with a pointer to openmotion_get_skill. The new tools reuse the
same repository/hosted readers and content-addressed object store.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(studio): point Skill copy prompts and MCP examples to openmotion_get_skill

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: register Skill tools in the MCP handbook and update tool-count tests

- Templates capability lists openmotion_list_skills / openmotion_get_skill;
  technique studio scenarios compose openmotion_get_skill.
- Tool counts +2; the WebMCP tracking integration test flushes between calls
  so 23 tools x 3 events stay within the bounded browser queue (64).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(mcp): ship Skill tools in CMS/package mode, add handbook capability and refresh counts

- CMS mode reads the library/skills shipped with the application and never
  waits on the template publication, so list_skills/get_skill work offline
  and in the packaged phase-one ZIP.
- Phase-one package E2E calls openmotion_list_skills and openmotion_get_skill.
- Handbook gets a Skill-discovery capability (zh-CN copy included).
- Growth teardown Skill reads its scripts via openmotion_get_skill.
- Public counts: 18 MCP names (17 capabilities) and 23 WebMCP page tools.

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>
2026-11-19 17:20:49 +08:00
open-design-crew[bot]
756f623973 fix(studio): prevent overlapping model menu rows (#653)
* fix(studio): preserve intrinsic model menu row heights

* fix(ci): type installer events and schedule new root suites

---------

Co-authored-by: stevenguotj <stevenguotj@stevengotjdeMBP.lan>
2026-11-19 17:02:32 +08:00
Q-baobao
c8c6d9e7df [OPEND-5455] Add the Black Friday template and Skill collection (#647)
* Add the Black Friday template and Skill collection

* Keep Black Friday covers and mobile text visible

* Enter Black Friday from Explore and reuse Skill details

---------

Co-authored-by: Q-baobao <Q-baobao@users.noreply.github.com>
2026-11-19 16:40:47 +08:00
HEOJUNFO
51574b4a19 fix(captions): escape WebVTT cue text on export and read it back on import (#598)
SRT and VTT exports wrote the same raw cue text. In WebVTT that text is
markup, so a caption such as "Tom & Jerry <3" lost everything after the
"<" in a player. Escape &, < and > for VTT only, and decode the same
references when a WebVTT file is imported so an export still round-trips.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 16:27:07 +08:00
Dery Ferdika
3d0fb8127e fix(mcp): reject engine resource reads consistently and cover the guard (#621)
readWorkflowResource() served openmotion://engine reads through a realpath plus prefix check, which contained traversal correctly, but the rejection path had no test and a missing target surfaced a raw ENOENT from realpath. That message echoes the resolved absolute path back through the MCP error to the caller, and it makes a malformed engine uri indistinguishable from a filesystem fault.

Extract the containment rule into resolveGuideFile() so it can be tested on its own: the uri grammar already rejects .. before the reader reaches the boundary, so a test that only goes through a full uri would prove the grammar rather than the containment. Map both the resolve and the read failure onto INVALID_RESOURCE_URI so every rejected engine uri reports one thing.

The new test covers the uri grammar, direct containment against a temporary root with an existing file above it, and the missing-target case. The temporary root is resolved with realpath before use, because on macOS the temp directory sits behind a /var symlink and an unresolved root would never prefix-match a resolved target. Both halves were confirmed red-green.
2026-11-19 16:24:46 +08:00
HEOJUNFO
ac54156527 fix(captions): keep adjacent caption cues touching after millisecond rounding (#597)
Cue start and length were rounded to milliseconds independently, so a cue
could end 1 ms before or after the next one began once a playback rate
moved the transcript off whole milliseconds. Word-highlight fragments then
stopped coalescing on export and one sentence came out as several SRT/VTT
cues. Round both edges and derive the length from them.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 16:24:17 +08:00
open-design-crew[bot]
3c2702f63f fix(distribution): shrink the default npm package and preserve Skill previews (#634)
* Reduce the default npm package size and preserve Skill previews

* Release Skill previews outside the preload window

* Defer Skill preview downloads until playback

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-19 16:07:59 +08:00
Tom Huang
41713f6656 Make Explore the home of the multimodal workspace (#644)
* 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>
2026-11-19 15:28:48 +08:00
open-design-crew[bot]
ee08d20577 feat(templates): add local reference video recovery (#614)
* feat(templates): recover empty searches with reference creation

* fix(templates): remove undefined form classes

* fix(templates): match task aliases against catalog purposes

* feat(templates): open reference creation from the library home

* refine(templates): feature the reference link below gallery actions

* refine(templates): align reference forms and show the entry across categories

* feat(templates): track reference video recovery flow

* fix(templates): retain reference drafts during search

---------

Co-authored-by: qiqi <qiqi@qiqideMBP.lan>
2026-11-19 15:07:58 +08:00
open-design-crew[bot]
6d865cb28e [OPEND-5413] feat(templates): unify interactive motion guide previews (#615)
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.
2026-11-19 14:42:46 +08:00