Commit Graph

439 Commits

Author SHA1 Message Date
Dery Ferdika
19621e86e7 docs(mcp): name the public media tool and correct the caching it describes (#680)
The provider documentation still named `openmotion_asset_models`, a tool that is
not part of the public contract. It also described the `models` read as returning
cached advisory hints, which it does not: `gateway/media-use.ts` returns only
providers, catalogues and the setup flag from that branch, while the
`mediaEntitlement`, plan and balance hints come from `action=inspect`.

Both sentences now name `openmotion_media_use(action=models)` and say what it
does: it reads the provider model catalogue without refreshing billing or
exposing balances, with `refresh=true` refreshing that catalogue. The advisory
hints stay attributed to ordinary gateway status and `action=inspect`.

Validation:
- npm run check
- no `openmotion_asset_models` reference remains in the two files
2026-11-23 11:19:59 +08:00
open-design-crew[bot]
aefe22ee2f chore(studio): add routing CI boundary gates, finalize docs, and align browser E2E scripts (Phase 5) (#830)
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-22 17:47:41 +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
open-design-crew[bot]
0bbac58419 perf(studio): lazy-load i18n dictionaries by locale and add governance checks (#820)
* perf(studio): lazy-load i18n dictionaries by locale and add governance checks

* fix(studio): emit numeric delta hashes for i18n keys to avoid gitleaks false positives

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-22 09:59:39 +08:00
open-design-crew[bot]
f6e017d8f4 feat(studio): extract workspace route registry and lazy-load all studio pages (#811)
* feat(studio): extract workspace route registry and lazy-load all studio pages

Phase 2 of the progressive Studio routing and lazy-loading refactor:
decouples route registration and page surface rendering from WorkspaceFrame
while preserving existing query URLs and KeepAlive behavior.

- Add studio/src/router/lazyPages.ts wrapping all 17 workspace pages and
  overlays with lazyWithChunkReload (plus LAZY_PAGE_MODULE_PATHS and a
  test preload helper)
- Add studio/src/router/routeRegistry.ts centralizing route metadata,
  keepAlive policy (editor/explore/assets), tracking pages, and arrivals
- Add studio/src/router/RouteViewport.tsx and OverlayLayer.tsx with
  Suspense + SettingsSurfaceBoundary isolation, and slim WorkspaceFrame.tsx
  down into a pure App Shell
- Pin base: '/' in studio/vite.config.ts for nested route readiness
- Strengthen studio/src/shellBoundary.test.ts with positive traversal
  controls (from #805 review follow-up), lazy-page static import guards,
  and routeRegistry unit coverage
- Document routing boundaries in docs/routing.md and align AGENTS.md,
  CLAUDE.md, CONTRIBUTING.md, CONTRIBUTING.zh-CN.md, and docs/README.md

Build impact (npm run build:studio):
- Entry index-*.js: 8,558.83 kB -> 7,237.40 kB (-1,321.43 kB / -15.4%)
- Entry index-*.js gzip: 2,650.91 kB -> 2,242.38 kB (-408.53 kB / -15.4%)
- Cumulative vs pre-Phase-1 main: -2,497.49 kB raw (-25.7%)

* fix(studio): eliminate lazy route transition flashes and missing shared CSS

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-22 09:21:16 +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
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
Heggria
bccb40cc97 Share one OpenDesign sign-in across all workspaces on a computer (#787)
* Share one OpenDesign sign-in across all workspaces on a computer

Each data directory used to keep its own connector credentials, so a Studio
opened on its own and an Agent host started with another MOTION_DATA_DIR,
installation or channel signed in separately. The account (credentials,
session, model catalogue and private connector) now lives in one per-user
directory; MOTION_ACCOUNT_DIR overrides it and temporary workspaces stay
isolated. An existing workspace sign-in moves there once. Cached plan and
catalogue are tied to the key and session they were read for, and the shared
connector installation runs npm once under a process lock.

* Keep connectors per workspace and never resurrect a signed-out account

Connector versions differ between channels, so each workspace keeps its own
runtime and a workspace signed in through the shared account prepares it on
first use. A legacy sign-in moves only into a shared directory that has never
held an account, under a process lock, and the same directory reached through
another spelling is recognised by device and inode. Temporary-directory checks
resolve Windows short names, and a catalogue read for an older session is not
written over a newer one.

* Bring along a workspace sign-in made after the shared account's last change

A shared directory that was signed out earlier no longer discards a newer
sign-in another workspace made with an earlier release; only sign-ins older
than the shared directory's last sign-in, cancel or sign-out are dropped.

* Make legacy account migration atomic, align storage docs, and avoid personal paths in tests

- Stage legacy account files to temporary paths with 0600 permissions before renaming them into the shared directory, rolling back any committed file on failure so the workspace keeps its only copy and no shared marker is left behind.
- Add regression tests covering copy failures on both empty shared directories and directories with an existing sign-out marker.
- Replace personal-path-shaped strings in sharedAccountDirectory tests with synthetic paths to satisfy the release source privacy scan.
- Update model-gateway, provider-settings, architecture and account skill docs to separate workspace-local account/runtime from the per-user account directory.
2026-11-21 01:48:06 -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
huihui-crypto
63e32cc616 feat(settings): show the lowest multimodal price beside the account plan guides (#782)
* feat(settings): lead the account plan note with the lowest multimodal price

Replace the 'Annual offer · 30% off' note beside the sign-in and Free/Go upgrade
guides with the lowest price that includes multimodal generation: Plus billed
yearly at $14/mo, and that Free and Go do not include it. Price read from
open-design.ai/pricing on 2026-11-21; Studio receives no price from Prism or AMR.

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

* docs(reviews): account offer screenshots for signed-out, Free and Go (mock account data)

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

* feat(settings): keep only the price in the account plan note

Drop the 'Plus, billed yearly. Not in Free or Go.' detail so the note reads
just 'Multimodal from $14/mo'; the offer detail is now optional. Refresh the
signed-out, Free and Go screenshots (mock account data).

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

* style(settings): show the plan note in the warning tone on the Free and Go guides too

Match the signed-out callout so the multimodal price reads the same on every
guide; the colour now comes from the shared design-system rule.

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>
Co-authored-by: zhanghuihua <zhanghuihua@huihuideMacBook-Pro.local>
2026-11-21 17:08:22 +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
1b706a07ec fix(studio): unify Explore and Studio entry routes into Image/Video/Audio editors (#778)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 16:01:04 +08:00
open-design-crew[bot]
3aa94dfce6 Simplify Explore cards and community actions (#766)
Refine Explore card descriptions and remove redundant labels.

Align community Skill and prompt actions while preserving their destinations.
2026-11-21 14:06:31 +08:00
Dery Ferdika
002d793712 docs(mcp): point the merge gate at the checks CI actually emits (#677)
The phase-one E2E section said CI produces a `phase1-package-e2e` check
context and asked maintainers to make it a required status check. No job has
that name: the test runs inside the `distribution` lane
(`ci.yml`, `node tests/phase1-package.mjs "$archive" "$PWD/.artifacts/phase1-package-e2e"`),
and the only required aggregate is `standalone`, whose `needs` list is the
seven lanes.

The same paragraph also still named a pre-parallelisation `assemble` check,
and the local-testing paragraph said the E2E task runs "all 11 tools" while
the phase-one profile has served 18 names since the Skills tools were added.

Describe the step by where it actually runs, point the branch-protection
advice at `standalone` and the lanes it aggregates, and correct the tool
count to 18. Validation: `npm run check` passes; `ci.yml` job names are
template-library, maintainability, checks, platform-reliability, studio,
distribution-browser, distribution and standalone; `shared/mcp-profiles.json`
phase1.tools has 18 entries and `tests/phase1-package.mjs` asserts that list.
2026-11-21 11:56:44 +08:00
Dery Ferdika
e05ed105c7 docs(skills): count the three holiday sale recipes in the Library total (#678)
`docs/skills.md` said there were one hundred and one canonical Library names
and listed five named Skills plus 96 single-style recipes, which adds up to
101. The tree has held 104 since the holiday sale Skills landed:
`openmotion-sale-carousel`, `openmotion-sale-countdown` and
`openmotion-sale-promo` are all present under `library/skills/` and the same
document already describes them.

Correct the total to 104 and name the sale recipes in the enumeration, keeping
the 96 single-style recipe count that still holds (5 + 3 + 96 = 104).
Validation: `library/skills` contains 104 directories, all canonical
`openmotion-*` names; `npm run check` passes.
2026-11-21 11:55:43 +08:00
Dery Ferdika
12cc9d677a docs(media-kit): cite the Brand Kit mission line instead of a README anchor (#679)
The citable facts table supported its mission row with a README anchor.
`README.md` has no `everyone-can-be-a-creator` heading or explicit anchor, and
it no longer states that mission anywhere, so the citation pointed at a
resolving section that does not contain what the row claims. Changing the
anchor to another README section only moved the dead reference.

`packages/design-system/brand/BRANDKIT.md` states the mission directly
("Everyone can be an AI video editor. Everyone can be a creator." in English
and Chinese), which is what the row paraphrases, so the evidence column now
points there. The row text and the "product direction, not a reach guarantee"
qualifier are unchanged.

Validation: the linked file exists at that relative path from `docs/`, and
`npm run check` passes.
2026-11-21 11:55:16 +08:00
fengcao-op
b48e40c2db Polish Explore cards and workspace navigation (#744)
Refine Explore and template discovery, align workspace navigation and breadcrumbs, and localize the six 3D motion card descriptions.
2026-11-21 10:33:44 +08:00
MasonJJ
fa7b03f296 fix(studio): streamline provider hierarchy, verified media capabilities, and model editing (#760)
* fix(studio): streamline model provider detail hierarchy and catalog toolbar

Separate connection status from inline capability metadata in the provider header, compact the configured OpenDesign account callout into a balanced horizontal banner with a secondary manage action, replace cryptic icon-only sort controls with a labeled sort selector, hide redundant ungrouped headers and unfiltered count rows, deduplicate identical model titles/IDs, highlight active default models, and sort configured providers ahead of unconfigured ones.

* fix(studio): promote modality tabs and unify provider header and filter menu

Fold configured paid OpenDesign account identity, capitalized plan badge and manage action directly into the provider header instead of showing a redundant card, promote model modalities into segmented tabs with live counts above search, merge sorting under the single Filter menu with human-readable Default order, and pin active default models to the top of default order.

* fix(studio): remove redundant model filter menu, use Text modality label and unify segmented toolbar

Drop the over-granular model filter/sort dropdown in favor of modality segmented tabs and search, rename the text model modality to Text (文本 in zh-CN) without affecting General display language or editor text layers, remove the duplicate total count beside Models when tabs are visible, and pair the raised segmented control with the search field on a single aligned row.

* fix(studio): show verified media capabilities, streamline model editor and unify provider hierarchy

- Replace non-executable LLM capability/input/token-limit controls in ModelEditor with directly visible model types (when editable), structured schema-backed default parameters and collapsed raw JSON fallback.
- Hide the model edit menu on managed OpenDesign account and local Codex rows, and render verified read-only media capability hints derived from provider metadata and shared generation options (gracefully omitted when absent).
- Unify multimodal model rows to two lines with one recognizable product name on managed providers and informative inline endpoint IDs on BYOK/API providers.
- Pin and badge Official channels (OpenDesign account and OpenDesign Cloud API) together in the sidebar, sink setupRequired presets without empty Models sections, replace generic Built-in provider subtitles with accurate role/protocol labels, compact the local Agent status bar without duplicate sync/search controls, and disclose non-media protocol limits on Anthropic/Google connections.

* fix(studio): remove redundant clear-filters bar under model search

* fix(studio): define provider header badge rules for tokenGate and align byok browser selector

* fix(studio): preserve numeric/text drafts, re-check choice requires and align provider docs

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
2026-11-20 22:44:33 +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
Q-baobao
dd142f9565 [OPEND-5521] Add Cinema Studio template gallery and generation presets (#729)
* Add Cinema Studio template browsing and generation drafts

* fix(studio): complete Cinema help translations and restore shelf heading

---------

Co-authored-by: qiqi <qiqi@qiqideMBP.lan>
2026-11-20 20:09:48 +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
Q-baobao
492fe2b2cd [OPEND-5528] Restore Motion Studio catalog browsing and direct template details (#725)
Add the full Motion Studio catalog and direct editor entry. Restore the last available project from Explore and open templates in their existing detail views. Preserve the blank-project card from main and share industry ordering across the two shelves.
2026-11-20 18:14:08 +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
82eb020582 Show design templates on the Design Studio landing (#718) 2026-11-20 16:59:36 +08:00
open-design-crew[bot]
63c06dfa40 Refine workspace navigation and settings shortcuts (#711)
* Refine appearance and Brand Kit navigation

Show theme choices directly in the account menu. Move the Brand Kit shortcut into the Explore navigation beside Skills.

* Remove redundant controls from primary navigation pages

Use the shared header to navigate between media studios, the API directory, and MCP onboarding. Keep contextual back actions for scene landings and host-managed views.

* Restore the Brand Kit shortcut in the header

Return Brand Kit to the palette action beside Assets and remove its Explore masthead shortcut.

* Return to the originating page from contextual navigation

* Embed MCP setup in Settings and extend media breadcrumbs

* Unify return controls for Explore spotlight destinations

* Open the Explore image spotlight in Design Studio

* Move the settings back control into the sidebar

* Label the settings back button

* Restore the original API page navigation

---------

Co-authored-by: fengcao <fengcao@Mac.lan>
Co-authored-by: fengcao <fengcao@fengcaodeMacBook-Pro.local>
2026-11-20 16:25:57 +08:00
MasonJJ
211f08b719 Add creative preview cards and audiovisual continuity guidance (#708)
* feat: add creative preview cards and audiovisual continuity guidance

* test: schedule storyboard card coverage in standalone CI

* fix: preserve storyboard previews on rerender

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
2026-11-20 16:15:24 +08:00
open-design-crew[bot]
6b444d5611 Restore Explore template and Skill shortcuts (#707)
* Restore Explore library shortcuts

Reuse the template and Skill library routes from the Explore shelves. Enlarge the template library title and add a matching close control to the Skills page.

* Match Explore shortcut and library heading styles

Restore the compact text treatment for Explore shortcuts, align the library headings, and remove the GitHub star link from the template library header.

* Enlarge and add icons to Explore shortcuts

* Set Explore shortcut labels to 13 pixels

* Restore Skills focus only when closing the library

* Clarify which library header shows the GitHub badge

---------

Co-authored-by: fengcao <fengcao@Mac.lan>
Co-authored-by: fengcao <fengcao@fengcaodeMacBook-Pro.local>
2026-11-20 15:46:50 +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
open-design-crew[bot]
1a5185db3c Refine Studio colors and bring Motion templates into the workspace (#705)
* Refine Studio selection colors and consolidate workspace navigation

* Open Motion templates within the editor workspace

* Compact Motion templates and group workspace navigation

* Align workspace headings and remove redundant template action

* Tighten project action spacing to four pixels

---------

Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>
2026-11-20 15:19:22 +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
Haoran Zhou
51b57b9f30 feat(skills): converge OPEND-5424 media generation strategy and workflow layering (#700)
Consolidate multimodal generation timing, cross-shot subject consistency,
and mixed-media recreation boundaries into single-sourced shared rules,
and tighten skill layering across the repository:

- Add Generation timing ladder, Cross-shot consistency (locked anchor,
  staged continuation vs derived first-frame stills verified for
  action-ready pose and framing before I2V, shared style cues, and
  side-by-side frame review), and Mixed-media recreation boundaries to
  skills/openmotion-production/references/materials.md.
- Wire director, recreate, template-to-video, video-to-template, and
  media skills to those shared anchors and remove cross-layer direct
  links into openmotion-media/references/*.
- Trim openmotion-director/SKILL.md and single-source reference-video
  cut auditing and bounded repair between reference-video.md and
  video-to-template/references/verify.md.
- Add workflow-layering regression tests enforcing media entry boundary,
  routing table parity, and OPEND-5424 single-source anchors.

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:03:08 +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
open-design-crew[bot]
008e46e896 Extract Open Design UI and report component coverage and detached styles (#693)
* 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>
2026-11-20 12:13:26 +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
open-design-crew[bot]
2ca4b9766d Migrate Studio actions to the component library and add a UI inspector (#688)
* 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>
2026-11-20 10:22:17 +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