mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +00:00
Adds a Blocks tab to the Studio left sidebar with the full 78-item registry
catalog (58 blocks + 20 components). Users can browse by category, search by
title/description, preview CDN-hosted poster thumbnails with video-on-hover,
and install items on-demand with one click or drag-to-timeline.
Core changes:
- BlockCategory type + resolveBlockCategory() for 7 categories (Captions, VFX,
Transitions, Effects, Social, Data, Scenes)
- Registry API routes: GET /api/registry/blocks (catalog) + POST install
- StudioApiAdapter extended with listRegistryCatalog + installRegistryBlock
- Vite adapter reads from disk; CLI adapter fetches from GitHub (24h cache)
- BlockParam interface + params on 6 blocks for future parameter controls
Studio UI:
- 4th sidebar tab "Blocks" with responsive grid, category pills, search bar
- BlockCard: CDN poster thumbnail, video autoplay on hover, duration + WebGL badges
- On-demand install: blocks append as sub-compositions on timeline; components
overlay at start=0 spanning full duration with transparent background patching
- TIMELINE_BLOCK_MIME drag-and-drop to timeline
- BlockParamsPanel (Phase 3 scaffold) auto-opens for parameterized blocks
Registry manifests:
- All 58 blocks backfilled with preview: { video, poster } CDN URLs
- All 20 components normalized to object format + poster URLs added
- 6 blocks annotated with params (Liquid Glass/Background, Portal, Chart,
Logo Outro, Magnetic)
- flowchart-vertical preview generated and uploaded to CDN
85 lines
2.2 KiB
JSON
85 lines
2.2 KiB
JSON
{
|
|
"name": "@hyperframes/aws-lambda",
|
|
"version": "0.6.23",
|
|
"description": "AWS Lambda adapter for HyperFrames distributed rendering — handler, client-side SDK, and CDK construct.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
"directory": "packages/aws-lambda"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"scripts/",
|
|
"README.md"
|
|
],
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./handler": {
|
|
"import": "./dist/handler.js",
|
|
"types": "./dist/handler.d.ts"
|
|
},
|
|
"./sdk": {
|
|
"import": "./dist/sdk/index.js",
|
|
"types": "./dist/sdk/index.d.ts"
|
|
},
|
|
"./cdk": {
|
|
"import": "./dist/cdk/index.js",
|
|
"types": "./dist/cdk/index.d.ts"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"scripts": {
|
|
"build": "node build.mjs",
|
|
"build:zip": "tsx scripts/build-zip.ts",
|
|
"probe:beginframe": "tsx scripts/probe-beginframe.ts",
|
|
"probe:beginframe:docker": "docker build -f scripts/probe-beginframe.dockerfile -t hyperframes-lambda-probe:local ../.. && docker run --rm hyperframes-lambda-probe:local",
|
|
"test": "bun test",
|
|
"typecheck": "tsc --noEmit",
|
|
"verify:zip-size": "tsx scripts/verify-zip-size.ts"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.700.0",
|
|
"@aws-sdk/client-sfn": "^3.700.0",
|
|
"@hyperframes/producer": "workspace:^",
|
|
"@sparticuz/chromium": "148.0.0",
|
|
"ffmpeg-static": "^5.2.0",
|
|
"ffprobe-static": "^3.1.0",
|
|
"puppeteer-core": "^24.39.1",
|
|
"tar": "^7.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/aws-lambda": "^8.10.146",
|
|
"@types/node": "^25.0.10",
|
|
"@types/tar": "^6.1.13",
|
|
"aws-cdk-lib": "^2.130.0",
|
|
"constructs": "^10.3.0",
|
|
"esbuild": "^0.25.12",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.7.2"
|
|
},
|
|
"peerDependencies": {
|
|
"aws-cdk-lib": "^2.130.0",
|
|
"constructs": "^10.3.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"aws-cdk-lib": {
|
|
"optional": true
|
|
},
|
|
"constructs": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|