* feat(studio): add compact audio previews with live mirrored spectrum
* Register the audio preview stylesheet with the class resolution gate
The compact audio preview adds motion-audio-preview-icon, -track and
-waveform rules in components/nle/audioPreview.css. That sheet is imported
by AssetPreviewDialog, so the classes resolve at runtime, but the token
gate only reads the compiled app sheet plus its declared host and component
stylesheets. Register the new component sheet there, matching how the shared
editor styles joined the gate, so the audio preview classes stay verified
instead of failing the Studio regression shard.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(studio): replace broken audio-only MP4 thumbnails with audio covers
* fix(studio): refine audio covers with responsive music icons
* fix(studio): use a filled music icon for audio covers
* fix(studio): match audio cover music note to the supplied reference
* fix(studio): lighten the audio cover icon foreground
* fix(studio): let the shared control row own the audio preview tracks
The audio preview declared its own grid-template-columns outside any container
query, so its higher-specificity rule beat the shared motion-player 420px and
300px fallbacks and kept three fixed tracks in the narrow dialog.
Move the wider middle column into a shared motion-player-control-row-lg variant
beside the base recipe, apply it only in the compact audio preview, and guard
the ownership with a focused styles test.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(studio): reuse audio rows and remove custom asset covers
* fix(studio): clamp audio asset names to two lines
Reuse overflow-only tooltips for complete filenames and retain the existing row controls and metadata.
---------
Co-authored-by: fengcao <fengcao@fengcaodeMacBook-Pro.local>
Co-authored-by: 罗高 <luogao@192.168.5.135>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* Keep GitHub in the Studio header and move community links to Help
* fix(studio): ship only the scan-approved community invitation in Help
The `distribution` lane rejected this branch: the tracked-source release scan
reported `studio/src/motion/SettingsCenter.tsx` as `internal-link` for the
`applink.feishu.cn` group invitation and gitleaks reported `generic-api-key`
for its invite token, so the `standalone` gate could not pass.
The release-scan policy treats that internal invitation as owner-approved only
inside the four product READMEs and pins the exact URL by digest, so it cannot
be exempted for shipped Studio source without changing the release controls.
Help -> Community therefore keeps the public Discord invitation that matches
the README and opens in a new tab; the Feishu invitation remains available from
the README. The now-unused `Feishu group` label is removed from every locale,
the focused Help test asserts the single README-matching invitation, and the
architecture note describes the current behavior.
Validation: `npm run check`, `npm run typecheck:studio`, `npm run
build:studio`, `git diff --check`, a tracked-source `privacyFindings` sweep
(10323 files, no findings), `tests/release-scan.test.mjs`,
`tests/release-workflows.test.mjs`, `tests/source-install.test.ts` and the
focused `SettingsCenter`, i18n and `MotionStudioHost` suites passed.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* Restore the 104px Studio wordmark and link Help to the Feishu README invitation
* Keep the full 104px header wordmark at narrow widths
* Exercise the shared community destinations in the settings integration test
* Keep narrow headers usable with the shared compact OpenMotion mark
---------
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* Update onboarding recommendations and show video purpose badges
* Randomize onboarding picks from a nine-template curated pool
* Fix onboarding CI coverage and distribution test contracts
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
* fix(studio): align dragged clips with their resolved landing
* fix(studio): keep cross-track pointer drags out of insertion lanes
* fix(studio): stabilize collision landing near gap midpoints
* fix(studio): preserve bottom track insertion preview
* Restore the top-boundary new-track preview
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>
* docs(readme): align the OpenMotion headline and localized covers
* docs(readme): realign sharing test and positioning guidance with the new headline
The localized WebP README covers replaced the registered brand hero, so the
page-metadata suite failed its "same hero" invariant. Assert the intended
split instead: the README opens with its localized cover, while the previous
registered artwork stays the Studio Open Graph and Twitter image that the
media kit documents.
Update the media kit editorial framing and the product architecture's
positioning and README-layout descriptions so they match the shipped
headline, the removed centered logo and the new H1/intro/cover order.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(readme): preserve the main branch layout across languages
* docs(readme): show 200+ Motion.md guides in covers and headings
---------
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
Prepare read-only change drafts during candidate builds and seal their identity and hashes. Reuse frozen notes during publication while preserving legacy candidates and retries. Disclose truncated comparison history, deduplicate repeated pages, and keep acceptance status explicit. This merge does not dispatch a candidate build or publish a package.
* Install OpenMotion for any local Agent without borrowing another host (OPEND-5284)
Setup accepted only codex, claude, deepseek and workbuddy, so users of other
local Agents such as OpenCode had to install with --host claude, which edits
Claude Code configuration, and then wire MCP by hand.
Keep the four registration adapters unchanged. Any other lowercase Agent name
now installs the same application, launcher and Skills (default
~/.agents/skills), leaves that host's configuration untouched and returns
agentRegistration with the exact stdio launcher for the Agent to register
itself. Adapter-less Agents share one Skills owner so a second one can reuse
the same root. tools, call and diagnose accept the same host names.
Document the route in the published guide template, npm installation guide
and README connection sections, including a verified OpenCode example.
* Reject prototype-key host names and read registered hosts with Object.hasOwn
`Object.prototype` keys match the generic Agent name pattern, so
`--host constructor` passed the `state.hosts?.[host]` registration guard via
inherited `constructor` and was reported as installed. Check registration and
the saved-host lookup with `Object.hasOwn` and reject Object.prototype keys as
generic host names, matching the install/diagnose contract that an Agent which
was never set up is not reported as installed.
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>
* fix(templates): unify recreation briefs across catalog sources
* test(templates): align home copy with the shared recreation brief
* test(templates): cover shared briefs in setup and CI regressions
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
* refactor: centralize provider registration and configuration
* fix: hide text-only providers in settings
* test: keep the OpenAI provider fixture visible in navigation coverage
The provider list now hides text-only entries. The navigation regression
fixture overrode the OpenAI preset with text-only kinds and no media models,
so the provider disappeared from the list and the click target no longer
existed. Mirror the registry preset (text, image and audio kinds) so the
history restoration coverage still exercises a visible provider.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(providers): expose only public connection fields
* test: handle macOS process reaping in cancellation coverage
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* feat: add north-star tracking evidence
* fix(distribution): ship the tracking task ledger in packaged applications
phase1.ts and server.ts import tracking/task-ledger.ts, but the packaged
application file list never gained the new module, so npm artifacts failed
to load with ERR_MODULE_NOT_FOUND and the distribution lane failed.
Add the module to the positive distribution list so both profiles keep a
loadable application.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(tracking): attribute worker evidence and ledger every accepted export
Queue snapshots, heartbeats and technical-export checks now pass the worker
entrypoint instead of inheriting the MCP tracker default. Host run failures and
cancellations read the recorded work-round mode, and a failure only reports a
failed run state after it actually closed the round.
Every accepted export is now ledgered inside the shared export entry, so the
Studio and legacy routes produce the same evidence as the MCP adapter, and an
unreadable ledger is recorded as a diagnostic instead of failing an export that
already started rendering. Repeating an identical terminal result keeps the
recorded terminal time, and quality-check version ids follow the public
version-id contract instead of requiring a v4 UUID.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: correct instrumentation evidence semantics
* fix: preserve work round failure evidence
* fix: close interrupted exports with one terminal outcome
Preview delivery now needs the confirmed current version and the originating
round's fixed version, and preview evidence is emitted only after recordDisplay
passes its version guard, so a rejected display no longer claims an observation
and a delivery for the same run.
Technical export checks report cancelled or unfinished jobs as unreviewed
instead of error; only a completed job without a verification report stays an
error.
The export ledger entry for an interrupted export is now closed once with
outcome unknown, and the worker tick that owns that transition emits the
matching task_terminal evidence. A second tick or a status read sees the closed
record and claim nothing. The tracking README describes that reconciliation
path.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: keep interrupted-export reconciliation out of live renders
The worker tick reconciled before taking the working-set guard, so a later tick
could close a job this process was still rendering, the local render was left
running, and the owning worker then stated a second task_terminal for the same
task. Reconciliation now runs only for a tick that does not own the render, it
aborts any local controller of a job it closes, and the claiming worker states
its terminal evidence through one helper that skips a job the reconciler already
closed as unknown.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: state terminal evidence from the caller that reconciles an export
Coalesce interrupted-export reconciliation into one owner so every path that
closes a task also reports it: the read path now records the same
task_terminal evidence as the worker tick, keeps the ledger terminal time and
never restates the outcome on a later read. Stores carry the service tracker,
including project-scoped stores and the MCP read paths.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: preserve provider preview schema
---------
Co-authored-by: qindong <qindong@qindongs-MBP.lan>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
Co-authored-by: qindong <qindong@qindongs-MacBook-Pro.local>
* Route localized community links to Feishu
* Allow the current public Feishu invitation in release scans
The community-link change replaced the owner-approved public Feishu
invitation, so the pinned scanner digest and the gitleaks allowlist still
matched the expired token and the source, controls and distribution scans
rejected the new README URLs and the shared Studio community link.
Re-pin the approved invitation digest and the secret allowlist to the
current token, and scope the exemption to the product READMEs, the shared
community link module and its bundled Studio asset. Add focused coverage
for both scan paths so adjacent or changed invitations still fail.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* Move the Feishu community icon into the design system
The new Feishu artwork lived under the Studio feature directory, which put
a second application icon outside the shared asset boundary. Move the SVG
to packages/design-system/brand, register it in the package brand and
public asset contract, and consume it through a relative package import
like the other brand artwork.
Also describe the Simplified Chinese Feishu destination in the product
architecture and correct the community-link note in the UI review record,
which still explained the previous Discord-only decision.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* Match Studio community entries to the OpenMotion README invitations
---------
Co-authored-by: 孙庆雨 <sunqingyu@ElideMBP.lan>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
Move the recreate difficult-visual reconstruction method into its own reference, read only for dense multi-shot units, unfamiliar visual mechanisms or movement that still differs after a repair. Validate #heading fragments in registered workflow links and fix the stale production edit link.
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
* Save generated media to workspace assets with local save recovery
* Fix POSIX cancellation test state and fixture publication races
* Align unified asset schema checks and recovery documentation
* End unrecoverable save retries as terminal task failures
When the retained outputs manifest is missing, unreadable or no longer
references staged bytes, retry_save previously threw without persisting
anything, so a failed job kept savePending and offered a retry that could
never succeed.
- Validate the retained manifest and its staged bytes before queueing a
save retry.
- Record a terminal failure and clear savePending when nothing is left to
save.
- Apply the same check when a claimed recovery worker starts, so a
vanished manifest cannot recreate the stuck state.
- Assert the cleared state alongside the rejection, and document the
terminal outcome.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* Stop offering save retries for unavailable retained outputs
* Use decodable account music fixtures for automatic asset saving
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
Generate exact-source GitHub Release notes after successful publication and snapshots. Preserve automatic candidate version uniqueness above published npm tags, and wait for the browser result in the sign-in cancellation regression. No package publication is triggered by this merge.
* Edit images and generate music with OpenDesign account models
- Map audio_music catalogue rows to text-to-audio account models and run
`audio music`, with an optional whole-second duration.
- Mark account image models whose catalogue publishes `edits` with
supportsImageReference and run `image edit --image` with the job's
snapshotted reference.
- Accept one image reference for any model that reports
supportsImageReference in the gateway, the Studio asset composer and the
MCP tool descriptions.
- Reject a caller mode that differs from an account model's catalogue mode,
so speech and music cannot be swapped on one model.
- Update provider docs, media skills and READMEs.
* fix(render): retry socket-buffer failures with fewer workers (#443)
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* [OPEND-5344] feat(skills): streamline unchanged template file delivery (#440)
* feat(skills): streamline unchanged template file delivery
* test(ci): run unchanged template delivery regressions
* fix(skills): exclude render outputs and caches from template packages
HTML packaging for unchanged template delivery only filtered tool caches, so a
project that had produced a Studio render shipped renders/*.mp4 (and dist/,
output/ or arbitrary .hyperframes cache files) inside HTML/ and HTML.zip while
the receipt still pinned the revision and claimed sourceUnchanged.
Mirror the WorkspaceStore non-source directories and restrict .hyperframes to
the pinned native entries plus history-id, so the package holds exactly the
pinned source. Extend the delivery test fixture with render outputs and cache
files and assert the receipt, the written tree and the ZIP contain only pinned
source.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(skills): reject unpinned drift and quoted CSS imports in template packaging
HTML packaging accepted any file the workspace added after the pinned project
read, so a native manifest or ordinary source written mid-delivery was shipped
under the old revision with sourceUnchanged: true, and the second scan could not
notice because both scans contained it. Packaging now requires the scanned
source set to equal the pinned inventory plus editor-only metadata
(.hyperframes/history-id), and dotted entries mirror WorkspaceStore caches.
Quoted CSS @import targets were also missed by the dependency scan, so a missing
or remote stylesheet still produced dependencies: "local". Quoted imports are
now resolved relative to their containing file, including inside HTML <style>.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(skills): scope quoted import validation to active CSS
* fix(skills): ship vendored dist dependencies in template packages
Excluding `dist` at any depth mirrored the WorkspaceStore revision and
dropped files the page actually loads, so packaging
`vendor/gsap-3.14.2/dist/gsap.min.js` was skipped and the dependency check
then rejected decision-tree, nyt-graph and product-promo with
MISSING_DEPENDENCY.
Keep render outputs, node_modules and caches out of the package but treat
store-ignored dist trees as packageable non-revision content: scan them,
ship them, and allow them outside the pinned inventory while unpinned
source additions still fail. Restore a `vendor/.../dist/...` dependency
case in the delivery tests and describe the packaging rule accurately.
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>
* Expect the enlarged account catalogue in the settings browser check
The shared account fixture now publishes five media models (image, video,
speech, a non-editing image model and music) and maps the music row into the
account catalogue, so the account provider renders seven model rows instead
of five. The browser check waited for exactly five rows and would have timed
out; it now expects the seven rows the fixture produces, alongside the two
language models.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(installer): recover Windows host setup and legacy workspaces (#434)
* fix(installer): recover Windows host setup and legacy workspaces
* fix(installer): preserve registered Harness bundles across failures
* fix(runtime): preserve kill signal for native spawn cancellation
---------
Co-authored-by: stevenguotj <stevenguotj@stevenguotjdeMacBook-Pro.local>
* 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>
* List Claude Motion before CapCut across the localized READMEs (#453)
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
* [OPEND-5342] Select media by content need and prefer matching OpenMotion capabilities (#439)
* [OPEND-5342] Keep media sourcing within OpenMotion workflows
* [OPEND-5342] Route media tools by content need and capability
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
* Add unified asset use, media reads and per-action MCP telemetry (#455)
* Add unified asset use tool with bounded media reads
* Track asset tool actions across MCP transports
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
---------
Co-authored-by: heggria <bshengtao@gmail.com>
Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
Co-authored-by: MasonJJ <jinmeihong@refly.ai>
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: stevenguotj <stevenguotj@stevenguotjdeMacBook-Pro.local>
Co-authored-by: Joey-nexu <joeylee12629@gmail.com>
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
* Fix preview-first panel sizing and responsive editor labels
* Guard text-overflow measurement against font sets without listeners
The new useTextOverflow hook registered a "loadingdone" listener through
document.fonts, but the font set exposed by jsdom has no addEventListener,
so every property-label render threw and failed twelve font, input
coverage and label tests in the Studio regression jobs.
Detect the listener API before registering it, so browsers still re-measure
when web fonts load while test and limited environments keep their first
result.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* Fix font event support in editor test fixtures
* Preserve untouched panel width preferences during divider drags
---------
Co-authored-by: fengcao <fengcao@Mac.lan>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
Co-authored-by: fengcao <fengcao@fengcaodeMacBook-Pro.local>
* [OPEND-5342] Keep media sourcing within OpenMotion workflows
* [OPEND-5342] Route media tools by content need and capability
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
* 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>
* feat(skills): streamline unchanged template file delivery
* test(ci): run unchanged template delivery regressions
* fix(skills): exclude render outputs and caches from template packages
HTML packaging for unchanged template delivery only filtered tool caches, so a
project that had produced a Studio render shipped renders/*.mp4 (and dist/,
output/ or arbitrary .hyperframes cache files) inside HTML/ and HTML.zip while
the receipt still pinned the revision and claimed sourceUnchanged.
Mirror the WorkspaceStore non-source directories and restrict .hyperframes to
the pinned native entries plus history-id, so the package holds exactly the
pinned source. Extend the delivery test fixture with render outputs and cache
files and assert the receipt, the written tree and the ZIP contain only pinned
source.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(skills): reject unpinned drift and quoted CSS imports in template packaging
HTML packaging accepted any file the workspace added after the pinned project
read, so a native manifest or ordinary source written mid-delivery was shipped
under the old revision with sourceUnchanged: true, and the second scan could not
notice because both scans contained it. Packaging now requires the scanned
source set to equal the pinned inventory plus editor-only metadata
(.hyperframes/history-id), and dotted entries mirror WorkspaceStore caches.
Quoted CSS @import targets were also missed by the dependency scan, so a missing
or remote stylesheet still produced dependencies: "local". Quoted imports are
now resolved relative to their containing file, including inside HTML <style>.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(skills): scope quoted import validation to active CSS
* fix(skills): ship vendored dist dependencies in template packages
Excluding `dist` at any depth mirrored the WorkspaceStore revision and
dropped files the page actually loads, so packaging
`vendor/gsap-3.14.2/dist/gsap.min.js` was skipped and the dependency check
then rejected decision-tree, nyt-graph and product-promo with
MISSING_DEPENDENCY.
Keep render outputs, node_modules and caches out of the package but treat
store-ignored dist trees as packageable non-revision content: scan them,
ship them, and allow them outside the pinned inventory while unpinned
source additions still fail. Restore a `vendor/.../dist/...` dependency
case in the delivery tests and describe the packaging rule accurately.
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>
* Classify OpenDesign sign-in failures and handle billing refusals
Request the connector's jsonl-v1 sign-in stages under a per-attempt ID and
accept persisted credentials only when the control key, its ID, the runtime
key and the account ID are all present. Failed attempts report
setup_failed, authorization_expired or credentials_rejected from the
furthest stage reached, with the matching copy, and the service logs the
attempt progress without URLs, codes, identities or credentials.
Read an empty subscription tier as the Free plan. A failed billing read
clears plan and balance, keeps the session, keeps the HTTP status and
service code, and offers a refresh. A 401 from the billing read marks the
account reauth-required: account models become unavailable with an
explicit reason and Settings offers "Sign in again".
* Complete account image tasks and list connector speech models
Simulating the account flows with the pinned vela-cli 0.1.10 binary showed
two contract mismatches with the real connector:
- `image get --json` prints the downloaded asset instead of the task once
the task has succeeded, so every account image job failed with an
unexpected-task error. A ready asset without a task ID now completes the
image job.
- `media models` reports speech models as `audio_speech` (and music as
`audio_music`), so no account speech model was ever listed. Speech models
now map to text-to-speech; music models stay excluded.
The fixture now mirrors both outputs, and the account reference documents
the connector's image parameter constraints.
* Classify OpenDesign sign-in failures and handle billing refusals
Request the connector's jsonl-v1 sign-in stages under a per-attempt ID and
accept persisted credentials only when the control key, its ID, the runtime
key and the account ID are all present. Failed attempts report
setup_failed, authorization_expired or credentials_rejected from the
furthest stage reached, with the matching copy, and the service logs the
attempt progress without URLs, codes, identities or credentials.
Read an empty subscription tier as the Free plan. A failed billing read
clears plan and balance, keeps the session, keeps the HTTP status and
service code, and offers a refresh. A 401 from the billing read marks the
account reauth-required: account models become unavailable with an
explicit reason and Settings offers "Sign in again".
* Complete account image tasks and list connector speech models
Simulating the account flows with the pinned vela-cli 0.1.10 binary showed
two contract mismatches with the real connector:
- `image get --json` prints the downloaded asset instead of the task once
the task has succeeded, so every account image job failed with an
unexpected-task error. A ready asset without a task ID now completes the
image job.
- `media models` reports speech models as `audio_speech` (and music as
`audio_music`), so no account speech model was ever listed. Speech models
now map to text-to-speech; music models stay excluded.
The fixture now mirrors both outputs, and the account reference documents
the connector's image parameter constraints.
* Resume interrupted OpenDesign sign-ins and keep undelivered revocations
A sign-in whose credentials were saved but not yet confirmed by the service
now lets the connector confirm them on the next attempt. That resumed attempt
has no activation link; if the service refuses it, the connector rolls it back
and the same sign-in continues with a new authorization and link.
When the connector keeps credentials unconfirmed because the service could not
be reached (5xx, 408, 429, network), the attempt reports setup_failed instead
of credentials_rejected, since the next sign-in completes it.
Sign-out reads the connector's revocation result. If the service could not be
reached, the connector has already cleared the keys locally and keeps a
revocation record, so the credentials file stays. Revocations are retried on
the first account status read after startup and on each refresh, never
alongside a sign-in or sign-out, and the file is removed once nothing is left
to revoke.
* Explain how to install Vela when the sign-in connector is unavailable
* Prepare the account connector at startup and clarify the sign-in panel
Install the connector in the background after the service starts so the
first sign-in does not wait for npm; sign-in shares a preparation still
running and retries one that failed.
The account summary now reports whether the connector opened the
activation page and when the browser approved the sign-in while the
session and models are being set up. The panel keeps the activation link
as a fallback, leading with it only when the browser did not open, shows
a syncing step with no action, offers Retry after connection failures and
a feedback link after rejected credentials, shows the email once, and
says account models stay usable when billing cannot be read.
Each finished sign-in attempt reports one account_sign_in_result event
with its outcome, last stage, error kind and timings, and no account data.
* Report unreachable token exchange and credential writes as retryable setup failures
A failed token exchange or credential write accepted and stored nothing, so
it no longer reads as rejected credentials: a network failure during the
exchange or a local credentials write failure now reports setup_failed, and
the panel offers Retry instead of the contact-us feedback link. Exchange and
persist failures the connector actually rejects still report
credentials_rejected.
The fixture connector emits both scenarios, and the failure-classification
test asserts the retryable codes next to the unchanged rejection cases.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* Install the account connector with the source checkout's locked dependencies
Source installations now get @powerformer/vela-cli@0.1.10 from npm ci as a
locked devDependency, so sign-in no longer downloads the connector at
runtime. Application artifacts are built with --omit=dev and still exclude
it. The account service prefers the locked package, then an exact vela on
PATH, then the private install under the data directory, which stays as the
fallback for installations without the locked package.
* Give the install command when the account connector is unavailable
The connector_unavailable message now tells the user to run
npm install -g @powerformer/vela-cli@0.1.10 in a terminal and sign in
again. The next sign-in finds the exact vela on PATH, so no restart is
needed.
* Explain declined billing requests and refresh metrics after sign-in
* Read production billing through the authenticated summary API
* Rediscover the Vela connector when retrying sign-in
---------
Co-authored-by: heggria <bshengtao@gmail.com>
Co-authored-by: stevenguotj <stevenguotj@stevenguotjdeMacBook-Pro.local>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* 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>
* Refine template detail actions and localized metadata
* Retire the instruction-copy click event from template analytics
The detail panel no longer has its own Copy control, so the template library
can no longer report a `copy_instruction` click: recreate actions report
`start_use` and every copy still reports `template_instruction_copy_result`.
- Remove the unused `reportCopyClicked` producer from the template-library
tracking module.
- Drop `copy_instruction` from the registered `ui_click` elements so the
telemetry contract matches the shipped controls.
- Document that the recreate actions copy the instruction and that no separate
copy click is reported, and drop the now-vacuous test assertion.
Validation: `npm run check`, `npm run typecheck:studio`, `npm run build:tracking`,
`npm run build:studio`, `git diff --check`, the template-library dialog suite
(34 tests) and the tracking suites (19 tests).
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* Remove the global header from template previews
---------
Co-authored-by: fengcao <fengcao@Mac.lan>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
Add the supporting openmotion-media Skill for BYOK generation guidance; creative entries only link to it and the media-use tool is unchanged.
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
* 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>
* Preserve local motion and camera evidence in recreation
* Check composited motion and local reconstruction coverage
* Measure brief recreation events by decoded frame index
* Preserve native-cadence evidence for fast repeated motion
* Inventory brief shots at native frame cadence
* Track temporal changes in each reconstruction material
* Queue separately reviewed reconstruction units within worker limits
* Measure source travel before fitting reconstruction controls
* Report undersized reference regions as unresolved
* fix(skills): calibrate transition material and reassess failed repairs
* fix(skills): retain per-unit reconstruction decisions through repair
* fix(skills): preserve recovered materials and independently review exports
* test(studio): assert selection freshness across queued hash events
* fix: resolve recreation verification review findings
---------
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
Recover exited workspace lock owners without replacing live or unverifiable legacy locks. Avoid idle queue contention and repeated historical asset checks while preserving uncached restore validation and immutable export snapshots. Keep project catalog reads responsive during stalled previews and require macOS and Windows reliability checks.
* fix(runtime): reuse installed native tools for source startup
* fix(runtime): keep source native discovery best-effort at startup
Fall back to system tools and warn instead of aborting server startup when the
source runtime lock is unreadable or unpinned, and cover both cases.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* refactor(runtime): share native cache paths with the installer
---------
Co-authored-by: 孙庆雨 <sunqingyu@ElideMacBook-Pro.local>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
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.
* 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.
* fix: complete automatic onboarding across installation entry points
* test: run onboarding regressions in CI and align host guidance
* test: isolate bootstrap onboarding from ambient Codex sessions
* test: publish synthetic account credentials atomically
* fix: rebind a vanished source registration during install preflight
The source preflight aborted the whole install with a raw realpath ENOENT
when the previously registered checkout had been deleted or moved, which is
exactly the uninstalled-source state sourceMarketplacePlan exists to rebind.
Resolve the recorded source defensively: a missing or non-directory path is
reported as a stale registration to replace, and rollback skips restoring a
path that no longer exists. Refusals for foreign, non-local, ambiguous or
actively installed sources are unchanged.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: preserve installed marketplace sources on inventory failures
* fix: recover verified stale sources and preserve onboarding delivery state
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* Polish MCP onboarding, template previews, and sharing metadata
Start Agent setup from public installation guidance, reuse template preview cards, simplify MCP copy, and refresh social metadata with the README hero.
* Reuse setupGuideUrl in templatePrompt
templatePrompt resolved the published install-guide URL inline, so the
published-artifact path added in this branch had two sources that could
drift. Delegate to setupGuideUrl and cover the template prompt for the
default and dev catalog environments.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
---------
Co-authored-by: looper <luogao@users.noreply.github.com>
* Polish Studio navigation, autosave feedback, and page metadata
* Unify workspace separator weight and color
* Refine template card edges and rounded clipping
* Update website metadata to OpenDesign Motion
* Define the compact header leading class Studio source claims
The compact Studio header gained a `motion-header-leading` hook when the
leading region started carrying the persistent save status, but no rule
was defined for it. Tailwind resolves nothing for the class, so the Studio
token gate reported `components/StudioHeader.tsx: motion-header-leading`,
which failed Studio regression and the standalone aggregation lane.
Declare the leading gutter next to the existing project and trailing rules
so the claimed class resolves, keeping the current spacing unchanged.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* Add MCP onboarding and isolate model settings failures
* Keep application rail buttons square in every state
* Match the Home hover sidebar to the pinned workspace navigation
---------
Co-authored-by: pftom <pftom@pftomdeMacBook-Pro.local>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>