Checkpoint current UI and ink integration state

This commit is contained in:
2026-05-18 02:46:02 +02:00
parent 2c54498ee2
commit d7bb175167
384 changed files with 922883 additions and 764 deletions
+6
View File
@@ -20,6 +20,8 @@ export class ModuleRegistry {
return;
}
const alreadyRegistered = this.modules[module.id] === module;
// Store the module
this.modules[module.id] = module;
@@ -39,6 +41,10 @@ export class ModuleRegistry {
this.moduleDependencies.set(module.id, []);
}
if (alreadyRegistered && this.readyPromises[module.id]) {
return;
}
// Create a promise that will resolve when this module is ready
this.readyPromises[module.id] = new Promise((resolve) => {
// Set up a state change listener for this module