@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/package.json
CHANGED
|
@@ -121,6 +121,15 @@ export class AgentStreamPoller {
|
|
|
121
121
|
cdpManagerKey: ideType,
|
|
122
122
|
instanceKey: `ide:${ideType}`,
|
|
123
123
|
});
|
|
124
|
+
const activeSessionId = agentStreamManager.getActiveSessionId(parentSessionId);
|
|
125
|
+
if (!activeSessionId || enabledExtTypes.size === 1) {
|
|
126
|
+
await agentStreamManager.setActiveSession(
|
|
127
|
+
cdp,
|
|
128
|
+
parentSessionId,
|
|
129
|
+
extInstance.getInstanceId(),
|
|
130
|
+
);
|
|
131
|
+
LOG.info('AgentStream', `Auto-activated enabled extension: ${extType} (${ideType})`);
|
|
132
|
+
}
|
|
124
133
|
}
|
|
125
134
|
LOG.info('AgentStream', `Extension added: ${extType} (enabled for ${ideType})`);
|
|
126
135
|
}
|