clash 0.6.2

Command Line Agent Safety Harness — permission policies for coding agents
Documentation
{
  "hooks": {
    "preToolUse": [
      {
        "command": "clash hook --agent amazonq pre-tool-use",
        "matcher": "*"
      }
    ],
    "postToolUse": [
      {
        "command": "clash hook --agent amazonq post-tool-use",
        "matcher": "*"
      }
    ],
    "agentSpawn": [
      {
        "command": "clash hook --agent amazonq session-start"
      }
    ],
    "stop": [
      {
        "command": "clash hook --agent amazonq stop"
      }
    ]
  }
}