Skip to content

Experience-Driven Black-Box Cost Control for Coding Agents

685 B
Raw Blame
{
  "version": 1,
  "hooks": {
    "sessionStart": [
      { "command": "\"${CURSOR_PLUGIN_ROOT}/scripts/te-hook\" --host cursor" }
    ],
    "beforeSubmitPrompt": [
      { "command": "\"${CURSOR_PLUGIN_ROOT}/scripts/te-hook\" --host cursor" }
    ],
    "postToolUse": [
      { "command": "\"${CURSOR_PLUGIN_ROOT}/scripts/te-hook\" --host cursor" }
    ],
    "postToolUseFailure": [
      { "command": "\"${CURSOR_PLUGIN_ROOT}/scripts/te-hook\" --host cursor" }
    ],
    "stop": [
      { "command": "\"${CURSOR_PLUGIN_ROOT}/scripts/te-hook\" --host cursor" }
    ],
    "sessionEnd": [
      { "command": "\"${CURSOR_PLUGIN_ROOT}/scripts/te-hook\" --host cursor" }
    ]
  }
}