@adhdev/daemon-standalone 0.9.51 → 0.9.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -40649,12 +40649,13 @@ ${effect.notification.body || ""}`.trim();
|
|
|
40649
40649
|
});
|
|
40650
40650
|
loader.reload();
|
|
40651
40651
|
loader.registerToDetector();
|
|
40652
|
+
const refreshedInstances = h.ctx.instanceManager ? h.ctx.instanceManager.refreshProviderDefinitions((providerType) => loader.resolve(providerType)) : 0;
|
|
40652
40653
|
await h.ctx.onProviderSourceConfigChanged?.();
|
|
40653
40654
|
LOG2.info(
|
|
40654
40655
|
"Command",
|
|
40655
40656
|
`[set_provider_source_config] mode=${sourceConfig.sourceMode} explicitProviderDir=${sourceConfig.explicitProviderDir || "-"} userDir=${sourceConfig.userDir}`
|
|
40656
40657
|
);
|
|
40657
|
-
return { success: true, reloaded: true, ...sourceConfig };
|
|
40658
|
+
return { success: true, reloaded: true, refreshedInstances, ...sourceConfig };
|
|
40658
40659
|
}
|
|
40659
40660
|
function normalizeProviderScriptArgs(args, scriptName) {
|
|
40660
40661
|
const normalizedArgs = { ...args || {} };
|