@hyperframes/studio-server 0.8.185 → 0.8.188

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import '@hyperframes/core';
2
- export { a as PreviewApiAdapter, P as PreviewDocumentStore, i as injectMediaCodecMap, f as injectMediaCodecMapIntoHtml, g as isAutoProxyEnabled, p as proxyEtagSalt, r as resolvePreviewMediaCodecProbeCache } from '../mediaProxyPreview-GMF-_zBh.js';
2
+ export { a as PreviewApiAdapter, P as PreviewDocumentStore, i as injectMediaCodecMap, f as injectMediaCodecMapIntoHtml, g as isAutoProxyEnabled, p as proxyEtagSalt, r as resolvePreviewMediaCodecProbeCache } from '../mediaProxyPreview-B5j7l9r4.js';
3
3
  import './mediaCodecMap.js';
4
4
  import 'sharp';
5
5
  import '@hyperframes/parsers';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Hono } from 'hono';
2
- import { S as StudioApiAdapter, P as PreviewDocumentStore, M as MediaProcessingJobState } from './mediaProxyPreview-GMF-_zBh.js';
3
- export { L as LintResult, a as PreviewApiAdapter, R as RenderJobState, b as ResolvedProject, c as StudioSelectionResponse, d as StudioSelectionSnapshot, e as StudioSelectionTextField } from './mediaProxyPreview-GMF-_zBh.js';
2
+ import { S as StudioApiAdapter, P as PreviewDocumentStore, M as MediaProcessingJobState } from './mediaProxyPreview-B5j7l9r4.js';
3
+ export { L as LintResult, a as PreviewApiAdapter, R as RenderJobState, b as ResolvedProject, c as StudioSelectionResponse, d as StudioSelectionSnapshot, e as StudioSelectionTextField } from './mediaProxyPreview-B5j7l9r4.js';
4
4
  export { C as ClosedWindow, D as DEFAULT_HISTORY_ROOT, S as HISTORY_START, H as HistoryClosedError, a as HistoryEntry, b as HistoryEntrySide, c as HistoryFileChange, d as HistoryListItem, e as HistoryResult, f as HistoryTarget, g as HistoryWho, h as HistoryWindow, M as MAX_WINDOW_IDLE_MS, P as ProjectHistory, i as ProjectHistoryOptions, j as ProjectHistoryView, U as UNDO_MODES, k as UndoMode, o as openProjectHistory, r as readProjectHistory } from './projectHistory-ByC9sa3X.js';
5
5
  export { ArtifactCapture, ArtifactInput, ArtifactRecord, HistoryBusyError, HistoryIdError, ProjectHistoryRecord, PrunedHistory, RenderRecord, VideoState, artifactDirectory, beginArtifactCapture, finishSnapshotRun, forgetRecordedArtifacts, historyCache, listProjectHistories, pruneGoneProjectHistories, recordArtifact, recordArtifacts, recordRenderSuccess, registerRenderOutput, retainSnapshotOutput } from './history/index.js';
6
6
  export { CACHE_DIR_NAME as PROXY_CACHE_DIR_NAME } from './helpers/proxyTranscoder.js';
package/dist/index.js CHANGED
@@ -4643,6 +4643,11 @@ function registerRenderRoutes(api, adapter) {
4643
4643
  }
4644
4644
  const encoder = parseEncoderOptions(body, format);
4645
4645
  if (!encoder.ok) return c.json({ error: encoder.error }, 400);
4646
+ const requestedPageMotionBlur = body.pageMotionBlur;
4647
+ if (requestedPageMotionBlur !== void 0 && requestedPageMotionBlur !== "off") {
4648
+ return c.json({ error: "pageMotionBlur must be off when supplied" }, 400);
4649
+ }
4650
+ const pageMotionBlur = requestedPageMotionBlur === void 0 && body.previewMotionBlur === false ? "off" : requestedPageMotionBlur;
4646
4651
  const now = /* @__PURE__ */ new Date();
4647
4652
  const jobId = `${project.id}_${formatRenderOutputTimestamp(now)}`;
4648
4653
  const rendersDir = adapter.rendersDir(project);
@@ -4662,7 +4667,8 @@ function registerRenderRoutes(api, adapter) {
4662
4667
  ...encoder.options,
4663
4668
  useGpu: body.gpu === true && format === "mp4",
4664
4669
  distinctId: typeof body.telemetryDistinctId === "string" ? body.telemetryDistinctId : void 0,
4665
- telemetryOptOut: body.telemetryOptOut === true
4670
+ telemetryOptOut: body.telemetryOptOut === true,
4671
+ ...pageMotionBlur === void 0 ? {} : { pageMotionBlur }
4666
4672
  });
4667
4673
  jobState.createdAt = Date.now();
4668
4674
  renderJobs.set(jobId, jobState);
@@ -175,6 +175,7 @@ interface StudioApiAdapter {
175
175
  * for a user who had opted out, under the CLI's own policy.
176
176
  */
177
177
  telemetryOptOut?: boolean;
178
+ pageMotionBlur?: "off";
178
179
  /**
179
180
  * Optional output resolution preset. See `resolveDeviceScaleFactor` in
180
181
  * the producer for the integer-scale + aspect + HDR constraints.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/studio-server",
3
- "version": "0.8.185",
3
+ "version": "0.8.188",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/heygen-com/hyperframes",
@@ -84,8 +84,8 @@
84
84
  "linkedom": "^0.18.12",
85
85
  "postcss": "^8.5.8",
86
86
  "postcss-selector-parser": "^7.1.2",
87
- "@hyperframes/parsers": "0.8.185",
88
- "@hyperframes/core": "0.8.185"
87
+ "@hyperframes/parsers": "0.8.188",
88
+ "@hyperframes/core": "0.8.188"
89
89
  },
90
90
  "devDependencies": {
91
91
  "@types/node": "^25.0.10",