Commit Graph

34 Commits

Author SHA1 Message Date
open-design-crew[bot]
c10b593343 feat(cloud): update install.md for cloud MCP OAuth, add stateless onboarding routes, and restyle OAuth consent UI (#984)
* feat(cloud): add Streamable HTTP MCP install guide, stateless onboarding API, and OpenMotion OAuth consent UI

* fix(release): point legacy npm install-guide contract check at archived template

* fix(cloud,onboarding,oauth): address PR #984 review feedback

- Add DSH-compatible dshCardPresentation payload matching detailsSchema
  (id, title, description, video previewUrl, posterUrl, duration) and
  update docs/install.md + Zod schema regression coverage
- Refactor OAuth 2.1 consent HTML to consume /design-system/ui.css,
  data-motion-ui, semantic --motion-* tokens, and shared .ui-* controls
  with zero local palette overrides or color literals
- Extract shared inline-onboarding document renderer into
  shared/inline-onboarding-renderer.ts preserving the native_required
  external-media guard across CLI and cloud paths
- Cache encoded onboarding preview media once per resourceVersion and
  replace entry-count HTML caching with a 16 MiB byte-bounded LRU cache
- Restore local/DSH onboarding default (docs/templates/legacy-npm-install.md)
  in scripts/install-onboarding.mjs and repair moved relative links
- Align canonical repository docs (AGENTS.md, CLAUDE.md, READMEs,
  release/adapter/skill docs) and fix .codex-plugin/onboarding anchor

* test(onboarding,dsh): keep controls and DSH card tests independent of Studio build output

* docs(onboarding): repoint legacy local/npm references and anchors to archived guide

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-24 21:05:53 +08:00
open-design-crew[bot]
74a3d1e79d Revert "feat(super-agent): add Super Agent workspace, Artifact Viewer, unified resource hub, and Agent Runtimes (#808)" (#877)
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
Update README star history / refresh (push) Has been cancelled
Reverts commit 216e12abfe on main while keeping #808 (and follow-up #848) intact on the next branch for continued local/desktop Super Agent development.

Preserves subsequent main commits (#844, #847, #849, #851, #854, #856) outside the reverted #808 surface and restores the pre-#808 /mcp routing expectation in tests/server.test.ts.

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-23 17:53:30 +08:00
Tom Huang
216e12abfe feat(super-agent): add Super Agent workspace, Artifact Viewer, unified resource hub, and Agent Runtimes (#808)
* feat(super-agent): add Super Agent workspace, Artifact Viewer, and unified resource hub

* fix(super-agent): align merge with main and mode composer controls

* wip(super-agent): save local Super Agent updates before merging origin/main

* feat(super-agent): add cloud share, game handoff, browser annotations, review fixes, and UI craft guidelines

* feat(arch): add cross-platform MCP hub, desktop shell, batch/triggers, and unified Web Publish

Implement OpenMotion's cross-platform MCP-first architecture and desktop packaging:
- Streamable HTTP MCP gateway (/mcp) with scoped Bearer tokens and unified Stdio/HTTP dispatch
- Multi-runtime Agent routing (local-direct, outbound local-bridge with macOS/Linux/Windows scripts, remote-service)
- Shared Batch Content Optimization and webhook/schedule Trigger engine across HTTP, MCP, and Super Agent
- Generalized HTML Web Publish service (design, game, motion, and standalone html targets) with shared Studio WebPublishPopover and Design Deploy compatibility facade
- Standalone Electron desktop shell (desktop/) for macOS, Windows, and Linux with multi-platform icon pipeline, WebGL splash/OpenDesign sign-in flow, auto-updater, and diagnostic export
- Static asset compression/caching (editor-server.ts), bounded LRU lifecycle helpers, and visibility-aware polling
- Comprehensive unit, HTTP, MCP, performance, and desktop test suites

* docs(arch): add cross-platform MCP architecture guide and interactive boundary map

Document the five-layer cross-platform MCP architecture, desktop packaging boundaries, batch/trigger automation, and generalized HTML Web Publish pipeline in docs/cross-platform-mcp-architecture.md and docs/architecture-map.html.

* fix(ci): schedule new backend tests, fix WorkspaceStore import, and harden Codex/runtime shutdown

* feat(super-agent): refine Artifact Viewer, CodeViewer styles, runtime/share handlers, and tests

* fix(ci): resolve remaining gitleaks, WebMCP tracking, i18n, menuStyle, and tokenGate checks

* chore(ci): remove accidental node_modules symlink from worktree commit

* fix(tracking): register motion_cloud_share tool and openmotion_cloud_share actions

* fix(account): avoid treating plain-text HTTP 403 prose as structured error code

* feat(super-agent): refine artifact viewer toolbar, game presentation, and cloud share trigger

* test(package): exercise openmotion_cloud_share in packaged phase1 smoke E2E

* fix(cloud-share): rotate file identity on entry path change and allow stop after project deletion

* test(e2e): verify MCP web deploy, game lifecycle, and fix preview asset CSP

* fix(super-agent): add persistent live progress dock and Continue recovery UX

* fix(design): allow sandboxed preview CORS fetches and preserve top-row preview thumbnails

* feat(super-agent): refine WebPublishPopover and ArtifactBrowserPane styles and tests

* fix(bridge,ci): forward workingDir to bridge/remote runtimes, sync standalone Codex events, and align tracking/CI suites

* fix(ci): keep 1800ms active-project polling in useWorkspace and update MCP tool count to 36

* fix(web-publish,server): stop prior slug on new_link, allow deleted-project unpublish/status, avoid bfcache SSE socket exhaustion, and await active turn cleanup

* chore(distribution): raise default npm package budget to 26 MiB

Baseline main is already at 23.69 MiB compressed (98.7% of the previous 24 MiB
budget after Game Studio assets), and adding Super Agent, Artifact Viewer,
WebPublish, Local Agent discovery/bridge, and 10-locale i18n adds +0.38 MiB
compressed with no new offline media (24.06 MiB total).

Update MAX_BYTES in .github/scripts/npm-package-size.py and document the 26 MiB
budget in CONTRIBUTING.md.

* feat(super-agent): add Game Studio Super Agent mode, masonry showcase, and artifact viewer enhancements
2026-11-23 11:29:48 +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
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
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
open-design-crew[bot]
5cc89c0ba9 [OPEND-5443] feat(onboarding): unify guides and native DSH setup (#616)
* fix(install): consolidate setup and public Skill instructions in docs

* docs(install): use the public Motion guide short link

* feat(dsh): add interactive template recommendation cards

* feat(onboarding): share three-card welcomes across hosts and DSH

* fix(dsh): automate setup and complete native onboarding

* fix(dsh): preserve native shell and panel controls

* fix(dsh): enlarge card videos without prompting the agent

* fix(dsh): align template cards with Codex presentation

---------

Co-authored-by: lefarcen <935902669@qq.com>
Co-authored-by: lefarcen <lefarcen@users.noreply.github.com>
2026-11-19 11:08:43 +08:00
Tom Huang
fcbaa2b029 feat: unify captions, editing and platform exports (#547)
* feat: add transcription and unified caption editing workflows

* Fix caption integration regressions and align explicit timeline modes

* Update bundled adapter and render fixtures for caption preview integration

* Resolve caption parsing from the isolated native runtime

Avoid importing native dependencies from the dependency-free ZIP at server startup. Load the HTML parser from the installed runtime for caption operations and cover isolated server import plus caption authoring.

* fix: preserve caption panel widths and manual editing intent

* fix: retain new caption selection during preview refresh

Keep newly created captions selected while the preview replaces its old clip list. Cover the stale-preview ordering with a failing-before/passing-after regression and verify pacing draft cancellation and recreation in Chromium.
2026-11-17 22:39:51 +08:00
Tom Huang
89d80cbc40 Add configurable platform export handoffs for external Agents (#535)
* feat(export): add platform-specific Agent handoffs and guidance

Add configurable platform briefs, branded destination choices and a bounded export panel with fixed actions. Share scenario guidance with the MCP handbook and retain project identity, revision protection and manual upload boundaries.

Cover prompt contracts, clipboard recovery, responsive scrolling, packaging, and the real Studio/MCP/export/playback workflow.

* Fix platform export regression fixtures and shared translations
2026-11-17 18:20:37 +08:00
open-design-crew[bot]
008b73be9b feat(release): reuse curated stable changelog notes (#474)
Read reviewed stable release descriptions from the frozen application source and reuse the sealed notes at publication. Preserve the current template synchronization and publication authorization rules.
2026-11-17 12:00:08 +08:00
Tom Huang
15411ea999 Add Brand Kits and style-only Motion Packages (#480)
* Add Brand Kits and style-only Motion Packages

Extract reusable design tokens from public websites and provide the official Brand Kit catalogue. Use prebuilt showcases for instant catalogue previews and keep website artwork off the playback path.

* Expose Brand Kits through MCP and restore gallery regressions

Use the same extraction receipts and revision checks in Studio and MCP. Keep related template retries reachable and preserve shared locale labels.

* Fix Brand Kit playback, uploads and catalogue navigation

Authorize showcase scripts in the opaque sandbox with a nonce, chain file mutations with their returned revisions, and run the Brand Kit regressions in CI.

* Clarify Brand Kit MCP access and share showcase dimensions

Document the existing asset tool action and derive official cards, saved cards, and detail metadata from the maintained showcase contract.

* Restore the Skills gallery header styles

Consume shared discovery styles directly so the search field, introduction, and contribution button do not depend on template dialog internals.
2026-11-16 23:51:49 +08:00
Tom Huang
0c3b1bcef5 Add offline project sharing and lifecycle management (#482)
* Add offline project sharing and lifecycle management

* Cover project tools in tracking and package smoke tests

* Verify tracking coverage against registered tools

* Validate pinned revisions in project archive requests

---------

Co-authored-by: pftom <pftom@pftomdeMacBook-Pro.local>
2026-11-16 23:27:37 +08:00
MasonJJ
2d960af713 Restore optional npm installation and the existing release workflow (#444)
* Restore optional npm installation and manual release workflows

* Localize the optional npm README sections and align the install.md note

Translate the new optional npm installation section in README.zh-CN.md,
docs/README.zh-CN.md and docs/README.ja.md so the shipped localized READMEs
keep localized headings, instructions and link labels next to the existing
source-install prompt.

Reword docs/release-guide.md to describe docs/install.md the same way as
docs/release-workflows.md: it is not a generator input, but the source
repository entry that routes explicitly selected npm installations to the
published stable or test guide while install.md remains the default route.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-16 17:51:34 +08:00
MasonJJ
6287078dca [OPEND-5329] feat(fonts): add role-led typography, 40 fonts and on-demand imports (#429)
* Add role-led typography and 40 on-demand font families

* Fix font parsing in extracted plugins and exercise font paths in CI

* Avoid redundant font response copies while preserving byte ranges

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
2026-11-16 16:12:13 +08:00
MasonJJ
d3c5b84062 Retire npm package installation in favor of source setup (#419)
* Retire npm package installation in favor of source setup

* Align release policy regression with npm retirement

* Repoint archived release controls to real guide template inputs

The npm-retirement cutover moved the published-guide template to
docs/templates/npm-install.md and inlined docs/install-onboarding.md into
every generated guide, but the archived release documents still named
docs/install.md as the template and as a protected control file. A
maintainer following an authorized republication or recovery path would
have edited the nine-line stub while generation read the untouched
template.

Update the control-file list and the release-guide and activation
references to the actual generator inputs, and state that the source
docs/install.md is only an archived pointer. Archive banners are kept.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

* Restore source installation onboarding language selection

* Repoint archived npm guide to the moved presentation anchor

The inline-presentation contract now lives in docs/install-onboarding.md,
so the archived npm guide must reference that section instead of the
pointer-only docs/install.md.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-16 14:12:18 +08:00
Tom Huang
57f6062ae9 fix(studio): stabilize timeline editing and unblock preview startup (#411)
Preserve timeline drop positions and edited lanes, reserve upload placeholders immediately, and align selected trim controls.

Honor runtime media preload policy during preview startup and bound stalled asset waits by elapsed time.

Validated with 8,812 passing Studio tests, targeted browser regressions, and successful PR CI.
2026-11-15 23:40:49 +08:00
Tom Huang
acb80e4095 feat: add an asset workspace with generation, versions, and editor import (#413)
* feat: add a shared asset workspace with generation and version history

Unify direct model jobs and embedded Codex conversations around shared asset operations exposed through MCP. Add reusable media uploads, pinned references, version browsing, trash undo, and verified project imports.

Refine compact creation controls, persistent task history, solid menus, and stable resizable preview layouts. Integrate asset navigation with main's history and deep links, and align onboarding, tracking, documentation, and distribution.

* test: exercise openmotion_assets in the packaged phase-one e2e

The phase-one profile now exposes openmotion_assets, but the packaged
distribution smoke test still asserted that every public Tool was called
without ever invoking it, so the Distribution regression lane failed.

Import a real audio file into the library, read it back by asset and
version, list it by modality, and import the pinned version into the
project so the new Tool is covered end to end.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

* fix: preserve asset request receipts and pending draft edits

Exercise asset library replay in the packaged MCP smoke test and align compact control documentation with verified shared geometry.
2026-11-15 23:24:33 +08:00
Tom Huang
1d3ff2242b Add portable Motion Package specification and authoring tools (#394) 2026-11-15 12:12:59 +08:00
Tom Huang
61ee4787c8 Unify Home navigation, provider settings, and local Agent selection (#393)
* Unify Studio navigation, provider settings, and local Agent workflows

* Serve the public provider notice from the editor file handler

The provider icon set added by this branch publishes
packages/design-system/providers/NOTICE.md through publicDesignFiles, but
serveEditorFile rejected .md because its MIME table only knew application
assets. The distribution regression test requests every public design file
and got 404 for the notice, so the attribution file was unreachable in the
editor package.

Map .md like the existing application server does (text/plain, UTF-8) so
the published notice is served with its bytes intact.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

* Include the provider icon manifest in the bundled adapter fixture

export-adapters.ts and the bundled runtime import
packages/design-system/index.js, which now also imports provider-icons.js to
publish the provider artwork. The adapter fixture copied every runtime file
the export reads except that new module, so the bundled launch failed with
ERR_MODULE_NOT_FOUND for provider-icons.js in the distribution regression
job.

Copy the icon manifest into the fixture alongside index.js, matching the
runtime distribution list that already ships it.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

---------

Co-authored-by: pftom <pftom@pftomdeMacBook-Pro.local>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-15 11:56:47 +08:00
MasonJJ
0f0e8a7210 Show chat video only after final MP4 delivery (#384)
* Show chat video only after final MP4 delivery

* test(distribution): accept blob origin in packaged inline player CSP

The final-video player decodes component-private MP4 data into a browser-owned
Blob URL for seeking and replay, so the packaged inline player resource declares
both `data:` and `blob:` origins. tests/inline-video.test.ts and
docs/inline-video.md were updated with that contract, but the packaged
distribution smoke test still required `data:` only and failed the
Distribution regression lane before exercising any Tool.

Align the packaged assertion with the shipped resource metadata.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>
2026-11-15 00:42:41 +08:00
MasonJJ
5019da6e59 [OPEND-5218] feat(video): show per-turn inline progress and playback (#363)
Integrate the reviewed change after successful current-head CI and focused validation against the latest main.
2026-11-13 19:11:36 +08:00
open-design-crew[bot]
777665daca [OPEND-5244] docs: route agent setup through the source installation guide (#353)
* docs: distinguish source startup from published app installation

* docs: add a short agent prompt and source installation guide

* docs: reuse existing connection and first-run instructions

* docs: preserve agent installation prompt wording

---------

Co-authored-by: lefarcen <935902669@qq.com>
2026-11-13 15:51:23 +08:00
lefarcen
c9f0aef965 feat(templates): load repository templates in local Studio and MCP 2026-11-12 23:06:32 +08:00
bone3deep1962-collab
057fd22b68 Unify public OpenMotion names with backward-compatible aliases 2026-11-12 17:30:27 +08:00
Joey-nexu
24abb9cc3d Integrate the OpenMotion README and localized showcase into feature/motion (#220)
* docs: introduce openmotion through a launch-film remix and first demo

* docs: restore the Great motion. Made yours. cover for openmotion

* Show what creators can make in Codex with three editable motion films

* docs: enhance contributing guidelines and README for clarity and structure

- Updated CONTRIBUTING.md and CONTRIBUTING.zh-CN.md to include detailed contribution types and locations.
- Revised README.md and README.zh-CN.md for improved presentation and added AI editing context.
- Introduced a new media kit documentation for creators and agents.
- Clarified Motion Design MD specifications and usage in documentation.
- Enhanced agent adapter documentation to outline entry points and usage scenarios.

* docs: enhance agent integration and product positioning

- Added detailed entry points for connecting agents from OpenMotion and using OpenMotion within agents, clarifying user pathways.
- Updated the README and related documentation to reflect the unified product positioning as an AI-native, open-source CapCut alternative, emphasizing the Claude Motion reference for motion creation.
- Expanded on the editing lifecycle and product pillars, detailing intelligent cuts, media generation, and multiplatform capabilities.
- Corrected branding inconsistencies, ensuring the use of "Claude Motion" throughout the documentation.
- Improved navigation and accessibility of bilingual resources for creators and agents.

* docs: introduce collaboration roadmap for human-agent co-editing

- Added a new section in the README and media kit outlining the upcoming collaboration features, emphasizing shared editing, timeline comments, and iterative review processes.
- Included concept artwork to visually represent the planned collaboration experience, labeled as a concept preview.
- Updated related documentation to clarify the direction of human-agent collaboration in video creation and editing, ensuring consistency across bilingual resources.

* docs: update README and related documentation for All-in-One Studio and Super Motion Video Agent

- Revised the README to reflect the new product positioning as an All-in-One AI-native Studio for AI Cut & Motion, emphasizing the integrated creative workflow.
- Introduced the Super Motion Video Agent concept, detailing its role in understanding creators, organizing tasks, and facilitating collaboration.
- Enhanced sections on the editing lifecycle, collaboration features, and the overall product vision, ensuring clarity and consistency across bilingual resources.
- Updated the media kit and related documentation to align with the new branding and messaging strategy.

* chore: update versioning and enhance documentation for OpenMotion 0.1.0

- Changed version from 0.6.2 to 0.1.0 across package-lock.json, package.json, and plugin.json to reflect the new release.
- Expanded README and related documentation to introduce seven creative briefs for AI Cut, providing actionable insights for users.
- Added new examples and product tour documentation to guide users through the features and capabilities of OpenMotion.
- Updated references to align with the new branding and product positioning, ensuring clarity across bilingual resources.

* docs: showcase presenter stories and reusable Motion Design packages

* docs: bundle Presenter Tech as a local OpenMotion template

* docs: update media references in documentation to local paths

- Changed external media links to local paths in README, examples, and collections documentation for improved accessibility.
- Updated references across multiple files to ensure consistency and ease of use for users accessing media assets.

* docs: make creative resources portable and emphasize agent editing

* Document a reproducible brand video remix in Codex

* Present OpenMotion as a Codex plugin for making brand videos

* Lead README titles with reverse-engineering brand videos

* Show the Firecrawl reference and OpenMotion remake in Codex

* Show the Codex to Studio workflow with three synchronized brand studies

* Recreate full social footage from an original post in Codex

* Shorten the Codex walkthrough and show five-second brand comparisons

* Show the native Codex workflow and highlight one-click video templates

* Link the OpenDesign Developers X account from the README

* Feature the open-source Firecrawl motion brief in both README intros

* Show OpenMotion agent setups and visual brand comparisons

* Shorten the OpenMotion README headline

* Name brand videos in the OpenMotion headline

* Show the real Codex prompt and editable Studio timeline on the README covers

* Feature seven synchronized brand film studies and mobile README covers

* Feature the Figma butterfly reveal in the OpenMotion covers and demo

* Use the README headline and OpenMotion name in launch artwork

* docs: enhance README guidelines and introduce reverse engineering resources

- Added a new section in AGENTS.md outlining guidelines for README writing and acknowledgements, emphasizing the importance of focusing on OpenMotion's capabilities and avoiding product comparisons.
- Updated CLAUDE.md to reference the new README guidelines.
- Introduced a comprehensive README.REVERSE-ENGINEERING.md file, detailing the reverse engineering process and showcasing additional resources.
- Added various media assets and a brand showcase README to support the alternative README, ensuring proper attribution and ownership of external content.

* docs: update README with new diagrams and enhance creative context

- Replaced text-based diagrams in README.REVERSE-ENGINEERING.md with SVG visuals to improve clarity and engagement.
- Added new SVG diagrams illustrating the creative stack and context, enhancing understanding of the workflow and resources.
- Introduced a Python script for generating SVG diagrams, ensuring maintainability and ease of updates.
- Updated sections to reflect the integration of visual aids, reinforcing the documentation's focus on agent capabilities and creative processes.

* Simplify the OpenMotion README opening

* docs: enhance README and add multilingual support for OpenMotion

- Updated the main README to reflect a new focus on reverse engineering capabilities, emphasizing the full-stack video creation process.
- Expanded language support by adding Japanese and Korean translations, ensuring broader accessibility for users.
- Improved navigation links and content structure to facilitate user engagement and understanding of the platform's features.
- Enhanced visual elements, including updated cover images and diagrams, to better illustrate the creative workflow and resources available.

* Explain the full-stack agentic video workflow and its architecture

* Highlight free local use and list the four supported agents

* List WorkBuddy alongside the other local agents

* Show five synchronized brand film recreations in the launch READMEs

* Restore Tom's showcase layout and restage five brand film adaptations

* Anchor the brand gallery links at the top of each film

* Organize the OpenMotion README around examples, features and setup

* Pair brand film comparisons with their video use cases

* Restore the full-stack video positioning and original use-case order

* Restore the original feature explanations and unify the OpenMotion showcase

* Present the OpenMotion cases in grouped tables and clarify BYOA and BYOK

* Restore the repository badges beneath the OpenMotion tagline

* Unify the README case galleries and restore community badges

* Remove the Presenter Tech demo from the README showcase

* Rename the features section to Why OpenMotion

* Show the original clip and editable remake on the README cover

* Restore the watercolor README cover and update the product introduction

* Restore the visual resource library and shared-project architecture guide

* Group the remake workflow with generation and fix README navigation

* Restore the community chapter and mark the README highlights

* Feature the agent gallery and numbered benefits in the README cover

* Restore local agent setup buttons and feature WorkBuddy

* Give every agent an equal gallery card and shorten the cover label

* Use the plain OpenMotion wordmark in README headings

* Remove the new label from WorkBuddy in README artwork

* Show a talking-head caption remake in the README cover

* Explain full-stack video recreation in the README highlights

Lead the four highlights with the editable HTML recreation workflow and keep the cover as the single entry point to the talking-head comparison.

* Unify the OpenMotion logo and localize the public READMEs

* Use the product name as text in README headings

* Lead with the OpenMotion logo and place the text title above the introduction

* Align the README resource language count with the three localized guides

The resource contract in docs/readme/RESOURCES.md still said the four
language introductions share the local assets, and the architecture
document described the same contract as four language READMEs. The
Korean guide was removed, so both now name English, Simplified Chinese
and Japanese and note the four README files those three languages use.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

* Use the hosted Chrome installation for PR rendering checks

---------

Co-authored-by: joey <joey@Joeys-MacBook-Pro.local>
Co-authored-by: pftom <1043269994@qq.com>
Co-authored-by: joey <joey@Mac.lan>
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
Co-authored-by: luogao <luogao@refly.ai>
2026-11-10 18:31:08 +08:00
罗高
3dbb455ba6 feat: add controlled Motion candidate and test release workflows 2026-11-09 23:53:35 +08:00
罗高
9b188a7562 Merge feature/motion and retain isolated complete-package acceptance 2026-11-09 21:31:18 +08:00
罗高
bc5aaca50e docs(tracking): explain event integration and agent handoff 2026-11-09 18:43:47 +08:00
罗高
8303d22271 feat(delivery): add verified Agent installation guide and controlled R2 upload 2026-11-09 17:33:06 +08:00
罗高
61a0e7d9e4 feat(motion): bundle complete npm application with test-channel versions 2026-11-09 16:58:59 +08:00
Tom Huang
ff26be350e docs(motion): record upstream sync and streamline contributor guidance (#176)
* docs(motion): record latest upstream main synchronization

* docs: require English commits and repository collaboration

* docs: replace mandatory change logs with architecture review
2026-11-08 20:30:54 +08:00
open-design-crew[bot]
93e4533358 feat(motion): sync five Skills, UI and bilingual guides (#169)
Co-authored-by: 罗高 <luogao@refly.ai>
2026-11-06 19:19:07 +08:00
罗高
4250e10dbb feat(motion): replace legacy app with standalone OpenMotion 2026-11-06 12:31:58 +08:00