Skip to content

fix(registry): add missing vscode-theme-visualizer to registry.json#1503

Open
Dashsoap wants to merge 1 commit into
heygen-com:mainfrom
Dashsoap:fix/registry-missing-vscode-theme-visualizer
Open

fix(registry): add missing vscode-theme-visualizer to registry.json#1503
Dashsoap wants to merge 1 commit into
heygen-com:mainfrom
Dashsoap:fix/registry-missing-vscode-theme-visualizer

Conversation

@Dashsoap

Copy link
Copy Markdown

What

Add the missing vscode-theme-visualizer entry to the auto-generated top-level registry/registry.json.

Why

The vscode-theme-visualizer example ships a complete manifest at registry/examples/vscode-theme-visualizer/registry-item.json (added in v0.6.104), along with its index.html, DESIGN.md, assets/, render-entries/, and scripts/. But it was never added to registry/registry.json.

The CLI resolver only knows about items listed in the top-level manifest — resolveItemWithDependencies() in packages/cli/src/registry/resolver.ts does entries.find((e) => e.name === name) and throws Item "..." not found in registry when there's no match. So hyperframes add vscode-theme-visualizer fails even though the item is fully present on disk.

All 9 example directories that carry a registry-item.json should appear in registry.json; before this change only 8 did:

registry examples in manifest: 8   ← missing vscode-theme-visualizer
example dirs with a manifest:  9

How

Added the one missing entry in the example block, right after nyt-graph:

{
  "name": "vscode-theme-visualizer",
  "type": "hyperframes:example"
},

This is exactly what re-running scripts/generate-registry-items.ts produces — its scanExistingItems() fallback picks up every example dir that has a registry-item.json, so the hand-applied entry matches the generator output and the manifest is back in sync (9/9).

Test plan

  • Unit tests added/updated
  • Manual testing performed — confirmed JSON.parse succeeds, item count 130 → 131, and the manifest's hyperframes:example set now exactly equals the set of example dirs that have a registry-item.json (was 8/9, now 9/9). Verified the entry matches what generate-registry-items.ts would emit.
  • Documentation updated (if applicable)

@miguel-heygen

Copy link
Copy Markdown
Collaborator

@Dashsoap sign the commit to merge it pls

The vscode-theme-visualizer example ships a complete
registry/examples/vscode-theme-visualizer/registry-item.json (added in
v0.6.104) but was never added to the auto-generated top-level
registry/registry.json. The CLI resolver only knows items listed in
registry.json, so `hyperframes add vscode-theme-visualizer` fails with
"not found in registry" even though the item is fully present on disk.

This is exactly the output of re-running
scripts/generate-registry-items.ts (its scanExistingItems() fallback
picks up every example dir that has a registry-item.json), so the
manifest is now back in sync with the 9 example dirs on disk.
@Dashsoap Dashsoap force-pushed the fix/registry-missing-vscode-theme-visualizer branch from 5d11e30 to 2775573 Compare June 16, 2026 14:41
@Dashsoap

Copy link
Copy Markdown
Author

Done — the commit is now signed and shows as Verified. Ready to merge whenever you get a chance. Thanks for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants