* feat(studio): port Black Friday conversion cards, console plan panel, and Pricing back-nav fix
* fix(studio): document console plan click actions and remove unused locale keys
* fix(studio): freeze campaign clock in ModelHub test and prune unused metric locale keys
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* [OPEND-5496] feat(cloud-tracking): add cloud allowlist, cloud_web channel, and monetization attribution
* test(studio): assert resolution gate attribution payload in AssetComposer
* fix(cloud-tracking): address Looper review (restore tests, rotate entry_id, deploy env, docs)
* fix(studio): pass native job.model.modelId for failure-gate attribution
* feat(tracking): add Tracert v0.6.0 dual reporting, canonical user identity, and env-only PostHog config
Integrate @powerformer/tracert@0.6.0 alongside existing PostHog telemetry for both Studio browser and cloud API server reporting while keeping self-hosted deployments strictly opt-in with zero hardcoded tokens.
- Add shared runtime tracking config validation and CSP-safe HTML injection so Studio hydrates tracking config in 0 RTT when enabled and skips downloading the lazy Tracert chunk when OPENMOTION_TRACERT_SPM_A is unset.
- Dual-write closed-schema Studio events and server-side account_sign_in_result across PostHog and Tracert using identical event_id and occurred_at values, keeping auto-collection plugins disabled and registering graceful TracertNode shutdown.
- Align browser and server user identity on AMR appUserId (falling back to local user.id only when self-hosted), attach workspace_id/workspace_role/plan_tier as user context, preserve anonymous device_id across passive signed-out reloads, and rotate identity on explicit sign-out.
- Remove hardcoded PostHog credentials in shared/tracking-config.json so standalone tracking is strictly env-driven.
- Allowlist only the SHA-256 digest of the SDK's default public Collector endpoint in bundled Studio JS assets in .github/scripts/motion-scan.mjs.
* fix(tracking): preserve equivalent Tracert init loads, clear expired SDK identity, and drain PostHog queues on shutdown
* fix(tracking): propagate render telemetryOptOut, isolate browser queue across identity changes, and wire production identity sync
* fix(tracking): isolate identity sync module and guard non-browser tracking init
---------
Co-authored-by: qiqi <qiqi@qiqideMBP.lan>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* feat(tracking): add Black Friday hero, model hub impressions, and remix-to-generation tracking
Port the Cloud-compatible Black Friday and ModelHub analytics from #1067 onto main, wired directly to main's shared entitlement hook registry, global checkout-return refresh host, and template impression observer:
- Register bf_hero and bf_hub in shared/entitlement-hooks.ts (shared by tracking/events.ts, src/cloud-tracking.ts, and EntitlementModalHost), and extend the closed tracking schema for copy_prompt/copy_status/prompt_edited, hub_videos card surface_view, and hub_id/template_id/prompt_edited on asset_generation_submit_result.
- Split campaignPricingUrl mediums into openmotion_bf_hero (utm_medium=hero) and openmotion_bf_hub (utm_medium=model_hub) while keeping od_entry_source=openmotion_manage_subscription for AMR attribution.
- Add once-per-load bf_hero surface_view and bf_hero checkout-return tracking on ExploreBlackFridayHero, plus ModelHub showcase card impressions (via useTemplateImpressions), bf_hub promo pill attribution, category_select, open_detail, copy_prompt status, and start_use with template source handoff.
- Prevent impression spam and burst drops on Cloud: disable ModelHub's useTemplateImpressions observer while the lightbox dialog is open (avoiding idle timer loops and spurious close-time impressions), deduplicate showcase card impressions across remounts per page session, and raise the shared Cloud studioTracker queue capacity (maxQueue=1024, flushIntervalMs=500) in src/cloud-tracking.ts while keeping each PostHog /batch/ payload within 16 events / 64 KB.
- Attach campaign_id on AccountSettings view_plans clicks during the Black Friday window.
- Address review feedback from #1067: consume AssetDraft.source on successful submit, prompt reset, StudioIdeas prompt apply, or empty-prompt hub navigation (clearing both React state and in-memory studioDrafts without persisting) so later unrelated generations are not misattributed, and document all new hooks, mediums, and hub fields in tracking/README.md.
Backport-of: #1067 (partial, from commit 3fa762ae4)
* fix(tracking): re-subscribe ModelHub card impressions on masonry re-pack and wait for account state
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
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.
* 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>
Add the full Motion Studio catalog and direct editor entry. Restore the last available project from Explore and open templates in their existing detail views. Preserve the blank-project card from main and share industry ordering across the two shelves.
* Find npm for the OpenDesign connector on Homebrew Node and report why preparation failed
Packaged installations omit the connector, so the service installs it with npm on
first sign-in. The npm path was derived as `<execPath>/../lib/node_modules/npm`.
`process.execPath` is the resolved binary, so a Homebrew Node reports its Cellar
directory, where npm lives under `libexec`; npm never started, every attempt
failed within ~70 ms as `connector_unavailable`, and the cause was discarded.
- Move connector discovery and installation to gateway/account-connector.ts.
npm is looked up via `npm_execpath`, beside Node (including Homebrew's
libexec layout), then by following `npm` on PATH.
- Classify failures as npm_missing, install_failed or start_failed. The local
log keeps the npm output; telemetry adds only `connector_problem`.
- The account summary carries a manual command that installs into the private
`<data>/account/runtime` directory, which the next Retry finds without a
restart and regardless of the service's PATH, replacing the `npm -g` advice.
- The npm installer prepares the connector during setup, while the terminal's
npm and proxy settings are available; failures stay non-fatal.
* Show the sign-in component failure with Retry and a copyable install command
When the connector is unavailable the account panel now offers Retry instead of
"Sign in again" and shows the install command in a copyable block below the
reason, using design-system tokens.
* Address review: bound installer preparation, shell-safe command, reuse code block
- The installer prepares the connector before host registration, so a host
starting the service cannot run a second npm into the same directory, and
stops after 60 seconds; the service installs it at sign-in otherwise.
- The manual command single-quotes the directory on POSIX shells.
- An explicit OPENMOTION_ACCOUNT_CLI path gets no install command, since the
private installation would not be used.
- A data directory that cannot be created is reported as install_failed.
- The panel reuses the shared code block and a Copy command button, as the
Agent settings do, instead of a new style.
- Test the failure telemetry against the event schema.
* Use a neutral install path in the account panel test
The release content scan rejects home-directory paths in source.
* Ask to check the configured connector path instead of offering a hidden command
When OPENMOTION_ACCOUNT_CLI names the connector, the summary omits the install
command, so the failure message no longer refers to one.
---------
Co-authored-by: heggria <bshengtao@gmail.com>
* Wait for the service's authorization expiry before cancelling OpenDesign sign-in
OpenMotion killed the connector ten minutes after a sign-in started, but the
account service keeps a device authorization open for fifteen minutes and the
connector already waits for that expiry. Killing it early made the connector
cancel an authorization the user was still completing in the browser, so a
sign-in finished in minutes 10-15 failed and had to be repeated.
Keep a 16-minute backstop only, so the service's own expiry decides.
* Open the subscription page in the sign-in browser with an account intent
Manage subscription and Upgrade to Plus were plain links inside Studio. When an
Agent host shows Studio in its own browser, they opened there, while the
connector had signed the user in through the system default browser, so
OpenDesign asked the user to sign in again before upgrading. Nothing checked
that the browser held the same account, so a purchase could land on another
account.
The local service now builds the entry-tagged dashboard address, requests a
one-time account intent with the installation's control key for a confirmed
production sign-in, and opens /login?intentId=... in the system default
browser. The console then confirms the account before continuing to the plan
page. Without an intent the plain dashboard opens; when no browser can be
launched, Studio opens the returned link itself.
* Report Free and Go accounts as not including media whatever their balance
Free and Go plans entitle text models only; account credits never unlock media
models on them. The hint reported not-included only for a non-positive
balance, so a new account with a signup grant or a Go subscriber with its
allowance got unknown. Agents then skipped the Go upgrade guidance and sent a
user who had just bought Go back to the generic setup page.
Free and Go now report not-included regardless of balance; hasBalance is still
returned for balance messages.
* Accept Codex in media discovery and document its image route
Settings lets users pick Codex for images, but openmotion_media_use rejected
provider=codex with invalid_enum, so an Agent following that choice failed to
list Codex models. Discovery (inspect, reference, models) now accepts Codex and
returns a Codex provider guide. Project-direct generate still does not accept
Codex and now says to use openmotion_assets_use with codex:image-generation,
which already supports it.
* Keep a subscription link when the fallback popup is blocked
The fallback opened the subscription page only after the local service
replied, when browsers no longer treat the click as a user gesture.
A blocked popup now leaves a Continue in browser link next to the
button. The standalone button and link keep their content width.
* feat(settings): guide sign-in and upgrades toward multimodal generation
Signed-out people now see what signing in unlocks on the Account page:
image, video, voiceover and music generation without API keys, included
with Plus, Pro and Max. Free and Go accounts get an upgrade card that opens
the subscription page with its own entry source
(openmotion_account_upgrade) and reports the existing view_plans click.
A dated campaign line (accountOffer.ts) shows beside both guides; its copy
is a placeholder until the commercial terms are confirmed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(settings): present the account guides as plan cards
Restyle both guides as plan cards: a large title with a badge, one sentence
on what Plus unlocks, the capability chips, the offer line and the actions.
The border uses the design-system brand-to-accent gradient.
- Signed out: "Sign in to start multimodal generation" with a "Plus and
above" badge, so signing in no longer reads as unlocking generation.
- Free and Go: the plan name leads, with "Upgrade to Plus" and "Manage
subscription" side by side; the duplicate link below the metrics is hidden.
- The offer line becomes "Annual offer" until a discount and end date are
confirmed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(settings): address review on the account plan cards
- Offer note: state the standing annual price instead of placeholder
campaign copy. AMR public pricing bills Plus, Pro and Max yearly at 70% of
twelve monthly list prices ($168 / $840 / $1,680 against $20 / $100 / $200),
so the note reads "cost 30% less when billed yearly" and has no end date.
activeAccountOffer keeps optional start/end windows for real campaigns,
with boundary tests.
- Entry source: AMR drops attribution for unregistered od_entry_source
values, so the upgrade link uses the registered
openmotion_manage_subscription source; the ui_click element (view_plans
vs manage_subscription) separates the two buttons. tracking/README.md
documents both links.
- Token gate: mark the upgrade card with data-guide="upgrade" instead of an
unstyled class.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(byok): target the signed-out plan guide in the account harness
The signed-out Account page renders .om-plan-guide instead of the summary
card, so sign-in clicks the guide's button and the post-sign-out check waits
for the guide heading.
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>
* feat(tracking): report Explore, the creative navigation and Studio pages
Add page views and clicks for Explore, the top creative navigation, the
Design/Cinema/Sound/Motion Studio pages, the API page and model overviews,
and report Studio-form generations with their Studio, scene and model.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(tracking): report a model chosen in the creative menu as select_model
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(tracking): report the model hub page
Add a model_hub page view (hub, signed-in state) and clicks for its header,
hero, video wall, video detail and availability section, by catalogue id only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(tracking): keep the chosen model and require the navigation page
Send a catalogue model key provider:modelId as model_provider + model_id
(custom providers send neither), and make CreativeNavigation's trackingPage
required instead of keeping an unreachable fallback.
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>
* feat(mcp): split library Skills into openmotion_list_skills / openmotion_get_skill
Skills no longer ride on the template tools. list_templates returns
templates only (no kind=skill rows, no skillTotal) and get_template rejects
Skill IDs with a pointer to openmotion_get_skill. The new tools reuse the
same repository/hosted readers and content-addressed object store.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(studio): point Skill copy prompts and MCP examples to openmotion_get_skill
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: register Skill tools in the MCP handbook and update tool-count tests
- Templates capability lists openmotion_list_skills / openmotion_get_skill;
technique studio scenarios compose openmotion_get_skill.
- Tool counts +2; the WebMCP tracking integration test flushes between calls
so 23 tools x 3 events stay within the bounded browser queue (64).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(mcp): ship Skill tools in CMS/package mode, add handbook capability and refresh counts
- CMS mode reads the library/skills shipped with the application and never
waits on the template publication, so list_skills/get_skill work offline
and in the packaged phase-one ZIP.
- Phase-one package E2E calls openmotion_list_skills and openmotion_get_skill.
- Handbook gets a Skill-discovery capability (zh-CN copy included).
- Growth teardown Skill reads its scripts via openmotion_get_skill.
- Public counts: 18 MCP names (17 capabilities) and 23 WebMCP page tools.
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>
Co-authored-by: zhanghuihua <zhanghuihua@Mac.lan>
* feat(templates): recover empty searches with reference creation
* fix(templates): remove undefined form classes
* fix(templates): match task aliases against catalog purposes
* feat(templates): open reference creation from the library home
* refine(templates): feature the reference link below gallery actions
* refine(templates): align reference forms and show the entry across categories
* feat(templates): track reference video recovery flow
* fix(templates): retain reference drafts during search
---------
Co-authored-by: qiqi <qiqi@qiqideMBP.lan>
Unify each template’s existing guide preview, preserve its authored content, support declared drafts and native project continuation, and register privacy-preserving guide analytics.
Includes reviewed retry, source-bundle, handbook and build-path fixes. Latest main conflicts are resolved; all 15 checks pass.
* feat(tracking): measure video generation, editing and export by work
* fix(tracking): count timeline insertions from Assets and synchronize export coverage
---------
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
* feat(tracking): measure Motion editor exports, manual edits and feature usage
Add Studio-owned events for the MVP editor so export success and manual
editing can be read per installation and per project, and each phase-one
feature has one signal.
- studio_export_request_result / studio_export_result: one request result
per start attempt and one terminal result per accepted UI render, joined
by a browser-minted export_id. UI renders use the editor pipeline and do
not reach the worker export_result, which is unchanged.
- studio_edit_result: one event per committed history entry, emitted where
Studio claims the entry, with closed edit_kind and surface. Coalesced
claims report once; in-page Agent tool writes are skipped. Project rename,
asset rename/delete and save failures report from their own owners.
- studio_history_step_result, studio_asset_import_result and
studio_notice_shown for undo/redo, UI imports and shown notices.
- ui_click gains studio areas/elements and a closed option field.
- Editor events carry project_scope; project_id only when it is a UUID.
Editor modules report through an installed sender, so an editor mounted
without the Motion host reports nothing and never imports the transport.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* feat(tracking): add video length, project scale and template attribution to editor events
- studio_export_request_result / studio_export_result gain
video_duration_bucket for the composition being rendered.
- studio_load_result and the export request gain clip, asset and
composition count buckets, read from memory only and reported as
unknown when not yet loaded.
- The editor's template library (the shared gallery) now reports copy
click and actual copy result, preview, use, category change and one
search per query through an optional listener; the gallery itself owns
no tracking code.
- template_id is accepted only by a new bounded slug validator; ids that
do not match are omitted. The id of the template a project was created
from is added to the load and UI export events when the workspace
catalogue already holds it.
No host field is added to studio_load_result: the Studio page does not
know which host product opened it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): report reconciled export outcomes and the default frame rate
A cancel is optimistic, so the terminal export event could record a render the
server had already finished as cancelled. Hold the report until the cancel
route answers and use the status it returns. An omitted frame rate renders at
30 fps and is now classified as such instead of other.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): withhold export outcomes for unconfirmed cancels
When the cancel request fails the render may still be running, so the optimistic
cancelled row is not a terminal state. Skip the terminal event in that case and
document the gap.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): report the unreachable-project notice only once it renders
The banner returns nothing until the served-project list arrives, so tie the
notice event to that state instead of the mount.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(tracking): use fixture paths the release scan accepts
The source scan rejects personal-path shaped strings, including the private-path
fixtures these tests feed to the sanitizers.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): derive editor closed sets from the tracking registry
editorTracking restated the studio event enums as local literals: the
ui_click option list, the template copy host list, and the export
format/quality/fps acceptance checks. A value added to the registry alone
left those copies stale, and the affected series silently reported `other`,
`mp4` or `standard` with no failing test.
Build the runtime sets from the exported registry that already validates
every event, keep the resolution preset mapping as it is, and cover the
derivation by asserting every registered option, format, quality, host and
frame rate is reported as itself.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(readme): align Codex and Claude Code agent badges (#287)
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
* fix(tracking): report the new template library, side rail and layer opacity
feature/motion replaced the MVP template library, added a collapsed side rail
and saves animated-layer opacity as a multiplier. Report preview, facet, search,
copy and open from the new library through the shared template reporter, report
rail icons as the tab click they stand for, and classify the opacity multiplier
as an opacity edit.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): drop duplicate import after merge and cover the settings area
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: zhanghuihua <zhanghuihua@huihuideMacBook-Pro.local>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: luogao <luogao@refly.ai>
Co-authored-by: Joey-nexu <joeylee12629@gmail.com>
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
Co-authored-by: huihui-crypto <huihuazhanghuihua@gmail.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>
* 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>
* 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.
Preserve historical installation-based distinct_id across upgrades while adding an OpenMotion-scoped OS device hash for explicit device counts. Mark unavailable device identifiers without changing installation identity or GeoIP behavior. Validate existing-install continuity, extracted-package telemetry, and native Windows, macOS and Linux identity stability.
Correct template exposure timing and correlate each recreate attempt with its copy result. Use a positive instruction visibility threshold so zero-area edge contact cannot suppress later exposure.