adhdev 0.6.66 → 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/cli/index.js CHANGED
@@ -38609,7 +38609,7 @@ var init_dev_server = __esm({
38609
38609
  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, " ");
38610
38610
  approvalBuffer = (approvalBuffer + cleanData).slice(-1500);
38611
38611
  const elapsed = Date.now() - spawnedAt;
38612
- if (elapsed > 15e3 && approvalBuffer.includes("_PIPELINE_COMPLETE_SIGNAL_")) {
38612
+ if (elapsed > 15e3 && cleanData.includes("_PIPELINE_COMPLETE_SIGNAL_")) {
38613
38613
  this.log(`Agent finished task after ${Math.round(elapsed / 1e3)}s. Terminating interactive CLI session to unblock pipeline.`);
38614
38614
  this.sendAutoImplSSE({ event: "output", data: { chunk: `
38615
38615
  [\u{1F916} ADHDev Pipeline] Completion token detected. Proceeding...
@@ -41199,7 +41199,7 @@ var init_adhdev_daemon = __esm({
41199
41199
  fs12 = __toESM(require("fs"));
41200
41200
  path14 = __toESM(require("path"));
41201
41201
  import_chalk2 = __toESM(require("chalk"));
41202
- pkgVersion = "0.6.66";
41202
+ pkgVersion = "0.6.67";
41203
41203
  if (pkgVersion === "unknown") {
41204
41204
  try {
41205
41205
  const possiblePaths = [