@hyperframes/producer 0.9.32 → 0.9.33

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.
@@ -341,6 +341,8 @@ export interface StageStallRule {
341
341
  tailMs?: number;
342
342
  detail?: () => string | undefined;
343
343
  attemptOpened?: () => void;
344
+ /** Bounded work that is not progress but not a stall either: a change keeps the current window open. */
345
+ activity?: () => number;
344
346
  }
345
347
  /**
346
348
  * Classified like the per-call protocol timeout it replaces, so the capture retry ladder retries it.
@@ -114,6 +114,9 @@ export declare function reportEncodeProgress(job: RenderJob, done: number, total
114
114
  /** Seconds of the final file written, 90% to 99%: only a complete file reaches 100. */
115
115
  export declare function reportAssembleProgress(job: RenderJob, done: number, total: number, onProgress: ProgressCallback | undefined): void;
116
116
  export declare function forgetWorkerPhases(job: object): void;
117
+ /** Counts a render's still-frame check screenshots; the capture stall watcher reads it as activity. */
118
+ export declare function noteStaticDedupActivity(job: object): void;
119
+ export declare function staticDedupActivity(job: object): number;
117
120
  export declare function describeWorkerPhases(job: object): string | undefined;
118
121
  /** Browser warm-up before the first frame, from the parallel workers' phase events. */
119
122
  export declare function reportWorkerStartup(job: RenderJob, progress: ParallelProgress, onProgress: ProgressCallback | undefined): void;
@@ -25,7 +25,7 @@
25
25
  * regex, the same first-10/first-5 slicing, and the same `console.warn`
26
26
  * prefix.
27
27
  */
28
- import { type CaptureOptions, type CaptureSession, type CompositionLengthSource, type EngineConfig, type SubTimelineWaitMemo } from "@hyperframes/engine";
28
+ import { type CaptureOptions, type CaptureSession, type CompositionLengthSource, type EngineConfig, type SubTimelineWaitMemo, type StaticDedupMemo } from "@hyperframes/engine";
29
29
  import type { CompiledComposition } from "../../htmlCompiler.js";
30
30
  import { type FileServerHandle } from "../../fileServer.js";
31
31
  import type { ProducerLogger } from "../../../logger.js";
@@ -55,6 +55,7 @@ export interface ProbeStageInput {
55
55
  needsAlpha: boolean;
56
56
  deviceScaleFactor: number;
57
57
  subTimelineWaitMemo: SubTimelineWaitMemo;
58
+ staticDedupMemo?: StaticDedupMemo;
58
59
  }
59
60
  export interface ProbeStageResult {
60
61
  /** May be reassigned from `recompileWithResolutions`. */
@@ -51,6 +51,4 @@ export declare function toExternalAssetKey(absPath: string): string;
51
51
  export declare function formatCaptureFrameName(index: number, ext: string): string;
52
52
  export declare function formatExportFrameName(index: number, ext: string): string;
53
53
  export declare function resolveRenderPaths(projectDir: string, outputPath: string | null | undefined, rendersDir?: string): RenderPaths;
54
- /** The project file a data-composition-src names, as the preview reads it; null when it leaves the project. */
55
- export declare function resolveCompositionSrc(projectDir: string, src: string): string | null;
56
54
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/producer",
3
- "version": "0.9.32",
3
+ "version": "0.9.33",
4
4
  "description": "HTML-to-video rendering engine using Chrome's BeginFrame API",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,11 +35,11 @@
35
35
  "postcss": "^8.4.0",
36
36
  "puppeteer": "~25.11.0",
37
37
  "puppeteer-core": "^25.11.0",
38
- "@hyperframes/engine": "0.9.32",
39
- "@hyperframes/core": "0.9.32",
40
- "@hyperframes/parsers": "0.9.32",
41
- "@hyperframes/studio-server": "0.9.32",
42
- "@hyperframes/lint": "0.9.32"
38
+ "@hyperframes/lint": "0.9.33",
39
+ "@hyperframes/parsers": "0.9.33",
40
+ "@hyperframes/studio-server": "0.9.33",
41
+ "@hyperframes/engine": "0.9.33",
42
+ "@hyperframes/core": "0.9.33"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "^25.0.10",
@@ -48,7 +48,7 @@
48
48
  "tsx": "^4.21.0",
49
49
  "typescript": "^5.7.2",
50
50
  "vitest": "^4.1.11",
51
- "@hyperframes/aws-lambda": "0.9.32"
51
+ "@hyperframes/aws-lambda": "0.9.33"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=22"