[{"data":1,"prerenderedAt":1072,"buildId":1073},["ShallowReactive",2],{"docs:\u002Fguide\u002Finstallation":3},{"page":4,"section":16,"document":17,"credits":10,"prev":1066,"next":1070},{"id":5,"path":6,"file":7,"title":8,"sourceTitle":8,"description":9,"tagline":9,"eyebrow":10,"credits":10,"keywords":11,"icon":12,"layout":13,"sidebar":14,"toc":14,"kind":10,"group":10,"navigation":14,"order":15},"installation","\u002Fguide\u002Finstallation","guide\u002Finstallation.md","Installation","Install readerly, wrap one command with createOut, and run it as a person, as a coding agent and as a JSON consumer to see each output.",null,[],"i-lucide-download","article",true,2,"guide",{"nodes":18,"toc":1057},[19,125,129,157,165,1048],[20,21,47,77,94,110],"tabs",{"uid":22,"count":23,"labels":24,"sync":29,"code":30,"magic":31,"icons":32},"ct-2zuadb-1","4",[25,26,27,28],"pnpm","npm","yarn","bun","pm","true","auto",[33,38,41,44],{"name":34,"src":35,"ratio":36,"mask":37},"pm:pnpm","data:image\u002Fsvg+xml,%3Csvg xmlns='http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg' viewBox='0 0 32 32'%3E%3Cpath fill='%23f9ad00' d='M30 10.75h-8.749V2H30Zm-9.626 0h-8.75V2h8.75Zm-9.625 0H2V2h8.749ZM30 20.375h-8.749v-8.75H30Z'\u002F%3E%3Cpath fill='%238a8a8a' d='M20.374 20.375h-8.75v-8.75h8.75Zm0 9.625h-8.75v-8.75h8.75ZM30 30h-8.749v-8.75H30Zm-19.251 0H2v-8.75h8.749Z'\u002F%3E%3C\u002Fsvg%3E",1,false,{"name":39,"src":40,"ratio":36,"mask":37},"pm:npm","data:image\u002Fsvg+xml,%3Csvg xmlns='http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg' viewBox='0 0 32 32'%3E%3Cpath fill='%23c12127' d='M2 2h28v28H2'\u002F%3E%3Cpath fill='%238a8a8a' d='M7.25 7.25h17.5v17.5h-3.5v-14H16v14H7.25'\u002F%3E%3C\u002Fsvg%3E",{"name":42,"src":43,"ratio":36,"mask":37},"pm:yarn","data:image\u002Fsvg+xml,%3Csvg xmlns='http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg' viewBox='0 0 32 32'%3E%3Cpath fill='%232188b6' d='M28.208 24.409a10.5 10.5 0 0 0-3.959 1.822a23.7 23.7 0 0 1-5.835 2.642a1.63 1.63 0 0 1-.983.55a62 62 0 0 1-6.447.577c-1.163.009-1.876-.3-2.074-.776a1.573 1.573 0 0 1 .866-2.074a4 4 0 0 1-.514-.379c-.171-.171-.352-.514-.406-.388c-.225.55-.343 1.894-.947 2.5c-.83.839-2.4.559-3.328.072c-1.019-.541.072-1.813.072-1.813a.73.73 0 0 1-.992-.343a4.85 4.85 0 0 1-.667-2.949a5.37 5.37 0 0 1 1.749-2.895a9.3 9.3 0 0 1 .658-4.4a10.45 10.45 0 0 1 3.165-3.661S6.628 10.747 7.35 8.817c.469-1.262.658-1.253.812-1.308a3.6 3.6 0 0 0 1.452-.857a5.27 5.27 0 0 1 4.41-1.7S15.2 1.4 16.277 2.09a18.4 18.4 0 0 1 1.533 2.886s1.281-.748 1.425-.469a11.33 11.33 0 0 1 .523 6.132a14 14 0 0 1-2.6 5.411c-.135.225 1.551.938 2.615 3.887c.983 2.7.108 4.96.262 5.212c.027.045.036.063.036.063s1.127.09 3.391-1.308a8.5 8.5 0 0 1 4.277-1.604a1.081 1.081 0 0 1 .469 2.11Z'\u002F%3E%3C\u002Fsvg%3E",{"name":45,"src":46,"ratio":36,"mask":37},"pm:bun","data:image\u002Fsvg+xml,%3Csvg xmlns='http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fbf0df' d='M29 17c0 5.65-5.82 10.23-13 10.23S3 22.61 3 17c0-3.5 2.24-6.6 5.66-8.44S14.21 4.81 16 4.81s3.32 1.54 7.34 3.71C26.76 10.36 29 13.46 29 17'\u002F%3E%3Cpath fill='none' stroke='%23000' d='M16 27.65c7.32 0 13.46-4.65 13.46-10.65c0-3.72-2.37-7-5.89-8.85c-1.39-.75-2.46-1.41-3.37-2l-1.13-.69A6.14 6.14 0 0 0 16 4.35a6.9 6.9 0 0 0-3.3 1.23c-.42.24-.86.51-1.32.8c-.87.54-1.83 1.13-3 1.73C4.91 10 2.54 13.24 2.54 17c0 6 6.14 10.65 13.46 10.65Z'\u002F%3E%3Cellipse cx='21.65' cy='18.62' fill='%23febbd0' rx='2.17' ry='1.28'\u002F%3E%3Cellipse cx='10.41' cy='18.62' fill='%23febbd0' rx='2.17' ry='1.28'\u002F%3E%3Cpath fill-rule='evenodd' d='M11.43 18.11a2 2 0 1 0-2-2.05a2.05 2.05 0 0 0 2 2.05m9.2 0a2 2 0 1 0-2-2.05a2 2 0 0 0 2 2.05'\u002F%3E%3Cpath fill='%238a8a8a' fill-rule='evenodd' d='M10.79 16.19a.77.77 0 1 0-.76-.77a.76.76 0 0 0 .76.77m9.2 0a.77.77 0 1 0 0-1.53a.77.77 0 0 0 0 1.53'\u002F%3E%3Cpath fill='%23b71422' stroke='%23000' stroke-width='.75' d='M18.62 19.67a3.3 3.3 0 0 1-1.09 1.75a2.48 2.48 0 0 1-1.5.69a2.53 2.53 0 0 1-1.5-.69a3.28 3.28 0 0 1-1.08-1.75a.26.26 0 0 1 .29-.3h4.58a.27.27 0 0 1 .3.3Z'\u002F%3E%3Cpath fill='%23ccbea7' fill-rule='evenodd' d='M14.93 5.75a6.1 6.1 0 0 1-2.09 4.62c-.1.09 0 .27.11.22c1.25-.49 2.94-1.94 2.23-4.88c-.03-.15-.25-.11-.25.04m.85 0a6 6 0 0 1 .57 5c0 .13.12.24.21.13c.83-1 1.54-3.11-.59-5.31c-.1-.11-.27.04-.19.17Zm1-.06a6.1 6.1 0 0 1 2.53 4.38c0 .14.21.17.24 0c.34-1.3.15-3.51-2.66-4.66c-.12-.02-.21.18-.09.27ZM9.94 9.55a6.27 6.27 0 0 0 3.89-3.33c.07-.13.28-.08.25.07c-.64 3-2.79 3.59-4.13 3.51c-.14-.01-.14-.21-.01-.25'\u002F%3E%3C\u002Fsvg%3E",[48,49,52],"tabs-item",{"label":25,"index":50,"icon":51},"1",{"name":34,"src":35,"ratio":36,"mask":37},[53,54,58],"pre",{"language":55,"frame":56,"class":57,"wrap":14},"sh","terminal","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[59,60,62],"code",{"class":61},"language-sh",[63,64,67,70,74],"span",{"class":65,"style":66},"line","display: inline",[63,68,25],{"style":69},"color:#953800;--shiki-dark:#FFA657",[63,71,73],{"style":72},"color:#0A3069;--shiki-dark:#A5D6FF"," add",[63,75,76],{"style":72}," readerly",[48,78,81],{"label":26,"index":79,"icon":80},"2",{"name":39,"src":40,"ratio":36,"mask":37},[53,82,83],{"language":55,"frame":56,"class":57,"wrap":14},[59,84,85],{"class":61},[63,86,87,89,92],{"class":65,"style":66},[63,88,26],{"style":69},[63,90,91],{"style":72}," install",[63,93,76],{"style":72},[48,95,98],{"label":27,"index":96,"icon":97},"3",{"name":42,"src":43,"ratio":36,"mask":37},[53,99,100],{"language":55,"frame":56,"class":57,"wrap":14},[59,101,102],{"class":61},[63,103,104,106,108],{"class":65,"style":66},[63,105,27],{"style":69},[63,107,73],{"style":72},[63,109,76],{"style":72},[48,111,113],{"label":28,"index":23,"icon":112},{"name":45,"src":46,"ratio":36,"mask":37},[53,114,115],{"language":55,"frame":56,"class":57,"wrap":14},[59,116,117],{"class":61},[63,118,119,121,123],{"class":65,"style":66},[63,120,28],{"style":69},[63,122,73],{"style":72},[63,124,76],{"style":72},[126,127,128],"p",{},"Requires Node 22.12 or later. readerly is ESM only and has no dependencies.",[130,131,134],"github-callout",{"type":132,"title":133},"note","Note",[126,135,136,137,140,141,144,145,148,149,152,153,156],{},"readerly is not on npm yet. Until it is, clone the repository, run ",[59,138,139],{},"pnpm install"," and ",[59,142,143],{},"pnpm build"," to write ",[59,146,147],{},"dist\u002F",", and depend on it by path, such as ",[59,150,151],{},"\"readerly\": \"file:..\u002Freaderly\""," in your ",[59,154,155],{},"package.json",", or as a workspace package in a monorepo.",[158,159,164],"h2",{"id":160,"anchor":161},"first-command",{"label":162,"icon":163},"Section titled \"First command\"","#","First command",[166,167,168,593,678,765],"steps",{},[169,170,171,181,198,587],"step",{"index":50},[172,173,177,178],"h3",{"id":174,"anchor":175},"wrap-a-command-with-createout",{"label":176,"icon":163},"Section titled \"Wrap a command with createOut\"","Wrap a command with ",[59,179,180],{},"createOut",[126,182,183,185,186,189,190,193,194,197],{},[59,184,180],{}," takes the tool's name, the command and its ",[59,187,188],{},"argv",". The command reports through ",[59,191,192],{},"out"," and returns ",[59,195,196],{},"out.end()",", the exit code.",[53,199,202],{"language":200,"filename":201,"class":57,"wrap":14},"ts","check.ts",[59,203,205,224,225,224,227,224,271,224,299,224,310,224,320,224,325,224,375,224,380,224,412,224,429,224,449,224,459,224,469,224,479,224,489,224,499,224,503,224,522,224,542,224,555,224,560,224,562],{"class":204},"language-ts",[63,206,207,211,215,218,221],{"class":65,"style":66},[63,208,210],{"style":209},"color:#CF222E;--shiki-dark:#FF7B72","import",[63,212,214],{"style":213},"color:#1F2328;--shiki-dark:#E6EDF3"," { createOut } ",[63,216,217],{"style":209},"from",[63,219,220],{"style":72}," \"readerly\"",[63,222,223],{"style":213},";","\n",[63,226],{"class":65,"style":66},[63,228,229,232,235,238,242,245,247,250,254,257,259,262,265,268],{"class":65,"style":66},[63,230,231],{"style":209},"export",[63,233,234],{"style":209}," async",[63,236,237],{"style":209}," function",[63,239,241],{"style":240},"color:#8250DF;--shiki-dark:#D2A8FF"," check",[63,243,244],{"style":213},"(",[63,246,188],{"style":69},[63,248,249],{"style":209},":",[63,251,253],{"style":252},"color:#0550AE;--shiki-dark:#79C0FF"," string",[63,255,256],{"style":213},"[])",[63,258,249],{"style":209},[63,260,261],{"style":69}," Promise",[63,263,264],{"style":213},"\u003C",[63,266,267],{"style":252},"number",[63,269,270],{"style":213},"> {",[63,272,273,276,279,282,285,288,291,293,296],{"class":65,"style":66},[63,274,275],{"style":209},"  const",[63,277,278],{"style":252}," out",[63,280,281],{"style":209}," =",[63,283,284],{"style":240}," createOut",[63,286,287],{"style":213},"\u003C{ ",[63,289,290],{"style":69},"files",[63,292,249],{"style":209},[63,294,295],{"style":252}," number",[63,297,298],{"style":213}," }>({",[63,300,301,304,307],{"class":65,"style":66},[63,302,303],{"style":213},"    tool: ",[63,305,306],{"style":72},"\"acme\"",[63,308,309],{"style":213},",",[63,311,312,315,318],{"class":65,"style":66},[63,313,314],{"style":213},"    command: ",[63,316,317],{"style":72},"\"check\"",[63,319,309],{"style":213},[63,321,322],{"class":65,"style":66},[63,323,324],{"style":213},"    argv,",[63,326,327,330,333,336,339,342,345,348,351,354,356,359,362,364,367,369,372],{"class":65,"style":66},[63,328,329],{"style":240},"    summary",[63,331,332],{"style":213},": (",[63,334,335],{"style":69},"result",[63,337,338],{"style":213},") ",[63,340,341],{"style":209},"=>",[63,343,344],{"style":213}," (result.files ",[63,346,347],{"style":209},"===",[63,349,350],{"style":252}," undefined",[63,352,353],{"style":209}," ?",[63,355,350],{"style":252},[63,357,358],{"style":209}," :",[63,360,361],{"style":72}," `in ${",[63,363,335],{"style":213},[63,365,366],{"style":72},".",[63,368,290],{"style":213},[63,370,371],{"style":72},"} files`",[63,373,374],{"style":213},"),",[63,376,377],{"class":65,"style":66},[63,378,379],{"style":213},"  });",[63,381,382,385,388,391,394,397,400,403,406,409],{"class":65,"style":66},[63,383,384],{"style":209},"  for",[63,386,387],{"style":213}," (",[63,389,390],{"style":209},"const",[63,392,393],{"style":252}," finding",[63,395,396],{"style":209}," of",[63,398,399],{"style":209}," await",[63,401,402],{"style":240}," scan",[63,404,405],{"style":213},"()) out.",[63,407,408],{"style":240},"diagnostic",[63,410,411],{"style":213},"(finding);",[63,413,414,417,420,423,426],{"class":65,"style":66},[63,415,416],{"style":213},"  out.",[63,418,419],{"style":240},"set",[63,421,422],{"style":213},"({ files: ",[63,424,425],{"style":252},"212",[63,427,428],{"style":213}," });",[63,430,431,433,436,438,440,443,446],{"class":65,"style":66},[63,432,275],{"style":209},[63,434,435],{"style":252}," fix",[63,437,281],{"style":209},[63,439,399],{"style":209},[63,441,442],{"style":213}," out.",[63,444,445],{"style":240},"confirm",[63,447,448],{"style":213},"({",[63,450,451,454,457],{"class":65,"style":66},[63,452,453],{"style":213},"    name: ",[63,455,456],{"style":72},"\"fix\"",[63,458,309],{"style":213},[63,460,461,464,467],{"class":65,"style":66},[63,462,463],{"style":213},"    flag: ",[63,465,466],{"style":72},"\"--fix\"",[63,468,309],{"style":213},[63,470,471,474,477],{"class":65,"style":66},[63,472,473],{"style":213},"    default: ",[63,475,476],{"style":252},"false",[63,478,309],{"style":213},[63,480,481,484,487],{"class":65,"style":66},[63,482,483],{"style":213},"    message: ",[63,485,486],{"style":72},"\"Apply 2 safe fixes?\"",[63,488,309],{"style":213},[63,490,491,494,497],{"class":65,"style":66},[63,492,493],{"style":213},"    reason: ",[63,495,496],{"style":72},"\"applies 2 safe fixes\"",[63,498,309],{"style":213},[63,500,501],{"class":65,"style":66},[63,502,379],{"style":213},[63,504,505,508,511,514,516,519],{"class":65,"style":66},[63,506,507],{"style":209},"  if",[63,509,510],{"style":213}," (fix) out.",[63,512,513],{"style":240},"log",[63,515,244],{"style":213},[63,517,518],{"style":72},"\"Applied 2 fixes.\"",[63,520,521],{"style":213},");",[63,523,524,526,529,531,534,537,540],{"class":65,"style":66},[63,525,416],{"style":213},[63,527,528],{"style":240},"next",[63,530,244],{"style":213},[63,532,533],{"style":72},"\"acme explain \u003Ccode>\"",[63,535,536],{"style":213},", ",[63,538,539],{"style":72},"\"explains one code\"",[63,541,521],{"style":213},[63,543,544,547,549,552],{"class":65,"style":66},[63,545,546],{"style":209},"  return",[63,548,442],{"style":213},[63,550,551],{"style":240},"end",[63,553,554],{"style":213},"();",[63,556,557],{"class":65,"style":66},[63,558,559],{"style":213},"}",[63,561],{"class":65,"style":66},[63,563,564,567,570,572,574,577,580,582,584],{"class":65,"style":66},[63,565,566],{"style":213},"process.exitCode ",[63,568,569],{"style":209},"=",[63,571,399],{"style":209},[63,573,241],{"style":240},[63,575,576],{"style":213},"(process.argv.",[63,578,579],{"style":240},"slice",[63,581,244],{"style":213},[63,583,79],{"style":252},[63,585,586],{"style":213},"));",[126,588,589,592],{},[59,590,591],{},"scan()"," stands for your tool's own work. Here it returns two errors and one warning.",[169,594,595,601,604,664],{"index":79},[172,596,600],{"id":597,"anchor":598},"run-it-in-a-terminal",{"label":599,"icon":163},"Section titled \"Run it in a terminal\"","Run it in a terminal",[126,602,603],{},"A person at a terminal gets the findings, then the prompt on stderr. After Enter, the rest prints:",[53,605,607],{"language":606,"class":57,"wrap":14},"text",[59,608,610,224,615,224,620,224,625,224,630,224,635,224,640,224,645,224,650,224,655,224,659],{"class":609},"language-text",[63,611,612],{"class":65,"style":66},[63,613,614],{},"✖ 2 errors, 1 warning in 212 files",[63,616,617],{"class":65,"style":66},[63,618,619],{},"",[63,621,622],{"class":65,"style":66},[63,623,624],{},"error ACME001  src\u002Fapp.ts:14:3  Route handler reads process.env at module scope",[63,626,627],{"class":65,"style":66},[63,628,629],{},"├▶ why: The value is fixed at build time",[63,631,632],{"class":65,"style":66},[63,633,634],{},"╰▶ fix: Read it inside the handler",[63,636,637],{"class":65,"style":66},[63,638,639],{},"error ACME004  src\u002Fdb.ts:3:1  Top-level await in a server entry",[63,641,642],{"class":65,"style":66},[63,643,644],{},"╰▶ fix: Move the call into the plugin setup",[63,646,647],{"class":65,"style":66},[63,648,649],{},"warn  ACME010  vite.config.ts:8:5  Alias shadows a workspace package",[63,651,652],{"class":65,"style":66},[63,653,654],{},"? Apply 2 safe fixes? (y\u002FN) ",[63,656,657],{"class":65,"style":66},[63,658,619],{},[63,660,661],{"class":65,"style":66},[63,662,663],{},"next: acme explain \u003Ccode>   (explains one code)",[126,665,666,667,140,670,673,674,677],{},"In a color terminal, ",[59,668,669],{},"✖",[59,671,672],{},"error"," are red, ",[59,675,676],{},"warn"," yellow and the tree glyphs dim.",[169,679,680,686,693,711,718,751],{"index":96},[172,681,685],{"id":682,"anchor":683},"run-it-as-an-agent-would",{"label":684,"icon":163},"Section titled \"Run it as an agent would\"","Run it as an agent would",[126,687,688,689,692],{},"Set ",[59,690,691],{},"AI_AGENT",", as a coding agent's shell does:",[53,694,695],{"language":55,"frame":56,"class":57,"wrap":14},[59,696,697],{"class":61},[63,698,699,701,703,706,709],{"class":65,"style":66},[63,700,691],{"style":213},[63,702,569],{"style":209},[63,704,705],{"style":72},"claude-code",[63,707,708],{"style":69}," acme",[63,710,241],{"style":72},[126,712,713,714,717],{},"A coding agent gets one line per finding and no prompt. The prompt it skipped becomes a ",[59,715,716],{},"next:"," line with the flag:",[53,719,720],{"language":606,"class":57,"wrap":14},[59,721,722,224,727,224,732,224,737,224,742,224,747],{"class":609},[63,723,724],{"class":65,"style":66},[63,725,726],{},"acme check: failed. 2 errors, 1 warning in 212 files.",[63,728,729],{"class":65,"style":66},[63,730,731],{},"error ACME001 src\u002Fapp.ts:14:3 Route handler reads process.env at module scope. fix: Read it inside the handler",[63,733,734],{"class":65,"style":66},[63,735,736],{},"error ACME004 src\u002Fdb.ts:3:1 Top-level await in a server entry. fix: Move the call into the plugin setup",[63,738,739],{"class":65,"style":66},[63,740,741],{},"warn ACME010 vite.config.ts:8:5 Alias shadows a workspace package",[63,743,744],{"class":65,"style":66},[63,745,746],{},"next: acme check --fix   (applies 2 safe fixes)",[63,748,749],{"class":65,"style":66},[63,750,663],{},[126,752,753,754,757,758,760,761,764],{},"Piped with ",[59,755,756],{},"acme check | cat",", the command prints the terminal's ",[59,759,606],{}," without the prompt, and the same ",[59,762,763],{},"next: acme check --fix"," line.",[169,766,767,773,790,793,1042],{"index":23},[172,768,772],{"id":769,"anchor":770},"ask-for-json",{"label":771,"icon":163},"Section titled \"Ask for JSON\"","Ask for JSON",[53,774,775],{"language":55,"frame":56,"class":57,"wrap":14},[59,776,777],{"class":61},[63,778,779,782,784,787],{"class":65,"style":66},[63,780,781],{"style":69},"acme",[63,783,241],{"style":72},[63,785,786],{"style":252}," --format",[63,788,789],{"style":72}," json",[126,791,792],{},"A program gets one document on stdout:",[53,794,795],{"language":606,"class":57,"wrap":14},[59,796,797,224,802,224,807,224,812,224,817,224,822,224,827,224,832,224,837,224,842,224,847,224,852,224,857,224,862,224,867,224,872,224,877,224,882,224,887,224,892,224,896,224,900,224,905,224,910,224,915,224,920,224,925,224,930,224,934,224,938,224,943,224,948,224,953,224,958,224,963,224,968,224,973,224,978,224,983,224,988,224,992,224,997,224,1001,224,1006,224,1011,224,1015,224,1019,224,1024,224,1029,224,1033,224,1038],{"class":609},[63,798,799],{"class":65,"style":66},[63,800,801],{},"{",[63,803,804],{"class":65,"style":66},[63,805,806],{},"  \"schema\": \"acme.check\u002Fv1\",",[63,808,809],{"class":65,"style":66},[63,810,811],{},"  \"status\": \"failed\",",[63,813,814],{"class":65,"style":66},[63,815,816],{},"  \"summary\": {",[63,818,819],{"class":65,"style":66},[63,820,821],{},"    \"error\": 2,",[63,823,824],{"class":65,"style":66},[63,825,826],{},"    \"warn\": 1,",[63,828,829],{"class":65,"style":66},[63,830,831],{},"    \"info\": 0",[63,833,834],{"class":65,"style":66},[63,835,836],{},"  },",[63,838,839],{"class":65,"style":66},[63,840,841],{},"  \"diagnostics\": [",[63,843,844],{"class":65,"style":66},[63,845,846],{},"    {",[63,848,849],{"class":65,"style":66},[63,850,851],{},"      \"severity\": \"error\",",[63,853,854],{"class":65,"style":66},[63,855,856],{},"      \"code\": \"ACME001\",",[63,858,859],{"class":65,"style":66},[63,860,861],{},"      \"message\": \"Route handler reads process.env at module scope\",",[63,863,864],{"class":65,"style":66},[63,865,866],{},"      \"why\": \"The value is fixed at build time\",",[63,868,869],{"class":65,"style":66},[63,870,871],{},"      \"fix\": \"Read it inside the handler\",",[63,873,874],{"class":65,"style":66},[63,875,876],{},"      \"file\": \"src\u002Fapp.ts\",",[63,878,879],{"class":65,"style":66},[63,880,881],{},"      \"line\": 14,",[63,883,884],{"class":65,"style":66},[63,885,886],{},"      \"column\": 3",[63,888,889],{"class":65,"style":66},[63,890,891],{},"    },",[63,893,894],{"class":65,"style":66},[63,895,846],{},[63,897,898],{"class":65,"style":66},[63,899,851],{},[63,901,902],{"class":65,"style":66},[63,903,904],{},"      \"code\": \"ACME004\",",[63,906,907],{"class":65,"style":66},[63,908,909],{},"      \"message\": \"Top-level await in a server entry\",",[63,911,912],{"class":65,"style":66},[63,913,914],{},"      \"fix\": \"Move the call into the plugin setup\",",[63,916,917],{"class":65,"style":66},[63,918,919],{},"      \"file\": \"src\u002Fdb.ts\",",[63,921,922],{"class":65,"style":66},[63,923,924],{},"      \"line\": 3,",[63,926,927],{"class":65,"style":66},[63,928,929],{},"      \"column\": 1",[63,931,932],{"class":65,"style":66},[63,933,891],{},[63,935,936],{"class":65,"style":66},[63,937,846],{},[63,939,940],{"class":65,"style":66},[63,941,942],{},"      \"severity\": \"warn\",",[63,944,945],{"class":65,"style":66},[63,946,947],{},"      \"code\": \"ACME010\",",[63,949,950],{"class":65,"style":66},[63,951,952],{},"      \"message\": \"Alias shadows a workspace package\",",[63,954,955],{"class":65,"style":66},[63,956,957],{},"      \"file\": \"vite.config.ts\",",[63,959,960],{"class":65,"style":66},[63,961,962],{},"      \"line\": 8,",[63,964,965],{"class":65,"style":66},[63,966,967],{},"      \"column\": 5",[63,969,970],{"class":65,"style":66},[63,971,972],{},"    }",[63,974,975],{"class":65,"style":66},[63,976,977],{},"  ],",[63,979,980],{"class":65,"style":66},[63,981,982],{},"  \"result\": {",[63,984,985],{"class":65,"style":66},[63,986,987],{},"    \"files\": 212",[63,989,990],{"class":65,"style":66},[63,991,836],{},[63,993,994],{"class":65,"style":66},[63,995,996],{},"  \"next\": [",[63,998,999],{"class":65,"style":66},[63,1000,846],{},[63,1002,1003],{"class":65,"style":66},[63,1004,1005],{},"      \"command\": \"acme check --fix\",",[63,1007,1008],{"class":65,"style":66},[63,1009,1010],{},"      \"reason\": \"applies 2 safe fixes\"",[63,1012,1013],{"class":65,"style":66},[63,1014,891],{},[63,1016,1017],{"class":65,"style":66},[63,1018,846],{},[63,1020,1021],{"class":65,"style":66},[63,1022,1023],{},"      \"command\": \"acme explain \u003Ccode>\",",[63,1025,1026],{"class":65,"style":66},[63,1027,1028],{},"      \"reason\": \"explains one code\"",[63,1030,1031],{"class":65,"style":66},[63,1032,972],{},[63,1034,1035],{"class":65,"style":66},[63,1036,1037],{},"  ]",[63,1039,1040],{"class":65,"style":66},[63,1041,559],{},[126,1043,1044,1045,1047],{},"Every run exits ",[59,1046,50],{},", because the run has errors.",[126,1049,1050,1051,1056],{},"Next: ",[1052,1053,1055],"a",{"href":1054},"\u002Fguide\u002Freaders","Readers"," explains how readerly told these runs apart.",[1058],{"id":160,"depth":15,"text":164,"children":1059},[1060,1063,1064,1065],{"id":174,"depth":1061,"text":1062},3,"Wrap a command with createOut",{"id":597,"depth":1061,"text":600},{"id":682,"depth":1061,"text":685},{"id":769,"depth":1061,"text":772},{"path":1067,"title":1068,"description":1069},"\u002Fguide","Introduction","readerly works out who reads a CLI's output, a person, a coding agent, CI, a pipe or a JSON parser, and shapes the output for that reader.",{"path":1054,"title":1055,"description":1071},"How readerly decides whether a coding agent, CI, a person at a terminal or a pipe reads a command's output, step by step, and how to override it.",1795985390976,"22ea5d7b-bce0-4e3b-bca3-1fbe3722fcf7"]