Commit Graph

5 Commits

Author SHA1 Message Date
open-design-crew[bot]
5ccea305af fix(workflows): preserve drafts, media previews, and exports (#854)
* Fix workflow draft handling, media previews, and exports

* Align Explore spotlight regression tests with the launch order

* Use a finite MCP response in the SPA routing regression

* Seed soundtrack duration from the workflow brief

---------

Co-authored-by: stevenguotj <stevenguotj@users.noreply.github.com>
2026-11-23 15:43:40 +08:00
MasonJJ
ee82767c13 [OPEND-5572] feat(sound-studio): redesign waveforms, live playback flow, voice cards and audio track library (#794)
* feat(sound-studio): redesign waveforms, live playback flow, voice cards and audio track library

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

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

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

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

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

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
2026-11-21 18:57:19 +08:00
Haoran Zhou
cc30111582 Support OpenDesign Cloud edits, image-to-video and speech timestamps (#495)
* Support OpenDesign Cloud edits, image-to-video and speech timestamps

The Cloud adapter only sent text requests, so edit-capable image models,
first-frame video and returned speech timings were unreachable through the
MCP Tools even though the Cloud API supports them.

- Discovery marks edit-capable image models with supportsImageReference
  and maxInputImages, video models with maxInputImages, and returns the
  provider's native options as nativeOptions.
- Queued references are uploaded (create, credential-free PUT, commit) and
  sent to /images/edits, or as one first_frame on /videos/tasks; the
  per-model maximum replaces the fixed one-reference rule.
- Speech result metadata (alignment, word timings) is kept as job.result
  and returned by status.
- Video jobs get a 30-minute local timeout; Wan can exceed 15 minutes.
- Read-only polling and media downloads retry transient failures, so a
  dropped connection no longer discards a paid, finished task.

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

* Address review: keep key verification, per-model reference caps and agent guidance accurate

- A storage rejection of the presigned reference upload no longer marks
  the Cloud API key rejected.
- References are limited by the selected model (up to 16), not a fixed
  eight, in both the library validation and the Tool schema.
- Video discovery exposes one input image, matching the implemented
  first-frame role; the provider maximum stays in nativeOptions.
- Download failures keep their HTTP status, and retries cover only
  network errors, timeouts, 429 and 5xx.
- MCP initialization, the connection guide and the Tool/architecture docs
  describe per-model image references and first-frame video.

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

* Clamp video references to one first frame and keep referenceAsset image-only

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

* Resume original Cloud media tasks and align reference consumers

Add explicit guarded recovery without upload or paid resubmission, preserve redacted result metadata, save every output, and apply model reference limits consistently across MCP and Studio.

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

* Keep cancelled and Cloud-terminal jobs out of resume

- A save-only retry that finds no retained output now leaves a cancelled
  job cancelled instead of turning it into a resumable failure.
- Jobs recorded by the earlier adapter carry a confirmed Cloud failure or
  cancellation only in their error text; treat that as remote-terminal.

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

* Persist legacy Cloud-terminal provenance before save-only retry rewrites the error

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

* Track the resume asset action and reuse the shared reconnecting label

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

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 02:24:44 +08:00
open-design-crew[bot]
cf59b4a3db 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>
2026-11-16 18:08:42 +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