fix(cli): previews and every per-user cache follow HYPERFRAMES_CACHE_DIR (#7224)

* fix(cli): a preview's session follows HYPERFRAMES_CACHE_DIR when it is set

* docs(cli): background previews follow HYPERFRAMES_CACHE_DIR

* test(cli): unstub the preview test's env in a block body

* test(cli): clear HYPERFRAMES_CACHE_DIR in the CLI's test home

* fix(cli): registry cache, search model, catalog and catch-up follow HYPERFRAMES_CACHE_DIR

* style(cli): format the media search cache test

* test(cli): compare the model path against an absolute cache folder on Windows too

* fix(cli): both catalog readers treat an empty HYPERFRAMES_CATALOG_ARTIFACT_DIR as unset
This commit is contained in:
Miguel Ángel
2026-11-05 10:56:35 +00:00
committed by GitHub
parent 0180c603d1
commit ecf0e14387
16 changed files with 162 additions and 16 deletions
+4 -1
View File
@@ -2007,7 +2007,10 @@ default 3); `--json` prints the results as JSON.
## Keep the environment healthy
HyperFrames keeps what it downloads and builds (the headless browser, models, optional packages, fonts and project
history) under `~/.cache/hyperframes`. Set `HYPERFRAMES_CACHE_DIR` to an absolute path to keep it somewhere else.
history) under `~/.cache/hyperframes`. Set `HYPERFRAMES_CACHE_DIR` to an absolute path to keep it somewhere else;
background preview records, the registry's manifest cache, the local search model and catalog, and the records of
what an app already showed then move there too, so a sandbox that only lets the CLI write inside your project can
run them.
### `doctor`