mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
fbe4c49110
Adds the studio-server side of the voiceover spectral-carve pipeline: - vstSidecar.ts spawns and supervises the hyperframes-vst host process, resolving it from the published PyPI package (uvx, or an explicit HYPERFRAMES_VST_HOST override), and requires a shared-secret token on the WebSocket so a local port can't be driven by another process on the box. - vstCarve.ts + POST /vst/carve run voiceover analysis and return carve bands. - The CLI re-exports the sidecar through @hyperframes/studio-server/vst-sidecar so preview can stop the process on shutdown, and the Vite dev adapter threads the auth token through to the browser. The host itself is not vendored: it is an external Python package with its own release cadence, so depending on the published build keeps plugin-host upgrades out of this repo's release train.
79 lines
2.7 KiB
JSON
79 lines
2.7 KiB
JSON
{
|
|
"package": "@hyperframes/studio-server",
|
|
"localNodeRuntime": true,
|
|
"subpaths": {
|
|
".": {
|
|
"source": "./src/index.ts",
|
|
"runtime": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"environments": ["bun", "node"]
|
|
},
|
|
"./package.json": {
|
|
"source": "./package.json",
|
|
"runtime": "./package.json",
|
|
"types": null,
|
|
"environments": ["bun", "node"]
|
|
},
|
|
"./screenshot-clip": {
|
|
"source": "./src/helpers/screenshotClip.ts",
|
|
"runtime": "./dist/helpers/screenshotClip.js",
|
|
"types": "./dist/helpers/screenshotClip.d.ts",
|
|
"environments": ["bun", "node"]
|
|
},
|
|
"./manual-edits-render-script": {
|
|
"source": "./src/helpers/manualEditsRenderScript.ts",
|
|
"runtime": "./dist/helpers/manualEditsRenderScript.js",
|
|
"types": "./dist/helpers/manualEditsRenderScript.d.ts",
|
|
"environments": ["bun", "node"]
|
|
},
|
|
"./studio-motion-render-script": {
|
|
"source": "./src/helpers/studioMotionRenderScript.ts",
|
|
"runtime": "./dist/helpers/studioMotionRenderScript.js",
|
|
"types": "./dist/helpers/studioMotionRenderScript.d.ts",
|
|
"environments": ["bun", "node"]
|
|
},
|
|
"./draft-markers": {
|
|
"source": "./src/helpers/draftMarkers.ts",
|
|
"runtime": "./dist/helpers/draftMarkers.js",
|
|
"types": "./dist/helpers/draftMarkers.d.ts",
|
|
"environments": ["browser", "bun", "node"]
|
|
},
|
|
"./finite-mutation": {
|
|
"source": "./src/helpers/finiteMutation.ts",
|
|
"runtime": "./dist/helpers/finiteMutation.js",
|
|
"types": "./dist/helpers/finiteMutation.d.ts",
|
|
"environments": ["bun", "node"]
|
|
},
|
|
"./source-mutation": {
|
|
"source": "./src/helpers/sourceMutation.ts",
|
|
"runtime": "./dist/helpers/sourceMutation.js",
|
|
"types": "./dist/helpers/sourceMutation.d.ts",
|
|
"environments": ["browser", "bun", "node"]
|
|
},
|
|
"./media-codec-map": {
|
|
"source": "./src/helpers/mediaCodecMap.ts",
|
|
"runtime": "./dist/helpers/mediaCodecMap.js",
|
|
"types": "./dist/helpers/mediaCodecMap.d.ts",
|
|
"environments": ["bun", "node"]
|
|
},
|
|
"./proxy-transcoder": {
|
|
"source": "./src/helpers/proxyTranscoder.ts",
|
|
"runtime": "./dist/helpers/proxyTranscoder.js",
|
|
"types": "./dist/helpers/proxyTranscoder.d.ts",
|
|
"environments": ["bun", "node"]
|
|
},
|
|
"./media-proxy-preview": {
|
|
"source": "./src/helpers/mediaProxyPreview.ts",
|
|
"runtime": "./dist/helpers/mediaProxyPreview.js",
|
|
"types": "./dist/helpers/mediaProxyPreview.d.ts",
|
|
"environments": ["bun", "node"]
|
|
},
|
|
"./vst-sidecar": {
|
|
"source": "./src/vstSidecar.ts",
|
|
"runtime": "./dist/vstSidecar.js",
|
|
"types": "./dist/vstSidecar.d.ts",
|
|
"environments": ["bun", "node"]
|
|
}
|
|
}
|
|
}
|