authorgravatar for thimosietsma@gmail.comThimo Sietsma <thimosietsma@gmail.com> 2026-04-23 17:42:35+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-04-23 15:42:35+00:00
log0ee302e24de2ff0a0f88b3478a3274560e28f3c9
tree3ca982c00d62eec52675ac141fa8cd890704f29d
parentd5b7690f95504a04c12d10acfefd59f32515dbf2
signature Signed by PGP key B5690EEEBB952194

fix(request-permission): add `dynamic_tool_call` to command request (#2311)


1 files changed, 1 insertions(+), 0 deletions(-)

apps/web/src/session-logic.ts+1
...@@ -169,6 +169,7 @@ function requestKindFromRequestType(requestType: unknown): PendingApproval["requ...@@ -169,6 +169,7 @@ function requestKindFromRequestType(requestType: unknown): PendingApproval["requ
169 switch (requestType) {169 switch (requestType) {
170 case "command_execution_approval":170 case "command_execution_approval":
171 case "exec_command_approval":171 case "exec_command_approval":
172 case "dynamic_tool_call":
172 return "command";173 return "command";
173 case "file_read_approval":174 case "file_read_approval":
174 return "file-read";175 return "file-read";