HackerTrans
トップ新着トレンドコメント過去質問紹介求人

Kai20211111

no profile record

投稿

Auto-accept everything and nothing else

github.com
3 ポイント·投稿者 Kai20211111·4 か月前·2 コメント

コメント

Kai20211111
·4 か月前·議論
I kept mashing 1 to accept changes in Claude Code, so I automated it. It spawns your command in a PTY and pipes "1" into stdin on a loop.

  npm install -g press-one
  press-one --delay 3000 claude "fix all the bugs"

  Known "features": a slow stream of 11111 appears while the model is thinking, and you can't type because stdin belongs to the machine now. Zero dependencies (just Node + Python for PTY allocation). MIT licensed.
Kai20211111
·4 か月前·議論
Interesting - sounds similar to what OpenClaw is doing?