Commit Graph
6948 Commits
Author SHA1 Message Date
WaterrrForever eb0a52c298 fix(cli): measure answers the four mistakes agents make most (#7443)
* fix(cli): measure answers the four mistakes agents make most

The usage errors agents hit most on `measure`: no op named, a path it
cannot read, and a flag it does not take. Some agents never get past
them to a successful measure.

- `measure <video>` with no op (alone or with --json) runs `probe` and
  says so on stderr. With other flags the op is a guess, so the
  unknown-command hint asks for one; it now names a path that does not
  exist yet too.
- When ffprobe cannot read a file, the error carries ffprobe's reason and
  a matching fix: a cut-short download, a page saved as .mp4, a
  permission.
- An unquoted path with spaces says to quote it, both where the extra
  words are rejected and where the cut path is missing.
- Window flags take --from/--to, and folder flags take -o.

* refactor(cli): keep comment share at the base in the measure files

* test(cli): expect a spaced path as the shell split it, on Windows too

* fix(cli): a cut-short MP4 says download it again, read from its header and ffprobe's specific line

* fix(cli): an unquoted spaced path reaches probe or its quote hint wherever it falls
2026-11-09 14:42:37 +00:00
WaterrrForever ad6f7858f6 feat(skills): reverse-any-video and style-sampling install with the core set (#7445)
* feat(skills): reverse-any-video and style-sampling install with the core set

A skill only triggers when it is installed. On demand these two rarely
were, so a request to copy a video or make an episode in a proven style
seldom reached them, and the entry skill named only one of them, in its
closing line.

- isCoreSkill, FALLBACK_CORE_SKILLS and the marketplace `core-skills`
  entry include both, so `init` and `skills update` install them. The
  `hyperframes` plugin already bundled every skill.
- `/hyperframes` routes to both from the top of its table: a video to
  copy or remake, and an episode in a proven style. Its budget takes
  +64 B for those two rows.
- `/reverse-any-video` triggers on "remake" and on 「复刻这个视频」
  「照着做一个」, inside the 320 B description cap.
- Every catalog surface lists both in the core group: CLAUDE.md,
  AGENTS.md, README, the skills guide, skill-lifecycle and the two init
  templates (still byte-identical).

* refactor(cli): keep comment share at the base in skillsManifest
2026-11-09 13:05:30 +00:00
Miguel Ángel a73572c3b7 fix(core): a video held on its tail is seeked once, not every frame (#7442)
* fix(core): a video held on its tail is seeked once, not every frame

* fix(core): seek a held tail again when the element was moved off it

* fix(core): the held-tail skip applies only while playing

* style(core): format the held-tail change

* refactor(core): drop a comment that repeats its neighbour
2026-11-09 10:46:44 +00:00
Vance IngallsandClaude Sonnet 5.5 c38ac5438c feat(producer): distributed and range renders honour page motion blur (#7311)
* feat(producer): distributed and range renders honour page motion blur

A film with data-motion-blur="on" blurs the same way however it is rendered. plan() no longer
forces the synthetic job to pageMotionBlur "off", so the plan locks screenshot capture for a
blurred film as a whole render does, and renderChunk() no longer defaults the page's off switch
to "distributed-render". An explicit pageMotionBlur "off" in the config still stands the page down.

Hosted renders pick this up after the next OSS release and a producer pin bump; a render of a
blur-on film that goes distributed changes output then.

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

* test(producer): the default tier blurs the same in chunks; docs agree distributed renders blur

Two files compare plan -> renderChunk -> assemble with the tier attribute removed, so `auto`
(the filter tier) decides, against a whole render: held-card and callbacks (the muted-callback
path). The skill's motion reference no longer says distributed renders are off. The rewritten
R19 plan test gets 60 s for its three plan() calls.

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

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 09:10:46 +00:00
James RussoandClaude Opus 5.5 e351253724 docs(cli): correct Claude Code marker comments in agent detection (#7426)
CLAUDE_CODE_ENTRYPOINT is set by current Claude Code versions too, and it
is the only Claude marker MCP servers inherit, so it is not an
"older versions" fallback. The Agent SDK comment still said Claude Code's
shell tool sets CLAUDECODE; the rule keys on CLAUDE_CODE_CHILD_SESSION.

Follow-up to review nits on #7425. Comments only.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-09 04:27:49 +00:00
James RussoandClaude Opus 5.5 7bf65995b3 feat(cli): add agent markers other detectors use, verified upstream (#7425)
* feat(cli): add agent markers other detectors use, verified upstream

Compared std-env, @vercel/detect-agent, am-i-vibing and agent-cli-detector
against our rules and kept only markers the agent itself sets on the
shells it spawns: Auggie AUGMENT_AGENT, Amp AMP_CURRENT_THREAD_ID, Cursor
CURSOR_CONVERSATION_ID and CURSOR_SANDBOX, Cline CLI CLINE_WRAPPER_PATH,
Muse MUSE_RELEASE_INFO, and Warp Oz OZ_RUN_ID (after the harnesses it
wraps).

Claude Code now keys on CLAUDE_CODE_CHILD_SESSION or
CLAUDE_CODE_ENTRYPOINT. Its IDE extensions also set CLAUDECODE in the
integrated terminal a person types into, so CLAUDECODE alone counted that
person as an agent: no prompts, agent-mode login.

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

* docs(cli): trim comments and fix citations the comment gates flag

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

* chore: raise the cli packed size budget to its measured size

main already sat at the edge of the 1% tolerance; the new agent rules
put the packed CLI 842 bytes past it (8062664 vs 7982002 + 1%).

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-09 03:28:52 +00:00
James RussoandClaude Opus 5.5 c1e96a45b2 fix(cli): let an agent's own name beat editor and host markers (#7424)
TERM_PROGRAM=cursor|windsurf and Replit's REPL_ID only say where a shell
runs. They now sit in their own list, checked after the AI_AGENT / AGENT
name check, so Amp in a Cursor terminal or Devin in Replit report as
themselves, and an unknown AI_AGENT there keeps its discovery hints.
agentOnly had no users left, so it is gone.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-09 02:19:35 +00:00
James RussoandClaude Opus 5.5 c14f258907 feat(cli): detect more agent runtimes in telemetry (#7423)
* feat(cli): detect more agent runtimes in telemetry

Agent runtime rules:
- copilot_agent: key on COPILOT_AGENT=1 or AI_AGENT=github_copilot_*
  (VS Code agent terminals) instead of the unverified Actions markers.
- copilot_cli: COPILOT_CLI=1 or COPILOT_AGENT_SESSION_ID, ahead of
  copilot_agent.
- kilo (KILO=1, KILOCODE_VERSION), ahead of opencode.
- opencode (OPENCODE=1, OPENCODE_SESSION_ID).
- qwen_code (QWEN_CODE=1), junie (JUNIE_SHIM_PATH),
  antigravity (ANTIGRAVITY_AGENT), qoder (QODER_AGENT),
  kiro (AGENT_DISPLAY_OUT, AGENT_CONTEXT_OUT), openhands (AI_AGENT=openhands).
- AI_AGENT fallback after every vendor rule: known names map to their
  runtime, any other slug-safe name becomes other_ai_agent. Bare AGENT
  is not used.

Discovery hints: other_ai_agent keeps its hints, agent_hint prefers
AI_AGENT over AGENT, and AGENT_TOOLSDIRECTORY,
GSM_SKIP_SSH_AGENT_WORKAROUND and EDGE_METRICS_SESSION_ID are no
longer hint keys.

CI: name AWS CodeBuild (CODEBUILD_BUILD_ID) as codebuild.

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

* feat(cli): detect agents seen in discovery hints

Add rules for closed-source agents whose markers show up in the CLI's
own agent_env_hints on non-interactive runs: WorkBuddy, CodeBuddy, Trae,
Pippit, Doubao, Aily, Grok, Kimi, ZCode, SWE-agent and apps built on the
Claude Agent SDK. Qoder also matches its CLI and agent SDK keys.

The AI_AGENT name map now covers the names agents report (Devin, Amp,
v0, Rovo Dev, Base44, Trae, Antigravity, OpenHands, Copilot, and
hermes-agent), and a known name in the bare AGENT variable counts too.
Unknown AGENT values such as AGENT=1 still do not.

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

* feat(cli): detect the DeepSeek harness

Every dsh model shell call runs with DSH_SHELL=1 and the agent's
DSH_SESSION_ID. HyperFrames Desktop also runs dsh; its runs carry
HYPERFRAMES_CLIENT, so the client field separates the two.

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

* docs(cli): cite the Agent SDK source for claude_agent_sdk

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

* fix(cli): let the closest agent win over inherited markers

Copilot's COPILOT_AGENT / AI_AGENT and COPILOT_CLI pass down to the
agents it starts, and TERM_PROGRAM / REPL_ID only say where a shell runs.
Those rules now come after every other agent rule, so opencode or Qwen
started by Copilot, or Kilo in a Cursor terminal, report as themselves.

dsh keys on DSH_SHELL=1 only: it sets DSH_SESSION_ID on the terminal a
person types into too. Qoder drops its app-wide SDK and setting keys,
CodeBuddy drops CODEBUDDY_AGENT_RUNTIME (a setting it reads), and Kiro's
markers must be non-empty.

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-09 01:38:58 +00:00
Miguel Ángel d095843826 docs: list the 1440p presets in the v0.9.26 notes (#7422) 2026-11-09 00:30:26 +00:00
Miguel Ángel 0c6c7fca45 chore: release v0.9.26 (#7421) v0.9.26 2026-11-08 23:36:46 +00:00
5e8abd7574 feat(cli): add 1440p resolution presets to --resolution (#7418)
* feat(cli): add 1440p resolution presets to --resolution

Adds landscape-1440p (2560x1440), portrait-1440p (1440x2560) and
square-1440p (1440x1440) next to the existing 4K, 720p and 480p tiers,
with the aliases 1440p, 2k and qhd plus 1440p-portrait and 1440p-square.
1440p joins the aspect-agnostic aliases, like 720p and 480p.

Every validator derives from CANVAS_DIMENSIONS, so no logic changes: a 4K
composition renders down to 1440p through the existing smaller-preset
path, and a 1280x720 composition supersamples to 1440p at an exact 2x.
A 1920x1080 composition is still refused by the non-integer-scale check
(4/3); fractional scale factors are not part of this change.

Refs #6309

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

* fix(cli): clarify 1440p aliases and repair skill validation

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: James <james.russo@heygen.com>
2026-11-08 23:16:17 +00:00
Miguel Ángel 91ad7fb6ee fix(cli): cloud render finds media whose file name is stored in another Unicode form than the page's (#7419)
* fix(cli): cloud render finds media whose file name is stored in another Unicode form than the page's

* fix(cli): keep the archive-key change from raising publishProject's comment share

* fix(cli): a page that names a decomposed file as the disk lists it still matches its archive entry
2026-11-08 22:51:44 +00:00
Miguel Ángel 2927fe6155 perf(studio-server): a large project's first history copy takes a fraction of the time (#7415)
* perf(studio-server): a large project's first history copy takes a fraction of the time

* perf(studio-server): read a small file through one handle, with fewer comments

* fix(studio-server): small files keep their exact permissions in history under a strict umask
2026-11-08 22:25:44 +00:00
Miguel Ángel 327e20208c chore: release v0.9.25 (#7414) v0.9.25 2026-11-08 19:59:06 +00:00
ym256-stanfordandfactory-droid[bot] b764a5ffdc test(lint): cover template-root composition variable declarations (#6150)
The declaration rule validates data-composition-variables on every
declaring element since 571c99ce9 (#4454), but the template-fragment
reproduction case from #4383 had no regression coverage. Add it.

Refs #4383

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2026-11-08 19:05:34 +00:00
Miguel Ángel fa2e63515f fix(core): a muted video's picture no longer waits on its own audio track at a cut (#7412)
* fix(core): a muted video's picture no longer waits on its own audio track at a cut

A muted video takes its clock from its audio track in Safari; a late start of that track stalls the picture after the cut. The runtime now switches the track off.

* test(core): a video muted by script and unmuted later keeps its audio track

* fix(core): type the audio track loop so it passes the strict index check
2026-11-08 18:48:55 +00:00
Miguel Ángel eb16510a10 fix(producer): seed random values in every render so re-renders give the same film (#7410)
* fix(producer): every render draws the same random values, at any worker count

* fix(producer): run the random-stagger fixture in CI and say what seeding covers
2026-11-08 16:16:15 +00:00
Miguel Ángel 070b964d7b feat(cli): check replays an unchanged project's last pass and takes --no-craft (#7398)
* feat(cli): check returns an unchanged project's last pass in about a second

* fix(cli): the check cache hashes files without a stat race and its tests run before the signal test

* test(cli): the warm check test compares two real runs, not a run and its cached pass

* feat(cli): check --no-craft skips the craft pass for a render preflight

* fix(cli): the check cache keys on timeout, env and large files and never replays a moved tree

* style(cli): format the check cache

* fix(cli): the large-file cache test waits for the clock tick it depends on

* fix(cli): the check cache keys on the browser and on scripts under .hyperframes

* fix(cli): the check cache ignores the video copies the check itself touches
2026-11-08 14:01:58 +00:00
Miguel Ángel 12906e0bfb fix(core): capture pages load only the clips on screen (#7402)
* fix(core): capture pages load only the clips on screen

* fix(core): name the capture page media rule instead of commenting it
2026-11-08 12:18:11 +00:00
Miguel Ángel 074de9dd1e ci: install ffmpeg through the GitHub API asset route with a cache (#7401)
* ci: install ffmpeg through the GitHub API asset route with a cache

* ci: the three jobs without a prepared ffmpeg stop downloading ffmpeg-static from releases

* ci: the ffmpeg install failure message counts its three downloads
2026-11-08 11:31:54 +00:00
Miguel Ángel 7ad2be96ea chore: release v0.9.23 (#7399) v0.9.23 2026-11-08 06:39:39 +00:00
Miguel Ángel 75fe18c621 fix(core): a set written before its tween no longer erases the tween's end (#7397)
* fix(core): a set written before its tween no longer erases the tween's end

* fix(core): shorten two comment lines to the limit

* fix(core): the stamp takes any GSAP the runtime types, so the runtime typecheck passes
2026-11-08 06:03:31 +00:00
Miguel Ángel 0f5914dc44 test(engine): the decode timeout warning reaches every caller (#7119) 2026-11-08 05:46:05 +00:00
Miguel Ángel ab785e9c5c fix(studio): a menu row's highlight is rounder than its panel (#7395) 2026-11-08 04:46:46 +00:00
Miguel Ángel adf14d7324 feat(engine): a failed CDN script's report names its library and version, never its URL (#7394) 2026-11-08 03:03:07 +00:00
James Russo 3151fd2133 fix(studio): bound recovery and verify full-quality playback (#7393)
* fix(studio): bound recovery and verify full-quality playback

* fix(studio): compare preview pixels with captured HTML clock
2026-11-08 02:29:57 +00:00
Miguel Ángel fd05a3860c feat(core): preview health names the media element that held play (#7159) 2026-11-08 02:26:53 +00:00
Miguel Ángel 26956ea1f4 chore: release v0.9.22 (#7392) v0.9.22 2026-11-08 01:18:54 +00:00
Miguel Ángel fed14b0161 fix(producer): keep page timers on the film's schedule at every worker count (#7390) 2026-11-08 00:46:29 +00:00
James Russo b7157bdabb feat(studio): scrub full-quality video with decoded preview frames (#7379)
* feat(studio): scrub full-quality video with decoded preview frames

* fix(studio): release scrub decoders before native playback

* fix(studio): bound paused fallback and tolerate decoder load failure

* fix(studio): recover stalled native preview handoffs

* fix(runtime): recognize cross-realm preview video elements

* fix(studio): bound Play handoffs and drain transparent preview samples

* fix(preview): recover retained video without chasing playback clock

* fix(studio): drain finite alpha queries before disposing readers
2026-11-08 00:17:12 +00:00
James Russo b87a01f6a8 fix(core): retain complete preview pictures during native seeks (#7378)
* fix(core): retain complete preview pictures during native seeks

* fix: settle failed seeks and preserve coherent progress
2026-11-07 23:29:21 +00:00
Miguel Ángel 34118d8f20 test(producer): the injector budget test no longer leaves a no-op injector for later tests (#7384) 2026-11-07 22:54:11 +00:00
Miguel Ángel a0bbaab436 chore: release v0.9.21 (#7385) v0.9.21 2026-11-07 22:51:28 +00:00
Miguel Ángel 942893eb2c fix(core): preview playback moves every frame between an audio track's time updates (#7373) 2026-11-07 22:50:52 +00:00
Miguel Ángel 841e90ffe2 fix(core): Safari video picture lands on the cut again, undoing the hidden pre-roll (#7383)
* fix(core): Safari video picture lands on the cut again, undoing the hidden pre-roll

Reverts the one-second hidden video pre-roll (#7265): on Safari the pre-rolled video is still behind at the cut and trails it by 30 to 150 ms in every measured run, and some cut flashes never show.

* fix(core): shorten a restored comment line to the 120-column limit
2026-11-07 22:09:06 +00:00
Miguel Ángel e0c11bf09a fix(cli): a media file referenced by its filesystem path goes into the cloud archive (#7381)
* fix(cli): a media file referenced by its filesystem path goes into the cloud archive

* fix(cli): an absolute media path keeps its fragment and query, and the resolver is split

* fix(cli): a Windows drive-letter media path is a filesystem path too
2026-11-07 21:51:51 +00:00
Miguel Ángel 7b79ab4290 fix(check): lint and check skip compositions the project never mounts (#7369)
* fix(check): lint and check skip compositions the project never mounts

* refactor(lint): let two new names stand without doc comments

* test(cli): lint tests that lint unmounted files say so
2026-11-07 21:47:17 +00:00
Miguel Ángel b559a98d37 fix(engine): hlg footage with a large header sei also tone-maps at hlg's white (#7349)
* fix(engine): hlg footage with a large header sei also tone-maps at hlg's white

* fix(engine): say in the read's own doc line why it streams

* test(engine): the header-SEI HLG fixture encodes without b-frames, so it muxes on windows
2026-11-07 21:46:28 +00:00
Miguel Ángel c27475b972 perf(producer): size a long video's chunks in one plan, no re-plan (#7382)
* perf(producer): size a long video's chunks in one plan, no re-plan

* docs(producer): chunk formulas name the minParallelChunks floor
2026-11-07 21:29:51 +00:00
Miguel Ángel 3d7f12acd7 feat(cli): cloud uploads send a big file in parts, so a cut connection resends one part (#7375)
* refactor(cli): the cloud upload's PUT and retry code moves to its own file

* feat(cli): cloud uploads send a big file in parts, so a cut connection resends one part

* test(cli): the cutting link fails a single PUT of the same file

* fix(cli): a file the cloud refuses forgets its saved parts plan

* fix(cli): a resumed upload goes straight to its parts, so a saved plan never feeds the single PUT
2026-11-07 21:14:19 +00:00
Miguel Ángel f5bde9533f feat(media-use): the voice credits line names the real source, your recording or any vendor (#7380) 2026-11-07 20:32:48 +00:00
Miguel Ángel 57a75337b7 fix(cli): a re-encode of a media file over the cap is limited to fit it (#7376)
* fix(cli): a re-encode of a media file over the cap is limited to fit it

* fix(cli): satisfy the typecheck and the comment and complexity gates for the re-encode limit

* fix(cli): the re-encode limit applies to every video, not only a source over the cap
2026-11-07 20:17:25 +00:00
Miguel Ángel 14e598e5a1 feat(media-use): your own voice recording is a voice line, and speed applies to it (#7377)
* feat(media-use): your own voice recording is a voice line, and speed applies to it

* fix(media-use): regenerate the skills manifest and keep audio.mjs's header at its limit
2026-11-07 20:10:38 +00:00
Miguel Ángel b418bb24fc refactor(cli): the cloud upload's PUT and retry code moves to its own file (#7374) 2026-11-07 19:33:10 +00:00
Miguel Ángel a595755a35 fix(core): a film moves on past a video the browser never starts loading (#7368) 2026-11-07 18:16:25 +00:00
Miguel Ángel 59c2065d63 fix(producer): page timers during a render run on film time (#7362)
* fix(producer): page timers during a render run on film time

* test(producer): a regression film whose timer bars must follow film time

* test(producer): schedule the timers regression film in CI shards

* fix(producer): keep setup timers on the wall clock until the page reports ready

* fix(producer): keep the renderer's own waits and deadlines on the wall clock

* test(engine): fail CI on a bare timer in code the engine runs in the page

* fix(core): type the wall-clock timers like the global timers they replace

* chore(engine): drop the comment on the shim's window type
2026-11-07 18:06:55 +00:00
Miguel Ángel 9efbbdf5ae fix(cli): transcribe names why whisper is missing and the one line that fixes it (#7366)
* fix(cli): transcribe names why whisper is missing and the one line that fixes it

* fix(cli): a Windows box gets a runnable install line and finds the whisper it just built
2026-11-07 18:06:28 +00:00
Miguel Ángel a3b8f521d9 fix(check): masked or clipped-away text no longer counts as overlapping (#7364)
* fix(check): masked or clipped-away text no longer counts as overlapping

* test(check): name the masked-overlap fixture's headings in plain words

* test(check): word a gradient-stop comment without an acronym

* fix(check): a moved or content-box mask keeps today's overlap verdict
2026-11-07 18:06:05 +00:00
Miguel Ángel 330be7cd2d fix(check): the overlap finding names the decorative mark, data-layout-ignore (#7365) 2026-11-07 18:05:18 +00:00
Michael WangandClaude Opus 5.5 896a77c307 fix(cli): open stops the project's background preview first (#7297)
The desktop app can't run an edit while a preview of the project is
running, because the preview holds the project's history lock. Following
the hint that `preview --background` prints therefore left the app's edit
waiting until someone stopped the preview by hand.

`hyperframes open` now stops a background preview of the same project
before handing it to the app, and prints one line saying so. It only
stops a preview it can prove it started (a saved session whose wrapper
process still owns the server). Any other preview is left running, and
`open` prints the exact `preview --stop --port N` command instead. With
--json the result carries a `preview` field.

The hint that `preview` prints now says that `open` stops a background
preview, or that a foreground one must be stopped first. The project
template and the CLI skill's preview reference say the same.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 17:24:14 +00:00