@adhdev/daemon-standalone 0.9.82-rc.226 → 0.9.82-rc.227

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
@@ -60830,7 +60830,7 @@ ${formatManifestValidationIssues2(validation.issues)}`,
60830
60830
  const latestStatus = this.adapter.getStatus({ allowParse: false });
60831
60831
  const latestAutoApproveActive = latestStatus.status === "waiting_approval" && this.shouldAutoApprove();
60832
60832
  const externalNativeFinal = this.getExternalNativeFinalReconciliation(void 0, latestStatus);
60833
- const latestVisibleStatus = externalNativeFinal && isCliGeneratingLikeStatus(latestStatus.status) ? "idle" : latestAutoApproveActive ? "generating" : latestStatus.status;
60833
+ const latestVisibleStatus = externalNativeFinal && isCliGeneratingLikeStatus(latestStatus.status) ? "idle" : latestAutoApproveActive || this.autoApproveBusy ? "generating" : latestStatus.status;
60834
60834
  LOG2.debug("CLI", `[${this.type}] flush attempt: adapterStatus=${latestStatus.status} latestVisible=${latestVisibleStatus} externalNativeFinal=${!!externalNativeFinal} generatingStartedAt=${this.generatingStartedAt} isWaitingForResponse=${!!this.adapter?.isWaitingForResponse} hasPartial=${!!this.adapter.getPartialResponse?.()}`);
60835
60835
  if (latestVisibleStatus !== "idle") {
60836
60836
  LOG2.info("CLI", `[${this.type}] cancelled pending completed (resumed ${latestVisibleStatus})`);
@@ -60926,7 +60926,7 @@ ${formatManifestValidationIssues2(validation.issues)}`,
60926
60926
  this.autoApproveBusy = false;
60927
60927
  this.autoApproveBusyTimer = null;
60928
60928
  this.lastAutoApprovalSignature = "";
60929
- }, 2e3);
60929
+ }, 5e3);
60930
60930
  this.recordAutoApproval(modal?.message, buttonLabel, now);
60931
60931
  setTimeout(() => {
60932
60932
  this.adapter.resolveModal(buttonIndex);
@@ -63294,6 +63294,7 @@ ${rawInput}` : rawInput;
63294
63294
  transport: "pty",
63295
63295
  adapterKey: key,
63296
63296
  instanceKey: key,
63297
+ workspace: resolvedDir,
63297
63298
  // attachExisting === true means we're restoring an already-spawned
63298
63299
  // hosted runtime after a daemon restart, not starting a fresh PTY.
63299
63300
  // The real spawn time is in the past and we don't have it on the
@@ -63357,7 +63358,8 @@ ${installInfo}`
63357
63358
  providerType: normalizedType,
63358
63359
  transport: "acp",
63359
63360
  adapterKey: key,
63360
- instanceKey: key
63361
+ instanceKey: key,
63362
+ workspace: resolvedDir
63361
63363
  });
63362
63364
  this.adapters.set(key, {
63363
63365
  cliType: normalizedType,