[{"data":1,"prerenderedAt":1139,"buildId":1140},["ShallowReactive",2],{"docs:\u002Freference\u002Fschema":3},{"page":4,"section":16,"document":17,"credits":10,"prev":1131,"next":1135},{"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},"schema","\u002Freference\u002Fschema","reference\u002Fschema.md","Manifest schema","Every field of .fleetrc\u002Fmanifest.json, with its type and default, and the validation errors fleetrc prints when a manifest is wrong.",null,[],"i-lucide-braces","article",true,2,"reference",{"nodes":18,"toc":1126},[19,36,39,76,84,87,292,305,327,332,349,519,534,710,728,751,757,763,843,848,924,930,986,992,1006,1017],[20,21,22,30,31,35],"p",{},[23,24,26],"a",{"href":25},"https:\u002F\u002Fgithub.com\u002Fwords-with-agents\u002Ffleetrc\u002Fblob\u002Fmain\u002Fschema.json",[27,28,29],"code",{},"schema.json"," documents the manifest for editors, and the parser enforces it. A test checks that both accept the same fields. For how the fields work together, read ",[23,32,34],{"href":33},"\u002Fguide\u002Fmanifest","The manifest",".",[20,37,38],{},"For completion and checks in your editor, put this at the top of the manifest:",[40,41,45],"pre",{"language":42,"filename":43,"class":44,"wrap":14},"json",".fleetrc\u002Fmanifest.json","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[27,46,48,57,58,57,71],{"class":47},"language-json",[49,50,53],"span",{"class":51,"style":52},"line","display: inline",[49,54,56],{"style":55},"color:#1F2328;--shiki-dark:#E6EDF3","{","\n",[49,59,60,64,67],{"class":51,"style":52},[49,61,63],{"style":62},"color:#116329;--shiki-dark:#7EE787","  \"$schema\"",[49,65,66],{"style":55},": ",[49,68,70],{"style":69},"color:#0A3069;--shiki-dark:#A5D6FF","\"https:\u002F\u002Funpkg.com\u002Ffleetrc\u002Fschema.json\"",[49,72,73],{"class":51,"style":52},[49,74,75],{"style":55},"}",[77,78,83],"h2",{"id":79,"anchor":80},"top-level-fields",{"label":81,"icon":82},"Section titled \"Top-level fields\"","#","Top-level fields",[20,85,86],{},"Any other key is an error.",[88,89,90,109],"table",{},[91,92,93],"thead",{},[94,95,96,100,103,106],"tr",{},[97,98,99],"th",{},"Field",[97,101,102],{},"Type",[97,104,105],{},"Default",[97,107,108],{},"What it does",[110,111,112,129,147,170,187,205,222,243,257,274],"tbody",{},[94,113,114,120,123,126],{},[115,116,117],"td",{},[27,118,119],{},"$schema",[115,121,122],{},"string",[115,124,125],{},"none",[115,127,128],{},"The schema URL, for editors.",[94,130,131,136,139,144],{},[115,132,133],{},[27,134,135],{},"extends",[115,137,138],{},"array of string or object",[115,140,141],{},[27,142,143],{},"[]",[115,145,146],{},"Team manifests whose sources you take in.",[94,148,149,154,160,164],{},[115,150,151],{},[27,152,153],{},"agents",[115,155,156,159],{},[27,157,158],{},"\"all\""," or array of ids",[115,161,162],{},[27,163,158],{},[115,165,166,167,169],{},"The agents that get skills. ",[27,168,158],{}," means every agent installed here.",[94,171,172,177,180,184],{},[115,173,174],{},[27,175,176],{},"sources",[115,178,179],{},"array of source",[115,181,182],{},[27,183,143],{},[115,185,186],{},"Where skills come from. The first source with a skill name wins.",[94,188,189,194,197,202],{},[115,190,191],{},[27,192,193],{},"forks",[115,195,196],{},"object",[115,198,199],{},[27,200,201],{},"{}",[115,203,204],{},"Skills copied from upstream, by skill name.",[94,206,207,212,215,219],{},[115,208,209],{},[27,210,211],{},"hooks",[115,213,214],{},"array",[115,216,217],{},[27,218,143],{},[115,220,221],{},"Commands run after a sync that changed matching files.",[94,223,224,229,232,236],{},[115,225,226],{},[27,227,228],{},"fleet",[115,230,231],{},"array of strings",[115,233,234],{},[27,235,143],{},[115,237,238,239,242],{},"SSH hosts, and ",[27,240,241],{},"tag:\u003Cname>"," entries for Tailscale tags.",[94,244,245,250,252,254],{},[115,246,247],{},[27,248,249],{},"hub",[115,251,122],{},[115,253,125],{},[115,255,256],{},"URL each sync POSTs its report to.",[94,258,259,264,266,268],{},[115,260,261],{},[27,262,263],{},"report",[115,265,196],{},[115,267,125],{},[115,269,270,273],{},[27,271,272],{},"{ \"run\": \"\u003Ccommand>\" }",": gets the report JSON on stdin after each sync.",[94,275,276,281,283,286],{},[115,277,278],{},[27,279,280],{},"timer",[115,282,196],{},[115,284,285],{},"see below",[115,287,288,289,35],{},"The schedule for ",[27,290,291],{},"fleetrc timer install",[20,293,294,295,297,298,297,300,302,303,35],{},"Only the root manifest can set ",[27,296,211],{},", ",[27,299,228],{},[27,301,249],{}," and ",[27,304,263],{},[20,306,307,308,310,311,314,315,318,319,322,323,326],{},"An ",[27,309,135],{}," entry is a manifest location, or an object with ",[27,312,313],{},"manifest"," (required: a path or ",[27,316,317],{},"\u003Crepo>\u002F\u002F\u003Cfile>","), ",[27,320,321],{},"exclude"," (skill names left out) and ",[27,324,325],{},"excludeSources"," (source ids left out).",[77,328,331],{"id":176,"anchor":329},{"label":330,"icon":82},"Section titled \"Sources\"","Sources",[20,333,334,335,297,338,297,341,344,345,348],{},"A source names its location with exactly one of ",[27,336,337],{},"git",[27,339,340],{},"index",[27,342,343],{},"npm"," or ",[27,346,347],{},"local",":",[88,350,351,364],{},[91,352,353],{},[94,354,355,357,359,362],{},[97,356,99],{},[97,358,102],{},[97,360,361],{},"Kind",[97,363,108],{},[110,365,366,385,399,416,434,455,470,489,502],{},[94,367,368,372,374,376],{},[115,369,370],{},[27,371,337],{},[115,373,122],{},[115,375,337],{},[115,377,378,297,381,384],{},[27,379,380],{},"owner\u002Frepo",[27,382,383],{},"github:owner\u002Frepo",", or a git URL.",[94,386,387,392,394,396],{},[115,388,389],{},[27,390,391],{},"ref",[115,393,122],{},[115,395,337],{},[115,397,398],{},"Branch, tag or commit.",[94,400,401,406,408,410],{},[115,402,403],{},[27,404,405],{},"path",[115,407,122],{},[115,409,337],{},[115,411,412,413,35],{},"A working clone on this machine, such as ",[27,414,415],{},"~\u002Fcode\u002Fskills",[94,417,418,423,426,428],{},[115,419,420],{},[27,421,422],{},"followLinks",[115,424,425],{},"boolean",[115,427,337],{},[115,429,430,431,433],{},"Follow links that lead out of the working clone. Needs ",[27,432,405],{},". Root manifest only.",[94,435,436,440,442,444],{},[115,437,438],{},[27,439,343],{},[115,441,122],{},[115,443,343],{},[115,445,446,297,449,344,452,35],{},[27,447,448],{},"name",[27,450,451],{},"name@version",[27,453,454],{},"name@tag",[94,456,457,462,465,467],{},[115,458,459],{},[27,460,461],{},"registry",[115,463,464],{},"URL",[115,466,343],{},[115,468,469],{},"The registry to fetch from.",[94,471,472,476,478,480],{},[115,473,474],{},[27,475,340],{},[115,477,464],{},[115,479,340],{},[115,481,482,483,344,486,35],{},"A site that serves ",[27,484,485],{},"\u002F.well-known\u002Fagent-skills\u002Findex.json",[27,487,488],{},"\u002F.well-known\u002Fskills\u002Findex.json",[94,490,491,495,497,499],{},[115,492,493],{},[27,494,347],{},[115,496,122],{},[115,498,347],{},[115,500,501],{},"A folder on this machine, linked in place.",[94,503,504,509,511,514],{},[115,505,506],{},[27,507,508],{},"adopt",[115,510,425],{},[115,512,513],{},"git, local",[115,515,516,517,35],{},"Hand-made skills move into this source. A git source needs ",[27,518,405],{},[20,520,521,522,297,525,297,528,302,530,533],{},"An index takes only ",[27,523,524],{},"id",[27,526,527],{},"include",[27,529,321],{},[27,531,532],{},"update"," from this table.",[88,535,536,548],{},[91,537,538],{},[94,539,540,542,544,546],{},[97,541,99],{},[97,543,102],{},[97,545,105],{},[97,547,108],{},[110,549,550,564,582,596,609,636,651,665,679,696],{},[94,551,552,556,558,561],{},[115,553,554],{},[27,555,524],{},[115,557,122],{},[115,559,560],{},"from the location",[115,562,563],{},"Names the source in reports and its state folder.",[94,565,566,571,573,576],{},[115,567,568],{},[27,569,570],{},"skills",[115,572,122],{},[115,574,575],{},"discovery",[115,577,578,579,35],{},"Glob of skill folders inside the source, such as ",[27,580,581],{},"skills\u002F*",[94,583,584,588,590,593],{},[115,585,586],{},[27,587,527],{},[115,589,231],{},[115,591,592],{},"all",[115,594,595],{},"Only these skill names.",[94,597,598,602,604,606],{},[115,599,600],{},[27,601,321],{},[115,603,231],{},[115,605,125],{},[115,607,608],{},"Never these skill names.",[94,610,611,615,623,627],{},[115,612,613],{},[27,614,532],{},[115,616,617,344,620],{},[27,618,619],{},"\"auto\"",[27,621,622],{},"\"review\"",[115,624,625],{},[27,626,619],{},[115,628,629,632,633,35],{},[27,630,631],{},"review"," holds updates until ",[27,634,635],{},"fleetrc update \u003Csource>",[94,637,638,643,646,648],{},[115,639,640],{},[27,641,642],{},"instructions",[115,644,645],{},"string or object",[115,647,125],{},[115,649,650],{},"The user-level instruction file. The glob must match one file.",[94,652,653,658,660,662],{},[115,654,655],{},[27,656,657],{},"subagents",[115,659,645],{},[115,661,125],{},[115,663,664],{},"Subagent files for each agent's subagents folder.",[94,666,667,672,674,676],{},[115,668,669],{},[27,670,671],{},"commands",[115,673,645],{},[115,675,125],{},[115,677,678],{},"Command files for each agent's commands folder.",[94,680,681,686,688,690],{},[115,682,683],{},[27,684,685],{},"mcp",[115,687,122],{},[115,689,125],{},[115,691,692,693,433],{},"A file holding ",[27,694,695],{},"{\"mcpServers\": {...}}",[94,697,698,703,705,707],{},[115,699,700],{},[27,701,702],{},"agentHooks",[115,704,645],{},[115,706,125],{},[115,708,709],{},"Hook definitions in each agent's format. Root manifest only.",[20,711,307,712,714,715,297,717,302,720,723,724,727],{},[27,713,524],{}," uses letters, digits, ",[27,716,35],{},[27,718,719],{},"_",[27,721,722],{},"-",", starts with a letter or digit, and can't be a Windows device name such as ",[27,725,726],{},"con",". Two ids that differ only in case count as one.",[20,729,730,731,297,733,344,735,737,738,741,742,746,747,302,749,35],{},"An object for ",[27,732,642],{},[27,734,657],{},[27,736,671],{}," maps agent ids to globs; ",[23,739,34],{"href":740},"\u002Fguide\u002Fmanifest#instructions-subagents-and-commands"," lists the ids. ",[23,743,745],{"href":744},"\u002Fguide\u002Fhooks-and-mcp","Hooks and MCP"," covers ",[27,748,685],{},[27,750,702],{},[77,752,756],{"id":753,"anchor":754},"forks-hooks-and-timer",{"label":755,"icon":82},"Section titled \"Forks, hooks and timer\"","Forks, hooks and timer",[20,758,759,760,762],{},"Each ",[27,761,193],{}," entry, by skill name:",[88,764,765,777],{},[91,766,767],{},[94,768,769,771,773,775],{},[97,770,99],{},[97,772,102],{},[97,774,105],{},[97,776,108],{},[110,778,779,794,807,829],{},[94,780,781,786,788,791],{},[115,782,783],{},[27,784,785],{},"from",[115,787,122],{},[115,789,790],{},"required",[115,792,793],{},"The repository the skill came from.",[94,795,796,800,802,804],{},[115,797,798],{},[27,799,405],{},[115,801,122],{},[115,803,790],{},[115,805,806],{},"The skill folder in that repository.",[94,808,809,814,822,824],{},[115,810,811],{},[27,812,813],{},"upstream",[115,815,816,344,819],{},[27,817,818],{},"\"git\"",[27,820,821],{},"\"index\"",[115,823,125],{},[115,825,826,828],{},[27,827,337],{}," lets a full online sync check a repository whose origin is ambiguous.",[94,830,831,836,838,840],{},[115,832,833],{},[27,834,835],{},"base",[115,837,122],{},[115,839,125],{},[115,841,842],{},"The upstream commit you last merged.",[20,844,759,845,847],{},[27,846,211],{}," entry:",[88,849,850,862],{},[91,851,852],{},[94,853,854,856,858,860],{},[97,855,99],{},[97,857,102],{},[97,859,105],{},[97,861,108],{},[110,863,864,884,901],{},[94,865,866,871,873,875],{},[115,867,868],{},[27,869,870],{},"run",[115,872,122],{},[115,874,790],{},[115,876,877,878,302,881,35],{},"Shell command. It gets the report on stdin, plus ",[27,879,880],{},"FLEETRC_HOOK",[27,882,883],{},"FLEETRC_CHANGED",[94,885,886,890,892,898],{},[115,887,888],{},[27,889,448],{},[115,891,122],{},[115,893,894,895,897],{},"the ",[27,896,870],{}," value",[115,899,900],{},"Names the hook in the report.",[94,902,903,908,910,915],{},[115,904,905],{},[27,906,907],{},"on",[115,909,231],{},[115,911,912],{},[27,913,914],{},"[\"*:**\"]",[115,916,917,920,921,35],{},[27,918,919],{},"\u003Csource id>:\u003Cglob>"," patterns, such as ",[27,922,923],{},"personal:pstack\u002F**",[20,925,926,927,929],{},"The ",[27,928,280],{}," object:",[88,931,932,944],{},[91,933,934],{},[94,935,936,938,940,942],{},[97,937,99],{},[97,939,102],{},[97,941,105],{},[97,943,108],{},[110,945,946,963],{},[94,947,948,953,955,960],{},[115,949,950],{},[27,951,952],{},"cron",[115,954,122],{},[115,956,957],{},[27,958,959],{},"\"*\u002F30 * * * *\"",[115,961,962],{},"Five fields: minute, hour, day of month, month, day of week.",[94,964,965,970,972,977],{},[115,966,967],{},[27,968,969],{},"timeZone",[115,971,122],{},[115,973,974],{},[27,975,976],{},"\"local\"",[115,978,979,980,983,984,35],{},"An IANA zone such as ",[27,981,982],{},"\"Europe\u002FMadrid\"",", or ",[27,985,976],{},[77,987,991],{"id":988,"anchor":989},"validation-errors",{"label":990,"icon":82},"Section titled \"Validation errors\"","Validation errors",[20,993,994,995,302,998,1001,1002,1005],{},"fleetrc validates the manifest whenever it reads it, and ",[27,996,997],{},"add",[27,999,1000],{},"remove"," validate a change before they write it. An error is one line that names the file and the field, and the command exits ",[27,1003,1004],{},"1",". A bad agent id, tag, cron or time zone gets its own message that says what to write.",[40,1007,1009],{"language":1008,"class":44,"wrap":14},"txt",[27,1010,1012],{"class":1011},"language-txt",[49,1013,1014],{"class":51,"style":52},[49,1015,1016],{},"fleetrc: \u002Fhome\u002Fme\u002Fskills\u002F.fleetrc\u002Fmanifest.json: sources[0] needs exactly one of git, index, npm or local",[88,1018,1019,1029],{},[91,1020,1021],{},[94,1022,1023,1026],{},[97,1024,1025],{},"Message after the file name",[97,1027,1028],{},"Fix",[110,1030,1031,1041,1051,1061,1083,1096,1109],{},[94,1032,1033,1038],{},[115,1034,1035],{},[27,1036,1037],{},"\u003Ckey> is not a manifest field",[115,1039,1040],{},"Check the spelling of the top-level key.",[94,1042,1043,1048],{},[115,1044,1045],{},[27,1046,1047],{},"sources[0] needs exactly one of git, index, npm or local",[115,1049,1050],{},"Keep one location field.",[94,1052,1053,1058],{},[115,1054,1055],{},[27,1056,1057],{},"sources[0].ref only applies to git sources",[115,1059,1060],{},"Remove the field, or use the kind that takes it.",[94,1062,1063,1068],{},[115,1064,1065],{},[27,1066,1067],{},"sources[0].adopt only applies to git sources with a path, and local",[115,1069,1070,1071,1073,1074,1076,1077,1079,1080,1082],{},"Add ",[27,1072,405],{},", or remove ",[27,1075,508],{},". ",[27,1078,422],{}," needs ",[27,1081,405],{}," too.",[94,1084,1085,1090],{},[115,1086,1087],{},[27,1088,1089],{},"sources declare \"x\" twice; give one an id",[115,1091,1092,1093,1095],{},"Set ",[27,1094,524],{}," on one of the two.",[94,1097,1098,1103],{},[115,1099,1100],{},[27,1101,1102],{},"sources[0].skills \"..\u002Fx\" must not leave the source",[115,1104,1105,1106,35],{},"Use a relative glob with no ",[27,1107,1108],{},"..",[94,1110,1111,1116],{},[115,1112,1113],{},[27,1114,1115],{},"hooks[0].run is required",[115,1117,1118,1119,302,1122,1125],{},"Add the command. ",[27,1120,1121],{},"forks.\u003Cname>.from",[27,1123,1124],{},"extends[0].manifest"," say the same.",[1127,1128,1129,1130],{"id":79,"depth":15,"text":83},{"id":176,"depth":15,"text":331},{"id":753,"depth":15,"text":756},{"id":988,"depth":15,"text":991},{"path":1132,"title":1133,"description":1134},"\u002Freference\u002Fcli","Command line","Every fleetrc command and flag, the exit codes, the JSON output, the environment variables, and the functions the package exports.",{"path":1136,"title":1137,"description":1138},"\u002Freference\u002Fdoctor","Doctor","Run fleetrc doctor to check Node.js, git access, the sync trigger, the manifest and the agent folders, and learn how to fix each failure.",1796387378077,"d132e1fa-7946-4d59-bf8e-899a35cb66e2"]