Expand description
CLI: command → action → Out. Pages come from the cache, local files or the fetch router (fetch.rs);
FATS_OFFLINE=1 keeps every command off the network.
Constants§
- ASSET_
MAX - Pictures fetched on demand (
asset): plain only, never a paid tier; animage/*answer of at mostASSET_MAXbytes withinASSET_WAIT(fats config). - ASSET_
WAIT - MAX_
BYTES - Input cap per page, raised per command with
max_bytes:up to the ceiling. Cleaning costs ~15× the input in memory (a 16 MB page peaked at 239 MB, a 53 MB one at 743 MB), so the default keeps a page near 250 MB (fats configshows both). - MAX_
BYTES_ CEIL - POLL
- How often the waiting call reads the run file.
- PREFETCH
- How many results a search fetches detached (
fetch:N). - TICK
- How often a wait says it still works: the still-working line (
poll_until), the MCP progress (mcp::ticking). - WAIT
- How long a command waits for the network before it answers (
wait:0–300): a fetch then sayspending, a search,gh,account,setupgive up the calls still running. 30 s: agents readpendingas a failure (polled 1-2×, then quit); 14/27 walled runs ended within 30 s, 24/27 within it + onewait:30poll.
Statics§
- FENCE
- Directories local files may come from. Unset in the shell (it reads what its user can);
fats mcpsets the working directory + the cache, because there the model picks the path.
Functions§
- fence
- is_gh
fats gh <words>: a GitHub repository search (github), not a web search.- is_
search - Free words (or
site:alone) without a page id, a local file or a page URL: a web search (fats <words>,fats <host> <words>,fats site:x.com/news since:1d). - outside
- Outside the fence by its name alone (
..folded, the disk never read), so underfats mcpno answer tells whether a path out there exists:/x/y wordssearches and/x/yis refused either way. - path_of
- A route as
dry:trueprints it:plain → bd ∥ oxyjs after 5s, a tier’s second rungbd retry. A race (two providers’ renders) keeps the no-JS rung after plain only after its captcha:→ oxy (after a captcha)(fetch::routesimulates that wall, so theup toholds it). - plan
dry:true: what the command would read, add and spend; writes and spends nothing.- resume
fats --continue j5.u3: the detached half of a fetch. Runs the router for the runfetchreserved and stores the page in that id, whether or not the call that started it still waits. Exit code formain.- run
- Run one invocation: (stdout text, exit code, the picture it asked for:
fats mcpattaches it). Never panics on user input. - secret
- A key or credential file by its bare name, in any directory: a
Words::secret_namesname (.env.*= a prefix) or a secret extension (Sites::doc_extkindsecret:.pem). Never read, stored or searched (fenced:secret_file; missing,no_file). - wait_of