ShellApprovalRequestedEvent#

Build extensions, choose hooks, and manage request-scoped state. See the guide.

class zett_agent.extensions.shell_approval.ShellApprovalRequestedEvent(session_id, call, *, command, timeout_seconds, remember_supported)[源代码]#

CUSTOM event asking a UI to approve or abort one shell command.

参数:
  • session_id (str)

  • call (ToolCall)

  • command (str)

  • timeout_seconds (int)

  • remember_supported (bool)