Commit Graph

8 Commits

Author SHA1 Message Date
MasonJJ
d2bbbe032b Prefer host-native video previews and avoid duplicate final players (#542)
* fix: prefer host-native final video previews

* fix: align all entry skills with native video delivery

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
2026-11-17 20:23:49 +08:00
Haoran Zhou
36f1c3ab5c fix(video): load complete final media through the native App connection (#522)
Load completed final-video bytes over the MCP App server-tool connection so Codex transcript truncation cannot corrupt first playback. Preserve pinned identity, bounded retries, duplicate-delivery handling and one final video per delivery.

Validated with 10 passing PR checks, full packaged public-tool and two-round rendering regressions, and user-confirmed native Codex first-load acceptance.
2026-11-17 15:56:40 +08:00
Haoran Zhou
e5f581689f Play a bounded preview for large final videos in chat (#493)
* Play a bounded preview for large final videos in chat

Codex's MCP stdio transport discards any message line above 16 MiB
(rmcp: 'Incoming message exceeded the maximum line length ... 16777216'),
so openmotion_show_video never completes and the host waits for minutes.
Today's 22, 24 and 40 MiB inline payloads all hung while an 11 MiB one
played; a fresh Codex session with a 24 MiB _meta payload reproduced the
discard, and 2 and 11 MiB payloads returned normally.

Verified exports above 8 MiB now play a cached H.264/AAC preview under that
size (about 10.7 MiB as base64), bound to the export's SHA-256, validated
with ffprobe and its own digest, rebuilt when corrupt, shared across
concurrent calls and limited to one 45-second budget. The old 32 MiB gate
is gone: it let 12-32 MiB exports through to a payload Codex drops. The
export file itself is unchanged.

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

* Document the 8 MiB inline embed and bounded chat preview

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 00:43:52 +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
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
open-design-crew[bot]
235d9fbedb Add BYOK media provider settings and generation tool (#369)
Add editor BYOK settings, provider reference guides and the media-use MCP tool. Preserve inline video work rounds and shared design-system integration. All eight checks passed on the exact reviewed integration head.
2026-11-13 19:23:29 +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