[{"data":1,"prerenderedAt":384},["ShallowReactive",2],{"i-mdi:magnify":3,"i-simple-icons:visualstudiocode":8,"i-mdi:github":11,"i-mdi:discord":13,"i-mdi:youtube":15,"i-mdi:flask-outline":17,"docs-\u002Fdocs\u002Fv2\u002Fcli\u002Fbundle":19},{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":7},0,24,false,"\u003Cpath fill=\"currentColor\" d=\"M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5l-1.5 1.5l-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14S14 12 14 9.5S12 5 9.5 5\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":9,"hidden":10},"\u003Cpath fill=\"currentColor\" d=\"M23.15 2.587L18.21.21a1.49 1.49 0 0 0-1.705.29l-9.46 8.63l-4.12-3.128a1 1 0 0 0-1.276.057L.327 7.261A1 1 0 0 0 .326 8.74L3.899 12L.326 15.26a1 1 0 0 0 .001 1.479L1.65 17.94a1 1 0 0 0 1.276.057l4.12-3.128l9.46 8.63a1.49 1.49 0 0 0 1.704.29l4.942-2.377A1.5 1.5 0 0 0 24 20.06V3.939a1.5 1.5 0 0 0-.85-1.352m-5.146 14.861L10.826 12l7.178-5.448z\"\u002F>",true,{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":12},"\u003Cpath fill=\"currentColor\" d=\"M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":14,"hidden":10},"\u003Cpath fill=\"currentColor\" d=\"m22 24l-5.25-5l.63 2H4.5A2.5 2.5 0 0 1 2 18.5v-15A2.5 2.5 0 0 1 4.5 1h15A2.5 2.5 0 0 1 22 3.5V24M12 6.8c-2.68 0-4.56 1.15-4.56 1.15c1.03-.92 2.83-1.45 2.83-1.45l-.17-.17c-1.69.03-3.22 1.2-3.22 1.2c-1.72 3.59-1.61 6.69-1.61 6.69c1.4 1.81 3.48 1.68 3.48 1.68l.71-.9c-1.25-.27-2.04-1.38-2.04-1.38S9.3 14.9 12 14.9s4.58-1.28 4.58-1.28s-.79 1.11-2.04 1.38l.71.9s2.08.13 3.48-1.68c0 0 .11-3.1-1.61-6.69c0 0-1.53-1.17-3.22-1.2l-.17.17s1.8.53 2.83 1.45c0 0-1.88-1.15-4.56-1.15m-2.07 3.79c.65 0 1.18.57 1.17 1.27c0 .69-.52 1.27-1.17 1.27c-.64 0-1.16-.58-1.16-1.27c0-.7.51-1.27 1.16-1.27m4.17 0c.65 0 1.17.57 1.17 1.27c0 .69-.52 1.27-1.17 1.27c-.64 0-1.16-.58-1.16-1.27c0-.7.51-1.27 1.16-1.27Z\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":16},"\u003Cpath fill=\"currentColor\" d=\"m10 15l5.19-3L10 9zm11.56-7.83c.13.47.22 1.1.28 1.9c.07.8.1 1.49.1 2.09L22 12c0 2.19-.16 3.8-.44 4.83c-.25.9-.83 1.48-1.73 1.73c-.47.13-1.33.22-2.65.28c-1.3.07-2.49.1-3.59.1L12 19c-4.19 0-6.8-.16-7.83-.44c-.9-.25-1.48-.83-1.73-1.73c-.13-.47-.22-1.1-.28-1.9c-.07-.8-.1-1.49-.1-2.09L2 12c0-2.19.16-3.8.44-4.83c.25-.9.83-1.48 1.73-1.73c.47-.13 1.33-.22 2.65-.28c1.3-.07 2.49-.1 3.59-.1L12 5c4.19 0 6.8.16 7.83.44c.9.25 1.48.83 1.73 1.73\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":18},"\u003Cpath fill=\"currentColor\" d=\"M5 19a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1c0-.21-.07-.41-.18-.57L13 8.35V4h-2v4.35L5.18 18.43c-.11.16-.18.36-.18.57m1 3a3 3 0 0 1-3-3c0-.6.18-1.16.5-1.63L9 7.81V6a1 1 0 0 1-1-1V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1v1.81l5.5 9.56c.32.47.5 1.03.5 1.63a3 3 0 0 1-3 3zm7-6l1.34-1.34L16.27 18H7.73l2.66-4.61zm-.5-4a.5.5 0 0 1 .5.5a.5.5 0 0 1-.5.5a.5.5 0 0 1-.5-.5a.5.5 0 0 1 .5-.5\"\u002F>",{"id":20,"title":21,"body":22,"description":377,"extension":378,"meta":379,"navigation":10,"path":380,"seo":381,"stem":382,"__hash__":383},"docs\u002Fdocs\u002Fv2\u002Fcli\u002Fbundle.md","axon bundle",{"type":23,"value":24,"toc":370},"minimark",[25,29,33,74,92,97,104,172,178,182,189,221,224,229,235,254,257,264,268,313,317,357,366],[26,27,21],"h1",{"id":28},"axon-bundle",[30,31,32],"p",{},"Package the agent into its publishable artifact.",[34,35,40],"pre",{"className":36,"code":37,"language":38,"meta":39,"style":39},"language-bash shiki shiki-themes dark-plus","axon bundle             # the artifact\naxon bundle --image     # and a self-contained container\n","bash","",[41,42,43,60],"code",{"__ignoreMap":39},[44,45,48,52,56],"span",{"class":46,"line":47},"line",1,[44,49,51],{"class":50},"sCudf","axon",[44,53,55],{"class":54},"sKc5r"," bundle",[44,57,59],{"class":58},"sOLPB","             # the artifact\n",[44,61,63,65,67,71],{"class":46,"line":62},2,[44,64,51],{"class":50},[44,66,55],{"class":54},[44,68,70],{"class":69},"scz_3"," --image",[44,72,73],{"class":58},"     # and a self-contained container\n",[30,75,76,77,84,85,91],{},"The artifact alone by default: no Docker, about a second. It is what\n",[78,79,81],"a",{"href":80},"\u002Fdocs\u002Fv2\u002Fcli\u002Fdeploy",[41,82,83],{},"deploy"," and ",[78,86,88],{"href":87},"\u002Fdocs\u002Fv2\u002Fcli\u002Fpublish",[41,89,90],{},"publish"," produce internally,\nexposed for shipping it somewhere else.",[93,94,96],"h2",{"id":95},"output","Output",[30,98,99,100,103],{},"Written to ",[41,101,102],{},".agent\u002Fbuild\u002F",":",[105,106,107,120],"table",{},[108,109,110],"thead",{},[111,112,113,117],"tr",{},[114,115,116],"th",{},"File",[114,118,119],{},"What it is",[121,122,123,138,148,158],"tbody",{},[111,124,125,131],{},[126,127,128],"td",{},[41,129,130],{},"source.tar.gz",[126,132,133,134,137],{},"The agent source — config, ",[41,135,136],{},"src\u002F",", modules, the compiled cognet",[111,139,140,145],{},[126,141,142],{},[41,143,144],{},"assets.tar.gz",[126,146,147],{},"README images, compressed. Absent when the agent ships none",[111,149,150,155],{},[126,151,152],{},[41,153,154],{},"image.json",[126,156,157],{},"Identity: name, version, visibility, build time",[111,159,160,165],{},[126,161,162],{},[41,163,164],{},"Dockerfile",[126,166,167,168,171],{},"For ",[41,169,170],{},"--image",", and for building one yourself",[30,173,174,177],{},[41,175,176],{},".env"," is excluded — secrets are injected at runtime by the host.",[93,179,181],{"id":180},"self-hosting-needs-no-image","Self-hosting needs no image",[30,183,184,185,188],{},"The base image reads the agent from ",[41,186,187],{},"\u002Fagent"," and never bakes it in, so the ordinary way to\nrun one yourself is a mount:",[34,190,192],{"className":36,"code":191,"language":38,"meta":39,"style":39},"docker run -v $PWD:\u002Fagent -p 8080:8080 axon\u002Fbase:0.3.6\n",[41,193,194],{"__ignoreMap":39},[44,195,196,199,202,205,209,212,215,218],{"class":46,"line":47},[44,197,198],{"class":50},"docker",[44,200,201],{"class":54}," run",[44,203,204],{"class":69}," -v",[44,206,208],{"class":207},"s3F5K"," $PWD",[44,210,211],{"class":54},":\u002Fagent",[44,213,214],{"class":69}," -p",[44,216,217],{"class":54}," 8080:8080",[44,219,220],{"class":54}," axon\u002Fbase:0.3.6\n",[30,222,223],{},"No build step, and an agent edit is a restart rather than a rebuild. This is the same\nimage Axon Cloud runs, so behaviour matches a managed deployment.",[93,225,227],{"id":226},"image",[41,228,170],{},[30,230,231,232,103],{},"Builds a self-contained container with the source baked in, tagged\n",[41,233,234],{},"\u003Cscope>-\u003Cname>:\u003Cversion>",[34,236,238],{"className":36,"code":237,"language":38,"meta":39,"style":39},"axon bundle --image\n# → cody-barry.mk3:0.1.20\n",[41,239,240,249],{"__ignoreMap":39},[44,241,242,244,246],{"class":46,"line":47},[44,243,51],{"class":50},[44,245,55],{"class":54},[44,247,248],{"class":69}," --image\n",[44,250,251],{"class":46,"line":62},[44,252,253],{"class":58},"# → cody-barry.mk3:0.1.20\n",[30,255,256],{},"For the cases a mount cannot serve — an air-gapped registry, a deployment that must ship\none artifact. It requires a running Docker daemon and takes tens of seconds, which is why\nit is off by default.",[30,258,259,260,263],{},"The emitted Dockerfile pins the base image to the version this CLI was built against.\nNever ",[41,261,262],{},"latest",": a rebuild months later would otherwise get a different runtime under an\nagent that was working.",[93,265,267],{"id":266},"options","Options",[105,269,270,283],{},[108,271,272],{},[111,273,274,277,280],{},[114,275,276],{},"Flag",[114,278,279],{},"Default",[114,281,282],{},"Description",[121,284,285,299],{},[111,286,287,291,296],{},[126,288,289],{},[41,290,170],{},[126,292,293],{},[41,294,295],{},"false",[126,297,298],{},"Also build a container image",[111,300,301,306,310],{},[126,302,303],{},[41,304,305],{},"--json",[126,307,308],{},[41,309,295],{},[126,311,312],{},"Print one line of JSON to stdout and nothing else",[93,314,316],{"id":315},"errors","Errors",[105,318,319,329],{},[108,320,321],{},[111,322,323,326],{},[114,324,325],{},"Error",[114,327,328],{},"Meaning",[121,330,331,344],{},[111,332,333,338],{},[126,334,335],{},[41,336,337],{},"BUNDLE_IMAGE_FAILED",[126,339,340,343],{},[41,341,342],{},"docker build"," did not succeed; its output is above",[111,345,346,351],{},[126,347,348],{},[41,349,350],{},"CONFIG_IMPORT_ESCAPES_ROOT",[126,352,353,356],{},[41,354,355],{},"axon.config.ts"," imports a file outside the project, which would not ship",[30,358,359,360,365],{},"For one-command cloud deployment, use ",[78,361,362],{"href":80},[41,363,364],{},"axon deploy"," instead.",[367,368,369],"style",{},"html pre.shiki code .sCudf, html code.shiki .sCudf{--shiki-default:#DCDCAA}html pre.shiki code .sKc5r, html code.shiki .sKc5r{--shiki-default:#CE9178}html pre.shiki code .sOLPB, html code.shiki .sOLPB{--shiki-default:#6A9955}html pre.shiki code .scz_3, html code.shiki .scz_3{--shiki-default:#569CD6}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .s3F5K, html code.shiki .s3F5K{--shiki-default:#9CDCFE}",{"title":39,"searchDepth":62,"depth":62,"links":371},[372,373,374,375,376],{"id":95,"depth":62,"text":96},{"id":180,"depth":62,"text":181},{"id":226,"depth":62,"text":170},{"id":266,"depth":62,"text":267},{"id":315,"depth":62,"text":316},"axon bundle packages an agent into its publishable artifact, optionally with a self-contained container image.","md",{},"\u002Fdocs\u002Fv2\u002Fcli\u002Fbundle",{"title":21,"description":377},"docs\u002Fv2\u002Fcli\u002Fbundle","LVua3w5OOdRzXZyQIkeB_vDo2JcIhp8R_tBl8tGVR_E",1788121883253]