debug_runner
Run commands, scripts, or tests and analyze failures: identifies 14 error types, parses stack traces in 4 languages, and suggests next actions. Auto-picks runtime for scripts.
Instructions
Run command/script/test and analyze failures: 14 error types, 4-language stack traces, suggested actions. script mode auto-picks runtime (js/py/go/rs/sh). Deterministic, zero LLM.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional working directory relative to workspace_dir (e.g. "0FTYcloud"). Scripts that must run in a subdirectory no longer need cd workarounds. | |
| test | No | Test command to run in workspace_dir (e.g. "npm test", "pytest") | |
| script | No | Script path relative to workspace_dir to run + auto-analyze (js/mjs/py/go/rs/sh by extension). Pass exactly one of command/script/test; script wins over command | |
| command | No | Shell command to run (e.g. "node src/main.js") | |
| timeout | No | Timeout in ms (default: 30000, min 1000) | |
| workspace_dir | Yes | REQUIRED: absolute path of the project root to run in |