@adhdev/daemon-core 0.5.23 → 0.5.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.5.23",
3
+ "version": "0.5.24",
4
4
  "description": "ADHDev daemon core — CDP, IDE detection, providers, command execution",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -188,6 +188,11 @@ export class DaemonCommandHandler implements CommandHelpers {
188
188
  private extractIdeType(args: any): string | undefined {
189
189
  // Also accept explicit ideType from args (P2P input, agentType for extensions)
190
190
  if (args?.ideType) {
191
+ // UUID → managerKey via instanceIdMap (P2P sends UUID instance IDs)
192
+ const mappedKey = this._ctx.instanceIdMap?.get(args.ideType);
193
+ if (mappedKey) {
194
+ return mappedKey;
195
+ }
191
196
  // Exact match first
192
197
  if (this._ctx.cdpManagers.has(args.ideType)) {
193
198
  return args.ideType;