@adhdev/daemon-core 0.7.46 → 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.
@@ -25,6 +25,7 @@ export declare class CliProviderInstance implements ProviderInstance {
25
25
  private generatingDebouncePending;
26
26
  private lastApprovalEventAt;
27
27
  private historyWriter;
28
+ private runtimeMessages;
28
29
  readonly instanceId: string;
29
30
  private presentationMode;
30
31
  private providerSessionId?;
@@ -58,7 +59,11 @@ export declare class CliProviderInstance implements ProviderInstance {
58
59
  getAdapter(): ProviderCliAdapter;
59
60
  get cliType(): string;
60
61
  get cliName(): string;
62
+ recordApprovalSelection(buttonText: string): void;
61
63
  private formatMarkerTimestamp;
64
+ private appendRuntimeSystemMessage;
65
+ private mergeConversationMessages;
66
+ private formatApprovalRequestMessage;
62
67
  private promoteProviderSessionId;
63
68
  private probeOpenCodeSessionId;
64
69
  private probeCodexSessionId;
@@ -389,6 +389,14 @@ export interface ResolvedProvider extends ProviderModule {
389
389
  _resolvedVersion?: string;
390
390
  /** Warning when detected version is not in compatibility matrix */
391
391
  _versionWarning?: string;
392
+ /** On-disk provider directory selected by ProviderLoader */
393
+ _resolvedProviderDir?: string;
394
+ /** Script directory selected by compatibility/default resolution */
395
+ _resolvedScriptDir?: string;
396
+ /** scripts.js path or fallback script directory used to build runtime scripts */
397
+ _resolvedScriptsPath?: string;
398
+ /** Why this script selection was chosen */
399
+ _resolvedScriptsSource?: string;
392
400
  }
393
401
  /** Setting variable definition declared by provider */
394
402
  export interface ProviderSettingDef {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/session-host-core",
3
- "version": "0.7.46",
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.7.46",
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
  }