2638 Commits
Author SHA1 Message Date
Miguel Ángel 169af43b65 chore: release v0.9.87 (#8617)
* chore: release v0.9.87

* chore: release notes for v0.9.87 list the player fix merged since the cut

* chore: release notes for v0.9.87 list the studio fix merged since the re-cut

* chore: release notes for v0.9.87 list the docs change merged since the re-cut

* chore: release notes for v0.9.87 list the CLI fix merged since the re-cut

* chore: release notes for v0.9.87 link #8624 to its own pull request
2026-11-24 01:14:47 +00:00
Weiwei Wu bb87da4536 fix(cli): read alpha from modern CSS colors (#8624)
Add real-Chromium regression coverage and document the supported modern solid-color behavior.
2026-11-24 00:18:45 +00:00
James RussoandClaude Fable 5.2 c03897fc11 test(cli): count print calls whose value is not plainly the CLI's own (#8608)
* test(cli): count print calls whose value is not plainly the CLI's own

Each CLI source file's count of such print calls is kept in a baseline,
so a new one shows up in the change that adds it. Print calls whose
output another program reads are named in the test.

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

* test(cli): tighten the print count rule

A name the file declares itself is no longer taken for the colour helper
or a converter, a local form of a value counts unless the value is a
number, JSON text inside a line for people counts, and spinner lines and
clack's framing calls are counted too. A file listed with more calls than
it has now gets a message that names the list.

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

* test(cli): name the lines other programs parse

The count rule now also sees writes to a bare `stdout` or `stderr`, and
the `@hf-*` lines and the `--json` failure body are listed as output for
another program instead of sitting in the baseline.

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 19:45:31 +00:00
James RussoandClaude Fable 5.2 31be52d934 fix(cli): give --json the failure text as typed for cloud commands (#8607)
A failed --json run of lambda, cloudrun and beats answered with the
message as people see it on the terminal, with control characters
already written out as text. The JSON message now carries the value as
it was given; the line for people is unchanged.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 16:59:45 +00:00
James RussoandClaude Fable 5.2 8948e63cb7 fix(cli): show control characters as text in more lines that repeat a stored value (#8603)
* fix(cli): show control characters as text in more lines that repeat a stored value

Lines printed by the timeline edit commands, check, diff, preview --list,
telemetry status, the update and skills notices, the FFmpeg install hint, the
cloud render data-fps warning, the capture font summary, the project key notice
and the plain progress lines of a run with no terminal now pass the repeated
value through the text helpers, as the other commands' lines do.

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

* fix(cli): leave Windows line endings out of a planned diff

A file saved with CRLF line endings had every changed line of the
planned diff end in a visible \x0d. The line ending is now dropped
before the line is shown; a carriage return inside a line still shows.

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 16:58:39 +00:00
Mert Kaya de4c73264e fix(cli): mention hyperframes doctor after a browser download failure (#7253) 2026-11-23 16:38:03 +00:00
Miguel Ángel 574b5e3d3b chore: release v0.9.86 (#8595)
* chore: release v0.9.86

* chore: release notes for v0.9.86 list the four PRs merged since the cut
2026-11-23 14:53:04 +00:00
WaterrrForeverandClaude Opus 5.5 c451acae33 test(cli): describe the team descriptor in prose, not as a citation (SECOPS-2048) (#8525)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:09:19 +00:00
Miguel Ángel 76a6bacdf7 fix(cli): a cloud upload leaves out a file it cannot read instead of failing (#8575)
* fix(cli): a cloud upload leaves out a file it cannot read instead of failing

* docs(cli): list the unreadable left-out reason and its cause
2026-11-23 10:50:16 +00:00
Miguel Ángel a4d96cdb31 chore: release v0.9.85 (#8569)
* chore: release v0.9.85

* chore: release notes for v0.9.85 list #8563

* chore: release notes for v0.9.85 list #8561 and #8570
2026-11-23 09:10:21 +00:00
Miguel Ángel 7f54fded08 fix(skills): ask before usage notes and destroy, and keep media downloads on public hosts (#8555)
* fix(skills): ask before usage notes and destroy, and keep media downloads on public hosts

Media downloads now connect only to an address the host name resolved to after checking it is public; a name that points at a private address is refused before connecting. Skills tell the person once before sending usage notes and honour a no; a catalog gap report no longer carries the search text. Reverse says plainly it needs a HyperFrames Pro sign-in, and cloudrun/lambda destroy wait for the person's yes.

* fix(media-use): give each media download its own connection

* chore(skills): refresh the skills manifest and split out the gap report step
2026-11-23 07:12:36 +00:00
Miguel Ángel 9ec93615ef chore: release v0.9.84 (#8548)
* chore: release v0.9.84

* chore: release v0.9.84 notes list everything merged through #8541

* chore: release v0.9.84 notes list #8552

* chore: release v0.9.84 notes list #8551
2026-11-23 02:35:22 +00:00
Ari Reid b734a41142 fix(cli): keep objects sliding offscreen in one shot (#8552) 2026-11-22 20:48:51 -05:00
Miguel Ángel fff27ce944 perf(cli): capture of an animated page finishes on a small host with no GPU (#8533) 2026-11-22 22:51:47 +00:00
Miguel Ángel 4f1e429fb1 chore: release v0.9.83 (#8539) 2026-11-22 22:33:47 +00:00
Miguel Ángel 0d624100c7 test(cli): snapshot, render and check capture skip a held history this run cannot write (#8532) 2026-11-22 21:44:20 +00:00
Miguel Ángel 2e1cd03237 chore: release v0.9.82 (#8531) 2026-11-22 21:07:50 +00:00
Miguel Ángel 02450e3e2e fix(studio-server): a sandboxed history read no longer fails with EPERM while the app holds it (#8529)
A process that may only read the history folder now finds a live owner's lock busy at once instead of reporting the refused claim write, so readers show the history quietly.
2026-11-22 20:57:01 +00:00
Miguel Ángel 8c9c94572a fix(producer): a render serves every GSAP the CLI ships, and its own when the CDN is blocked (#8349)
* test(producer): an older GSAP our templates name, or a blocked CDN's GSAP 3, renders offline

* fix(producer): a render serves every GSAP the CLI ships, and its own when the CDN is blocked

* fix(cli): the CLI's size limit covers the GSAP 3.14.2 files renders serve
2026-11-22 20:32:43 +00:00
WaterrrForeverandClaude Opus 5.5 675e3a876e fix(cli): pinned-file downloaders check the cache folder is private before reading or writing it (#8486)
* fix(cli): make the cache folder private before a pinned download writes into it (SECOPS-2745)

The measuring tools' pinned-file downloader (measure/pinnedFiles.ts, for the
MediaPipe hand landmarker) made its folder with a plain mkdir, downloaded into
it, and only checked the folder was private in the seal afterwards. A folder
another account owned, a group/world-writable one, or a link out of the cache
received the bytes before the refusal. The model downloaders were worse: the
TTS and background-removal models (utils/pinnedFile.ts) and the whisper models
never checked at all, and trusted a cached copy from such a folder.

Every pinned download into the HyperFrames cache now runs
ensurePrivateCacheDir first: a new folder is made 0700, the person's own
group/world-writable folder loses those bits, and a link, a foreign owner or a
folder another account can change is refused before any partial or final file
is written or any cached copy is used. Temp files stay inside the verified
folder and are renamed into place. opencv.ts, which already did this, now
shares ensurePinnedFiles instead of its own copy of the loop.

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

* fix(cli): keep the pinned downloaders' comment share at the base (SECOPS-2745)

Cuts the comment lines the private-cache fix added to pinnedFiles.ts,
pinnedFile.ts and whisper/manager.ts so each file's comment share is back
at or under its merge-base share, and names ensurePinnedFile's root
cacheRoot so the call reads without the comment.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:05:10 +00:00
WaterrrForeverandClaude Opus 5.5 886f609c43 fix(cli): publish updates a committed project only when this machine linked the folder (#8487)
* fix(cli): publish updates a committed project only when this machine linked the folder (SECOPS-2048)

.hyperframes/project.json travels with every copy of a project (a clone,
a zip, a download), yet publish took its project id and space id as the
update target, and with --yes overwrote any project the recipient could
write without asking.

Publish now updates the descriptor's project, and uses its space, only
when this machine's own link record (outside the folder, keyed by its
path) names the same project and space. The link record now keeps the
space it published into; records from before keep linking their own
project. Otherwise:

- interactively, publish asks "Update project <id> in place? No
  publishes this folder as its own project." with No as the default;
  No publishes a new project and rewrites the descriptor to it
- with --yes, publish refuses (publish_target_unconfirmed) and points
  to --update <id> [--space <space>]
- --update <id> still names the project explicitly, but the
  descriptor's space is not used unless --space names it

checkPublishTransition counts the descriptor as a legacy update under
the same rule.

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

* refactor(cli): carry the publish link rules in names, not comments (SECOPS-2048)

The comment ratchet allows a file's comment share only to go down. Drop
the comments the fix added and name the meaning instead: PERSONAL_SPACE
for the "" space id, recordPredatesSpaces for a link record written
before the space was kept, teamLinkedHere in the publish transition.

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

* test(cli): keep projectLink's real exports in the publishProject mock (SECOPS-2048)

publishProject now imports PERSONAL_SPACE from projectLink; the mock
replaced the whole module, so the constant was missing.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:00:42 +00:00
WaterrrForeverandClaude Opus 5.5 4202462ca5 fix(cli): print project file names in check's stderr notes as visible escapes (#8485)
* fix(cli): print project file names in check's stderr notes as visible escapes (SECOPS-2752)

The text_over_face note printed the unread video's reason raw, and that
reason carries the project's file name and the decoder's own error text,
so a video named with ESC, BEL or CR could drive the terminal during
`hyperframes check`. The same check output path had four more lines
printing project-derived text raw: the project-lock waiting notice (the
holder is read from the project's lock file), the "images did not load"
warning (image addresses read back from the page), the font-localization
warning (the injector's error text), and the saved report's Revision line
(read from the project's history).

Each now goes through the existing @hyperframes/core terminal-text helper:
terminalLines where the text is an error message whose line breaks are
kept, terminalText for one-line notices. Plain names print as before.

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

* fix(cli): keep check's escape fix within the comment ratchet and testable on Windows (SECOPS-2752)

Drop the three comment lines the escape fix added to source files, which
raised their comment share. The text_over_face hostile-name test now feeds
the name through the candidate and an injected reader, so it runs on every
platform; the real-reader case, which needs a file named with control
characters, runs everywhere but Windows, whose file names cannot hold them.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:56:27 +00:00
Miguel Ángel fbd1cd4bcf fix(cli): cloudrun and lambda say a usage error before loading their cloud SDK (#8510) 2026-11-22 15:35:47 +00:00
Miguel Ángel f38a4e3675 test(cli): the diagnostic test's ffmpeg stand-in answers the demuxer listing, writing no file (#8515) 2026-11-22 15:21:39 +00:00
Miguel Ángel 20a91dd5f1 test(cli): the sign-in return test waits for each window's navigation instead of one second (#8507) 2026-11-22 14:17:09 +00:00
Miguel Ángel 479081658b chore: release v0.9.81 (#8493)
* chore: release v0.9.81

* chore: release v0.9.81 notes list the changes merged since the draft

* chore: release v0.9.81 notes list the changes merged since the draft
2026-11-22 13:56:25 +00:00
Miguel Ángel 680c9a5402 test(cli): run the PowerShell round-trip names in one shell so slow Windows runners stay in time (#8498) 2026-11-22 12:43:29 +00:00
Miguel Ángel 0b73069201 fix(studio): paste and duplicate write only allowed markup unless it comes from the same file (#8483)
* refactor(core): keep the SVG element and attribute allowlist in its own module

* test(studio): clipboard writes refuse markup a scripting preview reads differently

* fix(studio): paste and duplicate write only allowed markup unless it comes from the same file

* test(core): inline SVG with its namespace declarations pastes from another file

* fix(core): paste keeps SVG namespace declarations and checks xlink:href as a link

* chore(cli): regenerate the media-use SVG sanitizer from its moved allowlist
2026-11-22 12:05:34 +00:00
Miguel Ángel aa262c244d test(cli): the doctor output test no longer runs every machine check (#8497)
* test(cli): the doctor output test prints rows without running every machine check

* test(cli): call the row printer directly in the doctor output test
2026-11-22 11:53:42 +00:00
Miguel Ángel 678fda62cd fix(cli): a crashed or encoder-failed render tells Desktop its code (#8434)
* test(cli): a render's encoder failure or crash names its code for Desktop

* fix(cli): a crashed or encoder-failed render tells Desktop its code

* fix(cli): an encoder failure is named by its encoder class before a file error

* test(cli): a bad source clip or a full disk is not named an encoder exit

* fix(cli): only the encoder's own failures are named encoder exits, file codes first

* fix(cli): a usage error or a --json render keeps stdout free of the code line
2026-11-22 06:33:34 +00:00
terencecho d09a1809c1 fix(share): escape terminal output and validate saved owner addresses (#8341)
* fix(share): escape terminal output and validate saved owner addresses

* fix(cli): pass caught share errors through the terminal sanitizer
2026-11-22 05:38:44 +00:00
Michael Wang 2a24357338 fix(media-use): a manifest path naming a share or another root is refused without looking at it (#8437) 2026-11-22 02:13:04 +00:00
Miguel Ángel 826b4fcc69 test(cli): a missed late SVG image in snapshot says which wait came up short (#8435) 2026-11-22 02:04:44 +00:00
Michael Wang 0495a57f76 fix(media-use): refuse links under .media before reserving, writing or recording (#8327)
* fix(media-use): refuse links under .media before reserving, writing or recording

A received project could carry links at .media, at a type folder, at the
next asset name or its .tmp name, or at the preferences store's temp
names, and resolve or prefs record wrote through them to files outside
the project.

- ownMediaDir now checks every folder down to the type folder, making
  each one level at a time, before the lock, the allocator, the record
  append or a project preference write touches anything inside it.
- The allocator ignores ids past nine digits, so a planted huge id can't
  push it back onto a name the project holds, and it skips any name that
  already exists.
- The asset writers and the LUT .tmp writers create new files only.
- The preferences store writes through replaceFile, a random temp name
  created exclusively and renamed into place.

Both copies of manifest.mjs and prefs-store.mjs change together.

* test(media-use): read the preferences file through one no-follow handle

The test checked the file's type and then read it by path, which CodeQL
reports as a check-then-use race. Open it once without following a link
and check and read through that handle.

* fix(media-use): keep a failed write's error when replaceFile can't remove its temp file

The preferences store now writes through replaceFile. Its old write made
temp cleanup best-effort, so a cleanup error never hid the write error,
and the store's tests guard that. replaceFile now does the same.

* fix(media-use): leave freezeUrl's write as it was

CodeQL's http-to-file-access rule flags every write of downloaded bytes,
and main already carries that alert on this line. Adding the wx flag only
re-keyed it as new. The reserved name freezeUrl writes is already checked
free in a checked folder, so the line goes back to main's text; copying a
local file keeps COPYFILE_EXCL.

* Revert "fix(media-use): leave freezeUrl's write as it was"

This reverts commit 1427e73ec2.
2026-11-22 01:59:05 +00:00
Miguel Ángel 1aa4a785c8 chore: release v0.9.80 (#8414)
* chore: release v0.9.80

* chore: release v0.9.80 notes list the changes merged since the draft

* chore: release v0.9.80 notes list the changes merged since the draft
2026-11-22 01:40:53 +00:00
Miguel Ángel ec1839e4a1 fix(media-use): a project manifest's provider claim never writes a sound credit (#8410) 2026-11-21 23:34:05 +00:00
Michael Wang 4a5a5eb27e fix(cli): show copy file names in check progress lines as visible text (#8407)
The still-copying heartbeat that check prints while it makes
browser-playable copies now passes the video's file name through
terminalText, so control characters show as escapes and the line stays
on one line. check --prepare-media prints a failed file's name the same
way, while the reason keeps its own lines.

The printed-text wiring test now also covers the media-copy progress
lines in checkBrowser.ts.
2026-11-21 23:03:59 +00:00
Miguel Ángel 8127bb8856 fix(cli): the compile cache lives only in the private HyperFrames cache folder (#8401) 2026-11-21 22:08:17 +00:00
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