@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/dist/index.js CHANGED
@@ -2221,7 +2221,15 @@ var ExtensionProviderInstance = class {
2221
2221
  this.pushEvent({ event: "agent:generating_started", chatTitle, timestamp: now });
2222
2222
  } else if (agentStatus === "waiting_approval") {
2223
2223
  if (!this.generatingStartedAt) this.generatingStartedAt = now;
2224
- this.pushEvent({ event: "agent:waiting_approval", chatTitle, timestamp: now });
2224
+ this.pushEvent({
2225
+ event: "agent:waiting_approval",
2226
+ chatTitle,
2227
+ timestamp: now,
2228
+ ideType: this.ideType,
2229
+ agentType: this.type,
2230
+ modalMessage: data?.activeModal?.message || data?.modalMessage,
2231
+ modalButtons: data?.activeModal?.buttons || data?.modalButtons
2232
+ });
2225
2233
  } else if (agentStatus === "idle" && (this.lastAgentStatus === "generating" || this.lastAgentStatus === "waiting_approval")) {
2226
2234
  const duration = this.generatingStartedAt ? Math.round((now - this.generatingStartedAt) / 1e3) : 0;
2227
2235
  this.pushEvent({ event: "agent:generating_completed", chatTitle, duration, timestamp: now });