I developed Runcap for myself as a small local CLI for Node.js. It estimates execution time, records costs, allows you to set a limit, and can stop execution via a local gateway. I also added simple compression for logs, JSON, and stack traces.
This is a local version, still in early development. I'd like to hear feedback from people using Claude Code, Cursor, or similar tools.