@adhdev/daemon-core 0.9.76-rc.31 → 0.9.76-rc.32

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
@@ -3274,9 +3274,8 @@ ${lastSnapshot}`;
3274
3274
  };
3275
3275
  this.recordTrace("submit_echo_missing", diagnostic);
3276
3276
  if (this.requirePromptEchoBeforeSubmit) {
3277
- const message = `${this.cliName} prompt echo was not observed on the PTY screen before submit`;
3278
- LOG.warn("CLI", `[${this.cliType}] ${message} elapsed=${elapsed}ms maxEchoWaitMs=${state.maxEchoWaitMs} screen=${JSON.stringify(diagnostic.screenText).slice(0, 240)}`);
3279
- completion.rejectOnce(new Error(message));
3277
+ LOG.warn("CLI", `[${this.cliType}] prompt echo was not observed before submit; sending guarded submit key anyway elapsed=${elapsed}ms maxEchoWaitMs=${state.maxEchoWaitMs} screen=${JSON.stringify(diagnostic.screenText).slice(0, 240)}`);
3278
+ this.submitSendKey(state, completion);
3280
3279
  return;
3281
3280
  }
3282
3281
  LOG.warn("CLI", `[${this.cliType}] prompt echo was not observed before submit; sending submit key anyway elapsed=${elapsed}ms maxEchoWaitMs=${state.maxEchoWaitMs}`);