fix: replace uuids with displaynames rather than shas

This commit is contained in:
Richard Yu
2025-09-03 22:06:12 -07:00
parent bd48649604
commit 9bd3d5cbe6
4 changed files with 87 additions and 53 deletions

View File

@@ -972,6 +972,16 @@ export class ComfyApp {
async registerNodes() {
// Load node definitions from the backend
const defs = await this.#getNodeDefs()
// Load filename mappings alongside node definitions for better UX
import('@/services/fileNameMappingService').then(
({ fileNameMappingService }) => {
fileNameMappingService.ensureMappingsLoaded('input').catch(() => {
// Silently fail - lazy loading will still work
})
}
)
await this.registerNodesFromDefs(defs)
await useExtensionService().invokeExtensionsAsync('registerCustomNodes')
if (this.vueAppReady) {