adhdev 0.5.33 → 0.5.35
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/cli/index.js +10 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18540,7 +18540,15 @@ var require_dist = __commonJS({
|
|
|
18540
18540
|
this.pushEvent({ event: "agent:generating_started", chatTitle, timestamp: now });
|
|
18541
18541
|
} else if (agentStatus === "waiting_approval") {
|
|
18542
18542
|
if (!this.generatingStartedAt) this.generatingStartedAt = now;
|
|
18543
|
-
this.pushEvent({
|
|
18543
|
+
this.pushEvent({
|
|
18544
|
+
event: "agent:waiting_approval",
|
|
18545
|
+
chatTitle,
|
|
18546
|
+
timestamp: now,
|
|
18547
|
+
ideType: this.ideType,
|
|
18548
|
+
agentType: this.type,
|
|
18549
|
+
modalMessage: data?.activeModal?.message || data?.modalMessage,
|
|
18550
|
+
modalButtons: data?.activeModal?.buttons || data?.modalButtons
|
|
18551
|
+
});
|
|
18544
18552
|
} else if (agentStatus === "idle" && (this.lastAgentStatus === "generating" || this.lastAgentStatus === "waiting_approval")) {
|
|
18545
18553
|
const duration3 = this.generatingStartedAt ? Math.round((now - this.generatingStartedAt) / 1e3) : 0;
|
|
18546
18554
|
this.pushEvent({ event: "agent:generating_completed", chatTitle, duration: duration3, timestamp: now });
|
|
@@ -30322,7 +30330,7 @@ var init_adhdev_daemon = __esm({
|
|
|
30322
30330
|
path2 = __toESM(require("path"));
|
|
30323
30331
|
crypto2 = __toESM(require("crypto"));
|
|
30324
30332
|
import_chalk = __toESM(require("chalk"));
|
|
30325
|
-
pkgVersion = "0.5.
|
|
30333
|
+
pkgVersion = "0.5.35";
|
|
30326
30334
|
if (pkgVersion === "unknown") {
|
|
30327
30335
|
try {
|
|
30328
30336
|
const possiblePaths = [
|