mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
aee81b76a6
drawElementService.ts, frameCapture.ts, compileStage.ts, fallbackCaptureProfile.ts, validate-fast-video.ts, and the fast-video CI workflow all cite `docs/fast-capture-limitations.md` (several by specific `Lim N` number) as the reference for why a composition falls back to screenshot capture -- but the file never existed anywhere in the repo, so every one of those pointers was dangling and nothing was ever shipped in the published @hyperframes/engine package either. Add packages/engine/docs/fast-capture-limitations.md covering every fallback gate (SwiftShader, video capture, unsupported CSS effects, 3D contexts, supersampling, clip-cut boundaries, the at-risk-timeline predictor) plus the operational requirements and per-frame recoverable errors, and add "docs" to the package's `files` so it actually publishes. Add a regression test asserting the doc exists and still defines every limitation number cited by name elsewhere in the codebase. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
80 lines
2.0 KiB
JSON
80 lines
2.0 KiB
JSON
{
|
|
"name": "@hyperframes/engine",
|
|
"version": "0.8.34",
|
|
"description": "Seekable web page to video rendering engine (Puppeteer + FFmpeg)",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
"directory": "packages/engine"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"docs"
|
|
],
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"bun": "./src/index.ts",
|
|
"import": "./src/index.ts",
|
|
"types": "./src/index.ts"
|
|
},
|
|
"./alpha-blit": {
|
|
"bun": "./src/utils/alphaBlit.ts",
|
|
"import": "./src/utils/alphaBlit.ts",
|
|
"types": "./src/utils/alphaBlit.ts"
|
|
},
|
|
"./shader-transitions": {
|
|
"bun": "./src/utils/shaderTransitions.ts",
|
|
"import": "./src/utils/shaderTransitions.ts",
|
|
"types": "./src/utils/shaderTransitions.ts"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./alpha-blit": {
|
|
"import": "./dist/utils/alphaBlit.js",
|
|
"types": "./dist/utils/alphaBlit.d.ts"
|
|
},
|
|
"./shader-transitions": {
|
|
"import": "./dist/utils/shaderTransitions.js",
|
|
"types": "./dist/utils/shaderTransitions.d.ts"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^2.0.5",
|
|
"@hyperframes/core": "workspace:^",
|
|
"@hyperframes/parsers": "workspace:^",
|
|
"hono": "^4.6.0",
|
|
"linkedom": "^0.18.12",
|
|
"puppeteer": "^25.8.0",
|
|
"puppeteer-core": "^25.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.0.10",
|
|
"@webgpu/types": "^0.1.69",
|
|
"typescript": "^5.7.2",
|
|
"vitest": "^4.1.11"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|