@adhdev/daemon-core 0.6.63 → 0.6.67

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
@@ -13029,7 +13029,7 @@ var DevServer = class _DevServer {
13029
13029
  const cleanData = chunk.replace(/\x1B\[\d*[A-HJKSTfG]/g, " ").replace(/\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])/g, "").replace(/\x1B\][^\x07]*\x07/g, "").replace(/\x1B\][^\x1B]*\x1B\\/g, "").replace(/ +/g, " ");
13030
13030
  approvalBuffer = (approvalBuffer + cleanData).slice(-1500);
13031
13031
  const elapsed = Date.now() - spawnedAt;
13032
- if (elapsed > 15e3 && approvalBuffer.includes("_PIPELINE_COMPLETE_SIGNAL_")) {
13032
+ if (elapsed > 15e3 && cleanData.includes("_PIPELINE_COMPLETE_SIGNAL_")) {
13033
13033
  this.log(`Agent finished task after ${Math.round(elapsed / 1e3)}s. Terminating interactive CLI session to unblock pipeline.`);
13034
13034
  this.sendAutoImplSSE({ event: "output", data: { chunk: `
13035
13035
  [\u{1F916} ADHDev Pipeline] Completion token detected. Proceeding...