Commit Graph
1609 Commits
Author SHA1 Message Date
Miguel Ángel 6161ae740a fix(cli): cloud render zip carries files the composition references under dot-folders (#7353)
* fix(cli): cloud render zip carries files the composition references under dot-folders

* fix(cli): a missing link href no longer fails the cloud zip; media refs still do

* chore(cli): shorten the referenced-file comment

* fix(cli): only a missing video, audio, img src or poster stops the cloud zip

* fix(cli): a stylesheet url() never stops the cloud zip; only the no-fallback media refs do
2026-11-07 07:39:04 +00:00
Miguel Ángel 9ac2a2387a feat(check): name the saved report file and print one stderr line per check step (#7344)
* feat(check): every check step prints a line on stderr and repeats it every 30 s while it runs long

* feat(check): name the saved report file on stderr and tell agents not to use npm run

* fix(check): print a step's line once when the step starts, not on every progress ping

* style(check): wrap two long lines for oxfmt

* fix(check): say the report file is written unless a not-recorded warning follows

* chore(skills): refresh the skills manifest hash for the check doc line

* fix(check): keep the start line free of the not-recorded warning text
2026-11-07 06:45:31 +00:00
Miguel Ángel 65c62f3145 fix(cli): a cloud upload cut at a fixed age stops early and shows its progress (#7350)
* fix(cli): a cloud upload cut at a fixed age stops after two identical cuts and shows its progress

* test(cli): size the upload tests so the kernel cannot buffer the whole file

* test(cli): keep the upload test server quiet when the client drops the connection

* test(cli): shorten the upload test server comment
2026-11-07 04:45:44 +00:00
Miguel Ángel bc2773d047 fix(check): a Korean number and its counter count as one word in line reading time (#7343)
* fix(check): count a Korean number and its counter as one word in line reading time

* fix(check): keep segmenting Thai, Lao, Khmer and Burmese when counting reading words
2026-11-07 04:16:55 +00:00
JerraiandJerrai b37db11225 feat(cli): audio --read --layer reads a one-layer file whole, no separation (#7345)
* feat(cli): audio --read --layer music|sfx|voice reads a one-layer file whole

A caller that knows a file holds a single layer can declare it: the file is
read whole as that layer with no stem separation and nothing uploaded.
Without the flag the read is unchanged. An unknown layer is rejected.

Consumer: heygen-com/experiment-framework#66322. Proposal OK'd by Rory
(C0BEH487Q7R, 2026-11-07).

Co-Authored-By: Jerrai

* chore(cli): drop added comments from audio read layer

Co-Authored-By: Jerrai
2026-11-07 03:25:46 +00:00
SophiaHuangCc 6c0cab814f feat(cli): support JSON telemetry status (#7289) 2026-11-07 00:08:29 +00:00
James RussoandClaude Opus 5.5 ab50e9c148 fix(cli): price GPT Image 2.6 and every GPT Image reference picture (#7307)
* fix(cli): price GPT Image 2.6 and every GPT Image reference picture

The media-use image estimate priced every non-default model as GPT Image 2.5 and
charged references at $0.0082 after the first. fal bills every reference picture,
the first one too, at about $0.0125, and the price book now does the same. GPT
Image 2.6 and 2.6-flare take 2.5's prices; nano-banana-2.1 gets its own; any
other model is not priced ahead instead of guessed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* chore(cli): drop the new pricing comments to keep the comment share flat

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-06 21:59:59 +00:00
Miguel Ángel 9acdce4a25 feat(cli): the sign-in page the browser lands on follows the design (#7332)
* feat(cli): the sign-in page the browser lands on follows the design

* style(cli): format the sign-in page files

* fix(cli): the sign-in page picks Cancel or failure inside the page builder, and drops unused code
2026-11-06 20:27:17 +00:00
Miguel Ángel fe0f54b38c fix(producer): a failure before the first frame reports frame capture as its stage (#7331)
* fix(producer): a failure before the first frame reports frame capture as its stage

* fix(producer): a failure after the effect scan reports frame capture, with a stable code
2026-11-06 20:17:00 +00:00
Miguel Ángel a9a8d89377 fix(engine): a render no longer finishes without an image that loaded late (#7304)
* fix(engine): a render no longer finishes without an image that loaded late

* style(engine): format the frame gate

* fix(engine): an image outside the frame no longer stops a render

* fix(engine): a render stops and warns when a frame's image never arrives, with no cloud retries

* fix(producer): a cloud chunk keeps the missing image's error name so retries stop
2026-11-06 20:11:01 +00:00
WaterrrForeverandClaude Opus 5.5 318724f5f4 feat(studio): show the agent's storyboard in a Storyboard tab beside the preview (#7284)
* feat(studio): show the agent's storyboard in a Storyboard tab beside the preview

The board an agent writes per the storyboard recipe (boards/storyboard.html,
or a root storyboard.html) now shows in Studio the way HyperFrames Desktop
shows it: a Preview | Storyboard strip over the preview panel, only while the
project has a board. Studio reads the page's class="frame" boxes into a board
of stills, with acts, titles, times and words, and one frame at a time with
arrow keys. A page with no frames shows as written in a script-less iframe.

A board written while Studio is open brings its tab to the front, as Desktop
does at the agent's stop. A rewrite of the page, a still beside it or
STORYBOARD.md reloads it in place, and a dot marks a rewrite seen from the
preview. "Show in preview" goes back to the film at the frame's start.

Notes, drawings and the go belong to Desktop's agent, so the board's bar
carries the desktop-app button. Its funnel events now say which button was
pressed (placement: header or storyboard).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* refactor(studio): split the storyboard view and its frame reader into smaller parts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* docs(skills): the agent's storyboard stop points at the Storyboard tab, not the file

With the board shown beside the preview in Studio as in Desktop, the recipe's
stop and style-sampling's stop 1 tell the person to look in the Storyboard
tab, and to start a preview and give its link when none is running, instead
of handing over boards/storyboard.html to open from disk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* fix(studio): the storyboard listens on Studio's own file-change channel, and its notes are trimmed

The board opened its own /api/events stream, which the Vite dev server
behind the runtime smoke does not serve. It now subscribes through
subscribeFileChanges, the one channel picker the external-change
coordinator already uses (test adapter, Vite HMR, then SSE), so dev and
built Studio deliver the same changes to both.

The new files' comments are cut to the package's share, and the recipe's
Storyboard-tab line moves to the paragraph that names the board, leaving
the stop step as it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* fix(studio): the board hears file changes through the coordinator, not a second subscription

The external-change coordinator stays the one subscriber to the file-change
transport (HMR in dev, SSE when built), as externalFileChangeOwnership
asserts. It announces each decoded change through fileChangeFanout, and the
storyboard listens there. Mounting EditorShell alone, as its tests do, no
longer opens an EventSource, and the coordinator file stays under the line cap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* feat(studio): the storyboard's Open in desktop app asks the app to open on the board, and its card says why

- The storyboard bar's button posts `doc: "storyboard"` with its page id. The preview server passes only that value
  on, and `openInDesktop` writes it into `.hyperframes/desktop-cta.json` beside the page id, so the app can open the
  project on its Storyboard tab with Build in sight (hyperframes-internal reads it).
- The guide card opened from the storyboard says "Approve this storyboard in the desktop app" and "Comment on a frame,
  draw on it, then press Build", and its last step says the app opens on this storyboard. The header's card is
  unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* feat(studio): approve the storyboard in Studio; comments on frames stay in the desktop app

A Studio user without the desktop app had no way to approve the board from the tab, and the bar said approval was
in the desktop app, so the tab read as a dead end. Studio talks to the person's own agent through their chat, so the
bar's Approve copies "The storyboard is approved. Build the video from it." for them to paste to it, and says so in
a toast (or spells the words out when the clipboard refuses). Commenting and drawing on frames stay in the desktop
app. The storyboard recipe tells the agent those pasted words are the person's go.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* fix(studio): the storyboard's desktop card offers commenting, since approving now happens in Studio

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* fix(studio): hand-off intent before dispatch, steady film under the board, stills outside the board folder

- openInDesktop writes desktop-cta.json before sending the folder, so a running
  app reads the storyboard ask on arrival; a plain or header open drops an
  earlier storyboard ask; a failed open puts the earlier record back.
- PreviewStage keeps the film at one place in the tree with or without a board,
  so a board appearing never remounts it; the automatic switch goes through the
  same pause as a click, and a play while the board is up is paused.
- The board reloads when a still it draws changes, including a root board's
  stills/ and a boards/ page's ../assets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* chore(cli): fit the Storyboard tab in the CLI's size budget; reword a record helper's doc

The CLI tarball carries Studio's build, which now holds the Storyboard tab; merged
with main it measures 7,982,002 bytes packed, 7 bytes past the 1% tolerance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* fix(studio): hold the player while the storyboard covers the film

A pause after the fact let J's reverse loop schedule its next frame, so the
hidden film kept seeking. The stage now takes the player's own hold while the
board is up (and only when no one else holds it), so J, Space and playback
requests are refused before they start; Preview releases it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:16:21 +00:00
Vance IngallsandClaude Sonnet 5.5 a874a6324a feat(core): motion blur reports what a composition holds, as counts (#7306)
* feat(core): motion blur reports what a composition holds, as counts

The runtime scans a composition once per blur scan, on both tiers, and reports
counts of what it holds (canvases, video, frames, custom elements, clips, masks,
scroll containers, 3D, blend modes, and movers that overflow, sit under other
content, hold fixed children or carry pseudo-elements outside their box), plus
whether pose reads need callbacks. Counts only: no ids, classes, text or URLs.

The engine puts the non-zero counts on its [motion-blur] line and hands the
parsed report to the perf summary; the producer aggregates workers (first report
wins, failed frames sum) and the CLI sends motion_blur_* properties on
render_complete, from the CLI and from Studio renders.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(cli): disclose blur counts in telemetry docs, raise inspector budget

The runtime fingerprint code is bundled into @hyperframes/inspector, which
puts its unpacked size 2.2 KB past the 1% tolerance. The telemetry docs now
list the composition counts the CLI sends with a blur render.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 15:03:34 +00:00
Miguel Ángel de2d21a8ab feat(cli): check_report counts the browser-playable copies a check waited for (#7316)
* feat(cli): check_report counts the browser-playable copies a check waited for

* style(cli): shorten the copy facts comment under the line limit

* fix(cli): a check stopped by the copy wait stays browserSkipped; count only abort-caused unfinished

* style(cli): format the copy facts tests
2026-11-06 13:46:15 +00:00
WaterrrForeverandClaude Opus 5.5 9e2510bdab fix(templates): pin the five style-sampling packs with the release-check fixes (#7263)
* fix(templates): pin the five style-sampling packs with the release-check fixes

New bundles for all five creator templates:
- science-explainer: the end card shows over the last section (assemble.py isolates
  every mounted clip), instead of being hidden in every film.
- collage, 3d-brand, 3d-true-crime: add_sound.py runs on ffmpeg 4.2 and says what
  failed instead of raising an AttributeError.
- all five: a voice clone is the one the person names as theirs; `media-use voices`
  lists the whole workspace's clones and is never picked from by count or language.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* fix(templates): re-pin the science pack so a Desktop voice tag is a pick, not consent

The science pack took Desktop's `[voice: your HeyGen voice ...]` tag as
settled and asked nothing. Desktop's own-voice picker lists every clone the
workspace can use, so the tag only records which voice was picked. The new
M9003 bundle uses a picked, named or id-given clone only when the person
says it is theirs or that its owner agreed, and asks once otherwise. The
other four packs are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 09:53:36 +00:00
Miguel Ángel 9fcd06cbbf feat(cli): check_report names the finding that stopped the check (#7305)
* feat(cli): check_report names the finding that stopped the check

* fix(cli): type stop_code as a closed union instead of a comment
2026-11-06 09:46:09 +00:00
WaterrrForeverandClaude Opus 5.5 fc0b53361b fix(cli): media-use voices says whose clones it lists, and --voice takes language codes (#7261)
* fix(cli): media-use voices says whose clones it lists, and --voice takes language codes

`media-use voices` lists every clone the account's workspace can use, a teammate's
included, and HeyGen does not say who made each one. The command's description and
output (`whose`) now say so, and the style-sampling remix rule no longer reads
"One clone: use it": a clone is used only when the person names it as their own.

`--voice en`, `en-US`, `zh`, `zh-CN` and `cmn` were sent to HeyGen as language names
it does not list, so it answered with a multilingual voice ("Gail in car") and the CLI
used it. Codes now map to the English language name HeyGen lists, and a multilingual
voice offered for a language the request did not name is refused with the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* chore(skills): regenerate the skills manifest

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* refactor(cli): keep languageName and the voices note module-private

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* fix(skills): a clone's id is not consent; use one only when the person says it is theirs

The remix guide used a voice id the person gave, or a unique prefix of one,
without asking whose clone it was. The workspace list includes teammates'
clones, so either path could voice a film with someone else's clone. Both
paths, and the `whose` line of `media-use voices`, now use a clone only when
the person says it is theirs or that its owner agreed. An id that is not a
clone in the list is a stock voice and is used as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* fix(skills): an id missing from the voices list is not a stock voice

`media-use voices` returns one page of private voices (20 by default), so a
teammate's clone can be absent from it. The remix guide treated an absent id
as stock and used it without asking. Now a given id or prefix is used only
when the person says it is theirs, that its owner agreed, or that it is a
HeyGen stock voice; otherwise the agent asks in its one round of questions.
The `whose` line says the list is one page and absence proves nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 09:07:45 +00:00
WaterrrForeverandClaude Opus 5.5 41b7aeeafb fix(cli): cloud render logs a line a minute while a job holds its status (#7262)
* fix(cli): cloud render logs a line a minute while a job holds its status

Outside a terminal, `cloud render` printed one line per status change, so a 3D shot
that renders for 20 minutes showed "rendering 2.1s" and nothing else. Agents read
that as a hang and killed jobs that later completed. The log now repeats the status
with its elapsed time once a minute, and the style-sampling remix guide says the
cloud gives no frame count and how to check a job the client stopped waiting for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* chore(skills): regenerate the skills manifest

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

* refactor(cli): keep the still-running interval module-private

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXPiLcYKQfvPWB3Fgxy

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 07:50:22 +00:00
Miguel Ángel 8fd7542070 fix(cli): installing Chrome on a busy Windows PC no longer takes ten minutes (#7301)
* fix(cli): installing Chrome on a busy Windows PC no longer takes ten minutes

* fix(cli): the priority reason lives in the PR, one helper sets either priority
2026-11-06 07:44:31 +00:00
Vance IngallsandClaude Sonnet 5.5 e2bb7da25d feat(core): auto motion blur draws with the filter tier (#7288)
* feat(core): auto motion blur draws with the filter tier

Capture stays available as data-motion-blur-tier="capture". auto now draws with the
filter tier (reasonCode tier-auto), so the capture-only defects leave the default path.
Removes the translation-only hand-off and its Discovery field, adds a filter arm to the
differential, and updates the check, guide, skill and Blur panel label.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* docs(core): measured cost and known limits of the filter tier, the new auto default

spacex-launch (77 movers) takes 2.9x the CPU of no blur on the filter tier and 1.7x on
capture; say so, and list the filter tier's measured limits (sweep D, E, F, I, O, B).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* docs(core): word the filter tier's cost and limits as measured, not as mechanism

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* docs(core): do not say every filter-tier limit is pinned by a sweep test

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* test(engine): split the blur differential so each file fits the flake gate's 120 s run

The filter arm moves to its own file and skips fixtures that already draw with the filter
tier; inside cases get their own file; a fixture's blur-off page is opened once per file.
Shared helpers live in __fixtures__/motionBlur/differentialPage.ts.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 05:27:36 +00:00
Miguel Ángel a81b344108 feat(cli): a line_unread finding carries the frames it measured around where the line was first read (#7294)
* feat(cli): a line_unread finding carries the frames it measured around where the line was first read

* style(cli): shorten the measured field's comment

* feat(cli): measured frames at both ends of the line, with fewer comment lines
2026-11-06 04:09:52 +00:00
Miguel Ángel b56e2c0366 fix(cli): a font missing from this computer no longer stops a cloud render, and is named (#7287)
* fix(cli): a font missing from this computer no longer stops a cloud render, and is named

* style(cli): format the font preflight files and trim two new comments

* style(cli): the embedSystemFonts doc fits in two lines
2026-11-06 02:10:06 +00:00
Miguel Ángel 72326a3ac7 fix(cli): a render's lint runs at normal priority, so a busy Windows PC no longer stalls it (#7268) 2026-11-05 23:09:58 +00:00
Miguel Ángel 4935d6736b fix(cli): normalize-audio says where the target stays when a limit holds its gain (#7267)
* fix(cli): normalize-audio says where the target stays when a limit holds its gain

* fix(cli): normalize-audio held line counts the clip's data-volume in both modes

* style(cli): format the normalize-audio held-line change
2026-11-05 21:07:47 +00:00
Miguel Ángel 256b84a41b fix(core): check's no-draw seeks no longer upload graded images to the GPU (#7264) 2026-11-05 20:44:35 +00:00
Miguel Ángel 478ef2f26e fix(cli): check judges SVG gradient text by its gradient stops, not as black (#7258) 2026-11-05 19:03:31 +00:00
Miguel Ángel 2f2195515b fix(cli): normalize-audio --reference stops short of the peak ceiling instead of refusing (#7254)
* fix(cli): normalize-audio --reference stops short of the peak ceiling instead of refusing

* docs(cli): the README says normalize-audio stops short of the ceilings instead of refusing
2026-11-05 18:47:49 +00:00
Miguel Ángel b108f85120 fix(core): two scenes drawing SVGs with the same ids each show their own (#7251)
* fix(core): two scenes drawing SVGs with the same ids each show their own

* fix(core): the runtime's scene scopes typecheck as mounted scopes
2026-11-05 17:20:51 +00:00
Miguel Ángel f98218a224 fix(cli): end a stalled cloud upload and send it again (#7237)
* fix(cli): end a stalled cloud upload after 60 s and send it again up to three times

* fix(cli): bound the in-memory project zip upload by progress like a file, watch the socket

* refactor(cli): split the upload retry and stall watch into small functions
2026-11-05 17:07:59 +00:00
Miguel Ángel 5377b756b5 fix(core): snapshot and preview show a clip on the frame render shows it (#7238)
* fix(core): snapshot and preview show a clip on the frame render shows it

* fix(cli): snapshot pulls a video's frame on the same on-screen rule

* refactor(cli): drop two doc lines the names already carry
2026-11-05 16:21:24 +00:00
Miguel Ángel 644b166e78 fix(cli): check sees an SVG stroke drawing on, so it no longer calls it a dead stretch (#7250) 2026-11-05 15:46:41 +00:00
Miguel Ángel 0a6746e1d6 fix(cli): an unknown command answers in a few lines and says what to run instead (#7247)
* fix(cli): an unknown command answers in a few lines and says what to run instead

* fix(cli): shorten the captions pointer and drop the redirect doc comments

* fix(cli): point the captions hint at the hyperframes skill's guide, and test the path exists

* chore(cli): regenerate the skills manifest for the hyperframes-cli skill edit
2026-11-05 15:35:10 +00:00
Miguel Ángel b7d72c9478 feat(cli): check --budget stops the whole check in time and reports what it found (#7245)
* feat(cli): check --budget stops the whole check in time and reports what it found

* fix(cli): keep check's comment share where it was

* fix(cli): a --budget that runs out before any check step is waiting is not an unhandled rejection
2026-11-05 14:45:30 +00:00
Miguel Ángel c1977fab3e fix(cli): lint says nothing when the OS refuses to lower its priority (#7244) 2026-11-05 14:11:18 +00:00
Miguel Ángel df54f380cb feat(cli): info --media lists every clip the render hears, on the film's clock (#7235)
* feat(cli): info --media lists every clip the render hears, on the film's clock

* fix(cli): info --media leaves out a clip that starts past its media's end

* fix(cli): keep the heard-clips doc line within 120 characters
2026-11-05 14:09:22 +00:00
Miguel Ángel 80e02e74a0 fix(lint): compositions in .hyperframesignore no longer count as the project's (#7239)
* fix(lint): compositions in .hyperframesignore no longer count as the project's

* fix(lint): keep the ignore helper under the package's comment share
2026-11-05 13:18:42 +00:00
Miguel Ángel f55990ebca fix(cli): name the network cause of a failed fetch in the error box (#7236) 2026-11-05 13:08:09 +00:00
Miguel Ángel 5ee9e928d5 fix(core): hlg footage tone-maps to sdr at the bt.2408 reference white (#7234)
* fix(core): hlg footage tone-maps to sdr at the bt.2408 reference white

* fix(core): an HLG clip whose stream leaves its transfer unset keeps HLG's white

An SPS with an unspecified transfer takes the stream's tag, as its frames do; a failed keyframe read is not cached; the grey test needs ffmpeg 8.
2026-11-05 13:04:56 +00:00
WaterrrForeverandClaude Opus 5.5 5f7b85c5d7 fix(cli): billing re-reads the account on Enter and sells nothing it can't price (#7226)
Two holes in `billing subscribe` / `billing add-credits`:

- After paying on the pricing page, "Press Enter to pay" was still waiting. Pressing it before the
  next 2-second poll opened a second Stripe checkout. Enter now reads the plan again: nothing opens
  when the page has already covered it, and a partial top-up on the page is priced from the new
  balance.
- One failed first plan read made the account look like Free with 0 credits: it offered Pro to a
  Pro account and priced add-on credits for the whole run, not the shortfall. The first read is
  retried; if the plan still can't be read, no terminal checkout opens and the page finishes it.


Claude-Session: https://claude.ai/code/session_01HebQXN7wsMK6GqT3MNtqXw

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 12:05:26 +00:00
Miguel Ángel 216395e98e fix(cli): every settings file follows HYPERFRAMES_CONFIG_DIR (#7229)
* fix(cli): every settings file follows HYPERFRAMES_CONFIG_DIR

* fix(cli): the media-use skill copy reads its config from HYPERFRAMES_CONFIG_DIR too

* test(cli): expect the config folder as a normalized path on every platform

* chore(skills): refresh the media-use manifest hash

* fix(cli): a moved settings folder starts from ~/.hyperframes, keeping an opt-out

* fix(cli): drop the updater's unused path import

* style(cli): keep the settings-seed comment under 120 characters
2026-11-05 11:34:36 +00:00
Miguel Ángel ecf0e14387 fix(cli): previews and every per-user cache follow HYPERFRAMES_CACHE_DIR (#7224)
* fix(cli): a preview's session follows HYPERFRAMES_CACHE_DIR when it is set

* docs(cli): background previews follow HYPERFRAMES_CACHE_DIR

* test(cli): unstub the preview test's env in a block body

* test(cli): clear HYPERFRAMES_CACHE_DIR in the CLI's test home

* fix(cli): registry cache, search model, catalog and catch-up follow HYPERFRAMES_CACHE_DIR

* style(cli): format the media search cache test

* test(cli): compare the model path against an absolute cache folder on Windows too

* fix(cli): both catalog readers treat an empty HYPERFRAMES_CATALOG_ARTIFACT_DIR as unset
2026-11-05 10:56:35 +00:00
Miguel Ángel ada71da92d fix(cli): capture takes a refused screenshot once more before naming it (#7222)
* fix(cli): capture takes a refused screenshot once more before naming it

* fix(cli): keep the screenshot retry's doc to one line

* test(cli): refuse the same capture shot twice now that one refusal is retried
2026-11-05 08:19:17 +00:00
James RussoandClaude Opus 5.5 b98718fe93 fix(engine): report a pending setup as a setup timeout, not zero duration (#7211)
* fix(engine): headline a pending setup as a setup timeout, not zero duration

When the runtime never reaches render-ready, __hf.duration reads 0 because
the bridge masks it, so pollHfReady's timeout reported "Composition has zero
duration" even for compositions with a declared data-duration whose
window.__hf.buildReady promise was still pending. Headline that case as
"Composition setup did not finish within <timeout>ms", skip the duration
inference hint that cannot apply yet, and note that the render clock stays
at 0 until the first frame. Keep its transient retry classification and give
it its own CLI diagnostic code.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(engine): name animation frames in the setup-timeout hint

Setup that awaits requestAnimationFrame hits the same render-clock rule as
setup that waits on Date or performance.now: frames only fire on a seek, and
the first seek waits for setup. Say so, and point at the waits that work.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(engine): stop suggesting scheduler.yield() for setup waits

Chrome runs scheduler.yield() continuations ahead of ordinary tasks, so a
setup loop that polls with it starves the setTimeout-driven work it waits on
(Three's compileAsync polls with setTimeout(10)) and never finishes. Plain
headless Chrome 152 hangs on a ten-line page that does exactly that. Point
authors at setTimeout and say why yield-polling does not work.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(engine): point setup waits at the library's readiness promise

HyperFrames guidance is no system timers, so the hint should not tell authors
to wait with setTimeout. Point them at the library's own readiness promise
(Three.js renderer.compileAsync) and keep the warning about scheduler.yield()
polling loops.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(engine): keep the setup-timeout hint to what it can diagnose

A scheduler.yield() polling loop starves the page, so the readiness poll never
returns and the render reports a capture stall instead of this message. Drop
that sentence; the hint covers animation-frame and clock waits only.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-05 07:41:04 +00:00
Miguel Ángel d810bdbb27 fix(cli): init no longer crashes copying into a folder at a Windows drive root (#7220)
* fix(cli): init no longer crashes copying into a folder at a Windows drive root

* fix(cli): keep copyDirSync's comment to one line
2026-11-05 07:00:55 +00:00
James RussoandClaude Opus 5.5 d452a6fad4 feat(registry): add path-traced-3d example with raster preview and path-traced export (#7219)
* feat(registry): add path-traced-3d example with raster preview and path-traced export

An opt-in Three.js starter: previews with raster rendering and exports with
three-gpu-pathtracer, from one scene file. three 0.180.0, three-gpu-pathtracer
0.0.24 and three-mesh-bvh 0.9.5 ship as one local, pinned ES module with their
licences and a rebuild recipe, so renders make no network requests and 2D
projects never load the tracer.

Setup is one buildReady promise that awaits library readiness promises only
and ends with a throwaway frame and a one-pixel readback. Frames are drawn in
the hf-seek listener through waitUntil, each time from zero with a fixed
sample count. Math.random is seeded while the scene and tracer are built,
because object ids order light sampling and the tracer's noise textures come
from it.

Adds a skill reference and a docs guide for the setup and seek contract, the
frozen clock, why scheduler.yield() waits hang, and sample/bounce cost.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(registry): list path-traced-3d in CLI docs and tighten its notes

Add the example's section to the CLI examples doc, which docs.test.ts
requires for every registry example. Throw if the tracer reports compiling
but exposes no compile promise, instead of spinning renderSample(). Say that
three's object uuids set the tracer's sort order, that later-created objects
need the seed too, and that Date and performance.now read the current seek
time during a render rather than staying at 0.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-05 06:40:37 +00:00
WaterrrForeverandClaude Opus 5.5 060e6e4a12 fix(cli): billing stops checkout work once the payment wait ends, even mid sign-in refresh (#7216)
* fix(cli): billing stops checkout work once the payment wait ends, and a token refresh can't hang it

The wait for a purchase ends when the account shows it or at --timeout.
Checkout work still in flight then kept going: a price read that answered
late still created and printed a checkout, an Enter-time checkout that
answered late still opened Stripe, and the command waited on that work
past the purchase or the deadline. A token refresh with no deadline could
hold any of these reads forever.

readPlan, readOffer and createCheckout take the wait's stop signal, joined
with their own deadline, and stop waiting on a sign-in refresh once it
fires. Billing checks it after the price read and after each checkout
before printing or opening anything. The token refresh POST gives up
after 20 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXN7wsMK6GqT3MNtqXw

* refactor(cli): billing's checkout failure and its two billing reads each live in one place

The comment-share ratchet and the fallow audit failed on #7216: a new comment
in billing.ts, readPlan and readOffer repeating the same eight-line request,
and offerCheckout over the complexity threshold. The reads share getBilling,
the failure report moves to reportCheckoutFailure, and the comment goes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXN7wsMK6GqT3MNtqXw

* fix(cli): billing's stop signal fires at --timeout, not only when the poll returns

The checkout path stopped once the polling task ended, but the poll's
readPlan carried no signal. A poll read stalled across the deadline kept the
signal live, so a held offer could still create and print a checkout after
--timeout. A timer now aborts the controller at the deadline on its own, the
initial and polling plan reads take the same signal, and the deadline counts
from the start of the command.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXN7wsMK6GqT3MNtqXw

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 06:14:27 +00:00
WaterrrForever 1fecf5b82a fix(cli): two CLI fixes from Wenbo's reverse test (paywall link, plan label) (#7099)
* feat(cli): a paywall refusal carries its page link in its own url field

An agent hit the Pro paywall, found the link only inside the fix sentence,
and handed the person a shell command instead of the page. The link now
also comes as url.

* fix(cli): auth status says hyperframes is the plan, not the HeyGen app's

An agent read user.subscription.plan (the HeyGen app's pro) as the
HyperFrames plan and ran past Free. With the HyperFrames plan read,
billing_notice now names which is which.

* fix(cli): a paywall refusal with url null names no purchase link

HeyGen sends url: null when it can't sell to this account right now. The
refusal now says so and carries no link, as reverse start does since #7031;
a missing url (older server) still gets the plans or credits page.
2026-11-05 05:50:59 +00:00
WaterrrForeverandClaude Opus 5.5 6728b82e63 fix(cli): reverse start makes its --dir project, and init takes the video already in it (#7089)
* fix(cli): reverse start makes its --dir project, and init takes the video already in it

Bug bash: production has no reverse/start route yet, so every run came back unrecorded,
and reverse start then made no folder and no hyperframes.json. The agent downloaded the
video into the folder it named, and init refused it as not empty, so agents moved files
around. reverse start now makes --dir and stamps it with the skill when no session is
recorded, and init accepts a folder whose only other files are its --video or --audio.

* refactor(cli): say in names what the comments said, so the comment share holds

* fix(cli): init keeps an in-folder source safe, and saved_to only names a stamped config

- Only an audio or video file in the folder counts as the source; a file named
  index.html, meta.json or AGENTS.md is refused, so the scaffold never writes over it.
- An in-folder .mp4 that needs transcoding goes to <name>.h264.mp4 beside it,
  instead of being both ffmpeg's input and output.
- reverse start names saved_to only when hyperframes.json now holds the skill;
  a broken config is left as it was and saved_to is null.

* fix(cli): init transcodes an in-folder .MP4 beside it on case-insensitive disks too

original.MP4 and original.mp4 are one file on macOS and Windows, so the
same-file check now ignores case. The test's ffprobe call gets its --.

* fix(cli): init tells the source in the folder by the file, not its spelling

On a case-blind disk --video original.mp4 names Original.MP4, so the folder
check and the copy now compare device and inode; a source named in another
case is accepted and never copied onto itself.

* fix(cli): init transcodes only to a name with nothing at it, so a linked alias is never the output

The folder guard admits every alias of the source by file identity, but the
transcode output was chosen by path spelling. A hard link or symlink at
name.mp4 or name.h264.mp4, or a source named through a linked folder, made
FFmpeg (-y) rewrite the original. The output is now the first of name.mp4,
name.h264.mp4, name.h264-2.mp4, ... with nothing at its path (lstat, so a link
counts), which also covers a case-only spelling on a case-blind disk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HebQXN7wsMK6GqT3MNtqXw

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 05:41:24 +00:00
WaterrrForeverandClaude Opus 5.5 823cd126ee fix(cli): measure reads an odd-sized box exactly (#7090)
A crop on yuv420p rounds an odd size or offset down to even. readClip
split the 32x32 output as 33x33 bytes, so a 10-frame clip came back as
9.4 frames and every frame after the first was misaligned; an odd offset
also shifted the chroma. Raw reads now convert to rgb24 (or gray) before
the crop, which is exact at any size and place. extract and diff stay on
yuv and add exact=1.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 05:31:40 +00:00
Miguel Ángel fa1942d5ac fix(cli): timeline apply checks the overlap of a plan's end state, not each step (#7214)
* fix(cli): timeline apply checks the overlap of a plan's end state, not each step

* fix(cli): drop two doc comments from the plan end-state check
2026-11-05 05:16:08 +00:00
Miguel Ángel 7862e271d1 fix(cli): check skips a contrast sample measured over a layer that is mid-motion (#7205)
* fix(cli): check skips a contrast sample measured over a layer that is mid-motion

* fix(cli): move the backdrop overlap read out of sampleOf, and add no comment lines

* fix(cli): shorten the measuredInMotion comment
2026-11-05 04:16:27 +00:00