* refactor(cloud): remove hardcoded production Studio subdomain from runtime and install guide
Avoid tying the server, Studio frontend, WebMCP tools, and onboarding/install guides to a fixed production Studio subdomain so domain switches only require deployment configuration updates:
- Replace hardcoded Studio origin in docs/install.md with the {{ORIGIN}} placeholder rendered from APP_PUBLIC_ORIGIN, and require a non-empty publicOrigin in cloud-onboarding.ts instead of falling back to a hardcoded host.
- Use relative paths instead of a hardcoded production Studio origin fallback in campaignPricingHref and WebMCP cloud tool descriptors when no origin is available.
- Reference the active deployment <ORIGIN> in onboarding and entry Skill docs instead of hardcoding a specific Studio subdomain.
* docs(onboarding): add signed-config bootstrap origin discovery for GitHub readers
Keep the unrendered GitHub docs/install.md and Skill entry points self-contained without hardcoding a Studio subdomain:
- Document dynamic bootstrap discovery via https://releases.open-design.ai/open-motion/desktop/config/stable.json (payload.studioUrl) when reading unrendered GitHub docs with no user-supplied origin.
- Extend tests/cloud/onboarding.test.ts to assert bootstrap origin discovery in docs/install.md, skills/openmotion/SKILL.md, and .codex-plugin/onboarding/SKILL.md.
---------
Co-authored-by: heggria <bshengtao@gmail.com>
* feat(nav): put Game Studio first in the top studio navigation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(nav): mark Game Studio as Hot and update navigation order tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(nav): place Motion Studio second after Game Studio
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(nav): pin the three-studio primary row with Cinema under More
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: zhanghuihua <zhanghuihua@huihuideMacBook-Pro.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Recover transient cloud login and export failures and guide client updates
* Run source update guidance regression in PR CI
* Verify renderer failure causes from worker to telemetry sink
---------
Co-authored-by: qindong <qindong@qindongs-MacBook-Pro.local>
* Remove the Character reference image scene
* Promote image editing features in the navigation menu
* Match the Explore footer background to MCP
---------
Co-authored-by: fengcao <fengcao@Mac.lan>
Co-authored-by: fengcao <fengcao@fengcaodeMacBook-Pro.local>
* feat(auth): integrate Google One Tap across cloud backend, Studio web, and desktop handoff (#1047)
* feat(auth): integrate Google One Tap across cloud backend, desktop handoff, and studio web
* fix(auth): address L1 review findings for One Tap S2S, desktop handoff, and cloud tracking
* fix(auth): resolve all round-2 L1 review blockers for Google One Tap
* fix(motion): harden One Tap K8s egress, atomic provenance, post-commit logout barrier, consent, tracking retry, and loopback CSP
* fix(motion): propagate AMR sessionProof across One Tap, OIDC, and desktop handoff-ticket flows
* fix(motion): close R4 L1 blockers (post-proof logout barrier, upgrade-handoff 503 fail-closed, atomic getdel, server consent cookie)
* fix(motion): enforce One Tap logout revocation inside resolveBrowserSession and block unbound Pricing redirect on active-session 401/403
* fix(motion): align One Tap binding revocation TTL to full 7-day session lifetime and keep upgrade-handoff 401 fail-closed on reload
* fix(motion): fail closed on Redis/DB errors in One Tap revocation check and never downgrade expired om_session on upgrade-handoff
* fix(motion): retain One Tap revocation binding for full session TTL and bind upgrade-handoff 503 retries to requireAuth/expectedAppUserId
* fix(motion): cryptographically bind upgrade-handoff 503 retries to originating session before DB/AMR enrichment
* fix(motion): bind signed-in PricingEntry and 503 reload cookie to originating session/account and guard readSessionProof errors
* fix(motion): redirect unbound upgrade-handoff 503 via same-origin 303 to session-bound URL so F5 reloads never lose binding
* fix(k8s): align AMR One Tap internal URL and NetworkPolicy with nexu namespace
* fix(ci): narrow desktop-handoff union types and remove false-positive secret/internal-link hits in One Tap files
* fix(studio): align One Tap 2s delay, SHOW-04 reload recovery, and ERR-06/07 failure CTA
* fix(studio): align One Tap banned account copy with standalone login page (OPEND-5763)
* fix(auth): address PR #1047 review findings (upgrade-handoff recovery, CSP, unified tracking privacy & rate limit, source scan)
* fix(auth): gate upgrade-handoff on isOneTapConfigured, decouple tracking toggle from deviceIdConsented, and bound logout-epoch map
* fix(ci): resolve backend typecheck, dock short-host floor, ci-scope, and source privacy scan
(cherry picked from commit 19a75ca0ec)
* test(mcp): expect the connected-environment line appended to server instructions
initialize instructions, but the registry discovery test still compared the
whole string against the registry-only guide.
* test(auth): isolate One Tap route tests from the runner's telemetry opt-out
CI exports OPENMOTION_TELEMETRY=0 for the cloud job, which disables the
PostHog dispatcher and locks tracking preferences, so the One Tap tracking
cases failed only in CI. Clear OPENMOTION_TELEMETRY and DO_NOT_TRACK for the
suite and restore them afterwards.
Ported onto main without #1066. Adaptations to main: logout keeps main's
server-side OIDC end-session and never returns endSessionUrl, so the
od_onetap_suppress post-logout redirect hint and OIDC_POST_LOGOUT_REDIRECT_URI
are dropped (client-side One Tap suppression still runs on confirmed sign-out)
and main's oidcIdTokenCacheKey replaces the separate id_token store. Browser
telemetry stays on main's createCloudTracking pipeline with deployment-locked
preferences; the separate PostHog dispatcher and per-user tracking toggle are
dropped, while attested app_user_id filtering, the tracking attestation cookie
and device-ID consent are added to main's /motion-api/tracking (createApiApp
accepts an optional cloudTracking handle for tests). The upgrade-handoff link
builder moves into main's buildSubscriptionUrl, and the desktop loopback
response deferral follows main's nullable-server attempt lifecycle.
---------
Co-authored-by: heggria <bshengtao@gmail.com>
(cherry picked from commit 4616728e07)
* fix(studio): report the One Tap document CSP instead of enforcing it
main serves Studio documents without a CSP and still embeds third-party
frames that the One Tap allowlist does not cover (for example external
playable games such as littleprince.dev in the game catalog). Enforcing
frame-src would block them. GIS does not need a CSP, so ship the policy
as Content-Security-Policy-Report-Only and keep Permissions-Policy and
COOP enforced; enforce the CSP once every embedded frame source is listed.
* fix(auth): keep main's tracking identity and optional One Tap manifest refs
- /motion-api/tracking no longer stamps the session app_user_id onto
events that did not carry one; those events stay installation-scoped
exactly as on main. Attested One Tap attribution is unchanged.
- deploy/k8s: the One Tap internal URL/token refs are optional so
clusters without One Tap still start (the API already fails closed),
and the ingress no longer adds a configuration-snippet, which default
ingress-nginx admission rejects and which duplicated headers the API
already sets on Studio documents.
* fix(studio): create the browser tracker on first use
AccountSettings now imports googleOneTap, which imports the Studio
tracking module. That module created the browser tracker and attached
window/document listeners at import time, so node-environment suites
that reach AccountSettings (compositionStackExport, agentToolsExport,
PropertyPanel, AssetsTab and others) failed with 'window is not
defined'. Create the tracker and its flush listeners on first use;
nothing can be pending before then, so browser behavior is unchanged.
* refactor(tracking): drop the unused sender channel option
No caller sets the PostHog sender's channel since the cloud API hands
browser batches to the cloud tracking pipeline, so the option only
suggested a cloud path that does not exist. Sender events keep the
standalone channel.
* refactor(auth): share the metrics consent cookie contract
The device-ID consent cookie name and its granted/denied values were
spelled separately in the auth routes, the tracking API and the tests.
Export them from the session module next to the other auth cookies and
use the shared constants everywhere, so the One Tap attribution gate and
the consent writer cannot drift apart.
* fix(tracking): use the session app user id before AMR enrichment
Signed-in browser tracking batches looked up the AMR identity for every
request even though the session membership already carries the projected
AMR app user id. Attribute from the membership first and call
verifyAndEnrichAuthContext only for sessions without a projected app user
id. A failed fallback still treats the batch as guest telemetry.
* fix(auth): render upgrade notices with the design system
The billing handoff notice pages carried their own dark-only palette and
button styles. Load the shared /design-system/ui.css on a data-motion-ui
root instead, so the pages follow the system light/dark preference, and
render the actions as ui-button / ui-button--primary controls. Only page
layout stays local and it references design-system tokens.
The notice CSP now allows the same-origin stylesheet and the fonts its
@font-face rules load (style-src 'self' 'unsafe-inline'; font-src 'self')
and keeps default-src 'none' for everything else.
* fix(auth): honor One Tap session proof expiry
The One Tap exchange stored AMR's session proof for the full Motion
session lifetime and ignored sessionProofExpiresAt, so an expired proof
kept being sent to the handoff-ticket endpoint and every rejection showed
the retryable 503 page, which retrying can never fix.
Store the proof for at most the time AMR advertises, capped by the
session lifetime; an unparseable expiry falls back to the session
lifetime and an expiry in the past stores no proof. When the handoff
ticket is rejected terminally (401 SESSION_PROOF_INVALID for an invalid,
expired or mismatched proof, or 404 USER_NOT_FOUND), drop the stored
proof and return the existing REAUTH_REQUIRED fresh sign-in path. A
banned or frozen account (403 ACCOUNT_BANNED / ACCOUNT_FROZEN) gets the
403 account notice. Network failures, timeouts, 5xx responses and a 401
without a proof code (internal token rejected) keep the session-bound
retry page and the stored proof.
* refactor(auth): stop issuing the tracking attestation cookie
The signed om_track_att cookie let /motion-api/tracking accept a
browser-supplied app_user_id that the server had attested. Since the
merge with the cloud tracking overhaul the endpoint resolves the user
from the live session and rejects any packet that carries a user id, so
nothing reads the cookie any more. Stop setting it on OIDC callback, One
Tap sign-in, desktop handoff and /auth/me, and remove its signing
helpers. The derived secret stays: it still binds upgrade-handoff retry
URLs to the originating session.
* refactor(auth): share one OpenDesign handoff URL guard
The browser upgrade handoff and the desktop Pricing handoff each carried
a line-for-line copy of the check that decides whether an AMR-issued
handoff URL may be followed. Export isSafeOpenDesignHandoffUrl from the
desktop handoff module next to the other handoff helpers and use it from
both. The rules are unchanged: no control characters or credentials, an
origin from OPENDESIGN_API_URL, OPENDESIGN_CONSOLE_URL or
OPENDESIGN_PRICING_URL, and https unless one of those is configured as
http. Add unit coverage for the shared guard.
* refactor(auth): share the One Tap session proof cache key
Session revocation deleted the stored AMR session proof through a string
literal while the auth routes built the same key with a local helper.
Export oneTapSessionProofCacheKey from the session module beside the
other One Tap cache keys and use it for saving, reading and deleting the
proof and in the route tests.
* refactor(auth): drop the unwired One Tap telemetry hook
AuthRoutesDeps.onOneTapTelemetry was called from seven places in the One
Tap exchange, but no caller ever supplied it and the onetap_* events are
registered with the Studio as their only producer, which already reports
them from the browser. Remove the field and its call sites.
* refactor(auth): remove the dormant device-ID consent path
No product surface ever granted the metrics consent, so the consent
route, shared cookie constants and Studio consent reader only kept an
unreachable device-ID forwarding branch alive.
- Delete POST /motion-api/tracking/consent and shared/metrics-consent.ts;
the tracking route is back to main's shape.
- The One Tap attribution sanitizer now always drops odDeviceId and
odDeviceIdConsent, whatever the client claims.
- Studio no longer reads od_device_id from the URL, localStorage or the
od_attr cookie, never persists it and never sends it in odEntry;
ref, UTM and other od_* attribution are unchanged.
* refactor(studio): reuse the shared plan-tier normalizer
onetap_login_success normalized planTier with a local copy of the
tier list. Use normalizeDesktopHandoffPlanTier from
shared/desktop-auth-handoff.ts instead so Studio, the desktop shell and
the server share one tier list. Output is unchanged: the five tiers
map to themselves and anything else maps to 'unknown'.
---------
Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>
Co-authored-by: heggria <bshengtao@gmail.com>
* feat(studio): unify clipboard fallback, novice copy handoff cards, and AI media upsell strips
* fix(i18n): add all 12 new UI strings across all 10 non-English locales
* fix(studio): guard skill handoff card on selection change and drop unused mcp_media_upgrade hook
---------
Co-authored-by: qiqi <qiqi@qiqideMBP.lan>
* [OPEND-5496] feat(cloud-tracking): add cloud allowlist, cloud_web channel, and monetization attribution
* test(studio): assert resolution gate attribution payload in AssetComposer
* fix(cloud-tracking): address Looper review (restore tests, rotate entry_id, deploy env, docs)
* fix(studio): pass native job.model.modelId for failure-gate attribution
* feat(tracking): add Tracert v0.6.0 dual reporting, canonical user identity, and env-only PostHog config
Integrate @powerformer/tracert@0.6.0 alongside existing PostHog telemetry for both Studio browser and cloud API server reporting while keeping self-hosted deployments strictly opt-in with zero hardcoded tokens.
- Add shared runtime tracking config validation and CSP-safe HTML injection so Studio hydrates tracking config in 0 RTT when enabled and skips downloading the lazy Tracert chunk when OPENMOTION_TRACERT_SPM_A is unset.
- Dual-write closed-schema Studio events and server-side account_sign_in_result across PostHog and Tracert using identical event_id and occurred_at values, keeping auto-collection plugins disabled and registering graceful TracertNode shutdown.
- Align browser and server user identity on AMR appUserId (falling back to local user.id only when self-hosted), attach workspace_id/workspace_role/plan_tier as user context, preserve anonymous device_id across passive signed-out reloads, and rotate identity on explicit sign-out.
- Remove hardcoded PostHog credentials in shared/tracking-config.json so standalone tracking is strictly env-driven.
- Allowlist only the SHA-256 digest of the SDK's default public Collector endpoint in bundled Studio JS assets in .github/scripts/motion-scan.mjs.
* fix(tracking): preserve equivalent Tracert init loads, clear expired SDK identity, and drain PostHog queues on shutdown
* fix(tracking): propagate render telemetryOptOut, isolate browser queue across identity changes, and wire production identity sync
* fix(tracking): isolate identity sync module and guard non-browser tracking init
---------
Co-authored-by: qiqi <qiqi@qiqideMBP.lan>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* feat(studio): hide Speech Custom voice ID behind Cloud P1 feature gate
Gate the inline Custom voice ID toggle, input box, and badge in Sound Studio Text to speech behind CLOUD_P1_FEATURES.customVoiceId (false), while falling back cleanly to the model default preset voice when recreating or submitting drafts with legacy custom voice IDs.
* refactor(studio): centralize speech voice fallback and cover Assets composer
Extract resolveSpeechVoice and sanitizeSpeechVoiceParameters into shared/generation-options.ts so SoundParameters, SoundStudioWorkspace, SoundComposer, GenerationParameters, and AssetComposer share one canonical custom-voice gating and default-voice fallback rule.
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* Fix cloud media save retry after CAS write failure
* Address review feedback on retry_save state transition, cancellation, requestId, and docs
- Transition retry_save rows atomically from failed to queued (stage=saving) before enqueuing so cancel before worker pickup marks the row cancelled and prevents worker claim.
- Require and propagate caller requestId for BullMQ jobId deduplication (clearing stale terminal BullMQ entries on explicit re-retry).
- Finalize cancelling rows cleanly to cancelled when CAS throws after a missed Redis cancel notification instead of stranding in cancelling or publishing a false failed event.
- Update skills/openmotion-media/references/jobs.md to document Cloud gateway recovery for retry_save.
* Harden cancel/retry_save concurrency, claim-epoch dedupe, and gateway docs
- Guard cancelJob transitions with optimistic state checks and check cancelled state in the worker commit transaction.
- Scope retry_save BullMQ jobId by claimToken epoch and record retrySaveRequestId so same-requestId retries recover cleanly after API restarts and Studio repeated retries never collide with a still-finishing BullMQ active job.
- Guard upstream failed poll transitions against overwriting cancelling rows.
- Update docs/model-gateway.md retry_save Cloud recovery guidance.
* Guard retry_save enqueue-failure rollback against racing replays
* fix(cloud): guard retry_save rollback by state/stage and clear failureStage on resume/completion
* fix(cloud): return 400 for retry_save missing requestId and align timeout hint
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* Fix feature prompt reuse and generation limits
Recover editable descriptions from composed generation history and reserve the active feature instruction in the composer input budget.
Fixes OPEND-5716, OPEND-5709, and OPEND-5740.
* Address review feedback on prompt reuse, whitespace limits, and over-limit alert
- Scope feature-prefix stripping on prompt reuse to active feature scenes so plain Text to Video / Text to Image prompts are preserved verbatim.
- Validate composer prompt limits against the exact trimmed/composed prompt sent to the API so leading/trailing whitespace does not cause false over-limit blocks.
- Render a localized role=alert recovery hint telling the user how many characters to remove when control selection reduces the available budget.
* Avoid raw maxLength whitespace clipping and use Studio i18n formatNumber
- Remove native textarea maxLength so pasting outer whitespace around a valid prompt never clips characters; validation and recovery alerts enforce the exact composed 20,000-char limit.
- Use Studio useI18n().formatNumber for locale-consistent prompt counter and recovery limit formatting.
* fix(studio): reuse shared om-field-error recipe and drop formatNumber fallback
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* fix(studio): distinguish the preview stage and report early media loads
* fix(studio): cap the preview loading message without releasing the first frame
* fix(studio): keep editor poster dependencies out of the player entry
* fix(studio): release editing work while a live first frame buffers
* fix(studio): retire the frame deadline once editing unlocks
* chore: ensure PR CI
---------
Co-authored-by: lefarcen <935902669@qq.com>
Co-authored-by: open-design-crew[bot] <4197780+open-design-crew[bot]@users.noreply.github.com>
* feat(tracking): add Black Friday hero, model hub impressions, and remix-to-generation tracking
Port the Cloud-compatible Black Friday and ModelHub analytics from #1067 onto main, wired directly to main's shared entitlement hook registry, global checkout-return refresh host, and template impression observer:
- Register bf_hero and bf_hub in shared/entitlement-hooks.ts (shared by tracking/events.ts, src/cloud-tracking.ts, and EntitlementModalHost), and extend the closed tracking schema for copy_prompt/copy_status/prompt_edited, hub_videos card surface_view, and hub_id/template_id/prompt_edited on asset_generation_submit_result.
- Split campaignPricingUrl mediums into openmotion_bf_hero (utm_medium=hero) and openmotion_bf_hub (utm_medium=model_hub) while keeping od_entry_source=openmotion_manage_subscription for AMR attribution.
- Add once-per-load bf_hero surface_view and bf_hero checkout-return tracking on ExploreBlackFridayHero, plus ModelHub showcase card impressions (via useTemplateImpressions), bf_hub promo pill attribution, category_select, open_detail, copy_prompt status, and start_use with template source handoff.
- Prevent impression spam and burst drops on Cloud: disable ModelHub's useTemplateImpressions observer while the lightbox dialog is open (avoiding idle timer loops and spurious close-time impressions), deduplicate showcase card impressions across remounts per page session, and raise the shared Cloud studioTracker queue capacity (maxQueue=1024, flushIntervalMs=500) in src/cloud-tracking.ts while keeping each PostHog /batch/ payload within 16 events / 64 KB.
- Attach campaign_id on AccountSettings view_plans clicks during the Black Friday window.
- Address review feedback from #1067: consume AssetDraft.source on successful submit, prompt reset, StudioIdeas prompt apply, or empty-prompt hub navigation (clearing both React state and in-memory studioDrafts without persisting) so later unrelated generations are not misattributed, and document all new hooks, mediums, and hub fields in tracking/README.md.
Backport-of: #1067 (partial, from commit 3fa762ae4)
* fix(tracking): re-subscribe ModelHub card impressions on masonry re-pack and wait for account state
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* feat(mcp,studio): unify cloud MCP onboarding, handoff prompts, and workspace-scoped OAuth access
- Point all cloud Agent handoff prompts (editor MCP button, templates, skills, platform export, review comments, transcript workflow, design handoff) to <ORIGIN>/install.md and <ORIGIN>/mcp instead of auth-gated /connect/guide or SPA /mcp-setup.
- Make GET /connect/guide public with browser 302 redirect to /mcp-setup and non-HTML 200 text/markdown serving /install.md; add public GET /connect/integration for guest cloud discovery on /mcp-setup and make GET /connect/config public.
- Remove per-project manual project_grants enforcement for OAuth 2.1 clients so authorized OAuth Agents have workspace-scoped access to the authenticated user's projects (matching PAT behavior while preserving ownerUserId isolation and preview_token single-project pinning), and remove the obsolete per-project Agent access menu entry.
- Add Mode A (pure setup) vs Mode B (task-driven handoff) guidance to docs/install.md and skills/openmotion/SKILL.md, plus structured 401 authGuidance and PROJECT_NOT_FOUND origin/workspace diagnostics.
- Refine /mcp-setup UX: hide DesktopConnectPanel in ordinary cloud browsers without a desktop or helper bridge, fix hero endpoint pill spacing, align Claude Desktop (Connectors UI), Cursor/MCP OAuth 2.1, and Claude Code (--scope user) manual instructions, and remove contradictory wait-for-brief text from task examples.
* test(studio): replace internal staging hostname fixture with motion.example.com
* test(mcp): include cloud server origin line in mcp-registry instructions check
* fix(mcp,studio): address review feedback and remove DesktopConnectPanel from /mcp-setup
- Send Vary: Accept on both branches of GET /connect/guide (plus Cache-Control: no-store on the 302 redirect) and assert both headers in cloud API tests.
- Restrict Step 3 onboarding mechanics and the Installation-success reply in docs/install.md explicitly to Mode A so Mode B task handoffs skip onboarding unambiguously.
- Remove the orphaned ProjectAgentGrantsDialog component and test, drop the unused onOpenMcpSetup parameter from useProjectArchives, stop writing inert project_grants rows in workspace-service and catalog-service, and document the retained /motion-api/projects/:id/grants routes as inert legacy compatibility endpoints.
- Remove DesktopConnectPanel and /motion-api/connections polling completely from /mcp-setup (McpConnectionPage) across both web and desktop hosts.
* chore(studio): remove orphaned DesktopConnectPanel, test, and architecture-map entry
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* Apply verified undo and redo changes locally while checking shared history
* Initialize history draft state in the isolated canvas drag fixture
---------
Co-authored-by: lefarcen <935902669@qq.com>
* Preserve newer preview revisions during edit reconciliation
* Reconcile local canvas edits and agent changes in the mounted preview
---------
Co-authored-by: lefarcen <935902669@qq.com>
* Reuse recent Studio previews and preload tools after the first frame
* Release the previous preview from the console error subscription
* Release temporary timeline documents after reading authored media
* Wait for cold Studio panels in navigation and host regression tests
---------
Co-authored-by: lefarcen <935902669@qq.com>
* Prepare versioned project edits locally and skip recursive preview mounts
* Preserve validation details on locally prepared composition drops
* Prepare Studio edits from one ordered local working copy
* Chain editable media references to their preceding Studio writes
---------
Co-authored-by: lefarcen <935902669@qq.com>
* Keep CSS layout animations editable through independent translation
* Only translate CSS-animated layout when authored scripts cannot own its transform
---------
Co-authored-by: lefarcen <935902669@qq.com>
* Coordinate confirmed Studio preview updates by file and gesture
* Project verified grouping changes onto existing canvas nodes
* Verify delayed preview acknowledgements and refresh active child scenes
* Reconcile versioned peer edits per file without size-triggered navigation
* Resume presentational edits from intermediate versions acknowledged by the frame
* Follow the group editing selection when a preview changes
* Refresh related child scenes from one verified compilation
* Use the frame capability to authorize structural hot updates
* Keep inert project startup data independent of live DOM editing
* Select the actual generated group id rather than its label
* Paint verified active-file markup while retaining executed scripts
* Settle overlapping timeline receipts independently for each file
* Verify grouped siblings in one pass regardless of selection size
* Keep canvas gestures responsive with single-edit servers
* Keep the original conflict message for dependent canvas gestures
---------
Co-authored-by: lefarcen <935902669@qq.com>
* Broadcast ordered edit batches and apply confirmed peer patches
* Commit ordered Studio text edits with independent receipts
* Queue independent Studio edits in ordered project batches
* Document ordered edits and retry interrupted batch responses
* Decouple canvas gestures from ordered save acknowledgements
* Preserve edit order across guarded semantic writes and cold source reads
* Recognize compiler-assigned element IDs when replaying canvas gestures
* Validate replay against the source with stable element IDs
* Apply declarative media inspector updates to the mounted preview
* Project verified peer paint alongside local canvas placement
* Schedule timeline edits in gesture order and project pending structure locally
* Present compatible peer paint while a canvas edit is outstanding
* Keep a drag active when capture drops over the pressed canvas
* Keep the latest timeline projection across delayed edit receipts
* Keep media speed changes in place and order guarded file writes
* Cancel a gesture when its source element is deleted remotely
* Retire deleted gestures once and discard late tap measurements
* Handle confirmed deletion of the gesture source file
* Keep independent timeline gestures editable after an invalid target
* Restore confirmed timeline rows after a burst of rejected gestures
* Exercise 100 real canvas drags against an isolated QA project
* Clarify which preview updates preserve the mounted document
* Verify speed and linked timing in the same preview update
* Start ordered deliveries at their deadline with a fixed prefix
* Narrow nullable file versions in both backend typecheck modes
* Keep root HTML materialization out of patch commits
---------
Co-authored-by: lefarcen <935902669@qq.com>
* fix(routing): route unknown SPA paths to dedicated 404 page with HTTP 404
* test(cloud): expect 404 on unknown route in observability SPA injection test
* style(studio): align centered 404 page with OpenDesign visual style and single Back to Explore CTA
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* perf(studio): pin composition filmstrips to file content versions
Cache one canonical 8-frame filmstrip per HTML composition file content version (matching formatFileVersion and SSE file-change.fileVersions) so trimming, stretching, zooming, moving timeline clips, editing sibling scenes, undoing, and reloading never re-run SnapDOM while a composition's own file version is unchanged.
* fix(cloud): keep HTML SSE version hint cap at 32
* fix(studio,cloud): fold index head, shared assets, and nested refs into composition filmstrip revisions
* fix(studio,cloud): decouple head-hash helpers, fold index closure, and fail closed on dynamic composition loads
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* Preview scoped block CSS colors while the edit saves
* Read the confirmed block color after a version conflict
* Resolve block colors against the mounted preview entry
---------
Co-authored-by: lefarcen <935902669@qq.com>
* Build text checkpoints asynchronously without blocking project edits
* docs(cloud): describe rolling out compatible readers before async writes
* Accept larger localized edits before rolling out updated clients
* Keep large full rewrites out of the revision patch log
---------
Co-authored-by: lefarcen <935902669@qq.com>
* Keep ordinary timeline copies and splits mounted in both previews
* Verify the inserted clip manifest reports the accepted revision
---------
Co-authored-by: lefarcen <935902669@qq.com>