ShellApprovalResponse#
Build extensions, choose hooks, and manage request-scoped state. See the guide.
- class zett_agent.extensions.shell_approval.ShellApprovalResponse(decision, remember=False)[源代码]#
External decision for one pending shell command.
- 参数:
decision (Literal['execute', 'abort']) --
"execute"runs the command;"abort"refuses it.remember (bool) -- Whether the command should join this session's allowlist.