@adhdev/daemon-core 0.8.0 → 0.8.1

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.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "ADHDev local session host core — 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.8.0",
3
+ "version": "0.8.1",
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",
@@ -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
  }