@adhdev/daemon-core 0.8.0 → 0.8.2
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
|
@@ -12710,6 +12710,15 @@ var AgentStreamPoller = class {
|
|
|
12710
12710
|
cdpManagerKey: ideType,
|
|
12711
12711
|
instanceKey: `ide:${ideType}`
|
|
12712
12712
|
});
|
|
12713
|
+
const activeSessionId2 = agentStreamManager.getActiveSessionId(parentSessionId);
|
|
12714
|
+
if (!activeSessionId2 || enabledExtTypes.size === 1) {
|
|
12715
|
+
await agentStreamManager.setActiveSession(
|
|
12716
|
+
cdp,
|
|
12717
|
+
parentSessionId,
|
|
12718
|
+
extInstance.getInstanceId()
|
|
12719
|
+
);
|
|
12720
|
+
LOG.info("AgentStream", `Auto-activated enabled extension: ${extType} (${ideType})`);
|
|
12721
|
+
}
|
|
12713
12722
|
}
|
|
12714
12723
|
LOG.info("AgentStream", `Extension added: ${extType} (enabled for ${ideType})`);
|
|
12715
12724
|
}
|