@adhdev/daemon-core 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.mjs CHANGED
@@ -27406,6 +27406,8 @@ var SpecDriver = class {
27406
27406
  this.lastBusyAt = Date.now();
27407
27407
  this.lastBusyState = evState;
27408
27408
  this.cancelIdleHold();
27409
+ this.completionIdleKey = "";
27410
+ this.completionIdleFirstSeenAt = 0;
27409
27411
  this.scheduleBusyExpiry(busyWakeMs);
27410
27412
  } else if (evState.id !== this.currentStateId && evState.id !== "busy") {
27411
27413
  if (evState.id !== (this.spec.default_state ?? "idle")) {
@@ -27657,7 +27659,7 @@ function guessExt(mime) {
27657
27659
  }
27658
27660
  function extractMatchedRules(ev) {
27659
27661
  if (!Array.isArray(ev.trace)) return [];
27660
- return ev.trace.filter((t) => t.matched === true || t.kind === "state_match").map((t) => t.rule ?? t.stateId ?? t.id ?? String(t)).filter(Boolean);
27662
+ return ev.trace.filter((t) => t.kind === "state_match").map((t) => t.text).filter(Boolean);
27661
27663
  }
27662
27664
 
27663
27665
  // src/providers/spec/native-history-executor.ts