Stream claude-p transport with inactivity watchdog and effort

↗ view on GitHub · Eli Ziff · 2026-07-28 · 525ed809

stream-json + --include-partial-messages keeps bytes flowing during
long single-shot generations, so the watchdog kills on 240s of silence
rather than total wall time (whole-document turns legitimately run
10-30 min; hard cap 3600s). params.reasoningEffort now passes through
as --effort. tsc clean; live smoke green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018bhP89cYSdEEjHNPnxacns
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents 58df4f31
Stats 1 file changed , +51 , -11
Part of claude-p transport: alternative LLM backend via the Claude CLI

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-525ed809.md from inside the repo you want the change in.

⬇ Download capture-commit-525ed809.md