mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-23 11:29:54 +00:00
docs(cli): pin npx in unattended runs and verify the render (#7467)
In a job with no TTY nothing prompts: the CLI exits 2 and names `--yes`, and `npx` skips its own "Ok to proceed?" whenever stdin is not a terminal or CI is detected. What an unversioned `npx hyperframes` still does is fetch the latest release on every cold cache, so two jobs that start together can collide in npm's cache (`_cacache` for the fetch, `_npx` for the install: EEXIST / ENOTEMPTY, a retry succeeds), and a new release silently changes what the same command renders. The hyperframes-cli skill now routes no-TTY jobs to the project's scaffolded `npm run` scripts (each already `npx --yes hyperframes@X.Y.Z`) or a pinned `npx --yes`, never bare `npx hyperframes`, and the loop's render step checks `data-width`/`data-height` as well as `data-duration`. The new references/unattended.md holds the detail and says why interactive flows (`update`, reverse-any-video) float to `@latest` while unattended jobs pin. The CLI reference page gets the matching paragraph. The SKILL.md budget goes up 256 B per the file's +N-comment pattern, and skills-manifest.json is regenerated.
This commit is contained in:
@@ -18,7 +18,8 @@ export const CORE_SKILLS = {
|
||||
// +64 B for the lane pointer to format.md.
|
||||
hyperframes: 7712,
|
||||
// +256 B for the `_meta.updateNotice` line: the agent relays it, the person updates.
|
||||
"hyperframes-cli": 7776,
|
||||
// +256 B for the unattended pointer: a script or CI job with no TTY pins the release.
|
||||
"hyperframes-cli": 8032,
|
||||
"hyperframes-registry": 5472,
|
||||
"media-use": 5472,
|
||||
figma: 7520,
|
||||
|
||||
Reference in New Issue
Block a user