@adhdev/daemon-standalone 1.0.28-rc.17 → 1.0.28-rc.18

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
@@ -33262,10 +33262,10 @@ var require_dist3 = __commonJS({
33262
33262
  }
33263
33263
  function getDaemonBuildInfo() {
33264
33264
  if (cached2) return cached2;
33265
- const commit = readInjected(true ? "9452bd039720355425e62fc7469808a0dda3ab80" : void 0) ?? "unknown";
33266
- const commitShort = readInjected(true ? "9452bd03" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
33267
- const version2 = readInjected(true ? "1.0.28-rc.17" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
33268
- const builtAt = readInjected(true ? "2026-07-27T01:42:48.643Z" : void 0);
33265
+ const commit = readInjected(true ? "2ab22815548d9465b9f6a28a058049ba230dfb61" : void 0) ?? "unknown";
33266
+ const commitShort = readInjected(true ? "2ab22815" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
33267
+ const version2 = readInjected(true ? "1.0.28-rc.18" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
33268
+ const builtAt = readInjected(true ? "2026-07-27T05:52:27.345Z" : void 0);
33269
33269
  cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
33270
33270
  return cached2;
33271
33271
  }
@@ -62212,7 +62212,10 @@ ${cont}` : cont;
62212
62212
  const session = this.runParseSession(snap);
62213
62213
  if (!session) return;
62214
62214
  const { status, messages } = session;
62215
- const modal = session.activeModal ?? session.modal ?? null;
62215
+ const rawModal = session.activeModal ?? session.modal ?? null;
62216
+ const modal = rawModal && Array.isArray(rawModal.buttons) && rawModal.buttons.some(
62217
+ (button) => typeof button === "string" && button.trim().length > 0
62218
+ ) ? rawModal : null;
62216
62219
  const parsedStatus = session.parsedStatus ?? null;
62217
62220
  const parsedMessages = normalizeCliParsedMessages(messages, {
62218
62221
  scope: null,
@@ -72779,7 +72782,7 @@ ${effect.notification.body || ""}`.trim();
72779
72782
  });
72780
72783
  }
72781
72784
  }
72782
- if (isGeneratingLikeStatus(selectedStatus) && selectedTranscriptAuthority === "provider" && !hasNonEmptyModalButtons(activeModal) && hasFinalVisibleAssistantMessage(selectedMessages)) {
72785
+ if (isGeneratingLikeStatus(selectedStatus) && selectedTranscriptAuthority === "provider" && !hasNonEmptyModalButtons(activeModal) && hasFinalVisibleAssistantMessage(selectedMessages) && !hasTrailingToolActivityAfterFinalAssistant(selectedMessages) && !hasTrailingToolActivityAfterFinalAssistant(returnedMessages)) {
72783
72786
  selectedStatus = "idle";
72784
72787
  selectedMessages = finalizeStreamingMessagesWhenIdle(selectedMessages, selectedStatus);
72785
72788
  messageSource = {