keeplife-rh/clepsy-rh ? reverse-engineered prompt

Reverse engineered prompt

Build me a command line tool and matching backend for per second compute billing for running commands.

I want to be able to type something like clepsy run --budget 2.00 -- python scraper.py and have it open a session, run the command, meter the time it uses, stop it when the budget is gone, and save a signed receipt with the final cost, refund, output hash, and exit status. It should work in a local mode on my own machine, and a cloud mode where the command runs in a locked down sandbox on a node I connect to. Add simple commands to check my account, quote a price for a run, list receipts, and verify a receipt file.

Also include the node side so someone can host a server, accept signed requests, manage balances, settle sessions, and expose the public API endpoints for sessions, receipts, and node info. Use the README as the source of truth, and if anything is unclear, look up current docs online before you guess.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab