Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

2.7 KB
Raw Blame
{
  "version": 1,
  "hooks": {
    "sessionStart": [
      {
        "command": "openlit coding hook --vendor=cursor --event=sessionStart",
        "timeout": 5000
      }
    ],
    "sessionEnd": [
      {
        "command": "openlit coding hook --vendor=cursor --event=sessionEnd",
        "timeout": 5000
      }
    ],
    "beforeSubmitPrompt": [
      {
        "command": "openlit coding hook --vendor=cursor --event=beforeSubmitPrompt",
        "timeout": 5000
      }
    ],
    "afterAgentResponse": [
      {
        "command": "openlit coding hook --vendor=cursor --event=afterAgentResponse",
        "timeout": 5000
      }
    ],
    "afterAgentThought": [
      {
        "command": "openlit coding hook --vendor=cursor --event=afterAgentThought",
        "timeout": 5000
      }
    ],
    "preToolUse": [
      {
        "command": "openlit coding hook --vendor=cursor --event=preToolUse",
        "timeout": 5000
      }
    ],
    "postToolUse": [
      {
        "command": "openlit coding hook --vendor=cursor --event=postToolUse",
        "timeout": 5000
      }
    ],
    "postToolUseFailure": [
      {
        "command": "openlit coding hook --vendor=cursor --event=postToolUseFailure",
        "timeout": 5000
      }
    ],
    "subagentStart": [
      {
        "command": "openlit coding hook --vendor=cursor --event=subagentStart",
        "timeout": 5000
      }
    ],
    "subagentStop": [
      {
        "command": "openlit coding hook --vendor=cursor --event=subagentStop",
        "timeout": 5000
      }
    ],
    "beforeShellExecution": [
      {
        "command": "openlit coding hook --vendor=cursor --event=beforeShellExecution",
        "timeout": 5000
      }
    ],
    "afterShellExecution": [
      {
        "command": "openlit coding hook --vendor=cursor --event=afterShellExecution",
        "timeout": 5000
      }
    ],
    "beforeMCPExecution": [
      {
        "command": "openlit coding hook --vendor=cursor --event=beforeMCPExecution",
        "timeout": 5000
      }
    ],
    "afterMCPExecution": [
      {
        "command": "openlit coding hook --vendor=cursor --event=afterMCPExecution",
        "timeout": 5000
      }
    ],
    "beforeReadFile": [
      {
        "command": "openlit coding hook --vendor=cursor --event=beforeReadFile",
        "timeout": 5000
      }
    ],
    "afterFileEdit": [
      {
        "command": "openlit coding hook --vendor=cursor --event=afterFileEdit",
        "timeout": 5000
      }
    ],
    "preCompact": [
      {
        "command": "openlit coding hook --vendor=cursor --event=preCompact",
        "timeout": 5000
      }
    ],
    "stop": [
      {
        "command": "openlit coding hook --vendor=cursor --event=stop",
        "timeout": 5000
      }
    ]
  }
}