@adhdev/daemon-standalone 0.9.82-rc.206 → 0.9.82-rc.208

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
@@ -62380,6 +62380,8 @@ ${formatManifestValidationIssues2(validation.issues)}`,
62380
62380
  this.lastBusyAt = Date.now();
62381
62381
  this.lastBusyState = evState;
62382
62382
  this.cancelIdleHold();
62383
+ this.completionIdleKey = "";
62384
+ this.completionIdleFirstSeenAt = 0;
62383
62385
  this.scheduleBusyExpiry(busyWakeMs);
62384
62386
  } else if (evState.id !== this.currentStateId && evState.id !== "busy") {
62385
62387
  if (evState.id !== (this.spec.default_state ?? "idle")) {
@@ -62631,7 +62633,7 @@ ${formatManifestValidationIssues2(validation.issues)}`,
62631
62633
  }
62632
62634
  function extractMatchedRules(ev) {
62633
62635
  if (!Array.isArray(ev.trace)) return [];
62634
- return ev.trace.filter((t) => t.matched === true || t.kind === "state_match").map((t) => t.rule ?? t.stateId ?? t.id ?? String(t)).filter(Boolean);
62636
+ return ev.trace.filter((t) => t.kind === "state_match").map((t) => t.text).filter(Boolean);
62635
62637
  }
62636
62638
  var fs11 = __toESM2(require("fs"));
62637
62639
  var os16 = __toESM2(require("os"));