{"repo":"umputun/fya","free":true,"listed":false,"github":"https://github.com/umputun/fya","clone":"git clone https://github.com/umputun/fya.git","description":"PTY-backed Claude Code wrapper that provides claude -p compatible output","language":"Go","stars":67,"topics":["ai-agents","claude-code","wrapper"],"license":"MIT","category":"ai-agents","readme_excerpt":"fya fya is a Claude Code print-mode wrapper backed by an interactive PTY session. It provides practical parity with claude -p for callers that rely on print-mode text, JSON, or stream-json output. Internally, it starts interactive claude in a hidden PTY, types the prompt into the terminal, tails Claude Code transcript logs, and emits Claude-compatible output. fya mirrors the one-shot claude -p contract: one process invocation accepts one prompt, streams one answer, emits one final result, and exits after cleanup. Requirements - Go 1.26 to build from source - Claude Code installed as claude - Unix/macOS for PTY support Windows returns an unsupported PTY error in v1. Installation Homebrew: Binary releases: download from GitHub Releases for linux/darwin amd64/arm64. From source: The binary is written to .bin/fya . Usage fya accepts the print-mode shape expected by tools that invoke Claude Code: A positional prompt also works without stdin and takes precedence over stdin: Supported consumed compatibility flags: - -p , --print - --output-format=text json stream-json - --input-format=text stream-json - --json-schema=SCHEMA - --replay-user-messages Wrapper controls: - --cwd=PATH - working directory for the interactive Claude session, default . - --idle-timeout=DURATION - transcript idle duration before completion, default 2s - --turn-timeout=DURATION - maximum wall-clock duration for one turn, default 30m - --gate - unattended gate profile; aborts a turn after 5m without transcript ","default_branch":null,"files":null,"tree":[],"storefront":"/r/umputun","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/umputun/fya/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}