@adhdev/daemon-standalone 0.9.82-rc.191 → 0.9.82-rc.193

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
@@ -43385,9 +43385,9 @@ ${cont}` : cont;
43385
43385
  const recentInteractiveActivity = this.hasRecentInteractiveActivity(snap, now);
43386
43386
  LOG2.debug(
43387
43387
  "CLI",
43388
- `[${this.provider.type}] settled diagnostics prompt=${JSON.stringify(this.currentTurnScope?.prompt || "").slice(0, 140)} status=${String(status || "")} parsedStatus=${String(parsedStatus || "")} parsedMsgCount=${parsedMessages.length} lastParsedAssistant=${JSON.stringify((lastParsedAssistant?.content || "").slice(0, 120)).slice(0, 160)} responseBuffer=${JSON.stringify((snap.responseBuffer || "").slice(0, 160)).slice(0, 220)}`
43388
+ `[${this.provider.type}] settled diagnostics prompt=${JSON.stringify(this.currentTurnScope?.prompt || "").slice(0, 140)} status=${String(status || "")} parsedStatus=${String(parsedStatus || "")} parsedMsgCount=${parsedMessages.length} lastParsedAssistant=${JSON.stringify((lastParsedAssistant?.content || "").slice(0, 120)).slice(0, 160)} responseBuffer=${JSON.stringify((snap.responseBuffer || "").slice(0, 160)).slice(0, 220)} recentActivity=${recentInteractiveActivity}`
43389
43389
  );
43390
- const shouldHoldGenerating = status === "idle" && this.isWaitingForResponse && !!this.currentTurnScope && !modal && recentInteractiveActivity && !(parsedStatus === "idle" && !!lastParsedAssistant);
43390
+ const shouldHoldGenerating = status === "idle" && this.isWaitingForResponse && !!this.currentTurnScope && !modal && !(parsedStatus === "idle" && !!lastParsedAssistant);
43391
43391
  if (shouldHoldGenerating) {
43392
43392
  this.applyHoldGenerating(ctx);
43393
43393
  return;
@@ -62824,6 +62824,9 @@ ${formatManifestValidationIssues2(validation.issues)}`,
62824
62824
  if (externalNativeFinal && isCliGeneratingLikeStatus(visibleStatus)) {
62825
62825
  visibleStatus = "idle";
62826
62826
  }
62827
+ if (isCliGeneratingLikeStatus(visibleStatus) && this.lastStatus === "idle") {
62828
+ visibleStatus = "idle";
62829
+ }
62827
62830
  const runtime = this.adapter.getRuntimeMetadata();
62828
62831
  this.maybeAppendRuntimeRecoveryMessage(runtime);
62829
62832
  let parsedMessages = Array.isArray(parsedStatus?.messages) ? parsedStatus.messages : [];
@@ -63392,6 +63395,9 @@ ${formatManifestValidationIssues2(validation.issues)}`,
63392
63395
  LOG2.info("CLI", `[${this.type}] external transcript probe: msgCount=${probe.msgCount} lastRole=${probe.lastRole || "none"} lastKind=${probe.lastKind || "none"} contentLen=${probe.contentLen} sourceMtime=${probe.sourceMtimeMs ?? "unknown"} mtimeAge=${probe.mtimeAgeMs ?? "unknown"}ms`);
63393
63396
  pending.loggedTranscriptProbe = true;
63394
63397
  }
63398
+ if (this.type === "antigravity-cli") {
63399
+ return null;
63400
+ }
63395
63401
  return { reason: "missing_final_assistant", terminal: true, allowTimeout: allowMissingAssistantTimeout };
63396
63402
  }
63397
63403
  if (this.provider.requiresFinalAssistantBeforeIdle === true) {