Skip to content

Commit 9a28278

Browse files
committed
Fix default approval for read only tools to be instead of .
1 parent 3ed9dc0 commit 9a28278

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- Support user configured custom tools via `customTools` config. #92
6+
- Fix default approval for read only tools to be `allow` instead of `ask`.
67

78
## 0.44.1
89

src/eca/config.clj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@
6767
:editor {:enabled true}}
6868
:disabledTools []
6969
:toolCall {:approval {:byDefault "ask"
70-
:allow {}
70+
:allow {"eca_preview_file_change" {}
71+
"eca_read_file" {}
72+
"eca_directory_tree" {}
73+
"eca_grep" {}
74+
"eca_editor_diagnostics" {}}
7175
:ask {}
7276
:deny {}}}
7377
:mcpTimeoutSeconds 60

0 commit comments

Comments
 (0)