Cotton code
87 lines · 2.1 KB · JSONRaw
{  "hooks": {    "Notification": [      {        "hooks": [          {            "command": "/Applications/CottonDB.app/Contents/Helpers/cotton-session-host hook Notification",            "timeout": 10,            "type": "command"          }        ],        "matcher": "permission_prompt|idle_prompt|agent_needs_input|elicitation_dialog"      }    ],    "PermissionRequest": [      {        "hooks": [          {            "command": "/Applications/CottonDB.app/Contents/Helpers/cotton-session-host hook PermissionRequest",            "timeout": 601,            "type": "command"          }        ]      }    ],    "PostToolUse": [      {        "hooks": [          {            "command": "/Applications/CottonDB.app/Contents/Helpers/cotton-session-host hook PostToolUse",            "timeout": 10,            "type": "command"          }        ],        "matcher": "TodoWrite"      }    ],    "SessionEnd": [      {        "hooks": [          {            "command": "/Applications/CottonDB.app/Contents/Helpers/cotton-session-host hook SessionEnd",            "timeout": 10,            "type": "command"          }        ]      }    ],    "SessionStart": [      {        "hooks": [          {            "command": "/Applications/CottonDB.app/Contents/Helpers/cotton-session-host hook SessionStart",            "timeout": 10,            "type": "command"          }        ]      }    ],    "Stop": [      {        "hooks": [          {            "command": "/Applications/CottonDB.app/Contents/Helpers/cotton-session-host hook Stop",            "timeout": 10,            "type": "command"          }        ]      }    ],    "UserPromptSubmit": [      {        "hooks": [          {            "command": "/Applications/CottonDB.app/Contents/Helpers/cotton-session-host hook UserPromptSubmit",            "timeout": 10,            "type": "command"          }        ]      }    ]  },  "statusLine": {    "command": "/Applications/CottonDB.app/Contents/Helpers/cotton-session-host statusline",    "type": "command"  }}