mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
85ea33f367
- Fix stale docstring in `fetchRemoteTemplate`: said "examples/<id>" after the rename, actual path is "registry/examples/<id>" - Add regression test pinning TEMPLATES_DIR and MANIFEST_FILENAME so accidentally reverting either constant fails a test instead of silently breaking init for every installed CLI - Export the two constants from remote.ts for test visibility (no public API change — internal module only) - Add a clarifying comment on getStaticTemplateDir / getSharedTemplateDir in init.ts noting these resolve to the CLI's bundled templates dir, not the newly-relocated registry/examples/ dir fetched remotely. Prevents future-reader confusion now that root templates/ is gone No behavior change. 2 new tests, 57 CLI tests passing (was 55, +2). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>