Commit Graph

723 Commits

Author SHA1 Message Date
Dery Ferdika
deca7fd805 fix(tracking): join feedback events with an opaque minted id (#674)
The feedback card asks the user to rate a render, and the four feedback events
could not be joined to the render that prompted them: `studioUsageProperties`
copies only the keys the event registry declares, and none of them declared an
identifier.

The first attempt registered `render_id: 'uuid'` and forwarded `job.id`. That
value is the server render job id, shaped `<project>_2026-11-10_10-00-00`, so
the `uuid` rule rejected every real value and the join stayed broken while the
test passed on a synthetic id. That id also embeds the project id and a
timestamp, which the tracking contract deliberately keeps in the browser, so
widening the rule to `code` was not an option.

`requestStudioFeedback` now mints an opaque uuid for each prompt and forwards
that, so `shown`, `dismissed`, `interview_click` and `feedback` for one render
share a join key that carries nothing about the project. `useRenderQueue` no
longer passes the server job id, the trigger ignores a caller-supplied id, and
`tracking/README.md` describes the retained value as a browser-minted
identifier rather than a render-job id.

Validation:
- `npx vitest run --config studio/vitest.config.ts studio/src/components/feedback/feedbackTrigger.test.ts`
  passes, including a new case asserting a caller-supplied job id is replaced.
- `tests/studio-tracking.test.ts` keeps the four-event uuid assertion green and
  adds the negative case that a `<project>_<timestamp>` id is dropped, which is
  why the rule stays `uuid`.
- `npm run typecheck:studio` and `npm run check` pass.

One pre-existing failure remains in `tests/studio-tracking.test.ts` on Windows
and is unrelated: the audio producer scan matches
`file.endsWith('/audioFxTelemetry.ts')` while the glob returns backslash
separators, so the `audio_fx_*` events are never collected. A clean checkout
gives the same six passing and one failing.
2026-11-23 11:20:19 +08:00
Dery Ferdika
19621e86e7 docs(mcp): name the public media tool and correct the caching it describes (#680)
The provider documentation still named `openmotion_asset_models`, a tool that is
not part of the public contract. It also described the `models` read as returning
cached advisory hints, which it does not: `gateway/media-use.ts` returns only
providers, catalogues and the setup flag from that branch, while the
`mediaEntitlement`, plan and balance hints come from `action=inspect`.

Both sentences now name `openmotion_media_use(action=models)` and say what it
does: it reads the provider model catalogue without refreshing billing or
exposing balances, with `refresh=true` refreshing that catalogue. The advisory
hints stay attributed to ordinary gateway status and `action=inspect`.

Validation:
- npm run check
- no `openmotion_asset_models` reference remains in the two files
2026-11-23 11:19:59 +08:00
Dery Ferdika
f4ac2ed0e1 fix(http): use one sanitised rule for download disposition headers (#623)
Download responses built the header in five places. Studio's render download and the shared studio host stripped quotes and non-ASCII from the plain parameter, but the diagnostics, integration-guide, asset, brand-kit and project-archive downloads did not, and the two sanitised sites disagreed on the delimiter set: one escaped ! alongside '()* and the other did not.

Node rejects CRLF with ERR_INVALID_CHAR, so this was never response splitting, but a bare quote passed straight through into a header value. Add shared/http-header.ts with the reasoning and route every site through it, including the render download, which keeps its portable OpenMotion<extension> plain name through the helper's override.

The override is sanitised inside the helper, so passing a plain name explicitly cannot bypass the rule. RFC 5987 attr-char technically allows !, and the shared encoder escapes the whole delimiter set anyway: percent-encoding an allowed character stays valid, and one predictable rule is easier to trust than a per-site choice.

Two sites still built their own header when this change first landed: the scenario bundle download ran a second sanitizer over the plain name and the Design Studio project download interpolated the raw name with only quotes removed. Both now use attachmentDisposition, with the scenario caller defaulting its name first, so no download response keeps a private rule that can drift from the shared one.

Covered by a unit test for the sanitiser and encoder, including an explicit override and the attr-char rationale, and by the server suite. The scenario bundle, scenario run, design project and archive suites run in CI; locally they need FFmpeg, symlink privileges and the refreshed dependency tree this checkout does not carry.

Validation:
- node --experimental-strip-types --test tests/server.test.ts
- npm run check
- node --test tests/ci-scope.test.mjs
2026-11-23 11:18:48 +08:00
open-design-crew[bot]
a44c714d0e fix(studio): fix Game Studio trailer editor URL and /editor/:projectId fallback sync (#834)
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
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-22 20:12:04 +08:00
open-design-crew[bot]
aefe22ee2f chore(studio): add routing CI boundary gates, finalize docs, and align browser E2E scripts (Phase 5) (#830)
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-22 17:47:41 +08:00
open-design-crew[bot]
06fbff8a7e feat(studio): migrate core workspace routes and shared URL contracts to semantic paths (Phase 4c) (#829)
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-22 17:23:08 +08:00
open-design-crew[bot]
e4e58f6a9e feat(studio): migrate creative studios domain routes to semantic paths (Phase 4b) (#826)
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
Publish hosted template catalog / publish (push) Has been cancelled
* feat(studio): migrate creative studios domain routes to semantic paths (Phase 4b)

* fix(studio): make ScenarioHub scrollable inside .om-explore-host

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-22 16:50:45 +08:00
open-design-crew[bot]
5e487c2ac5 feat(studio): add LegacyQueryRedirect and migrate standalone routes to semantic paths (Phase 4a) (#825)
* feat(studio): add LegacyQueryRedirect and migrate standalone routes to semantic paths (Phase 4a)

* chore: ensure PR CI

* fix(studio): guard semantic standalone paths against retained-session artifact redirect

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
Co-authored-by: open-design-crew[bot] <4197780+open-design-crew[bot]@users.noreply.github.com>
2026-11-22 15:23:20 +08:00
open-design-crew[bot]
af77bd9091 feat(studio): integrate React Router Data Router, KeepAliveOutlet, useBlocker guard, and SPA route fallback (#821)
* feat(studio): integrate React Router Data Router, KeepAliveOutlet, useBlocker guard, and SPA route fallback

* fix(studio): map SPA pathnames, await router navigation commits, localize blocker error, and schedule spa-routes CI

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-22 12:41:29 +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
Haoran Zhou
1d5a158759 feat(studio): unify image/video studio layout, creation hero, provider picker and default quality (#816)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-22 01:35:15 +08:00
Haoran Zhou
a5ebbd7df6 fix(skills): preserve template compositions under dense briefs and partial previews (#815)
* fix(skills): preserve template compositions under dense briefs and partial previews

* refactor(skills): decouple single-owner edit/source rules and multimodal adaptation

* docs(skill): align bottom adaptation link with conditional read scope

* fix(prompts): restore zh-CN delivery suffix matched by catalog test

* docs(skills): list template/adaptation in same-source section table

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-22 00:47:33 +08:00
open-design-crew[bot]
6717600410 perf(studio): decouple main shell from parser barrel and settings center (#805)
* perf(studio): decouple main shell from parser barrel and settings center

Extract three tiny helper modules so the Studio entry shell no longer
pulls @hyperframes/parsers (and its AST/HTML parser dependency tree) or
SettingsCenter through incidental imports:

- Move escapeRegex from utils/sourcePatcher.ts to utils/regex.ts and
  update WorkspaceSearch.tsx (preserving re-export in sourcePatcher.ts)
- Move getHistoryShortcutLabel from utils/studioHelpers.ts to
  utils/historyShortcuts.ts and update TimelineHistoryButtons.tsx
  (preserving re-export in studioHelpers.ts)
- Move settingsCenterSections and settingsSectionLabel from
  motion/SettingsCenter.tsx to motion/settingsMeta.ts and update
  WorkspaceBreadcrumb.tsx
- Add studio/src/shellBoundary.test.ts to guard main.tsx and
  WorkspaceBreadcrumb.tsx against static dependency regressions

Verified with studio build: removes all @babel/parser, recast, esprima,
acorn, cssomnom, linkedom, and @hyperframes/parsers barrel modules from
the entry index chunk (-1,176 kB raw / -319 kB gzip) while moving them
back into the lazy-loaded App editor chunk with zero behavior change.

* test(studio): parse shell boundary imports with TypeScript AST and resolve .js swaps

Address review feedback on studio/src/shellBoundary.test.ts:
- Replace the regex import scanner with TypeScript AST parsing via
  ts.createSourceFile so side-effect imports (e.g. import "pkg") are
  never swallowed by subsequent statements while type-only imports and
  exports are still ignored accurately
- Resolve bundler .js/.jsx/.mjs/.cjs relative specifiers to their
  backing .ts/.tsx/.mts/.cts modules when the exact path does not exist
- Add regression assertions covering side-effect imports, inline
  type-only specifiers, and .js -> .ts/.tsx resolution

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-21 21:39:55 +08:00
Haoran Zhou
73878de273 fix(i18n): complete 9-locale studio navigation translations, prune superseded keys and guard against overrides (#809)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 21:26:01 +08:00
Haoran Zhou
777c6982b8 fix(studio): polish image/video forms, multi-shot defaults, workflow badge and mega-menu transitions (#806)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 20:38:45 +08:00
open-design-crew[bot]
b81203b519 feat(studio): guide users from coming soon surfaces
Merge PR #803 after all CI checks passed and review threads were resolved.
2026-11-21 20:13:21 +08:00
open-design-crew[bot]
2bcc6a088f Polish image editor controls and creation guides (#795)
* Polish image editor controls and creation guides

* Center the relight guide artwork and refine its title

---------

Co-authored-by: fengcao <fengcao@fengcaodeMacBook-Pro.local>
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 19:31:36 +08:00
Haoran Zhou
706f1f35c4 feat(studio): align image & video playstyle naming across EN and all 10 locales (#801)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 19:11:11 +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
9db5336128 fix(i18n): align zh-CN image & video playstyle terminology with mainstream usage (#798)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 18:49:15 +08:00
Haoran Zhou
b87b33f84c feat(studio): match image and video features by model capabilities instead of ID allowlists (#796)
* feat(studio): match image and video features by model capabilities instead of ID allowlists

* test: fold model-capabilities tests into scheduled generation-options suite

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 18:35:23 +08:00
Haoran Zhou
dfd32c5be6 feat(studio): Image 4K Upscale hero tile, Video Omni reference cleanup, and streamlined Generations header (#793)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 18:02:48 +08:00
Heggria
bccb40cc97 Share one OpenDesign sign-in across all workspaces on a computer (#787)
* Share one OpenDesign sign-in across all workspaces on a computer

Each data directory used to keep its own connector credentials, so a Studio
opened on its own and an Agent host started with another MOTION_DATA_DIR,
installation or channel signed in separately. The account (credentials,
session, model catalogue and private connector) now lives in one per-user
directory; MOTION_ACCOUNT_DIR overrides it and temporary workspaces stay
isolated. An existing workspace sign-in moves there once. Cached plan and
catalogue are tied to the key and session they were read for, and the shared
connector installation runs npm once under a process lock.

* Keep connectors per workspace and never resurrect a signed-out account

Connector versions differ between channels, so each workspace keeps its own
runtime and a workspace signed in through the shared account prepares it on
first use. A legacy sign-in moves only into a shared directory that has never
held an account, under a process lock, and the same directory reached through
another spelling is recognised by device and inode. Temporary-directory checks
resolve Windows short names, and a catalogue read for an older session is not
written over a newer one.

* Bring along a workspace sign-in made after the shared account's last change

A shared directory that was signed out earlier no longer discards a newer
sign-in another workspace made with an earlier release; only sign-ins older
than the shared directory's last sign-in, cancel or sign-out are dropped.

* Make legacy account migration atomic, align storage docs, and avoid personal paths in tests

- Stage legacy account files to temporary paths with 0600 permissions before renaming them into the shared directory, rolling back any committed file on failure so the workspace keeps its only copy and no shared marker is left behind.
- Add regression tests covering copy failures on both empty shared directories and directories with an existing sign-out marker.
- Replace personal-path-shaped strings in sharedAccountDirectory tests with synthetic paths to satisfy the release source privacy scan.
- Update model-gateway, provider-settings, architecture and account skill docs to separate workspace-local account/runtime from the per-user account directory.
2026-11-21 01:48:06 -08:00
Haoran Zhou
4bbd21827e fix(studio): deduplicate mega-menu features, add Expand image, and complete 10-locale translations (#791)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 17:45:57 +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
242fbb0220 fix(gateway): expand and harden Local Agent model discovery across all 29 CLIs (#789)
- Add ACP discovery for Antigravity, Gemini CLI, Copilot CLI, DeepSeek Harness (with isolated temporary session patch), Hermes, Devin, Grok Build, CodeBuddy, Qoder, Reasonix, Cline and IBM Bob, plus companion binary/config fallbacks for Mistral Vibe and Amp
- Prefer ACP configOptions over legacy availableModels, support async config_option_update notifications, extract per-model reasoning levels (thought_level, thinking and _meta.reasoningEfforts), detect -32000 auth errors and delete probe sessions when supported
- Discover Codex models via fast paginated app-server model/list with debug models fallback, Claude Code via non-prompt stdio control_request initialize with alias fallback, and Pi via RPC get_available_models with --list-models fallback
- Fix CLI line, Pi table and --help choice parsers to handle tab/column layouts, carriage-return spinners, display labels and Claude [1m] suffixes, and forward --effort when advertised
2026-11-21 17:21:28 +08:00
Haoran Zhou
34df9b1aea feat(studio): justified Generations feed, in-place unblur placeholders & unified playstyle labels (#785)
* feat(studio): justified modality-native Generations feed, in-place unblur placeholders, unified playstyle labels

* fix(studio): remove Upload button and lock Generations feed to AI-generated assets

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
v0.2.1
2026-11-21 17:10:13 +08:00
huihui-crypto
63e32cc616 feat(settings): show the lowest multimodal price beside the account plan guides (#782)
* feat(settings): lead the account plan note with the lowest multimodal price

Replace the 'Annual offer · 30% off' note beside the sign-in and Free/Go upgrade
guides with the lowest price that includes multimodal generation: Plus billed
yearly at $14/mo, and that Free and Go do not include it. Price read from
open-design.ai/pricing on 2026-11-21; Studio receives no price from Prism or AMR.

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

* docs(reviews): account offer screenshots for signed-out, Free and Go (mock account data)

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

* feat(settings): keep only the price in the account plan note

Drop the 'Plus, billed yearly. Not in Free or Go.' detail so the note reads
just 'Multimodal from $14/mo'; the offer detail is now optional. Refresh the
signed-out, Free and Go screenshots (mock account data).

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

* style(settings): show the plan note in the warning tone on the Free and Go guides too

Match the signed-out callout so the multimodal price reads the same on every
guide; the colour now comes from the shared design-system rule.

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

---------

Co-authored-by: zhanghuihua <zhanghuihua@Mac.lan>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: zhanghuihua <zhanghuihua@huihuideMacBook-Pro.local>
2026-11-21 17:08:22 +08:00
huihui-crypto
ba3aaf2f60 feat(game-studio): add Game Studio with local game service and MCP game tools (#767)
* feat(game-studio): add Game Studio tab, local game service and MCP game tools

Game Studio page with template waterfall, My games sidebar, landscape/portrait choice and
auto-open of Agent-created drafts; local game projects service with rooms, playtest,
simulate and cover capture; openmotion_game_* MCP tools; openmotion-game handbook ported
from the MIT higgsfield-ai/skills handbook; coop-3d and arcade-2d starter kits.

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

* fix(game-studio): register game tools, dedupe handbook provenance, fix search and code reload

Register the openmotion_game_* tools in MCP counts, onboarding scenarios and tracking
dimensions; keep them out of WebMCP. Move the shared MIT provenance note to PROVENANCE.md.
Studio search now matches localized titles, and the Code tab reloads its source.

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

* fix(game-studio): harden game service and fix invite copy and code fullscreen

Case-insensitive reserved paths and request-id saves; sandbox CSP for game documents;
WebSocket fragment count, time and buffer limits; AST-based determinism check;
single-player start for playtest and cover capture; atomic batch writes with rollback.
Studio: clipboard-write for embedded games and Code-tab fullscreen on the stage.

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

* fix(game-studio): trim KayKit characters below 1 MiB for the storage policy

Keep 12 common clips per character (meshes, skin and bones unchanged) so Knight.glb and
Mage.glb stay ordinary Git files; update the character README and the 3D handbook.

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

* feat(game-studio): hand drafts to the user's Agent; derive the WebSocket test nonce

Drafts show "Waiting for your Agent" until the Agent sets building. The draft page offers
Copy instruction and Open in Codex (prefill only) with the full instruction: game id, brief
and steps. GET /api/games/:id/handoff returns it for any workspace draft, including drafts
created elsewhere and remixes; creation now includes the portrait layout in the instruction.
Tests derive the RFC 6455 sample nonce at runtime so release scanning stays strict.

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

* fix(game-studio): spin the detail status only while the Agent is building

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

* test(game-studio): exercise all twelve game tools in the packaged MCP smoke test

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

* fix(game-studio): vendor acorn so packaged builds can run the game rules sandbox

Packaged builds ship without node_modules, so openmotion_game_simulate failed with
"Cannot find module 'acorn'". Ship acorn 8.19.0 (MIT, license in the file header) under
shared/vendor and import it relatively. Verified in a node_modules-free copy of the phase1
file list: create plus reference simulation wins at tick 809.

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

* fix(game-studio): resolve browser and trailer dependencies from the host runtime root

Packaged builds install npm dependencies under the data directory, so playtest, cover
capture and trailer recording failed with "Cannot find module 'puppeteer-core'" and the
trailer looked for HyperFrames in the plugin folder. Server and phase1 hosts now pass their
runtime root; puppeteer, HyperFrames checks, the trailer's Phase1Service and render queue
use it (source checkouts fall back to the plugin root). Verified in a node_modules-free
phase1 file copy: playtest, cover, simulate, publish and a trailer through ready.

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

* fix(game-studio): isolate catalog entries, smoke-test solo logic and run the game suite in CI

Review follow-ups:
- The catalog skips and reports a game folder it cannot read (an orphan or malformed
  game.json) instead of failing GET /api/games; create and remix remove their folder when
  a step fails, so a partial create no longer leaves an orphan.
- Validation runs the bounded logic.js smoke check for every game with rules. Single-player
  games follow validateAction as live play does, the loop stops when the game ends, and a
  kit game missing logic.js is reported. Room checks stay multiplayer-only.
- tests/game-projects.test.ts runs in the Distribution browser lane (Chrome and native
  export cases skip themselves when unavailable) and leaves the unscheduled list.

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

* fix(game-studio): stabilize scrolling and animate build indicator

* fix(game-studio): validate runtime before browser discovery

Resolve the requested runtime dependencies before detecting Chrome so missing-runtime diagnostics remain deterministic on Linux. Preserve all tests and emit failed Game Studio assertions as GitHub check annotations.

* fix(game-studio): stop waiting for network silence during capture

Wait for the document load and visible canvas while retaining room, startup and runtime assertions. Add a real polling regression that reproduces the 20-second navigation timeout and verifies successful background responses during capture.

---------

Co-authored-by: zhanghuihua <zhanghuihua@huihuideMacBook-Pro.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: zhanghuihua <zhanghuihua@Mac.lan>
Co-authored-by: stevenguotj <stevenguotj@stevengotjdeMBP.lan>
2026-11-21 16:47:41 +08:00
Haoran Zhou
09df83329a Remove redundant 2K HD output entry from Image mega menu (#779)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 16:43:46 +08:00
Haoran Zhou
1b706a07ec fix(studio): unify Explore and Studio entry routes into Image/Video/Audio editors (#778)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-21 16:01:04 +08:00
open-design-crew[bot]
3aa94dfce6 Simplify Explore cards and community actions (#766)
Refine Explore card descriptions and remove redundant labels.

Align community Skill and prompt actions while preserving their destinations.
2026-11-21 14:06:31 +08:00
Dery Ferdika
002d793712 docs(mcp): point the merge gate at the checks CI actually emits (#677)
The phase-one E2E section said CI produces a `phase1-package-e2e` check
context and asked maintainers to make it a required status check. No job has
that name: the test runs inside the `distribution` lane
(`ci.yml`, `node tests/phase1-package.mjs "$archive" "$PWD/.artifacts/phase1-package-e2e"`),
and the only required aggregate is `standalone`, whose `needs` list is the
seven lanes.

The same paragraph also still named a pre-parallelisation `assemble` check,
and the local-testing paragraph said the E2E task runs "all 11 tools" while
the phase-one profile has served 18 names since the Skills tools were added.

Describe the step by where it actually runs, point the branch-protection
advice at `standalone` and the lanes it aggregates, and correct the tool
count to 18. Validation: `npm run check` passes; `ci.yml` job names are
template-library, maintainability, checks, platform-reliability, studio,
distribution-browser, distribution and standalone; `shared/mcp-profiles.json`
phase1.tools has 18 entries and `tests/phase1-package.mjs` asserts that list.
2026-11-21 11:56:44 +08:00
Dery Ferdika
e05ed105c7 docs(skills): count the three holiday sale recipes in the Library total (#678)
`docs/skills.md` said there were one hundred and one canonical Library names
and listed five named Skills plus 96 single-style recipes, which adds up to
101. The tree has held 104 since the holiday sale Skills landed:
`openmotion-sale-carousel`, `openmotion-sale-countdown` and
`openmotion-sale-promo` are all present under `library/skills/` and the same
document already describes them.

Correct the total to 104 and name the sale recipes in the enumeration, keeping
the 96 single-style recipe count that still holds (5 + 3 + 96 = 104).
Validation: `library/skills` contains 104 directories, all canonical
`openmotion-*` names; `npm run check` passes.
2026-11-21 11:55:43 +08:00
Dery Ferdika
12cc9d677a docs(media-kit): cite the Brand Kit mission line instead of a README anchor (#679)
The citable facts table supported its mission row with a README anchor.
`README.md` has no `everyone-can-be-a-creator` heading or explicit anchor, and
it no longer states that mission anywhere, so the citation pointed at a
resolving section that does not contain what the row claims. Changing the
anchor to another README section only moved the dead reference.

`packages/design-system/brand/BRANDKIT.md` states the mission directly
("Everyone can be an AI video editor. Everyone can be a creator." in English
and Chinese), which is what the row paraphrases, so the evidence column now
points there. The row text and the "product direction, not a reach guarantee"
qualifier are unchanged.

Validation: the linked file exists at that relative path from `docs/`, and
`npm run check` passes.
2026-11-21 11:55:16 +08:00
fengcao-op
b48e40c2db Polish Explore cards and workspace navigation (#744)
Refine Explore and template discovery, align workspace navigation and breadcrumbs, and localize the six 3D motion card descriptions.
2026-11-21 10:33:44 +08:00
open-design-crew[bot]
c3e1ecfb3d Polish account sign-in and separate subscription settings (#761)
* Polish the OpenDesign account sign-in guide

* Separate account and subscription settings content

* Share the sign-in card across account settings

* Space the account model card heading and description

* Verify checkout return from subscription settings

* Match the OpenDesign sign-in mark to the button ink

---------

Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>
2026-11-20 23:40:38 +08:00
MasonJJ
fa7b03f296 fix(studio): streamline provider hierarchy, verified media capabilities, and model editing (#760)
* fix(studio): streamline model provider detail hierarchy and catalog toolbar

Separate connection status from inline capability metadata in the provider header, compact the configured OpenDesign account callout into a balanced horizontal banner with a secondary manage action, replace cryptic icon-only sort controls with a labeled sort selector, hide redundant ungrouped headers and unfiltered count rows, deduplicate identical model titles/IDs, highlight active default models, and sort configured providers ahead of unconfigured ones.

* fix(studio): promote modality tabs and unify provider header and filter menu

Fold configured paid OpenDesign account identity, capitalized plan badge and manage action directly into the provider header instead of showing a redundant card, promote model modalities into segmented tabs with live counts above search, merge sorting under the single Filter menu with human-readable Default order, and pin active default models to the top of default order.

* fix(studio): remove redundant model filter menu, use Text modality label and unify segmented toolbar

Drop the over-granular model filter/sort dropdown in favor of modality segmented tabs and search, rename the text model modality to Text (文本 in zh-CN) without affecting General display language or editor text layers, remove the duplicate total count beside Models when tabs are visible, and pair the raised segmented control with the search field on a single aligned row.

* fix(studio): show verified media capabilities, streamline model editor and unify provider hierarchy

- Replace non-executable LLM capability/input/token-limit controls in ModelEditor with directly visible model types (when editable), structured schema-backed default parameters and collapsed raw JSON fallback.
- Hide the model edit menu on managed OpenDesign account and local Codex rows, and render verified read-only media capability hints derived from provider metadata and shared generation options (gracefully omitted when absent).
- Unify multimodal model rows to two lines with one recognizable product name on managed providers and informative inline endpoint IDs on BYOK/API providers.
- Pin and badge Official channels (OpenDesign account and OpenDesign Cloud API) together in the sidebar, sink setupRequired presets without empty Models sections, replace generic Built-in provider subtitles with accurate role/protocol labels, compact the local Agent status bar without duplicate sync/search controls, and disclose non-media protocol limits on Anthropic/Google connections.

* fix(studio): remove redundant clear-filters bar under model search

* fix(studio): define provider header badge rules for tokenGate and align byok browser selector

* fix(studio): preserve numeric/text drafts, re-check choice requires and align provider docs

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
2026-11-20 22:44:33 +08:00
open-design-crew[bot]
c6816041ae Keep Design template feedback inside the detail dialog (#743)
Co-authored-by: fengcao <fengcao@Mac.lan>
2026-11-20 20:35:23 +08:00
Haoran Zhou
c2054da8f3 fix(media): tighten OpenDesign sign-in and Go-to-Plus upgrade handoff (#742)
Ensure multimodal onboarding, narrow-panel deep-linking, and post-checkout recovery work end to end across Gateway, Studio, and Skills:

- Compute the recommended openmotion_open_preview entry in media inspect settingsHandoff (agent_media_upgrade_go, agent_media_upgrade_free, agent_media_signed_out, agent_media_key_rejected) and filter rejected keys out of models discovery.
- Exclude Free/Go accounts (mediaEntitlement=not-included) from media capabilities while keeping account.available intact for text models.
- Deep-link account setup entries to provider=account so narrow (<=680px) embedded panels open directly on the OpenDesign sign-in / Upgrade to Plus guide.
- Align MCP handbook prompts, previewHandoff instructions, and openmotion-media Skill guidance with in-place OpenDesign sign-in and Upgrade to Plus, stopping agent_media_handbook from shadowing specific entries.
- Add checkout-return focus/visibility billing refresh, inline billing-unavailable retry, contextual low-balance and rejected-key handling, and a monotonic billing request guard with Go->Plus model catalogue sync.

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-20 20:27:20 +08:00
Haoran Zhou
982704549c fix(plugin): localize Codex plugin manifest and Skill catalog descriptions to English (#740)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-20 20:21:10 +08:00
open-design-crew[bot]
1deface20d fix(studio): unify Explore cover fallbacks and action feedback (#730)
* Unify Explore cover fallbacks and action feedback

* Polish Explore template actions and section headings

* Remove provider logos from Explore model headings

* Refine Explore selection, attribution, and cover actions

* Use a neutral panel for the Explore footer

---------

Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>
2026-11-20 20:18:24 +08:00
Haoran Zhou
c6b21944c3 fix(i18n): remove colliding New key in sound-studio-ui so New badges render as 新 in zh-CN (#741)
Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
2026-11-20 20:16:27 +08:00
Q-baobao
dd142f9565 [OPEND-5521] Add Cinema Studio template gallery and generation presets (#729)
* Add Cinema Studio template browsing and generation drafts

* fix(studio): complete Cinema help translations and restore shelf heading

---------

Co-authored-by: qiqi <qiqi@qiqideMBP.lan>
2026-11-20 20:09:48 +08:00
Haoran Zhou
d19367403b feat(video): add Video Mega Menu and video features (camera control, multi-shot, native audio) (#738)
* feat(video): add Video Mega Menu and video features (camera control, multi-shot, native audio)

* fix(video): lock native-audio toggle with explicit note and add video feature MCP handbook scenarios

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
v0.2.0
2026-11-20 19:57:45 +08:00
open-design-crew[bot]
89f5904952 fix(release): validate template and Skill index entries (#721)
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-20 19:52:42 +08:00
MasonJJ
492ab3e2d9 feat(audio): rebuild Sound Studio workbench, inline voice auditions, and playback dock (#739)
* feat(audio): rebuild Sound Studio workbench, inline voice auditions, and playback dock

- Add the 7-tab Audio / Sound Studio workbench (live Music, Sound effects, and Text to speech tabs alongside capability-preview upcoming tabs) with dedicated top navigation dropdown and route separation.
- Add inline voice auditions (bundled Kokoro-82M Apache-2.0 and BytePlus Vivi samples plus official ElevenLabs preview URLs), unified live generation/asset stream rows, interactive waveforms, and cross-tab Recreate hydration.
- Refine the bottom audio player dock into a compact single-row playback controller with click-to-locate and inline voice playback without opening the full dock; hide redundant Advanced JSON panels for built-in models and place Custom voice ID inline inside the Voice section.
- Expose built-in OpenDesign account audio fallbacks and fal ElevenLabs Sound Effects v2 generation options with full i18n and unit test coverage.

* fix(audio): hide raw JSON advanced panel for OpenDesign Cloud music models

* fix(studio): resolve i18n key collisions and register Sound Studio CSS in token gate
2026-11-20 19:49:15 +08:00
Haoran Zhou
8b1c76dc80 feat(studio): unify image creation with fixed OpenDesign models and image features (#734)
* feat(studio): unify image creation with fixed OpenDesign models and image features

- Image menu and creation page list a fixed model set (OpenDesign models first,
  Codex Image last), with provider then model pickers.
- Open background removal, relight and character consistency as image scenes,
  following the measured OpenDesign image model capabilities: per-model
  reference limits, GPT Image 2.6 quality and transparent background, Seedream
  sizes, and a 2 MiB reference limit.
- The OpenDesign account submits image jobs the connector cannot express
  (transparent background, several references) to the same media API with its
  control key, so signed-in users get the same features as an API key.
- Transparent results preview on a checkerboard; remove the creation page back
  arrow; add missing translations.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

* fix(studio): address PR #734 review feedback on library BYOK preservation, featureMode scope, MCP handbook, and architecture docs

---------

Co-authored-by: Awek-015 <zhouhaoran@refly.ai>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2026-11-20 19:36:31 +08:00
huihui-crypto
f94275793c feat(studio): add Black Friday top banner and Pricing entry with attribution (#731)
* feat(studio): add Black Friday top banner and Pricing header entry

* feat(tracking): attribute Black Friday banner and Pricing entry clicks

Add od_origin/od_entry_source/od_entry_id/od_entry_at and UTM fields to the
banner and header Pricing links, report the banner impression and the
claim/close/Pricing clicks with campaign_id and the click's entry_id, and use
design-system tokens for the Pricing icon colors and header radii.

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

* feat(studio): localize the Black Friday banner and bound its campaign window

Move banner and Pricing campaign copy into campaign-ui.json for all supported
locales, show the campaign only until 2026-12-05 00:00 Beijing time, keep a
dismissed banner hidden for the rest of the local day, and re-check the window
and day each minute so open pages update without reloading.

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

* fix(studio): keep the countdown day unit out of one-letter messages

The one-letter "d" message translated to German "T", which the reverse
lookup then matched for the editor's T inset label. Use a descriptive key and
keep English "d" in code.

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

* fix(tracking): send the AMR-registered OpenMotion entry source

AMR drops an attribution whose od_entry_source is not registered, entry id
included. Send openmotion_manage_subscription for the banner and header Pricing
links and tell them apart by utm_medium and the click event's entry_id.

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

* feat(studio): start the Black Friday campaign at 2026-11-21 18:00 Beijing time

The banner, the Pricing 50% OFF badge and the campaign fields on links and
events start at 2026-11-21 18:00 +08:00 and still end at 2026-12-05 00:00.

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

---------

Co-authored-by: hazel-ye <80680199+hazel-ye@users.noreply.github.com>
Co-authored-by: zhanghuihua <zhanghuihua@Mac.lan>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 19:08:22 +08:00