chore: kill unused tool (#23701)
This commit is contained in:
parent
b5acc2203c
commit
2486621ca1
47 changed files with 60 additions and 196 deletions
|
|
@ -660,7 +660,7 @@ export const layer = Layer.effect(
|
|||
const perms: Record<string, ConfigPermission.Action> = {}
|
||||
for (const [tool, enabled] of Object.entries(result.tools)) {
|
||||
const action: ConfigPermission.Action = enabled ? "allow" : "deny"
|
||||
if (tool === "write" || tool === "edit" || tool === "patch" || tool === "multiedit") {
|
||||
if (tool === "write" || tool === "edit" || tool === "patch") {
|
||||
perms.edit = action
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue