@adhdev/daemon-standalone 0.9.82-rc.334 → 0.9.82-rc.336

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
@@ -30036,10 +30036,10 @@ var require_dist3 = __commonJS({
30036
30036
  }
30037
30037
  function getDaemonBuildInfo() {
30038
30038
  if (cached2) return cached2;
30039
- const commit = readInjected(true ? "9e5ae5d2814077a6bf9e982b17066ca2051da97b" : void 0) ?? "unknown";
30040
- const commitShort = readInjected(true ? "9e5ae5d2" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30041
- const version2 = readInjected(true ? "0.9.82-rc.334" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30042
- const builtAt = readInjected(true ? "2026-06-20T03:56:19.434Z" : void 0);
30039
+ const commit = readInjected(true ? "40f2025c1de385e59792869a793811db906f4f91" : void 0) ?? "unknown";
30040
+ const commitShort = readInjected(true ? "40f2025c" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30041
+ const version2 = readInjected(true ? "0.9.82-rc.336" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30042
+ const builtAt = readInjected(true ? "2026-06-20T06:33:54.849Z" : void 0);
30043
30043
  cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
30044
30044
  return cached2;
30045
30045
  }
@@ -44922,6 +44922,7 @@ ${cont}` : cont;
44922
44922
  }
44923
44923
  var os14;
44924
44924
  var import_session_host_core5;
44925
+ var FORCE_SUBMIT_SETTLE_MS;
44925
44926
  var ProviderCliAdapter;
44926
44927
  var init_provider_cli_adapter = __esm2({
44927
44928
  "src/cli-adapters/provider-cli-adapter.ts"() {
@@ -44939,6 +44940,7 @@ ${cont}` : cont;
44939
44940
  init_provider_cli_config();
44940
44941
  init_provider_cli_runtime();
44941
44942
  init_provider_cli_shared();
44943
+ FORCE_SUBMIT_SETTLE_MS = 150;
44942
44944
  ProviderCliAdapter = class _ProviderCliAdapter {
44943
44945
  constructor(provider, workingDir, extraArgs = [], extraEnv = {}, transportFactory = new NodePtyTransportFactory()) {
44944
44946
  this.extraArgs = extraArgs;
@@ -45867,9 +45869,13 @@ ${lastSnapshot}`;
45867
45869
  return;
45868
45870
  }
45869
45871
  LOG2.info("CLI", `[${this.cliType}] force-sending prompt while status=${this.engine.currentStatus}`);
45872
+ await this.waitForForceSubmitSettle();
45870
45873
  await this.writeToPty(content + this.sendKey);
45871
45874
  this.onStatusChange?.();
45872
45875
  }
45876
+ async waitForForceSubmitSettle() {
45877
+ await new Promise((resolve24) => setTimeout(resolve24, FORCE_SUBMIT_SETTLE_MS));
45878
+ }
45873
45879
  enqueuePendingOutboundMessage(text, reason) {
45874
45880
  const content = String(text || "");
45875
45881
  const duplicate = this.pendingOutboundQueue.some((message2) => message2.content === content);