[{"data":1,"prerenderedAt":186},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fv2\u002Fcli\u002Fpublish":3},{"id":4,"title":5,"body":6,"description":16,"extension":179,"meta":180,"navigation":181,"path":182,"seo":183,"stem":184,"__hash__":185},"docs\u002Fdocs\u002Fv2\u002Fcli\u002Fpublish.md","axon publish",{"type":7,"value":8,"toc":177},"minimark",[9,13,17,40,43,75,90,119,122,154,173],[10,11,5],"h1",{"id":12},"axon-publish",[14,15,16],"p",{},"Publish the project in the current directory to the registry.",[18,19,24],"pre",{"className":20,"code":21,"language":22,"meta":23,"style":23},"language-bash shiki shiki-themes dark-plus","axon publish\n","bash","",[25,26,27],"code",{"__ignoreMap":23},[28,29,32,36],"span",{"class":30,"line":31},"line",1,[28,33,35],{"class":34},"sCudf","axon",[28,37,39],{"class":38},"sKc5r"," publish\n",[14,41,42],{},"Axon detects the kind — module, cognet, bench, prompt or extension — and publishes it\naccordingly. There is no kind to name, which is why one verb covers all of them.",[18,44,46],{"className":20,"code":45,"language":22,"meta":23,"style":23},"cd my-tool\naxon prepare      # regenerate types first\naxon publish\n",[25,47,48,56,68],{"__ignoreMap":23},[28,49,50,53],{"class":30,"line":31},[28,51,52],{"class":34},"cd",[28,54,55],{"class":38}," my-tool\n",[28,57,59,61,64],{"class":30,"line":58},2,[28,60,35],{"class":34},[28,62,63],{"class":38}," prepare",[28,65,67],{"class":66},"sOLPB","      # regenerate types first\n",[28,69,71,73],{"class":30,"line":70},3,[28,72,35],{"class":34},[28,74,39],{"class":38},[14,76,77,78,85,86,89],{},"Requires ",[79,80,82],"a",{"href":81},"\u002Fdocs\u002Fv2\u002Fcli\u002Flogin",[25,83,84],{},"axon login",". The package identity comes from the project's\n",[25,87,88],{},"package.json",", and the scope must be one you own.",[14,91,92,96,97,103,104,108,109,111,112,118],{},[93,94,95],"strong",{},"Agents deploy rather than publish"," — an agent is a running service, not a package\nsomeone installs. See ",[79,98,100],{"href":99},"\u002Fdocs\u002Fv2\u002Fcli\u002Fdeploy",[25,101,102],{},"axon deploy",". Agents ",[105,106,107],"em",{},"can"," be published for\nothers to clone; that is ",[25,110,5],{}," from an agent folder, and what\n",[79,113,115],{"href":114},"\u002Fdocs\u002Fv2\u002Fcli\u002Fclone",[25,116,117],{},"axon clone"," then pulls down.",[14,120,121],{},"The explicit form acts on one kind from anywhere:",[18,123,125],{"className":20,"code":124,"language":22,"meta":23,"style":23},"axon module publish\naxon cognet publish\naxon ext publish\n",[25,126,127,136,145],{"__ignoreMap":23},[28,128,129,131,134],{"class":30,"line":31},[28,130,35],{"class":34},[28,132,133],{"class":38}," module",[28,135,39],{"class":38},[28,137,138,140,143],{"class":30,"line":58},[28,139,35],{"class":34},[28,141,142],{"class":38}," cognet",[28,144,39],{"class":38},[28,146,147,149,152],{"class":30,"line":70},[28,148,35],{"class":34},[28,150,151],{"class":38}," ext",[28,153,39],{"class":38},[14,155,156,157,161,162,165,166,165,169,172],{},"See ",[79,158,160],{"href":159},"\u002Fdocs\u002Fv2\u002Fcli\u002Fkinds","Project kinds"," for the shared ",[25,163,164],{},"init"," → ",[25,167,168],{},"prepare",[25,170,171],{},"publish","\ngrammar.",[174,175,176],"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 .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 .sOLPB, html code.shiki .sOLPB{--shiki-default:#6A9955}",{"title":23,"searchDepth":58,"depth":58,"links":178},[],"md",{},true,"\u002Fdocs\u002Fv2\u002Fcli\u002Fpublish",{"title":5,"description":16},"docs\u002Fv2\u002Fcli\u002Fpublish","nNC2KBEJmiaV-sfd2ghIFN_KDT16EVzq_MElnQSOBRY",1786899561254]