coding-agent-adapters 0.8.7 → 0.8.9

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
@@ -577,6 +577,15 @@ var ClaudeAdapter = class extends BaseCodingAdapter {
577
577
  safe: true,
578
578
  once: true
579
579
  },
580
+ {
581
+ pattern: /wants? (?:your )?permission|needs your permission|(?:Allow|Approve)\s[\s\S]{0,50}(?:Deny|Don't allow)/i,
582
+ type: "permission",
583
+ response: "",
584
+ responseType: "keys",
585
+ keys: ["enter"],
586
+ description: "Auto-approve tool permission prompts (file access, MCP tools, etc.)",
587
+ safe: true
588
+ },
580
589
  {
581
590
  pattern: /update available.*\[y\/n\]/i,
582
591
  type: "update",