coding-agent-adapters 0.8.6 → 0.8.7

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.cjs CHANGED
@@ -821,7 +821,10 @@ var ClaudeAdapter = class extends BaseCodingAdapter {
821
821
  instructions: "Claude Code requesting file access permission"
822
822
  };
823
823
  }
824
- if (this.detectReady(output)) {
824
+ if (this.detectReady(output) || this.detectTaskComplete(output)) {
825
+ return { detected: false };
826
+ }
827
+ if (/❯/.test(stripped.slice(-300))) {
825
828
  return { detected: false };
826
829
  }
827
830
  return super.detectBlockingPrompt(output);