mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
Two defects in the resolve cascade that made cache and asset-reuse misbehave in practice: - Prompt matching was byte-exact and case-sensitive. findByPrompt and cacheGet compared provenance.prompt with ===, so "Calm piano" and "calm piano" re-searched and re-downloaded instead of reusing the cached asset (same project and cross-project). Add normalizePrompt (trim + lowercase + collapse whitespace) and key both lookups on it; the raw prompt is still stored for audit. - findExistingAsset matched with name.includes(intent) || intent.includes(name), which silently returned the WRONG local file: intent "whoosh" grabbed a stray who.mp3, and a one-letter filename matched every intent. Require a shared word token (>= 3 chars, minus stopwords) so a false negative just falls through to a catalog search rather than shipping the wrong asset. Adds lib/adopt.test.mjs and extends manifest.test.mjs. Full media-use suite green; verified e2e against the live catalog (case-variant cross-project resolve now reuses; whoosh no longer grabs who.mp3).
86 lines
1.7 KiB
JSON
86 lines
1.7 KiB
JSON
{
|
|
"source": "heygen-com/hyperframes",
|
|
"skills": {
|
|
"embedded-captions": {
|
|
"hash": "d870992d206c9ddc",
|
|
"files": 144
|
|
},
|
|
"faceless-explainer": {
|
|
"hash": "80882d8135b2aeac",
|
|
"files": 18
|
|
},
|
|
"figma": {
|
|
"hash": "26676992c1aed316",
|
|
"files": 1
|
|
},
|
|
"general-video": {
|
|
"hash": "6cb3fbdf9b860ba6",
|
|
"files": 1
|
|
},
|
|
"hyperframes": {
|
|
"hash": "4e0795ead8c8bfa3",
|
|
"files": 1
|
|
},
|
|
"hyperframes-animation": {
|
|
"hash": "0d0bd375f292a04a",
|
|
"files": 116
|
|
},
|
|
"hyperframes-cli": {
|
|
"hash": "493e59cafaab3d10",
|
|
"files": 7
|
|
},
|
|
"hyperframes-core": {
|
|
"hash": "788462fc5c3b9ee1",
|
|
"files": 13
|
|
},
|
|
"hyperframes-creative": {
|
|
"hash": "18a14a79da6cbc06",
|
|
"files": 68
|
|
},
|
|
"hyperframes-keyframes": {
|
|
"hash": "555c0cd491c40cea",
|
|
"files": 3
|
|
},
|
|
"hyperframes-registry": {
|
|
"hash": "e3b389526834109d",
|
|
"files": 10
|
|
},
|
|
"media-use": {
|
|
"hash": "caf64c363a39ad9b",
|
|
"files": 98
|
|
},
|
|
"motion-graphics": {
|
|
"hash": "f5a432862116b39a",
|
|
"files": 23
|
|
},
|
|
"music-to-video": {
|
|
"hash": "42aba6b650599962",
|
|
"files": 132
|
|
},
|
|
"pr-to-video": {
|
|
"hash": "71dce61cff0233f2",
|
|
"files": 22
|
|
},
|
|
"product-launch-video": {
|
|
"hash": "ac4e1e4aa671fe27",
|
|
"files": 20
|
|
},
|
|
"remotion-to-hyperframes": {
|
|
"hash": "6d4b352ecd46c8fb",
|
|
"files": 70
|
|
},
|
|
"slideshow": {
|
|
"hash": "764746e9199213b6",
|
|
"files": 2
|
|
},
|
|
"talking-head-recut": {
|
|
"hash": "fbb95a4c6062c41a",
|
|
"files": 27
|
|
},
|
|
"website-to-video": {
|
|
"hash": "d81ede8e9cabd09b",
|
|
"files": 32
|
|
}
|
|
}
|
|
}
|