* fix(studio): browser test scripts launch the Chrome Studio itself picks
The scripts in tests/e2e chose Chrome from their own list: a system Chrome before the downloaded one, and no version check, so an old system Chrome hung every script at browser start. They now use Studio's one finder (an environment variable first, then the downloaded Chrome, then a system Chrome new enough), moved to a file plain Node can load.
* test(studio): the Chrome finder test builds its path as the finder does
The finder joins the cache path with the host's separator, so on a Windows runner the stand-in never saw the path the test spelled with forward slashes.
* 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
* 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
* 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
* 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>
* test(core): a Windows rename onto an existing folder gives up at once
* fix(core): a Windows rename onto a folder that exists fails at once instead of waiting 1.3 s
* test(core): a Windows rename onto an empty or unreadable folder target still waits
* fix(core): give up at once only on a folder target with files in it, and keep the wait otherwise
* 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
* 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>
* 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
* test(lint): linear scans are held to characters read, not wall-clock time
* test(lint): keep one coarse 4 MB time bound so a backtracking regex still fails
* 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
* 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
* fix(core): a fast seek no longer starts a preview reload loop
A seek to a clip the preload window called far loaded that clip behind the
window's back. The far-clip handler released it on its first metadata with
preload still "auto", so it loaded again: one wasted reload per seek, and
after two quick seeks or a fast scrub a loop on every clip the replaced seek
had touched, hundreds of reloads a second until the page closed.
A pending seek now owns the media window. When it starts, the clips it lands
on count as near, and the clips its destination does not need are let go,
along with the next takes they had armed, so their requests stop holding the
connection the destination loads over. Window passes leave media to the seek
until it commits. A clip the far-clip handler releases gets preload "none"
first, so it stays unloaded.
* fix(core): clips that are not playing let go of their requests, so plain play never freezes on a cut
Idle and paused clips no longer hold a connection open, and when the preview
waits for data the clips it paused release their open requests too, so the
wait always ends.
Upcoming clips load at preload metadata only in Chromium, where an idle
clip's unread bytes hold the connection's shared flow-control window.
Firefox and Safari keep buffering them ahead, which plays a film over a
slow link faster there.
* fix(core): a hold for data leaves the clip it waits for alone, and a seek during it stays put
A hold now reloads only the played clips it is not waiting for, so a clip
that stalls mid-play keeps its buffer and its picture. A clip the hold
reloaded goes back to the hold's time only while that same hold still
waits for it, so a seek made in between is not undone.
* test(core): every Chromium browser prefetches at preload metadata, Chrome on iOS does not
* 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>
* 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>
* feat(engine): a late image's load time is logged when it arrives
A frame that shows a still-loading image waits for it, which can hold a render for minutes, but nothing said where that time went. When a late image arrives, the engine now logs [FrameCapture:late_image_arrived] with the frame, whether it came from the page's own server, the path depth and extension, and its resource timing split into queued, connect, first byte and download. No host, query or file name is logged.
* fix(engine): a late image whose request timing is hidden logs only its total
For another origin without Timing-Allow-Origin, Chrome zeroes connectStart, connectEnd, requestStart and responseStart, so the split read a slow server as a slow download. Such an entry now logs requestedAtMs and totalMs with split: not-exposed; every record also carries totalMs.
* 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>
* 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
* 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>
* test(studio): spaces between child text fields survive a panel write
* fix(studio): adding or removing a text field keeps the spaces between words
* refactor(studio): text-field markup writing gets its own file
* 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
* 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
* 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>
* test(studio-server): a held-file edit is checked for blocking waits, not wall-clock gaps
* test(studio-server): the held-file wait counter says what it counts
* test(studio-server): a held-file edit fails the test if its retries block the process in any way
* 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>
* test(studio-server): a preview file request on a silent drive asks it nothing on the event loop
* fix(studio-server): a preview file request reads its project off the event loop
* ci(studio-server): refuse a new synchronous fs call in Studio's routes and history engine
* fix(studio-server): a preview file request and a miss stay off the event loop to the end
* test(studio-server): a shared still's remake no longer depends on busy requests' slot order
* fix(ci): the studio-server sync fs gate counts every sync call node:fs has, globSync included
* 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>
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.
* feat(studio-server): history names the bytes its next restore point would copy in
* fix(studio-server): count each unsaved blob once, and name the method for what it counts
* refactor(studio-server): a file the next restore point copies nothing of is its own check
* test(core): a predicate reads only aliases in its own namespace
* fix(core): look up SVG selector aliases by namespace before matching their values
* refactor(core): index each SVG alias by attribute in its own function
* chore(core): regenerate the inlined alias module and the catalog font mirror index
* test(core): re-record the page goldens for the new inlined alias module
* refactor(core): pick a predicate's alias index in one place
* chore(core): regenerate the inlined alias module and page goldens
* 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>
* feat(studio-server): a host can name paths its project history never records
* test(studio-server): an ignored path loses its old targets, its pruned versions and every write
* fix(studio-server): an ignored path leaves old targets and the saved log, and is never written
* refactor(studio-server): opening a log that drops ignored paths is its own step
* perf(studio-server): a restore checks where each write lands without blocking the thread
* test(studio-server): an undo never writes an ignored file through a folder link
* test(studio-server): ignored kept files leave old undos, and no ignores keeps the link refusal
* fix(studio-server): ignored paths leave old kept files; only the host's rule skips a linked write
* test(studio-server): the link refusal is the thrown error, and no redo is offered
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>
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>
* 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>