()
| 28 | * uses, and it goes through the registry resolver directly. |
| 29 | */ |
| 30 | export async function listRemoteTemplates(): Promise<RemoteTemplateInfo[]> { |
| 31 | const entries = await listRegistryItems({ type: "hyperframes:example" }); |
| 32 | const items = await loadAllItems(entries); |
| 33 | return items.map((item) => ({ |
| 34 | id: item.name, |
| 35 | label: item.title, |
| 36 | hint: item.description, |
| 37 | bundled: false, |
| 38 | })); |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Download a template into destDir. Delegates to the registry installer. |
nothing calls this directly
no test coverage detected