Hey folks. I just built a TypeScript package to keep your claude -p automation on subscription pricing after June 15, 2026:
before June 15, 2026: claude -p “fix the failing tests” # after June 15, 2026: npx toll-free-harness claude – -p “fix the failing tests”
It basically launches claude in PTY and implements user prompt submission, ask user question response and plan approval by sending keyboard events. The on-boarding dialog, bypass-permission dialog and trust dialog are automatically handled. If you want to use –input-format json-stream --output-format json-stream with this tool, you can try the API that comes with the package. All the features are built based on public and commonly used features like hooks and keyboard interactions. https://github.com/wezzard/toll-free-harness https://www.npmjs.com/package/toll-free-harness submitted by /u/Yolo-8848
Originally posted by u/Yolo-8848 on r/ClaudeCode
