@adhdev/daemon-core 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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/session-host-core",
3
- "version": "0.9.51",
3
+ "version": "0.9.52",
4
4
  "description": "ADHDev local session host core \u2014 session registry, protocol, buffers",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.9.51",
3
+ "version": "0.9.52",
4
4
  "description": "ADHDev daemon core \u2014 CDP, IDE detection, providers, command execution",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -193,6 +193,9 @@ export async function handleSetProviderSourceConfig(h: CommandHelpers, args: any
193
193
  });
194
194
  loader.reload();
195
195
  loader.registerToDetector();
196
+ const refreshedInstances = h.ctx.instanceManager
197
+ ? h.ctx.instanceManager.refreshProviderDefinitions((providerType) => loader.resolve(providerType))
198
+ : 0;
196
199
  await h.ctx.onProviderSourceConfigChanged?.();
197
200
 
198
201
  LOG.info(
@@ -200,7 +203,7 @@ export async function handleSetProviderSourceConfig(h: CommandHelpers, args: any
200
203
  `[set_provider_source_config] mode=${sourceConfig.sourceMode} explicitProviderDir=${sourceConfig.explicitProviderDir || '-'} userDir=${sourceConfig.userDir}`,
201
204
  );
202
205
 
203
- return { success: true, reloaded: true, ...sourceConfig };
206
+ return { success: true, reloaded: true, refreshedInstances, ...sourceConfig };
204
207
  }
205
208
 
206
209
  // ─── Extension Script Execution (Model/Mode) ─────