coding-agent-adapters 0.8.7 → 0.8.8
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.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",
|