[{"data":1,"prerenderedAt":1193,"buildId":1194},["ShallowReactive",2],{"docs:\u002Fguide":3},{"page":4,"section":16,"document":17,"credits":10,"prev":10,"next":1189},{"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},"index","\u002Fguide","guide\u002Findex.md","Getting started","Install readerly, send a command's output through createOut, and see what each reader gets.",null,[],"i-lucide-rocket","article",true,1,"guide",{"nodes":18,"toc":1185},[19,124,128,136,144,505,516,522,529,1146,1157,1177],[20,21,46,76,93,109],"tabs",{"uid":22,"count":23,"labels":24,"sync":29,"code":30,"magic":31,"icons":32},"ct-zwxmit-1","4",[25,26,27,28],"pnpm","npm","yarn","bun","pm","true","auto",[33,37,40,43],{"name":34,"src":35,"ratio":15,"mask":36},"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",false,{"name":38,"src":39,"ratio":15,"mask":36},"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":41,"src":42,"ratio":15,"mask":36},"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":44,"src":45,"ratio":15,"mask":36},"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",[47,48,51],"tabs-item",{"label":25,"index":49,"icon":50},"1",{"name":34,"src":35,"ratio":15,"mask":36},[52,53,57],"pre",{"language":54,"frame":55,"class":56,"wrap":14},"sh","terminal","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[58,59,61],"code",{"class":60},"language-sh",[62,63,66,69,73],"span",{"class":64,"style":65},"line","display: inline",[62,67,25],{"style":68},"color:#953800;--shiki-dark:#FFA657",[62,70,72],{"style":71},"color:#0A3069;--shiki-dark:#A5D6FF"," add",[62,74,75],{"style":71}," readerly",[47,77,80],{"label":26,"index":78,"icon":79},"2",{"name":38,"src":39,"ratio":15,"mask":36},[52,81,82],{"language":54,"frame":55,"class":56,"wrap":14},[58,83,84],{"class":60},[62,85,86,88,91],{"class":64,"style":65},[62,87,26],{"style":68},[62,89,90],{"style":71}," install",[62,92,75],{"style":71},[47,94,97],{"label":27,"index":95,"icon":96},"3",{"name":41,"src":42,"ratio":15,"mask":36},[52,98,99],{"language":54,"frame":55,"class":56,"wrap":14},[58,100,101],{"class":60},[62,102,103,105,107],{"class":64,"style":65},[62,104,27],{"style":68},[62,106,72],{"style":71},[62,108,75],{"style":71},[47,110,112],{"label":28,"index":23,"icon":111},{"name":44,"src":45,"ratio":15,"mask":36},[52,113,114],{"language":54,"frame":55,"class":56,"wrap":14},[58,115,116],{"class":60},[62,117,118,120,122],{"class":64,"style":65},[62,119,28],{"style":68},[62,121,72],{"style":71},[62,123,75],{"style":71},[125,126,127],"p",{},"readerly needs Node 22.12 or later and has no dependencies.",[129,130,133],"github-callout",{"type":131,"title":132},"note","Note",[125,134,135],{},"readerly is private while it is in development, and not on npm yet.",[137,138,143],"h2",{"id":139,"anchor":140},"send-output-through-createout",{"label":141,"icon":142},"Section titled \"Send output through createOut\"","#","Send output through createOut",[52,145,148],{"language":146,"filename":147,"class":56,"wrap":14},"ts","src\u002Fcheck.ts",[58,149,151,170,171,170,173,170,218,170,246,170,257,170,267,170,272,170,322,170,327,170,359,170,376,170,383,170,397,170,407,170,417,170,427,170,437,170,447,170,452,170,457,170,467,170,488,170,500],{"class":150},"language-ts",[62,152,153,157,161,164,167],{"class":64,"style":65},[62,154,156],{"style":155},"color:#CF222E;--shiki-dark:#FF7B72","import",[62,158,160],{"style":159},"color:#1F2328;--shiki-dark:#E6EDF3"," { createOut } ",[62,162,163],{"style":155},"from",[62,165,166],{"style":71}," \"readerly\"",[62,168,169],{"style":159},";","\n",[62,172],{"class":64,"style":65},[62,174,175,178,181,184,188,191,194,197,201,204,206,209,212,215],{"class":64,"style":65},[62,176,177],{"style":155},"export",[62,179,180],{"style":155}," async",[62,182,183],{"style":155}," function",[62,185,187],{"style":186},"color:#8250DF;--shiki-dark:#D2A8FF"," check",[62,189,190],{"style":159},"(",[62,192,193],{"style":68},"argv",[62,195,196],{"style":155},":",[62,198,200],{"style":199},"color:#0550AE;--shiki-dark:#79C0FF"," string",[62,202,203],{"style":159},"[])",[62,205,196],{"style":155},[62,207,208],{"style":68}," Promise",[62,210,211],{"style":159},"\u003C",[62,213,214],{"style":199},"number",[62,216,217],{"style":159},"> {",[62,219,220,223,226,229,232,235,238,240,243],{"class":64,"style":65},[62,221,222],{"style":155},"  const",[62,224,225],{"style":199}," out",[62,227,228],{"style":155}," =",[62,230,231],{"style":186}," createOut",[62,233,234],{"style":159},"\u003C{ ",[62,236,237],{"style":68},"files",[62,239,196],{"style":155},[62,241,242],{"style":199}," number",[62,244,245],{"style":159}," }>({",[62,247,248,251,254],{"class":64,"style":65},[62,249,250],{"style":159},"    tool: ",[62,252,253],{"style":71},"\"acme\"",[62,255,256],{"style":159},",",[62,258,259,262,265],{"class":64,"style":65},[62,260,261],{"style":159},"    command: ",[62,263,264],{"style":71},"\"check\"",[62,266,256],{"style":159},[62,268,269],{"class":64,"style":65},[62,270,271],{"style":159},"    argv,",[62,273,274,277,280,283,286,289,292,295,298,301,303,306,309,311,314,316,319],{"class":64,"style":65},[62,275,276],{"style":186},"    summary",[62,278,279],{"style":159},": (",[62,281,282],{"style":68},"result",[62,284,285],{"style":159},") ",[62,287,288],{"style":155},"=>",[62,290,291],{"style":159}," (result.files ",[62,293,294],{"style":155},"===",[62,296,297],{"style":199}," undefined",[62,299,300],{"style":155}," ?",[62,302,297],{"style":199},[62,304,305],{"style":155}," :",[62,307,308],{"style":71}," `in ${",[62,310,282],{"style":159},[62,312,313],{"style":71},".",[62,315,237],{"style":159},[62,317,318],{"style":71},"} files`",[62,320,321],{"style":159},"),",[62,323,324],{"class":64,"style":65},[62,325,326],{"style":159},"  });",[62,328,329,332,335,338,341,344,347,350,353,356],{"class":64,"style":65},[62,330,331],{"style":155},"  for",[62,333,334],{"style":159}," (",[62,336,337],{"style":155},"const",[62,339,340],{"style":199}," finding",[62,342,343],{"style":155}," of",[62,345,346],{"style":155}," await",[62,348,349],{"style":186}," scan",[62,351,352],{"style":159},"()) out.",[62,354,355],{"style":186},"diagnostic",[62,357,358],{"style":159},"(finding);",[62,360,361,364,367,370,373],{"class":64,"style":65},[62,362,363],{"style":159},"  out.",[62,365,366],{"style":186},"set",[62,368,369],{"style":159},"({ files: ",[62,371,372],{"style":199},"212",[62,374,375],{"style":159}," });",[62,377,378,381],{"class":64,"style":65},[62,379,380],{"style":155},"  if",[62,382,334],{"style":159},[62,384,385,388,391,394],{"class":64,"style":65},[62,386,387],{"style":155},"    await",[62,389,390],{"style":159}," out.",[62,392,393],{"style":186},"confirm",[62,395,396],{"style":159},"({",[62,398,399,402,405],{"class":64,"style":65},[62,400,401],{"style":159},"      name: ",[62,403,404],{"style":71},"\"fix\"",[62,406,256],{"style":159},[62,408,409,412,415],{"class":64,"style":65},[62,410,411],{"style":159},"      flag: ",[62,413,414],{"style":71},"\"--fix\"",[62,416,256],{"style":159},[62,418,419,422,425],{"class":64,"style":65},[62,420,421],{"style":159},"      default: ",[62,423,424],{"style":199},"false",[62,426,256],{"style":159},[62,428,429,432,435],{"class":64,"style":65},[62,430,431],{"style":159},"      message: ",[62,433,434],{"style":71},"\"Apply 2 safe fixes?\"",[62,436,256],{"style":159},[62,438,439,442,445],{"class":64,"style":65},[62,440,441],{"style":159},"      reason: ",[62,443,444],{"style":71},"\"applies 2 safe fixes\"",[62,446,256],{"style":159},[62,448,449],{"class":64,"style":65},[62,450,451],{"style":159},"    })",[62,453,454],{"class":64,"style":65},[62,455,456],{"style":159},"  )",[62,458,459,461,464],{"class":64,"style":65},[62,460,387],{"style":155},[62,462,463],{"style":186}," applyFixes",[62,465,466],{"style":159},"();",[62,468,469,471,474,476,479,482,485],{"class":64,"style":65},[62,470,363],{"style":159},[62,472,473],{"style":186},"next",[62,475,190],{"style":159},[62,477,478],{"style":71},"\"acme explain \u003Ccode>\"",[62,480,481],{"style":159},", ",[62,483,484],{"style":71},"\"explains one code\"",[62,486,487],{"style":159},");",[62,489,490,493,495,498],{"class":64,"style":65},[62,491,492],{"style":155},"  return",[62,494,390],{"style":159},[62,496,497],{"style":186},"end",[62,499,466],{"style":159},[62,501,502],{"class":64,"style":65},[62,503,504],{"style":159},"}",[125,506,507,508,511,512,515],{},"The command says what it found. ",[58,509,510],{},"createOut"," works out who reads it, and ",[58,513,514],{},"out.end()"," writes the answer for that reader and returns the exit code.",[137,517,521],{"id":518,"anchor":519},"what-each-reader-gets",{"label":520,"icon":142},"Section titled \"What each reader gets\"","What each reader gets",[125,523,524,525,528],{},"The same ",[58,526,527],{},"acme check",", as each reader sees it on stdout:",[20,530,539,596,647,681,1136],{"uid":531,"count":532,"labels":533,"code":30,"magic":31},"ct-zwxmit-2","5",[534,535,536,537,538],"Terminal","GitHub Actions","Agent","--format json","--format jsonl",[47,540,541],{"label":534,"index":49},[52,542,544],{"language":543,"class":56,"wrap":14},"txt",[58,545,547,170,552,170,557,170,562,170,567,170,572,170,577,170,582,170,587,170,591],{"class":546},"language-txt",[62,548,549],{"class":64,"style":65},[62,550,551],{},"✖ 2 errors, 1 warning in 212 files (0.8s)",[62,553,554],{"class":64,"style":65},[62,555,556],{},"",[62,558,559],{"class":64,"style":65},[62,560,561],{},"error ACME001  src\u002Fapp.ts:14:3  Route handler reads process.env at module scope",[62,563,564],{"class":64,"style":65},[62,565,566],{},"├▶ why: The value is fixed at build time",[62,568,569],{"class":64,"style":65},[62,570,571],{},"╰▶ fix: Read it inside the handler",[62,573,574],{"class":64,"style":65},[62,575,576],{},"error ACME004  src\u002Fdb.ts:3:1  Top-level await in a server entry",[62,578,579],{"class":64,"style":65},[62,580,581],{},"╰▶ fix: Move the call into the plugin setup",[62,583,584],{"class":64,"style":65},[62,585,586],{},"warn  ACME010  vite.config.ts:8:5  Alias shadows a workspace package",[62,588,589],{"class":64,"style":65},[62,590,556],{},[62,592,593],{"class":64,"style":65},[62,594,595],{},"next: acme explain \u003Ccode>   (explains one code)",[47,597,598],{"label":535,"index":78},[52,599,600],{"language":543,"class":56,"wrap":14},[58,601,602,170,606,170,610,170,614,170,618,170,622,170,626,170,630,170,634,170,638,170,643],{"class":546},[62,603,604],{"class":64,"style":65},[62,605,551],{},[62,607,608],{"class":64,"style":65},[62,609,556],{},[62,611,612],{"class":64,"style":65},[62,613,561],{},[62,615,616],{"class":64,"style":65},[62,617,566],{},[62,619,620],{"class":64,"style":65},[62,621,571],{},[62,623,624],{"class":64,"style":65},[62,625,576],{},[62,627,628],{"class":64,"style":65},[62,629,581],{},[62,631,632],{"class":64,"style":65},[62,633,586],{},[62,635,636],{"class":64,"style":65},[62,637,556],{},[62,639,640],{"class":64,"style":65},[62,641,642],{},"next: acme check --fix   (applies 2 safe fixes)",[62,644,645],{"class":64,"style":65},[62,646,595],{},[47,648,649],{"label":536,"index":95},[52,650,651],{"language":543,"class":56,"wrap":14},[58,652,653,170,658,170,663,170,668,170,673,170,677],{"class":546},[62,654,655],{"class":64,"style":65},[62,656,657],{},"acme check: failed. 2 errors, 1 warning in 212 files (0.8s).",[62,659,660],{"class":64,"style":65},[62,661,662],{},"error ACME001 src\u002Fapp.ts:14:3 Route handler reads process.env at module scope. fix: Read it inside the handler",[62,664,665],{"class":64,"style":65},[62,666,667],{},"error ACME004 src\u002Fdb.ts:3:1 Top-level await in a server entry. fix: Move the call into the plugin setup",[62,669,670],{"class":64,"style":65},[62,671,672],{},"warn ACME010 vite.config.ts:8:5 Alias shadows a workspace package",[62,674,675],{"class":64,"style":65},[62,676,642],{},[62,678,679],{"class":64,"style":65},[62,680,595],{},[47,682,683],{"label":537,"index":23},[52,684,686],{"language":685,"class":56,"wrap":14},"json",[58,687,689,170,694,170,708,170,720,170,728,170,739,170,750,170,760,170,765,170,773,170,778,170,790,170,802,170,814,170,826,170,838,170,850,170,862,170,871,170,876,170,880,170,890,170,901,170,912,170,923,170,934,170,944,170,952,170,956,170,960,170,971,170,982,170,993,170,1004,170,1015,170,1023,170,1028,170,1033,170,1040,170,1051,170,1061,170,1065,170,1072,170,1076,170,1088,170,1097,170,1101,170,1105,170,1115,170,1123,170,1127,170,1132],{"class":688},"language-json",[62,690,691],{"class":64,"style":65},[62,692,693],{"style":159},"{",[62,695,696,700,703,706],{"class":64,"style":65},[62,697,699],{"style":698},"color:#116329;--shiki-dark:#7EE787","  \"schema\"",[62,701,702],{"style":159},": ",[62,704,705],{"style":71},"\"acme.check\u002Fv1\"",[62,707,256],{"style":159},[62,709,710,713,715,718],{"class":64,"style":65},[62,711,712],{"style":698},"  \"status\"",[62,714,702],{"style":159},[62,716,717],{"style":71},"\"failed\"",[62,719,256],{"style":159},[62,721,722,725],{"class":64,"style":65},[62,723,724],{"style":698},"  \"summary\"",[62,726,727],{"style":159},": {",[62,729,730,733,735,737],{"class":64,"style":65},[62,731,732],{"style":698},"    \"error\"",[62,734,702],{"style":159},[62,736,78],{"style":199},[62,738,256],{"style":159},[62,740,741,744,746,748],{"class":64,"style":65},[62,742,743],{"style":698},"    \"warn\"",[62,745,702],{"style":159},[62,747,49],{"style":199},[62,749,256],{"style":159},[62,751,752,755,757],{"class":64,"style":65},[62,753,754],{"style":698},"    \"info\"",[62,756,702],{"style":159},[62,758,759],{"style":199},"0",[62,761,762],{"class":64,"style":65},[62,763,764],{"style":159},"  },",[62,766,767,770],{"class":64,"style":65},[62,768,769],{"style":698},"  \"diagnostics\"",[62,771,772],{"style":159},": [",[62,774,775],{"class":64,"style":65},[62,776,777],{"style":159},"    {",[62,779,780,783,785,788],{"class":64,"style":65},[62,781,782],{"style":698},"      \"severity\"",[62,784,702],{"style":159},[62,786,787],{"style":71},"\"error\"",[62,789,256],{"style":159},[62,791,792,795,797,800],{"class":64,"style":65},[62,793,794],{"style":698},"      \"code\"",[62,796,702],{"style":159},[62,798,799],{"style":71},"\"ACME001\"",[62,801,256],{"style":159},[62,803,804,807,809,812],{"class":64,"style":65},[62,805,806],{"style":698},"      \"message\"",[62,808,702],{"style":159},[62,810,811],{"style":71},"\"Route handler reads process.env at module scope\"",[62,813,256],{"style":159},[62,815,816,819,821,824],{"class":64,"style":65},[62,817,818],{"style":698},"      \"why\"",[62,820,702],{"style":159},[62,822,823],{"style":71},"\"The value is fixed at build time\"",[62,825,256],{"style":159},[62,827,828,831,833,836],{"class":64,"style":65},[62,829,830],{"style":698},"      \"fix\"",[62,832,702],{"style":159},[62,834,835],{"style":71},"\"Read it inside the handler\"",[62,837,256],{"style":159},[62,839,840,843,845,848],{"class":64,"style":65},[62,841,842],{"style":698},"      \"file\"",[62,844,702],{"style":159},[62,846,847],{"style":71},"\"src\u002Fapp.ts\"",[62,849,256],{"style":159},[62,851,852,855,857,860],{"class":64,"style":65},[62,853,854],{"style":698},"      \"line\"",[62,856,702],{"style":159},[62,858,859],{"style":199},"14",[62,861,256],{"style":159},[62,863,864,867,869],{"class":64,"style":65},[62,865,866],{"style":698},"      \"column\"",[62,868,702],{"style":159},[62,870,95],{"style":199},[62,872,873],{"class":64,"style":65},[62,874,875],{"style":159},"    },",[62,877,878],{"class":64,"style":65},[62,879,777],{"style":159},[62,881,882,884,886,888],{"class":64,"style":65},[62,883,782],{"style":698},[62,885,702],{"style":159},[62,887,787],{"style":71},[62,889,256],{"style":159},[62,891,892,894,896,899],{"class":64,"style":65},[62,893,794],{"style":698},[62,895,702],{"style":159},[62,897,898],{"style":71},"\"ACME004\"",[62,900,256],{"style":159},[62,902,903,905,907,910],{"class":64,"style":65},[62,904,806],{"style":698},[62,906,702],{"style":159},[62,908,909],{"style":71},"\"Top-level await in a server entry\"",[62,911,256],{"style":159},[62,913,914,916,918,921],{"class":64,"style":65},[62,915,830],{"style":698},[62,917,702],{"style":159},[62,919,920],{"style":71},"\"Move the call into the plugin setup\"",[62,922,256],{"style":159},[62,924,925,927,929,932],{"class":64,"style":65},[62,926,842],{"style":698},[62,928,702],{"style":159},[62,930,931],{"style":71},"\"src\u002Fdb.ts\"",[62,933,256],{"style":159},[62,935,936,938,940,942],{"class":64,"style":65},[62,937,854],{"style":698},[62,939,702],{"style":159},[62,941,95],{"style":199},[62,943,256],{"style":159},[62,945,946,948,950],{"class":64,"style":65},[62,947,866],{"style":698},[62,949,702],{"style":159},[62,951,49],{"style":199},[62,953,954],{"class":64,"style":65},[62,955,875],{"style":159},[62,957,958],{"class":64,"style":65},[62,959,777],{"style":159},[62,961,962,964,966,969],{"class":64,"style":65},[62,963,782],{"style":698},[62,965,702],{"style":159},[62,967,968],{"style":71},"\"warn\"",[62,970,256],{"style":159},[62,972,973,975,977,980],{"class":64,"style":65},[62,974,794],{"style":698},[62,976,702],{"style":159},[62,978,979],{"style":71},"\"ACME010\"",[62,981,256],{"style":159},[62,983,984,986,988,991],{"class":64,"style":65},[62,985,806],{"style":698},[62,987,702],{"style":159},[62,989,990],{"style":71},"\"Alias shadows a workspace package\"",[62,992,256],{"style":159},[62,994,995,997,999,1002],{"class":64,"style":65},[62,996,842],{"style":698},[62,998,702],{"style":159},[62,1000,1001],{"style":71},"\"vite.config.ts\"",[62,1003,256],{"style":159},[62,1005,1006,1008,1010,1013],{"class":64,"style":65},[62,1007,854],{"style":698},[62,1009,702],{"style":159},[62,1011,1012],{"style":199},"8",[62,1014,256],{"style":159},[62,1016,1017,1019,1021],{"class":64,"style":65},[62,1018,866],{"style":698},[62,1020,702],{"style":159},[62,1022,532],{"style":199},[62,1024,1025],{"class":64,"style":65},[62,1026,1027],{"style":159},"    }",[62,1029,1030],{"class":64,"style":65},[62,1031,1032],{"style":159},"  ],",[62,1034,1035,1038],{"class":64,"style":65},[62,1036,1037],{"style":698},"  \"result\"",[62,1039,727],{"style":159},[62,1041,1042,1045,1047,1049],{"class":64,"style":65},[62,1043,1044],{"style":698},"    \"files\"",[62,1046,702],{"style":159},[62,1048,372],{"style":199},[62,1050,256],{"style":159},[62,1052,1053,1056,1058],{"class":64,"style":65},[62,1054,1055],{"style":698},"    \"durationMs\"",[62,1057,702],{"style":159},[62,1059,1060],{"style":199},"840",[62,1062,1063],{"class":64,"style":65},[62,1064,764],{"style":159},[62,1066,1067,1070],{"class":64,"style":65},[62,1068,1069],{"style":698},"  \"next\"",[62,1071,772],{"style":159},[62,1073,1074],{"class":64,"style":65},[62,1075,777],{"style":159},[62,1077,1078,1081,1083,1086],{"class":64,"style":65},[62,1079,1080],{"style":698},"      \"command\"",[62,1082,702],{"style":159},[62,1084,1085],{"style":71},"\"acme check --fix\"",[62,1087,256],{"style":159},[62,1089,1090,1093,1095],{"class":64,"style":65},[62,1091,1092],{"style":698},"      \"reason\"",[62,1094,702],{"style":159},[62,1096,444],{"style":71},[62,1098,1099],{"class":64,"style":65},[62,1100,875],{"style":159},[62,1102,1103],{"class":64,"style":65},[62,1104,777],{"style":159},[62,1106,1107,1109,1111,1113],{"class":64,"style":65},[62,1108,1080],{"style":698},[62,1110,702],{"style":159},[62,1112,478],{"style":71},[62,1114,256],{"style":159},[62,1116,1117,1119,1121],{"class":64,"style":65},[62,1118,1092],{"style":698},[62,1120,702],{"style":159},[62,1122,484],{"style":71},[62,1124,1125],{"class":64,"style":65},[62,1126,1027],{"style":159},[62,1128,1129],{"class":64,"style":65},[62,1130,1131],{"style":159},"  ]",[62,1133,1134],{"class":64,"style":65},[62,1135,504],{"style":159},[47,1137,1138],{"label":538,"index":532},[52,1139,1142],{"language":1140,"class":1141,"wrap":14},"jsonl","shiki dark:github-dark-default",[58,1143,1145],{"class":1144},"language-jsonl","{\"type\":\"version\",\"schema\":\"acme.check\u002Fv1\",\"tool\":\"acme@1.2.0\"}\n{\"type\":\"diagnostic\",\"severity\":\"error\",\"code\":\"ACME001\",\"message\":\"Route handler reads process.env at module scope\",\"why\":\"The value is fixed at build time\",\"fix\":\"Read it inside the handler\",\"file\":\"src\u002Fapp.ts\",\"line\":14,\"column\":3}\n{\"type\":\"diagnostic\",\"severity\":\"error\",\"code\":\"ACME004\",\"message\":\"Top-level await in a server entry\",\"fix\":\"Move the call into the plugin setup\",\"file\":\"src\u002Fdb.ts\",\"line\":3,\"column\":1}\n{\"type\":\"diagnostic\",\"severity\":\"warn\",\"code\":\"ACME010\",\"message\":\"Alias shadows a workspace package\",\"file\":\"vite.config.ts\",\"line\":8,\"column\":5}\n{\"type\":\"next\",\"message\":\"acme check --fix\",\"reason\":\"applies 2 safe fixes\"}\n{\"type\":\"next\",\"message\":\"acme explain \u003Ccode>\",\"reason\":\"explains one code\"}\n{\"type\":\"result\",\"status\":\"failed\",\"message\":\"2 errors, 1 warning in 212 files (0.8s)\",\"data\":{\"files\":212,\"durationMs\":840}}",[125,1147,1148,1149,1152,1153,1156],{},"At the terminal, the command also asks ",[58,1150,1151],{},"? Apply 2 safe fixes? (y\u002FN)"," on stderr. Everyone else gets the ",[58,1154,1155],{},"acme check --fix"," line instead. In GitHub Actions, stderr carries the annotations:",[52,1158,1160],{"language":543,"filename":1159,"class":56,"wrap":14},"stderr",[58,1161,1162,170,1167,170,1172],{"class":546},[62,1163,1164],{"class":64,"style":65},[62,1165,1166],{},"::error title=ACME001,file=src\u002Fapp.ts,line=14,col=3::Route handler reads process.env at module scope",[62,1168,1169],{"class":64,"style":65},[62,1170,1171],{},"::error title=ACME004,file=src\u002Fdb.ts,line=3,col=1::Top-level await in a server entry",[62,1173,1174],{"class":64,"style":65},[62,1175,1176],{},"::warning title=ACME010,file=vite.config.ts,line=8,col=5::Alias shadows a workspace package",[125,1178,1179,1180,313],{},"Try it in the ",[1181,1182,1184],"a",{"href":1183},"\u002Fplayground","playground",[1186,1188],{"id":139,"depth":1187,"text":143},2,{"id":518,"depth":1187,"text":521},{"path":1190,"title":1191,"description":1192},"\u002Fguide\u002Foutput","Output","What a command tells createOut, and how createOut renders it once for the reader.",1795983872508,"8495dbd1-6966-4a18-8263-9ed49893c05e"]