Skip to content

Commit 8271a01

Browse files
vanceingallsclaude
andcommitted
Merge branch 'main' into perf/studio-many-clips
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2 parents d28f0b3 + 0693839 commit 8271a01

635 files changed

Lines changed: 28252 additions & 5108 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hyperframes",
33
"description": "HyperFrames by HeyGen. Write HTML, render video. Compositions, GSAP and runtime adapter animations, captions, voiceovers, audio-reactive visuals, and website capture for HyperFrames.",
4-
"version": "0.8.162",
4+
"version": "0.8.181",
55
"author": {
66
"name": "HeyGen",
77
"email": "[email protected]",

‎.codex-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hyperframes",
33
"description": "Write HTML, render video. Compositions, Tailwind v4 styles, GSAP and runtime adapter animations, captions, voiceovers, audio-reactive visuals, and website capture for HyperFrames.",
4-
"version": "0.8.162",
4+
"version": "0.8.181",
55
"author": {
66
"name": "HeyGen",
77
"email": "[email protected]",

‎.cursor-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "hyperframes",
44
"displayName": "HyperFrames by HeyGen",
55
"description": "Write HTML, render video. Compositions, Tailwind v4 styles, GSAP and runtime adapter animations, captions, voiceovers, audio-reactive visuals, and website capture for HyperFrames.",
6-
"version": "0.8.162",
6+
"version": "0.8.181",
77
"author": {
88
"name": "HeyGen",
99
"email": "[email protected]"

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ jobs:
249249
- "packages/cli/src/utils/**"
250250
- "packages/cli/src/ui/**"
251251
- "packages/cli/src/{background-removal,registry,telemetry}/**"
252-
- "packages/cli/src/capture/{captureCompositionFrame,readBoundedResponse}.ts"
252+
- "packages/cli/src/capture/{captureCompositionFrame,captureTimeout,navigateForCapture,readBoundedResponse}.ts"
253253
- "packages/cli/src/media-use/lib/config-lock.mjs"
254254
- "packages/cli/scripts/**"
255255
- "packages/core/stubs/**"
@@ -1522,9 +1522,10 @@ jobs:
15221522
runs-on: ubuntu-latest
15231523
timeout-minutes: 1
15241524
steps:
1525+
# A pull request checks out its merge commit, whose first parent is the base: two commits are the whole diff.
15251526
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
15261527
with:
1527-
fetch-depth: 0
1528+
fetch-depth: 2
15281529
- name: Check file sizes (max 600 lines)
15291530
# Scoped to files THIS PR changed under packages/studio. Walking the
15301531
# whole tree blamed every unrelated PR for pre-existing offenders.
@@ -1535,7 +1536,7 @@ jobs:
15351536
if [ -n "${{ github.base_ref }}" ]; then
15361537
mapfile -t files < <(
15371538
git diff --name-only --diff-filter=ACMR \
1538-
"origin/${{ github.base_ref }}...HEAD" -- \
1539+
HEAD^1 HEAD -- \
15391540
'packages/studio/**/*.ts' 'packages/studio/**/*.tsx' \
15401541
| grep -vE '\.(test|spec)\.(ts|tsx)$|\.generated\.' || true
15411542
)

‎.github/workflows/publish.yml‎

Lines changed: 52 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
publish:
1717
name: Publish
1818
runs-on: ubuntu-latest
19-
timeout-minutes: 10
19+
timeout-minutes: 20
2020
environment: npm-publish
2121
permissions:
2222
contents: write
@@ -120,8 +120,59 @@ jobs:
120120
- run: corepack prepare [email protected] --activate
121121
- run: bun install --frozen-lockfile
122122
- run: bun run build
123+
124+
# Before `npm publish`, so @hyperframes/aws-lambda pins this exact zip.
125+
- name: Build Lambda handler zip
126+
id: lambda_zip
127+
env:
128+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
129+
VERSION: ${{ steps.version.outputs.version }}
130+
REPO: ${{ github.repository }}
131+
run: |
132+
# A retried run reuses the zip already on the release, so the pin still matches it.
133+
if gh release download "v${VERSION}" --repo "$REPO" --pattern hyperframes-lambda-handler.zip --dir dist; then
134+
echo "attached=true" >> "$GITHUB_OUTPUT"
135+
else
136+
bun run --cwd packages/aws-lambda build:zip
137+
fi
138+
bun packages/aws-lambda/scripts/pin-handler-zip.ts
139+
123140
- run: bun run verify:packed-manifests
124141

142+
- name: Create GitHub Release
143+
env:
144+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
145+
VERSION: ${{ steps.version.outputs.version }}
146+
PRERELEASE: ${{ steps.version.outputs.prerelease }}
147+
REPO: ${{ github.repository }}
148+
run: |
149+
NOTES_FILE="releases/v${VERSION}.md"
150+
151+
# Skip if release already exists (idempotent re-runs)
152+
if gh release view "v${VERSION}" --repo "$REPO" >/dev/null 2>&1; then
153+
echo "Release v${VERSION} already exists — skipping"
154+
else
155+
FLAGS=(--repo "$REPO" --title "v${VERSION}")
156+
if [ -f "$NOTES_FILE" ]; then
157+
FLAGS+=(--notes-file "$NOTES_FILE")
158+
else
159+
echo "No reviewed release notes found at $NOTES_FILE — using GitHub generated notes"
160+
FLAGS+=(--generate-notes)
161+
fi
162+
if [ "$PRERELEASE" = "true" ]; then
163+
FLAGS+=(--prerelease)
164+
fi
165+
gh release create "v${VERSION}" "${FLAGS[@]}"
166+
fi
167+
168+
- name: Attach Lambda handler zip to release
169+
if: steps.lambda_zip.outputs.attached != 'true'
170+
env:
171+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
172+
VERSION: ${{ steps.version.outputs.version }}
173+
REPO: ${{ github.repository }}
174+
run: gh release upload "v${VERSION}" dist/hyperframes-lambda-handler.zip dist/hyperframes-lambda-handler.sha256 --repo "$REPO"
175+
125176
- name: Publish packages
126177
env:
127178
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -190,32 +241,6 @@ jobs:
190241
exit 1
191242
fi
192243
193-
- name: Create GitHub Release
194-
env:
195-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
196-
VERSION: ${{ steps.version.outputs.version }}
197-
PRERELEASE: ${{ steps.version.outputs.prerelease }}
198-
REPO: ${{ github.repository }}
199-
run: |
200-
NOTES_FILE="releases/v${VERSION}.md"
201-
202-
# Skip if release already exists (idempotent re-runs)
203-
if gh release view "v${VERSION}" --repo "$REPO" >/dev/null 2>&1; then
204-
echo "Release v${VERSION} already exists — skipping"
205-
else
206-
FLAGS=(--repo "$REPO" --title "v${VERSION}")
207-
if [ -f "$NOTES_FILE" ]; then
208-
FLAGS+=(--notes-file "$NOTES_FILE")
209-
else
210-
echo "No reviewed release notes found at $NOTES_FILE — using GitHub generated notes"
211-
FLAGS+=(--generate-notes)
212-
fi
213-
if [ "$PRERELEASE" = "true" ]; then
214-
FLAGS+=(--prerelease)
215-
fi
216-
gh release create "v${VERSION}" "${FLAGS[@]}"
217-
fi
218-
219244
- name: Build portable agent plugin
220245
run: node scripts/package-agent-plugin.mjs
221246

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ node_modules/
33

44
# Build output
55
dist/
6+
packages/aws-lambda/prebuilt/
67
*.tsbuildinfo
78

89
# Environment

0 commit comments

Comments
 (0)