@adhdev/daemon-core 0.5.33 → 0.5.34

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.5.33",
3
+ "version": "0.5.34",
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",
@@ -125,7 +125,13 @@ export class ExtensionProviderInstance implements ProviderInstance {
125
125
  this.pushEvent({ event: 'agent:generating_started', chatTitle, timestamp: now });
126
126
  } else if (agentStatus === 'waiting_approval') {
127
127
  if (!this.generatingStartedAt) this.generatingStartedAt = now;
128
- this.pushEvent({ event: 'agent:waiting_approval', chatTitle, timestamp: now });
128
+ this.pushEvent({
129
+ event: 'agent:waiting_approval', chatTitle, timestamp: now,
130
+ ideType: this.ideType,
131
+ agentType: this.type,
132
+ modalMessage: data?.activeModal?.message || data?.modalMessage,
133
+ modalButtons: data?.activeModal?.buttons || data?.modalButtons,
134
+ });
129
135
  } else if (agentStatus === 'idle' && (this.lastAgentStatus === 'generating' || this.lastAgentStatus === 'waiting_approval')) {
130
136
  const duration = this.generatingStartedAt ? Math.round((now - this.generatingStartedAt) / 1000) : 0;
131
137
  this.pushEvent({ event: 'agent:generating_completed', chatTitle, duration, timestamp: now });