Commit Graph
4618 Commits
Author SHA1 Message Date
Miguel Angel Simon Sierra 214bced7de test(studio): use the audio lane owner label 2026-09-21 14:27:50 -04:00
Miguel Angel Simon Sierra 3d2dce246f fix(studio): align audio lane expansion with layout state 2026-09-21 14:13:32 -04:00
Miguel Angel Simon Sierra 066bb98fb1 test(studio): assert shared lane owner label 2026-09-21 13:31:05 -04:00
Miguel Angel Simon Sierra 48246eb33f test(studio): keep audio lane fixtures drawable 2026-09-21 13:18:04 -04:00
Miguel Angel Simon Sierra 5b67b0a533 test(studio): preserve ruler half pixel alignment 2026-09-21 12:06:49 -04:00
Miguel Angel Simon Sierra efd2e2c30f fix(studio): remove stale track header test prop 2026-09-21 11:54:38 -04:00
Miguel Angel Simon Sierra f4f9a56891 fix(studio): align track header test callback 2026-09-21 11:42:20 -04:00
Miguel Angel Simon Sierra adf7d73814 fix(studio): remove stale lane test import 2026-09-21 11:32:48 -04:00
Miguel Angel Simon Sierra 9fa0d88a31 fix(studio): align timeline lane test contract 2026-09-21 11:29:51 -04:00
Miguel Angel Simon Sierra 10fe462e40 fix(studio): keep audio lanes open across selection 2026-09-21 11:22:26 -04:00
Miguel Angel Simon Sierra d992255b24 fix(studio): restore composable timeline exports 2026-09-21 11:09:52 -04:00
Miguel Angel Simon Sierra ceb5b4b7de style(studio): format timeline cleanup 2026-09-21 10:57:23 -04:00
Miguel Angel Simon Sierra 4ab6d73879 fix(studio): remove unused timeline header export 2026-09-21 10:54:41 -04:00
Miguel Angel Simon Sierra dd1bc9629b fix(studio): clear rebase lint leftovers 2026-09-21 10:50:39 -04:00
Miguel Angel Simon Sierra fe99d5a04d fix(studio): remove unused keyframe callback plumbing 2026-09-21 10:46:32 -04:00
Miguel Angel Simon Sierra e711b695b8 test(studio): cover shared audio lane labels 2026-09-21 10:46:03 -04:00
Miguel Angel Simon Sierra cae707fce8 fix(studio): remove stale expansion tests and helpers 2026-09-21 10:46:00 -04:00
Miguel Angel Simon Sierra 2e82cd9ce1 fix(studio): pass animation state to timeline layout 2026-09-21 10:45:58 -04:00
Miguel Angel Simon Sierra d71663ccf1 fix(studio): remove stale timeline model inputs 2026-09-21 10:45:53 -04:00
Miguel Angel Simon Sierra a4d7195933 fix(studio): restore automation disclosure state 2026-09-21 10:45:49 -04:00
Miguel Angel Simon Sierra 21f14338d1 fix(studio): remove inline keyframe expansion rows 2026-09-21 10:45:46 -04:00
Miguel Angel Simon Sierra 0757ed24d8 fix(studio): resolve provider rebase without clip auto expansion 2026-09-21 10:45:43 -04:00
Miguel Angel Simon Sierra e05aea6099 test(studio): remove obsolete expanded fixture assertions 2026-09-21 10:45:39 -04:00
Miguel Angel Simon Sierra d072ba17a3 fix(studio): restore audio disclosure state 2026-09-21 10:45:38 -04:00
Miguel Angel Simon Sierra 64d24108df refactor(studio): keep audio lanes while removing clip expansion 2026-09-21 10:44:36 -04:00
Miguel Angel Simon Sierra e5576faa65 fix(studio): keep automation lanes mounted without disclosure 2026-09-21 10:44:35 -04:00
Miguel Angel Simon Sierra 5f7263d1fe fix(studio): remove stale timeline test helpers 2026-09-21 10:44:34 -04:00
Miguel Angel Simon Sierra 079d50e4f3 test(studio): update timeline removal expectations 2026-09-21 10:44:33 -04:00
Miguel Angel Simon Sierra ec57f1da39 fix(studio): clear fallow findings in timeline cleanup 2026-09-21 10:41:44 -04:00
Miguel Angel Simon Sierra a4dea2e324 fix(studio): satisfy removal and format guards 2026-09-21 10:41:43 -04:00
Miguel Angel Simon Sierra 53a5a58685 test(studio): assert nested row identity by key 2026-09-21 10:41:42 -04:00
Miguel Angel Simon Sierra 5073869ab2 test(studio): remove expansion lane assertions 2026-09-21 10:41:42 -04:00
Miguel Angel Simon Sierra 369b4f3c9e test(studio): type nested timeline fixture broadly 2026-09-21 10:41:41 -04:00
Miguel Angel Simon Sierra ff4f966679 refactor(studio): remove expansion telemetry and prove stable nested rows 2026-09-21 10:41:40 -04:00
Miguel Angel Simon Sierra 044d91e49f fix(studio): keep timeline keyboard actor mounted 2026-09-21 10:41:39 -04:00
Miguel Angel Simon Sierra 69c603cf0d refactor(studio): keep legacy fixture state out of rendered rows 2026-09-21 10:41:39 -04:00
Miguel Ángel 0641921558 feat(studio): expose composable timeline parts (#4229)
* feat(studio): expose composable timeline parts

* refactor(studio): split timeline overlay parts

* fix(studio): resolve timeline fallow findings

* fix(studio): clarify timeline part contracts

* style(studio): trim timeline drag comment
2026-09-21 09:03:50 -04:00
Miguel Ángel 952e9228b5 fix(cli): bound capture runs and degrade WebGL navigation (#4215)
* fix(cli): bound capture runs and degrade WebGL navigation

* fix(cli): keep partial capture on deadline

* fix(cli): persist partial capture artifacts

* fix(cli): reduce capture phase complexity

* chore(cli): tighten capture comments

* fix(cli): restore post-capture phase calls

* fix(cli): parse extracted scripts before filtering

* fix(cli): remove next data through dom filter

* refactor(cli): move capture attempt into module

* refactor(cli): extract capture phases into modules

* refactor(cli): split navigation checks

* refactor(cli): deduplicate capture phase modules

* fix(cli): preserve bounded capture output on deadline

* fix(cli): secure capture artifact writes

* fix(cli): close remaining capture file alerts

* fix(cli): mark deadline captures unsuccessful

* refactor(cli): centralize capture phase schema

* style(cli): format capture watchdog test

* docs(cli): condense capture attempt header
2026-09-21 02:52:54 -04:00
Vance Ingalls c797f54542 chore: release v0.8.58 (#4242) v0.8.58 2026-09-20 20:14:03 -07:00
Vance IngallsandClaude Code 5a8ee663f7 fix(studio): report a rejected read as a network reason, not an open failure (#4240)
* fix(studio): report a rejected read as a network reason, not an open failure

`stage: "open"` is documented as `openComposition` threw — an unparseable
composition, or OOM. Every event in that bucket on 0.8.56 and 0.8.57 carries a
fetch-rejection message instead: "Failed to fetch" (28 users / 11 users), "Load
failed", "NetworkError when attempting to fetch resource.".

The cause is one missing catch. `readProjectFileOptional` awaits `fetch` with no
try/catch, so a rejected request escapes the function and is caught by the
effect's outer `.catch` — the handler written for `openComposition`. The read
path has a five-member reason union precisely so this class of failure is
diagnosable, and the one case that never produces a response was the case
outside it.

That made the largest SDK-session failure class in Studio (2.9% of session users
on 0.8.56, 2.3% on 0.8.57) unaddressable: you cannot fix a network failure while
it is reported as a composition that failed to parse.

Now `readProjectFileOptional` catches its own rejection and returns
`reason: "network"`, so it lands in `stage: read` with everything else, and
`stage: open` means only what its comment says.

Telemetry only. Nothing branches on the stage and no user-facing behaviour
changes. Fifth split of this shape, after `ineligible_operation` (v0.8.49),
`stage: read` (v0.8.51) and `block_detail` (#4214).

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

* test(docs): point the catalog tab-row test at the page gutter #4238 moved the inset to

`catalog-detail.test.ts` asserted the exact strings that #4238 deleted:
`.hf-ve-tabs-row { margin: 20px 0 0 16px; }` and `.hf-ve-body { padding: 2rem 0 0 16px; }`.
That PR removed both insets deliberately — its own comment says "the page gutter is
the page's job, and a second 16px here put everything below the stage on a
different left edge from the title, install block and stage above it" — and
restored the gutter on `#content-area` in `docs/custom.css` instead. The test was
left asserting the old mechanism, so main has been red on it since, unnoticed
because the `Test` workflow does not run for a docs-only change.

The invariant did not change: this content is still inset from the page edge. Only
the mechanism did, so the test now asserts both halves of it — the two rules carry
no inset of their own, and the gutter standing in for them is still present, at both
its values. Asserting only the first would keep passing if the gutter were deleted
outright, which is the regression the test exists to catch; both mutations were
checked and both fail.

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

---------

Co-authored-by: Claude Code <noreply@anthropic.com>
2026-09-20 19:40:06 -07:00
Miguel Ángel c09594fef8 fix(docs): restore the sidebar gutter on catalog pages (#4238)
* fix(docs): restore the sidebar gutter on catalog detail pages

* fix(docs): align the catalog tab row and panes with the page gutter
2026-09-20 21:17:09 -04:00
Miguel Ángel b4787082b2 fix(studio): keep narrow timeline headers readable (#4232)
* fix(studio): hide narrow timeline header labels

* test(studio): cover narrow automation headers

* test(studio): cover narrow automation headers

* test(studio): assert narrow lane tooltip

* style(studio): format narrow header changes

* test(studio): cover narrow speed lane labels

* fix(studio): truncate timeline header names

* test(studio): remove stale header room plumbing
2026-09-20 19:49:29 -04:00
Miguel Ángel e86a530f0b fix(cli): update Puppeteer browser dependencies (#4233)
Bump @puppeteer/browsers to ^3.2.2 and puppeteer-core to ^25.10.0 so Chrome spawns detached only off Windows (upstream puppeteer #15415). Lock regenerated on top of main. Fixes #4028.
2026-09-20 18:08:16 -04:00
Miguel Ángel f92d017b99 feat(cli): add timeline editing verbs (#4221)
* feat(cli): add timeline editing verbs

* chore: satisfy fallow complexity gate

* test(cli): cover snap rounding at known fps

* test(cli): cover snap rounding at known fps

* test(cli): cover snap rounding at known fps

* test(cli): cover snap rounding at known fps

* fix(cli): derive split ids from stable refs

* fix(cli): remove timeline gate blockers

* fix(cli): close freshness and output gate gaps

* fix(cli): close remaining timeline review findings

* refactor(cli): simplify mutation decision flow

* refactor(cli): split trim and apply paths

* refactor(cli): isolate trim validation

* fix(cli): satisfy timeline lint gate

* style: format timeline mutation files

* fix(cli): preserve mutation result types

* fix(cli): close timeline receipt and nested bounds gaps

* fix(studio): rollback writes that fail during write

* fix(cli): bound moved clips by end time
2026-09-20 18:04:13 -04:00
Miguel Ángel 4ff4435e1d feat(studio): export player handle for hosts (#4227) 2026-09-20 17:47:35 -04:00
Miguel Ángel 2fb6f6987e test(studio): close shadow reload regression gaps (#4223)
* test(studio): close shadow reload regression gaps

* chore: refresh follow-up checks

* test: keep follow-up free of unused exports

* test(studio): distinguish root timeline selection
2026-09-20 17:15:29 -04:00
Vance Ingalls f09ea7af3b chore: release v0.8.57 (#4231) v0.8.57 2026-09-20 14:13:17 -07:00
Miguel Ángel e48eac7f5e feat(studio): track preview time to first frame (#4226) 2026-09-20 17:10:41 -04:00
Vance IngallsandClaude Code f476e78cc8 feat(studio): say which project this Studio is serving when a read 404s (#4228)
A tab whose project the running Studio cannot resolve failed every composition
read with a 404 and said nothing. `useSdkSession` recorded the failure to
telemetry and returned, so the editor looked normal while every edit silently
took the server path instead of the SDK — nothing landed, and nothing said
why. The `out-fb1` timeline sat in that state for an hour and a half, through
a reload that passed mount validation.

The banner names both sides: "This Studio is serving X. This tab was opened
for Y." That is the whole truth in the host that produces these 404s. The
CLI-embedded Studio serves exactly one project, and `hyperframes preview`
reuses port 3002 when the folder matches, so starting it on a different
folder takes the port out from under an open tab — and the project the old
tab was pointed at is untouched on disk. "No longer available" would be
false: nothing was lost, and the same timeline shows the project return.

With several projects served (the Vite host) a rename cannot be told from a
deletion, so that wording claims no cause.

`reportReadFailure` answers which project a failed read identifies. Only a 404
does; a 5xx, a dropped request, an unexpected body or an empty file say nothing
about which project the server serves, so none of them claim it.

Also fixes a smaller lie on the same path: `useFileTree` parsed the 404's JSON
body without checking `r.ok`, so the failure took the success branch and
recorded an empty tree — and an empty provenance snapshot for a project that
was never read — which then travelled out in bug reports.

The 404s continue; this ends the silent part, not the failure.

Co-authored-by: Claude Code <noreply@anthropic.com>
2026-09-20 13:53:52 -07:00
Vance IngallsandClaude Code 74af8b4279 fix(studio): validate the hash on hashchange, and stop pushing dead ids (#4225)
The mount path has validated its hash since v0.8.52. The hashchange path did
not — it adopted whatever id the URL offered, so changing projects walked
straight around the mount fix and re-armed the same failure: every later
/api/projects/<id>/... request 404s for the life of the tab, including the
composition read that opens the SDK session.

Same tri-state as mount: ok adopts, unknown adopts (a transient check failure
must not rewrite a hash that is probably fine), missing falls back.

Three details that are not obvious from the diff:

- **The race guard reads the hash, not a counter.** This effect re-registers on
  every projectId change, so a `generation` in that closure resets and an
  in-flight verdict from the previous registration would read as current —
  adopting a project the user already navigated away from. The hash cannot go
  stale, so it is the ground truth to compare against after the await.

- **The fallback re-fetches the project list.** tryConnect has `data.projects`
  in scope; this path does not, and caching the mount value would be stale in
  exactly the long-lived-tab case this exists for.

- **Both rewrites use replaceState.** `location.hash =` pushes, leaving the dead
  id one Back away — and Back would then re-validate, fall back, and push again,
  forever. The mount fallback had this bug too; fixed here as well.

Also emits the hashchange verdict so the `unknown` branch — which deliberately
keeps the hash and is invisible from outside — is countable.

Verified: 7 mutants, 7 caught, including adopting without validating, collapsing
unknown into missing, trusting the verdict over the live hash, memoizing the
fallback list, and pushing on either rewrite. Full studio suite 5,323 passed.

Co-authored-by: Claude Code <noreply@anthropic.com>
2026-09-20 13:53:31 -07:00