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