Files
James 85ea33f367 refactor: address review feedback on template path rename
- 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>
2026-04-14 03:19:45 +00:00
..
2026-04-14 01:16:06 +02:00
2026-04-14 01:16:06 +02:00