Skip to content

PreSkillShellCommandHookSpecificOutput

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  1922315390["hooks.PreSkillShellCommandHookSpecificOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 1922315390
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Hook-specific output for PreSkillShellCommand events (refuse or rewrite the command).

Source code in src/clawd_code_sdk/models/hooks.py
class PreSkillShellCommandHookSpecificOutput(TypedDict):
    """Hook-specific output for PreSkillShellCommand events (refuse or rewrite the command)."""

    hookEventName: Literal["PreSkillShellCommand"]
    permissionDecision: NotRequired[HookPermissionDecision]
    permissionDecisionReason: NotRequired[str]
    updatedInput: NotRequired[dict[str, Any]]

:fa-brands-github: Show source on GitHub