attentionfarm
v0.1.9
Published
AttentionFarm CLI launcher for Claude Code backup compute.
Readme
AttentionFarm CLI
AttentionFarm is currently scoped to Claude Code.
Install the launcher:
npm i -g attentionfarmRun Claude through the harness:
af claudeCheck the installed launcher and command surface:
af --help
af --versionIf /start gives you a fresh key, fold activation into the same command:
ATTENTIONFARM_KEY=adsk_live_xxx af claudeaf claude starts the real Claude Code CLI on your own account first. AttentionFarm refill prompts live in Claude's activity row, spinner tip line, turn-duration row, colored boxed status line, process-scoped Claude skill surface, and interactive terminal title cues, not in your project or ~/.claude settings. Legacy AF companyAnnouncements are stripped so Claude does not render organization-labeled AF messages.
The launcher fetches its help text, earn copy, spinner verbs/tips, Claude skill copy, status-line copy, and terminal title copy from AttentionFarm's hosted content contract, then caches it in ~/.attentionfarm/content.json. If the content endpoint is offline, the installed package falls back to the last cached copy, then to baked Claude-only defaults.
If Claude exits because quota, rate limits, or credits stopped the run, the installed harness uses a silent process-scoped Claude failure marker to print a label-only backup prompt, then can resume the same conversation with AttentionFarm backup compute for that process only.
Interactive af claude runs add fixed terminal/window titles and terminal-native attention notifications on Claude Code v2.1.141 or newer while Claude is running, including AF Claude | normal-first | backup-ready and AF Claude | needs attention. They are skipped for -p / --print, ignored for TERM=dumb, disabled with ATTENTIONFARM_TERMINAL_SEQUENCE=0, and never include prompt text, paths, provider messages, or notification bodies. Set ATTENTIONFARM_TERMINAL_SEQUENCE=1 to force them in a non-TTY wrapper.
Legacy display footer:
ATTENTIONFARM_MESSAGE_DISPLAY=1 af claudeThis opt-in path adds a compact boxed AF footer to displayed assistant messages in compatible Claude Code builds. It is disabled by default because current Claude Code releases reject MessageDisplay as an unknown hook event, and it remains off for -p / --print and TERM=dumb.
The package is Claude Code only for now. Future harness notes stay outside the package README until they are product-ready.
The package name is attentionfarm; the command it installs is af.
