@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.mjs
CHANGED
|
@@ -12633,6 +12633,15 @@ var AgentStreamPoller = class {
|
|
|
12633
12633
|
cdpManagerKey: ideType,
|
|
12634
12634
|
instanceKey: `ide:${ideType}`
|
|
12635
12635
|
});
|
|
12636
|
+
const activeSessionId2 = agentStreamManager.getActiveSessionId(parentSessionId);
|
|
12637
|
+
if (!activeSessionId2 || enabledExtTypes.size === 1) {
|
|
12638
|
+
await agentStreamManager.setActiveSession(
|
|
12639
|
+
cdp,
|
|
12640
|
+
parentSessionId,
|
|
12641
|
+
extInstance.getInstanceId()
|
|
12642
|
+
);
|
|
12643
|
+
LOG.info("AgentStream", `Auto-activated enabled extension: ${extType} (${ideType})`);
|
|
12644
|
+
}
|
|
12636
12645
|
}
|
|
12637
12646
|
LOG.info("AgentStream", `Extension added: ${extType} (enabled for ${ideType})`);
|
|
12638
12647
|
}
|