2600 Commits
Author SHA1 Message Date
Miguel Ángel c3d25a41f1 chore: release v0.9.79 (#8402) 2026-11-21 22:05:41 +00:00
Miguel Ángel 4e873f5a1d fix(media-use): a transcript cut named inside the project is never written through a linked folder (#8398)
* fix(media-use): a transcript cut named inside the project is never written through a linked folder

* chore(skills): refresh the media-use entry in the skills manifest
2026-11-21 21:28:47 +00:00
Miguel Ángel e3a0797a33 fix(media-use): a manifest record whose path leaves the project is not reused or credited (#8396) 2026-11-21 20:57:38 +00:00
Miguel Ángel b950f3e1db chore: release v0.9.78 (#8368)
* chore: release v0.9.78

* chore: list main's latest changes in the v0.9.78 notes

* chore: add the history fix to the v0.9.78 notes

* chore: list main's latest changes in the v0.9.78 notes
2026-11-21 19:50:15 +00:00
James RussoandClaude Fable 5.2 a9d98e2a4b test(cli): check that files running before a command print values only through the text helpers (#8393)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 19:48:42 +00:00
Miguel Ángel 66156bf35e revert(cli): hold the proxy fix and its Node floor for v0.10.0 (#8391)
* revert(cli): hold the proxy fix and its Node floor for v0.10.0

This reverts commit 2960319749 (#8311), except a stale fallow-ignore line it had removed.

* chore(ci): allow the revert to delete the three files the proxy fix added
2026-11-21 19:08:49 +00:00
James RussoandClaude Fable 5.2 c75860ddf3 fix(cli): show control characters as text in notices that repeat a failure reason (#8387)
* fix(cli): show control characters as text in notices that repeat a failure reason

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): keep a usage hint on one line

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): show control characters as text in prompt-log notices that repeat a failure reason

The source check now also reads clack.log calls. The five notices it
found (play and present port messages, the file approval notice) go
through terminalText.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:49:19 +00:00
Miguel Ángel c7a6c9315b test(cli): the probe-cache snapshot test asks 16 times of an 8 s clip, not 40 of 20 s (#8390) 2026-11-21 18:15:07 +00:00
Miguel Ángel 2960319749 fix(cli)!: a proxy that drops the connection fails a request once instead of retrying nonstop (#8311)
* fix(cli): a proxy that drops the connection fails a request once instead of retrying nonstop

Raises the minimum Node.js to 22.19, which undici 8 requires.

* fix(cli): drop the comments the comment-share check refuses

* docs: the engine, producer and CLI skill say Node.js 22.19

* test(engine): the dropping proxy matches its host exactly

* chore(skills): rehash the CLI skill after the merge

* docs(skills): keep the CLI skill within its size budget

* chore(skills): rehash the CLI skill after the trim
2026-11-21 18:05:46 +00:00
James RussoandClaude Fable 5.2 f01d1f32b0 fix(core): show text direction marks and typed text as visible text in printed lines (#8384)
* fix(core): show text direction marks as visible text in printed lines

The unknown-command line and its suggestion follow the same rule.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(cli): move the unknown-command text test to a file of its own

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(cli): write the direction mark in the test as an escape

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(cli): run the unknown command text test with the default test group

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): keep the suggestion under an unknown command on one line

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): show typed and project text as visible text in every line cli.ts prints

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): show typed text as visible text in the missing-value and extra-argument lines

The two argument checks that print their own line now show control
characters and line breaks in the repeated word as visible text. JSON
output keeps the message as built. A usage error from the argument
parser prints on one line like the CLI's own.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:03:26 +00:00
Miguel Ángel 63e700de1e fix(studio-server): history keeps undo steps in order when file times and its clock disagree (#8383)
* fix(studio-server): history keeps undo steps in order when file times and its clock disagree

* fix(studio-server): a removal made while a turn was closed can join that turn
2026-11-21 17:55:42 +00:00
Miguel Ángel d78e9a5f33 fix(cli): check reports its own deadlines as check_deadline (#8378)
* test(cli): both of check's deadlines report check_deadline

* fix(cli): check reports its own deadlines as check_deadline

* test(cli): the --timeout idle window also reports check_deadline
2026-11-21 16:41:56 +00:00
Miguel Ángel 93f2fcca49 fix(cli): Windows kills end only the process the CLI started, never a reused pid (#8382)
* test(cli): the Windows Chrome watchdog spares a pid that now runs another program

* fix(cli): the Windows Chrome watchdog kills only its own Chrome, never a reused pid

* test(cli): no preview lifecycle test may end a real process by a made-up pid

* fix(cli): the log-path preview test stops its made-up child through a fake, not a real kill

* test(cli): the Windows child reaper spares a held pid that now runs another program

* fix(cli): the Windows child reaper kills only the child it started, never a reused pid

* test(cli): the reaper's stand-ins outlive the fixture, so only the reaper can end them

* test(cli): the kill-failure test keeps processTree's other exports, which the reaper reads
2026-11-21 16:25:40 +00:00
James RussoandClaude Fable 5.2 88f7d4052d fix(cli): print check and validate setup commands on their own lines (#8381)
* fix(cli): print check and validate setup commands on their own lines

When no browser can be set up on Linux ARM64, check and validate now
print the setup commands on lines of their own after the reason.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): split setup commands only for a stopped check

A finding with any other code keeps its whole message on one line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:45:43 +00:00
James RussoandClaude Fable 5.2 281f1a2a48 fix(cli): print capture setup commands on their own lines (#8374)
* fix(cli): print capture setup commands on their own lines

When a capture fails because no browser can be set up on Linux ARM64, the
reason stays on the `Capture failed:` line and the setup commands this CLI
writes follow it on separate lines, instead of being joined to it with
`\x0a`. The design style extraction notice now keeps its reason on one line
like the other capture warnings. JSON output and BLOCKED.md are unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* refactor(cli): name the setup lines field for what it holds

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 14:20:57 +00:00
James RussoandClaude Fable 5.2 9a618b798f fix(cli): read --json before the command name the same as after it (#8365)
* fix(cli): read --json before the command name the same as after it

`hyperframes --json <command>` turned on the JSON failure answer but never
reached the command, so the command printed for people. The flag now moves
behind the command's own arguments before anything reads them, so both
spellings are one run: a command with a `json` flag answers in JSON, and a
command without one refuses the flag as it already did after its name.

A `--json` behind `--` is an argument and no longer turns the JSON failure
answer on.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(cli): follow --json to its one meaning in the entry-point cases

Rows that put --json before the command name to see a command's lines
for people now run without it, and the word-tier catalog case checks
the ready-to-paste command.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): drop init's handling for a JSON run that can no longer start

init has no JSON output, and --json is now refused in both positions before
init runs. The status holding, the JSON-run check and init's own answer text
had no caller left. Its tests run without --json and assert the printed line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(cli): let the command table load preview where the studio packages are not built

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): read --json before `help <command>` the same as after it

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(cli): cover command words run with no subcommand in the --json table

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 13:31:44 +00:00
Miguel Ángel 4145572625 fix(cli): a catalog gap report hands back a line only when every shell reads the query as text (#8373)
* test(cli): a catalog gap report never carries a query a shell would run

* fix(cli): a catalog gap report hands back a line only when every shell reads the query as text

* test(cli): type the envelope's query and expect sh double quotes around an apostrophe
2026-11-21 13:28:56 +00:00
James RussoandClaude Fable 5.2 7fcc4909b4 fix(cli): show control characters as text in capture, figma, usage and notice lines (#8366)
* fix(cli): keep notices and capture warnings to the line they are printed on

A warning or failure reason from capture, and the command named in the
left-out-files notice, could carry a line break and start a line of
their own. They are printed as one line now, control characters shown
as text. The figma component, usage and measure hands status lines go
through the same helper.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* docs(cli): describe how printed lines show control characters and line breaks

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* docs(cli): name the commands whose printed lines changed

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 12:35:15 +00:00
Miguel Ángel f74e1545c0 fix(cli): a received-files write waits out a held lock instead of failing on Windows (#8367)
* test(cli): a received-files write waits while Windows still holds the lock file

* fix(cli): a received-files write waits out a held lock instead of failing on Windows

* test(cli): the held-lock test matches the lock by its ending, as Windows spells temp short
2026-11-21 11:33:20 +00:00
Miguel Ángel a2df08e49e fix(cli): a stop reads the process tree from /proc on Linux, so load cannot hide a child (#8363)
* test(cli): a stop finds the process its child started even when pgrep fails

* fix(cli): a stop reads the process tree from /proc on Linux, so load cannot hide a child
2026-11-21 10:38:23 +00:00
James RussoandClaude Fable 5.2 8bc73a0bd3 fix(cli): show control characters as text in init, skills and render printed lines (#8352)
* fix(cli): show control characters as text in init, skills and render printed lines

Lines that quote a name, a path, a flag value, a tool's reply or a caught
message now pass it through terminalText / terminalLines before printing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(cli): build the expected init path with the platform separator

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): init prints only commands that run as written; one line per render progress update

A project name or old-flag value with a control character is left out of the
printed commands: the next steps say to go into the project folder, and the
renamed-flag examples use a placeholder. A render progress update whose text
has line breaks is written as one line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): init answers a --json run with a refused value as given

With --json before the command name, a refused --resolution, a missing --video
or --audio file, a folder that is not empty and a failed example now report
the value as it was given in the answer, and as visible text on the terminal.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): init's renamed-flag refusals answer --json with the value as given

The two lines keep the example people see. A --json answer now names the flag
and the value as typed. One entry-point case per init failure line, and a check
that a new failure line cannot be added with a bare console.error.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): answer a --json init failure with the value exactly as given

A failure line's values now reach the answer untouched, line breaks and
trailing spaces included. Status lines wait until the project is made, so
a later failure still answers in JSON, and a run that asked for JSON no
longer stops to ask questions. Next steps for a folder name that cannot
be typed back are printed as bare commands under a prose line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): hold a converted video's status lines with the rest of init's

With every answer given by flags, init printed the two lines about
converting a video through a spinner, apart from its other status lines.
At a terminal that drew on stdout ahead of the JSON answer to a failed
run. They now go the same way as the other status lines; the run that
asks questions keeps its spinner.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(cli): cover a failed project after a converted video in a JSON run

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 10:19:08 +00:00
James RussoandClaude Fable 5.2 7a1163fc98 fix(cli): show control characters as text in more commands' printed lines (#8353)
* fix(cli): show control characters as text in more commands' printed lines

tts, remove-background, media-treatment, telemetry, docs, update, add,
catalog, diff, doctor, clean, compare and grade-compare now pass quoted
names, paths, queries and caught messages through terminalText or
terminalLines at the line that prints them. JSON output is unchanged.

Refs #8336.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): remove-background --json reports a refused flag's value as given

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): docs answers a --json run with an unknown topic as given

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): telemetry, catalog and tts answer a --json run with the value as given

With --json before the command name these commands print their lines for
people, and the answer was built from those lines, so it carried the
visible form of a control character instead of the value.

- telemetry: an unknown subcommand and a preference that cannot be saved
- catalog: a query with no searchable words and a registry that cannot be read
- tts: a failed synthesis answers with the reason alone

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): explain the catalog gap report in words when the query cannot be printed as typed

The hint printed a ready-to-paste feedback command with the query in it. A
query with a line break or another control character was shown rewritten
inside that command, so pasting it reported different text. Both hint
branches now print the command only when it prints unchanged, and a plain
sentence otherwise. The JSON report_gap value is unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 09:49:55 +00:00
Miguel Ángel a86ad213ed chore: release v0.9.77 (#8360) 2026-11-21 08:25:09 +00:00
James RussoandClaude Fable 5.2 90e00558a5 fix(cli): show control characters as text in the remaining commands' printed lines (#8357)
* fix(cli): show control characters as text in the remaining commands' printed lines

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): capture --json reports a failed run's values as given

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(cli): match the capture output folder on any platform

The folder is printed as a full path, so its root and separators differ on Windows.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 08:23:19 +00:00
Michael Wang 48382cf360 docs(media-use): put the writeRecipeFiles doc comment back above writeRecipeFiles (#8358)
readProjectSource was added between writeRecipeFiles and its doc comment, so the
comment sat above the wrong function. Comment move only, in both copies of
recipe-store.mjs, with the skills manifest regenerated.
2026-11-21 07:56:07 +00:00
James RussoandClaude Fable 5.2 a744f5c3f5 fix(cli): show control characters as text in four more commands' printed lines (#8346)
* fix(cli): show control characters as text in five more commands' printed lines

browser, models, templates, transcribe and lambda policies now write
control characters out as visible text in the lines they print for
people: failure lines and the path, name and pattern lines. JSON output
and the bare path that browser path prints for scripts are unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): show control characters as text in a transcription status line

The status line a runner reports beside the spinner is rewritten the same
way as the label next to it. The lambda policies change moves to the pull
request that covers the rest of the lambda commands.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): show control characters in more local-input warnings, keep --json messages as given

The warnings printed by the browser cache and download code, the media
probe, the speech runtime loader and the optional-package installer now
show control characters as text. A failed --json run that takes its
message from stderr gets the text as given again.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(cli): run the probe case from an inline script

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 06:45:37 +00:00
James RussoandClaude Fable 5.2 af0664c8f5 fix(cli): show control characters as text in cloudrun and cloud printed lines (#8350)
The cloudrun commands and the remaining cloud render and cloud delete
lines now pass quoted text through terminalText / terminalLines before
printing, including the adapter notice callbacks and the confirm
question. JSON output is unchanged.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 06:27:45 +00:00
James RussoandClaude Fable 5.2 eaec4f4ad9 fix(cli): show control characters as text in the lambda commands' printed lines (#8348)
Notices, progress and status lines, the rows that name a stack, a bucket,
an address or a key, and failure rows now go through terminalText or
terminalLines before they are printed. JSON output is unchanged.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 06:27:43 +00:00
James RussoandClaude Fable 5.2 7a91dc9fe9 fix(cli): show control characters as text in sign-in, account status and preview lines (#8347)
* fix(cli): show control characters as text in sign-in, account status and preview lines

Account names, plan and billing values, device codes, failure reasons and
file paths printed by auth login, auth status and preview now go through
the shared text helper, so a control character is shown as \xNN instead
of being sent to the terminal. JSON output is unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): show control characters as text in the open-by-hand page address

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): cover the sign-out path line; account status rows move to the reply-text change

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 06:27:41 +00:00
James RussoandClaude Fable 5.2 9937baee1e fix(cli): show control characters in more command messages as text (#8344)
* fix(cli): show control characters in more command messages as text

beats, normalize-audio, lint, history, feedback and snapshot printed
failure text that can quote a file name or an attribute from the
project. Control characters in it now print as visible \xNN escapes,
the way the shared failure helper already prints them. JSON output is
unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): show control characters as text in the same commands' progress and result lines

Names, paths and ids that these commands print while they work and when
they finish now go through the same display helper as their failure lines.
JSON output is unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): the repro upload line moves to the reply-text change

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 06:06:43 +00:00
James RussoandClaude Fable 5.2 efd04c3b81 fix(cli): show control characters in service reply messages as text (#8345)
* fix(cli): show control characters in service reply messages as text

share, billing, auth refresh and publish printed failure text that can
come from a service reply. Control characters in it now print as
visible \xNN escapes, the way the shared failure helper already prints
them. JSON output is unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): show control characters as text in the same commands' link and status lines

Links, plan names and progress steps that these commands print when they
succeed now go through the same display helper as their failure lines.
JSON output is unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): show control characters as text in account status rows and a failed repro upload

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 05:57:56 +00:00
Miguel Ángel bf966b0cf3 chore: release v0.9.75 (#8343) 2026-11-21 04:47:22 +00:00
Miguel Ángel 4a50fb2798 fix(cli): writes into a project folder never follow a link already there (#8334)
* fix(cli): writes into a project folder never follow a link already there

normalize-audio, media-use generate, transcript-cut, transcribe, the SFX credits and
heygen-tts no longer write through a link at their output or temp names. A .media/.lock
that is a folder or a link fails at once instead of spinning, and media-use type
folders are checked before they are made.

* fix(cli): every other in-place project write goes through the shared writer

upgrade's wrapper rewrite, media-treatment, beats, snapshot descriptions, motionShot and
measure extract no longer write through a link at their output.

* fix(cli): the credits file is read without following a link, in one step

* chore(skills): regenerate the skills manifest for the media-use change

* fix(cli): upgrade keeps a wrapper script's mode when it rewrites the pin

Also: transcript-cut makes its staging folder only once it encodes, and a linked media type
folder is named as a link rather than as leading outside the project.

* fix(cli): upgrade reads a wrapper's mode and text from one open file
2026-11-21 03:36:53 +00:00
Michael Wang 056a13e28e fix(media-use): read recipe freeze sources only as regular files (#8325)
freezeRecipe read frame.md, STORYBOARD.md and BRIEF.md by path, which
follows links. A received project could link one of them to a file outside
the project, and the freeze copied that file's content into the project
and user recipe folders.

The freeze now reads each source once through readRegularFile, before any
folder moves. A source that is a link or not a regular file stops the
freeze with nothing written. A missing BRIEF.md still freezes without a
brief skeleton.
2026-11-21 02:20:22 +00:00
James RussoandClaude Fable 5.2 183bc10807 fix(cli): show control characters in failure messages as text (#8336)
* fix(cli): show control characters in failure messages as text

A failure message can quote text from the project, such as a file name or a
data-composition-src value. `compare`, `grade-compare` and `add` printed that
message to the terminal as it was, so a control character in the quoted text
reached the terminal instead of being shown.

- failCaught now prints the message with control characters written out
  (\x1b, \x07, ...), the same way errorBox does. The --json envelope is
  unchanged.
- The composition size limit messages write the file label the same way, so
  every caller and the render server's logs get readable text.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* refactor(cli): carry the reason in the helper's name instead of a comment

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 02:04:59 +00:00
Miguel Ángel 80d968a94c chore: release v0.9.74 (#8338) 2026-11-21 01:44:02 +00:00
Michael Wang 9e3fb696c0 fix(media-use): media writes replace a link at the output name instead of following it (#8324)
* fix(media-use): replace a link at a generated media output instead of writing through it

heygen-tts writes its audio and --words file, and hyperframes generate writes
its download and its cropped video, by renaming a new file onto the output
name. A link already at that name is replaced, and the file it points at is
left alone. The crop is encoded in a private staging folder instead of at
<out>.fit<ext>.

* fix(media-use): replace a link at the Gemini, ElevenLabs and Kokoro voice outputs

Gemini now writes its wav with replaceFile. ElevenLabs and Kokoro write into
the private text folder, and the result then replaces the output, so a link
at the output name is replaced instead of followed. replaceFile removes its
temp file when the write fails, and retries a rename Windows briefly holds.
2026-11-20 23:44:54 +00:00
James RussoandClaude Fable 5.2 2ed4a141eb fix(cli): a model name that every object carries is an unknown model (#8319)
* fix(cli): a model name that every object carries is an unknown model

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* chore(cli): name the own-key lookup instead of commenting it

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 23:18:35 +00:00
Michael Wang 0012c1cb88 fix(share): hold an unprompted share in a received folder to the review it read (#8322)
* fix(share): hold an unprompted share in a received folder to the review it read

In a folder that came from someone else, a share that asks nothing now still
passes the review id it read, or none, to the run. A review record written in
between is then refused.

The skill says to ask before passing --review. The refusal for a changed review
says how to share the folder as a new review. A comment says what the
first-share step does now.

* docs(skills): name the review link only when it exists
2026-11-20 23:04:03 +00:00
Miguel Ángel 047bd87dc9 chore: release v0.9.73 (#8277)
* chore: release v0.9.73

* docs(release): add main's later fixes to the v0.9.73 notes

* docs(release): add main's newest fixes to the v0.9.73 notes

* docs(release): add main's latest fixes to the v0.9.73 notes
2026-11-20 17:32:37 -05:00
Michael Wang 19253b3c86 fix(core): give the preview bundler the render's expansion budget (#8306)
* fix(core): give the preview bundler the render's expansion budget

The preview bundler inlined every sub-composition mount with only a depth
limit, so a few small files that mount each other many times assembled a
page without bound. The producer's expansion budget now lives in core, and
the bundler charges every mount and the scripts and styles generated for
it to that budget, and checks each file's size before reading it. Studio
preview shows the refusal instead of falling back to the raw page, whose
mounts the browser would expand the same way.

* refactor: drop comments the names already carry

* test(core): give the preview fan-out budget test a 30 s timeout

The flake gate saw it pass 9 of 10 runs under CPU contention, timing out
at the default 5 s. The neighbouring scoper bound tests use 30 s too.
2026-11-20 21:22:17 +00:00
Miguel Ángel 5f024e34e2 fix(studio): thumbnails of compositions with no code of their own load in under a second (#8316)
* fix(studio): thumbnails of compositions with no code of their own load in under a second

Both thumbnail paths (the CLI's preview server and Studio's dev server) waited up to 5 s for
a GSAP timeline before shooting a card. A composition with no script never registers one, so
each of its cards took the full 5 s, and the route shoots one card at a time, so the third
card came at about 16 s.

The wait cannot simply go: a composition may register its timeline late, in a timer or a
load handler, after the runtime is ready, and shooting it then shows the wrong moment.

So the preview route now marks the page a thumbnail loads when nothing on it can register a
timeline: no script but Studio's own (the runtime, GSAP core, an import map, the registry
line), no inline event handler, frame, template or child composition loaded at run time, and
no Studio motion. A marked page is shot once the runtime is ready. Every other page is held
for its timeline exactly as before.

The rule lives once, in studio-server, and both thumbnail paths wait on it.

fails without the fix: "is skipped for a composition with no code of its own" and "holds for
a composition whose script registers its timeline late"
(packages/studio-server/src/routes/preview.thumbnailMark.test.ts), "thumbnailSeekReadyInBrowser"
(packages/studio-server/src/helpers/screenshotClip.test.ts), "hasAuthoredCode"
(packages/studio-server/src/helpers/authoredCode.test.ts), and "holds a thumbnail's shot on
the thumbnail readiness rule" (packages/cli/src/server/studioServer.test.ts and
packages/studio/vite.browser.test.ts).

* test(studio-server): the thumbnail mark test builds its page from elements, not parsed text

The test read the served page back through DOMParser and innerHTML to hand its metas to the
readiness rule, which code scanning reports as DOM text reinterpreted as HTML. It now finds
the served page's meta tags with the compiler's own tag scanner and creates each one as an
element, so no text is parsed as markup.

Also adds a row to the code check's table: a script inside an inline SVG counts as code.

fails without the fix: "is skipped for a composition with no code of its own"
(packages/studio-server/src/routes/preview.thumbnailMark.test.ts) still fails when the route
writes no mark.
2026-11-20 21:19:26 +00:00
Michael Wang 39fa5ae9d2 fix(cli): share confirms an existing review before changing it in a received folder (#8315)
* fix(cli): share confirms an existing review before changing it in a received folder

* fix(cli): share asks before changing a review while a share is still in progress
2026-11-20 20:38:03 +00:00
James RussoandClaude Fable 5.2 5e1008124b chore(cli): retire nano-banana-2 and gpt-image-2.5 from media-use generate (#8314)
* chore(cli): retire nano-banana-2 and gpt-image-2.5 from media-use generate

Both have a newer model that replaces them. Asking for either now stops before any
request is sent and names the model to use instead. The price table, the --model help
and the media-use skill reference no longer list them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* chore(cli): drop a redundant comment

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(cli): check a media-use generate request before pricing it

A request the command would refuse is refused with its own message, whether or
not --max-credits is given.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 20:28:52 +00:00
Michael Wang be3d218074 fix(media-use): never write recipe files through links (#8257)
* fix(media-use): never write recipe files through links

A project folder can carry symbolic links inside .media/recipes/<name>/.
When recipe.json there did not parse, freezing a recipe under that name
reused the folder and wrote each recipe file through the link, which
could create or overwrite files outside the project. The user-tier copy
then carried those links into ~/.media/recipes, and using the recipe
copied them into other projects.

Freezing and using a recipe now refuse a link at .media, .media/recipes
or the recipe folder before anything moves or is written. Each recipe
file is written as a new file and renamed into place, so a link at its
name is replaced, never followed. Only the files a freeze just wrote
reach the user tier, and using a recipe imports only its regular recipe
files. Using a recipe also refuses a recipe whose frame.md is a link,
and replaces a frame.md link in the project instead of writing through it.

* fix(media-use): read user-tier recipe files through one no-follow handle

Checking a file with lstat and then reading it by path leaves a gap in
which the file can be swapped for a link. Importing a recipe from the
user tier and copying its frame.md now open each file once with
O_NOFOLLOW, and check that the open handle is a regular file before
reading it.

* fix(media-use): refuse recipe file links where Node has no O_NOFOLLOW

Node has no O_NOFOLLOW on Windows, so opening a recipe file there
followed a link and read its target. readRegularFile now checks the
path with lstat first and refuses anything but a regular file. After
the open, the handle must be a regular file with the same device and
inode that lstat saw, so a link swapped in between is refused on every
platform. O_NOFOLLOW stays as an extra guard where it exists, and
O_NONBLOCK keeps a FIFO from blocking the open.

A test passes 0 as the no-follow flag to check the Windows path on any
platform, and another checks that a FIFO is refused without blocking.

* refactor(media-use): compare the path with the handle after opening

readRegularFile now opens first, then requires that lstat of the path
shows a regular file with the same device and inode as the handle. A
link has its own inode, so it never matches the file an open reached
through it, with or without O_NOFOLLOW. O_NONBLOCK keeps a FIFO from
blocking the open. Checking after the open, instead of before it,
leaves no check-then-open gap on the path.
2026-11-20 18:47:47 +00:00
Michael Wang 1d5403525d fix(share): a first share only lands on a review it created (#8282)
Registration now reports whether the server created the project (201)
or answered one already bound to the record's studioProjectId (200).
A first share that gets an existing project back is refused with
review_project_changed and restores the record, before any audience
change, link reopening or upload. A retry after a lost registration
reply still reaches its project: the record holds the saved
registration and the project is still private, with its link never
turned off and no ready version.

Studio now passes the review the person confirmed through the share
job. The service refuses when the folder's review differs from it, and
shareForReview refuses a record whose project is not the confirmed one,
so every path to setReviewAccess, the first audience and addVersion
checks the confirmed review.
2026-11-20 17:07:42 +00:00
Wenbo ZhuandClaude Opus 5.5 4e3c960457 fix(cli): preview answers unknown paths with an inert refusal, not the Studio shell (#8161)
* fix(cli): preview answers unknown paths with an inert refusal, not the Studio shell

Studio routes by location.hash only, yet the preview server answered every
unknown GET with the Studio shell (200, same origin, query kept). An OAuth
redirect to the preview port (/oauth/callback?code=...&state=...) therefore
re-mounted the project, and project script read the code from the address.

The shell is now served only at / and /index.html. Any other path gets a
plain-text 404, and a request carrying `code` or `state` at any path (entry
and preview routes included) gets a plain-text 400. Both carry a sandbox CSP
(opaque origin), COOP same-origin, frame-ancestors 'none' / X-Frame-Options
DENY, nosniff, no-referrer and no-store, and never echo the request.

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

* fix(studio): preview's Vite modes refuse an OAuth return too

`preview` from a source checkout (dev mode) and with the local studio
(HYPERFRAMES_LOCAL_STUDIO=1) run packages/studio/vite.config.ts, whose SPA
fallback served the Studio shell at /oauth/callback?code=... with no COOP or
sandbox. devProjectApi now refuses a `code` or `state` at any path as its
first middleware, with the same inert response as the embedded server.

The refusal moves to @hyperframes/studio-server so both servers share one
helper.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:31:56 +00:00
Ular Kimsanov e16c681dc0 fix(media-use): remove only the temp folders media-use made, and never fail on cleanup (#8267)
* fix(media-use): remove only the temp folders media-use made, and never fail on cleanup

discardPrivateOutput now removes a folder only if privateOutputPath made it in this
run, instead of matching names against the raw temp setting, and a removal error no
longer turns a finished or failed generation into a cleanup error. The hosted video
and favicon providers use the same helper, so resolve removes their folders too.
Provider tests remove the folders they create; the resolve test also redirects
TEMP and TMP, so it checks the cleanup on Windows as well.

* test(media-use): prove resolve can remove the hosted video and favicon folders

* test(media-use): name the folder this run did not make plainly
2026-11-20 06:26:07 +00:00
Ular Kimsanov 2c3427089c fix(share): ask before sharing from Studio and bind each action to the confirmed review (#8268)
* fix(share): ask before sharing from Studio, naming the review it changes

A composition's script runs on Studio's origin by default, and a received
folder's .hyperframes/review.json can point Studio at an existing review.
Every share action except sign-in now asks the person first, naming the
review (its link), who can open it, the workspace and whether project files
are uploaded. The request carries the manage link of the review that was
shown, and the server refuses it with share_target_changed when the
project's review no longer matches, so nothing is shared or changed.

* fix(share): bind each Studio share action to the review id the person confirmed

Studio now gets the id and title of the review an action reaches, including a folder
whose record names a review it never opened (a received folder can ship one). The
confirmation names that review, its workspace and who can open it, and says plainly
when a folder arrives already linked. Actions carry the confirmed id; a missing one is
refused as confirmation_required and a different one as share_target_changed, and
after that refusal Studio drops the earlier choice. The docs describe the
confirmation and that project files are included only when chosen.

* fix(share): show the review title on one quoted line in the confirmation

* fix(share): say a linked share also sets who can open it, and check the new state fields

* fix(share): separate the question from the details and say when a title is unknown

* docs(share): name the review record without a path the citation check reads as a file
2026-11-20 06:02:05 +00:00
Miguel Ángel ce0932e047 fix(studio): a video with no size of its own keeps its file's size while a lighter copy plays (#8233)
* fix(studio): a video with no size of its own keeps its file's size while a lighter copy plays

The preview plays a smaller copy of a large video, and a video the film gives no
size took the copy's size: a 1920x1080 file in a 1080p film drew at 456x257 at
Quality 1/2 and 608x342 at Full, while a render draws it at 1920x1080. While a
copy plays, a rule keyed by the copy's address now gives the video its file's
shown size (its pixels' aspect and turn included), at zero specificity so any
size the film's own CSS sets still wins. Studio's media facts now carry the
pixel aspect and turn, read by the same code the engine uses.

* fix(studio): size only a video the film leaves unsized while its copy plays, as Chromium lays it out

A video whose box is its file's own size (300x150 before the file loads) gets a
plain width and height at that size while a smaller copy plays, through a
preview-only mark and a rule keyed by mark and copy address. A video the film
sizes in either direction is left to the film's CSS, so authored aspect
ratios, box sizing, containment and earlier rules lay out as before. The size
is the original's decoded size when the browser has it, else its facts with
narrow pixels stretching the height as Chromium does. ffprobe is asked for the
side data list, which 4.x also knows, in Studio and in the CLI. A video shown
with object-fit none or scale-down keeps its file.

* fix(studio): an unsized video keeps its size when its copy is made cold behind a still

* test(core): a held video gets its file back when waiting for its copy throws

* fix(core): a copy wait that throws counts as not served, so a held video gets its file back

* test(core): each proxy test resets its own runtime's copy reporting, so none reports into the next

* test(core): the stale-runtime test runs past the report throttle, as a finished test does

* test(core): a framed proxy test's runtime must not report its copies into the next test

* test(core): every proxy test runtime loaded fresh has its copy reporting reset after the test
2026-11-20 05:57:26 +00:00